1. Packages
  2. Azure Native
  3. API Docs
  4. devices
  5. IotDpsResourcePrivateEndpointConnection
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.devices.IotDpsResourcePrivateEndpointConnection

Explore with Pulumi AI

The private endpoint connection of a provisioning service

Uses Azure REST API version 2022-12-12. In version 1.x of the Azure Native provider, it used API version 2020-03-01.

Other available API versions: 2023-03-01-preview, 2025-02-01-preview.

Example Usage

PrivateEndpointConnection_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var iotDpsResourcePrivateEndpointConnection = new AzureNative.Devices.IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnection", new()
    {
        PrivateEndpointConnectionName = "myPrivateEndpointConnection",
        Properties = new AzureNative.Devices.Inputs.PrivateEndpointConnectionPropertiesArgs
        {
            PrivateLinkServiceConnectionState = new AzureNative.Devices.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                Description = "Approved by johndoe@contoso.com",
                Status = AzureNative.Devices.PrivateLinkServiceConnectionStatus.Approved,
            },
        },
        ResourceGroupName = "myResourceGroup",
        ResourceName = "myFirstProvisioningService",
    });

});
Copy
package main

import (
	devices "github.com/pulumi/pulumi-azure-native-sdk/devices/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := devices.NewIotDpsResourcePrivateEndpointConnection(ctx, "iotDpsResourcePrivateEndpointConnection", &devices.IotDpsResourcePrivateEndpointConnectionArgs{
			PrivateEndpointConnectionName: pulumi.String("myPrivateEndpointConnection"),
			Properties: &devices.PrivateEndpointConnectionPropertiesArgs{
				PrivateLinkServiceConnectionState: &devices.PrivateLinkServiceConnectionStateArgs{
					Description: pulumi.String("Approved by johndoe@contoso.com"),
					Status:      pulumi.String(devices.PrivateLinkServiceConnectionStatusApproved),
				},
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			ResourceName:      pulumi.String("myFirstProvisioningService"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devices.IotDpsResourcePrivateEndpointConnection;
import com.pulumi.azurenative.devices.IotDpsResourcePrivateEndpointConnectionArgs;
import com.pulumi.azurenative.devices.inputs.PrivateEndpointConnectionPropertiesArgs;
import com.pulumi.azurenative.devices.inputs.PrivateLinkServiceConnectionStateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var iotDpsResourcePrivateEndpointConnection = new IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnection", IotDpsResourcePrivateEndpointConnectionArgs.builder()
            .privateEndpointConnectionName("myPrivateEndpointConnection")
            .properties(PrivateEndpointConnectionPropertiesArgs.builder()
                .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
                    .description("Approved by johndoe@contoso.com")
                    .status("Approved")
                    .build())
                .build())
            .resourceGroupName("myResourceGroup")
            .resourceName("myFirstProvisioningService")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const iotDpsResourcePrivateEndpointConnection = new azure_native.devices.IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnection", {
    privateEndpointConnectionName: "myPrivateEndpointConnection",
    properties: {
        privateLinkServiceConnectionState: {
            description: "Approved by johndoe@contoso.com",
            status: azure_native.devices.PrivateLinkServiceConnectionStatus.Approved,
        },
    },
    resourceGroupName: "myResourceGroup",
    resourceName: "myFirstProvisioningService",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

iot_dps_resource_private_endpoint_connection = azure_native.devices.IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnection",
    private_endpoint_connection_name="myPrivateEndpointConnection",
    properties={
        "private_link_service_connection_state": {
            "description": "Approved by johndoe@contoso.com",
            "status": azure_native.devices.PrivateLinkServiceConnectionStatus.APPROVED,
        },
    },
    resource_group_name="myResourceGroup",
    resource_name_="myFirstProvisioningService")
Copy
resources:
  iotDpsResourcePrivateEndpointConnection:
    type: azure-native:devices:IotDpsResourcePrivateEndpointConnection
    properties:
      privateEndpointConnectionName: myPrivateEndpointConnection
      properties:
        privateLinkServiceConnectionState:
          description: Approved by johndoe@contoso.com
          status: Approved
      resourceGroupName: myResourceGroup
      resourceName: myFirstProvisioningService
Copy

Create IotDpsResourcePrivateEndpointConnection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IotDpsResourcePrivateEndpointConnection(name: string, args: IotDpsResourcePrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def IotDpsResourcePrivateEndpointConnection(resource_name: str,
                                            args: IotDpsResourcePrivateEndpointConnectionArgs,
                                            opts: Optional[ResourceOptions] = None)

@overload
def IotDpsResourcePrivateEndpointConnection(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            properties: Optional[PrivateEndpointConnectionPropertiesArgs] = None,
                                            resource_group_name: Optional[str] = None,
                                            resource_name_: Optional[str] = None,
                                            private_endpoint_connection_name: Optional[str] = None)
func NewIotDpsResourcePrivateEndpointConnection(ctx *Context, name string, args IotDpsResourcePrivateEndpointConnectionArgs, opts ...ResourceOption) (*IotDpsResourcePrivateEndpointConnection, error)
public IotDpsResourcePrivateEndpointConnection(string name, IotDpsResourcePrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public IotDpsResourcePrivateEndpointConnection(String name, IotDpsResourcePrivateEndpointConnectionArgs args)
public IotDpsResourcePrivateEndpointConnection(String name, IotDpsResourcePrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:devices:IotDpsResourcePrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IotDpsResourcePrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IotDpsResourcePrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IotDpsResourcePrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IotDpsResourcePrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IotDpsResourcePrivateEndpointConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var iotDpsResourcePrivateEndpointConnectionResource = new AzureNative.Devices.IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnectionResource", new()
{
    Properties = new AzureNative.Devices.Inputs.PrivateEndpointConnectionPropertiesArgs
    {
        PrivateLinkServiceConnectionState = new AzureNative.Devices.Inputs.PrivateLinkServiceConnectionStateArgs
        {
            Description = "string",
            Status = "string",
            ActionsRequired = "string",
        },
    },
    ResourceGroupName = "string",
    ResourceName = "string",
    PrivateEndpointConnectionName = "string",
});
Copy
example, err := devices.NewIotDpsResourcePrivateEndpointConnection(ctx, "iotDpsResourcePrivateEndpointConnectionResource", &devices.IotDpsResourcePrivateEndpointConnectionArgs{
	Properties: &devices.PrivateEndpointConnectionPropertiesArgs{
		PrivateLinkServiceConnectionState: &devices.PrivateLinkServiceConnectionStateArgs{
			Description:     pulumi.String("string"),
			Status:          pulumi.String("string"),
			ActionsRequired: pulumi.String("string"),
		},
	},
	ResourceGroupName:             pulumi.String("string"),
	ResourceName:                  pulumi.String("string"),
	PrivateEndpointConnectionName: pulumi.String("string"),
})
Copy
var iotDpsResourcePrivateEndpointConnectionResource = new IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnectionResource", IotDpsResourcePrivateEndpointConnectionArgs.builder()
    .properties(PrivateEndpointConnectionPropertiesArgs.builder()
        .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
            .description("string")
            .status("string")
            .actionsRequired("string")
            .build())
        .build())
    .resourceGroupName("string")
    .resourceName("string")
    .privateEndpointConnectionName("string")
    .build());
Copy
iot_dps_resource_private_endpoint_connection_resource = azure_native.devices.IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnectionResource",
    properties={
        "private_link_service_connection_state": {
            "description": "string",
            "status": "string",
            "actions_required": "string",
        },
    },
    resource_group_name="string",
    resource_name_="string",
    private_endpoint_connection_name="string")
Copy
const iotDpsResourcePrivateEndpointConnectionResource = new azure_native.devices.IotDpsResourcePrivateEndpointConnection("iotDpsResourcePrivateEndpointConnectionResource", {
    properties: {
        privateLinkServiceConnectionState: {
            description: "string",
            status: "string",
            actionsRequired: "string",
        },
    },
    resourceGroupName: "string",
    resourceName: "string",
    privateEndpointConnectionName: "string",
});
Copy
type: azure-native:devices:IotDpsResourcePrivateEndpointConnection
properties:
    privateEndpointConnectionName: string
    properties:
        privateLinkServiceConnectionState:
            actionsRequired: string
            description: string
            status: string
    resourceGroupName: string
    resourceName: string
Copy

IotDpsResourcePrivateEndpointConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IotDpsResourcePrivateEndpointConnection resource accepts the following input properties:

Properties This property is required. Pulumi.AzureNative.Devices.Inputs.PrivateEndpointConnectionProperties
The properties of a private endpoint connection
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the provisioning service.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the provisioning service.
PrivateEndpointConnectionName Changes to this property will trigger replacement. string
The name of the private endpoint connection
Properties This property is required. PrivateEndpointConnectionPropertiesArgs
The properties of a private endpoint connection
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the provisioning service.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the provisioning service.
PrivateEndpointConnectionName Changes to this property will trigger replacement. string
The name of the private endpoint connection
properties This property is required. PrivateEndpointConnectionProperties
The properties of a private endpoint connection
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the provisioning service.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the provisioning service.
privateEndpointConnectionName Changes to this property will trigger replacement. String
The name of the private endpoint connection
properties This property is required. PrivateEndpointConnectionProperties
The properties of a private endpoint connection
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group that contains the provisioning service.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the provisioning service.
privateEndpointConnectionName Changes to this property will trigger replacement. string
The name of the private endpoint connection
properties This property is required. PrivateEndpointConnectionPropertiesArgs
The properties of a private endpoint connection
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group that contains the provisioning service.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the provisioning service.
private_endpoint_connection_name Changes to this property will trigger replacement. str
The name of the private endpoint connection
properties This property is required. Property Map
The properties of a private endpoint connection
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group that contains the provisioning service.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the provisioning service.
privateEndpointConnectionName Changes to this property will trigger replacement. String
The name of the private endpoint connection

Outputs

All input properties are implicitly available as output properties. Additionally, the IotDpsResourcePrivateEndpointConnection resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name.
SystemData Pulumi.AzureNative.Devices.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The resource type.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name.
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The resource type.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
The resource type.
id string
The provider-assigned unique ID for this managed resource.
name string
The resource name.
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
The resource type.
id str
The provider-assigned unique ID for this managed resource.
name str
The resource name.
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
The resource type.
id String
The provider-assigned unique ID for this managed resource.
name String
The resource name.
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
The resource type.

Supporting Types

PrivateEndpointConnectionProperties
, PrivateEndpointConnectionPropertiesArgs

PrivateLinkServiceConnectionState This property is required. Pulumi.AzureNative.Devices.Inputs.PrivateLinkServiceConnectionState
The current state of a private endpoint connection
PrivateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionState
The current state of a private endpoint connection
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionState
The current state of a private endpoint connection
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionState
The current state of a private endpoint connection
private_link_service_connection_state This property is required. PrivateLinkServiceConnectionState
The current state of a private endpoint connection
privateLinkServiceConnectionState This property is required. Property Map
The current state of a private endpoint connection

PrivateEndpointConnectionPropertiesResponse
, PrivateEndpointConnectionPropertiesResponseArgs

PrivateLinkServiceConnectionState This property is required. Pulumi.AzureNative.Devices.Inputs.PrivateLinkServiceConnectionStateResponse
The current state of a private endpoint connection
PrivateEndpoint Pulumi.AzureNative.Devices.Inputs.PrivateEndpointResponse
The private endpoint property of a private endpoint connection
PrivateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateResponse
The current state of a private endpoint connection
PrivateEndpoint PrivateEndpointResponse
The private endpoint property of a private endpoint connection
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateResponse
The current state of a private endpoint connection
privateEndpoint PrivateEndpointResponse
The private endpoint property of a private endpoint connection
privateLinkServiceConnectionState This property is required. PrivateLinkServiceConnectionStateResponse
The current state of a private endpoint connection
privateEndpoint PrivateEndpointResponse
The private endpoint property of a private endpoint connection
private_link_service_connection_state This property is required. PrivateLinkServiceConnectionStateResponse
The current state of a private endpoint connection
private_endpoint PrivateEndpointResponse
The private endpoint property of a private endpoint connection
privateLinkServiceConnectionState This property is required. Property Map
The current state of a private endpoint connection
privateEndpoint Property Map
The private endpoint property of a private endpoint connection

PrivateEndpointResponse
, PrivateEndpointResponseArgs

Id This property is required. string
The resource identifier.
Id This property is required. string
The resource identifier.
id This property is required. String
The resource identifier.
id This property is required. string
The resource identifier.
id This property is required. str
The resource identifier.
id This property is required. String
The resource identifier.

PrivateLinkServiceConnectionState
, PrivateLinkServiceConnectionStateArgs

Description This property is required. string
The description for the current state of a private endpoint connection
Status This property is required. string | Pulumi.AzureNative.Devices.PrivateLinkServiceConnectionStatus
The status of a private endpoint connection
ActionsRequired string
Actions required for a private endpoint connection
Description This property is required. string
The description for the current state of a private endpoint connection
Status This property is required. string | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection
ActionsRequired string
Actions required for a private endpoint connection
description This property is required. String
The description for the current state of a private endpoint connection
status This property is required. String | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection
actionsRequired String
Actions required for a private endpoint connection
description This property is required. string
The description for the current state of a private endpoint connection
status This property is required. string | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection
actionsRequired string
Actions required for a private endpoint connection
description This property is required. str
The description for the current state of a private endpoint connection
status This property is required. str | PrivateLinkServiceConnectionStatus
The status of a private endpoint connection
actions_required str
Actions required for a private endpoint connection
description This property is required. String
The description for the current state of a private endpoint connection
status This property is required. String | "Pending" | "Approved" | "Rejected" | "Disconnected"
The status of a private endpoint connection
actionsRequired String
Actions required for a private endpoint connection

PrivateLinkServiceConnectionStateResponse
, PrivateLinkServiceConnectionStateResponseArgs

Description This property is required. string
The description for the current state of a private endpoint connection
Status This property is required. string
The status of a private endpoint connection
ActionsRequired string
Actions required for a private endpoint connection
Description This property is required. string
The description for the current state of a private endpoint connection
Status This property is required. string
The status of a private endpoint connection
ActionsRequired string
Actions required for a private endpoint connection
description This property is required. String
The description for the current state of a private endpoint connection
status This property is required. String
The status of a private endpoint connection
actionsRequired String
Actions required for a private endpoint connection
description This property is required. string
The description for the current state of a private endpoint connection
status This property is required. string
The status of a private endpoint connection
actionsRequired string
Actions required for a private endpoint connection
description This property is required. str
The description for the current state of a private endpoint connection
status This property is required. str
The status of a private endpoint connection
actions_required str
Actions required for a private endpoint connection
description This property is required. String
The description for the current state of a private endpoint connection
status This property is required. String
The status of a private endpoint connection
actionsRequired String
Actions required for a private endpoint connection

PrivateLinkServiceConnectionStatus
, PrivateLinkServiceConnectionStatusArgs

Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PrivateLinkServiceConnectionStatusPending
Pending
PrivateLinkServiceConnectionStatusApproved
Approved
PrivateLinkServiceConnectionStatusRejected
Rejected
PrivateLinkServiceConnectionStatusDisconnected
Disconnected
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected
DISCONNECTED
Disconnected
"Pending"
Pending
"Approved"
Approved
"Rejected"
Rejected
"Disconnected"
Disconnected

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:devices:IotDpsResourcePrivateEndpointConnection myPrivateEndpointConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0