Share via


IotDpsResourceOperationsExtensions.CreateOrUpdatePrivateEndpointConnectionAsync Method

Definition

Create or update private endpoint connection

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.PrivateEndpointConnection> CreateOrUpdatePrivateEndpointConnectionAsync (this Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations operations, string resourceGroupName, string resourceName, string privateEndpointConnectionName, Microsoft.Azure.Management.DeviceProvisioningServices.Models.PrivateEndpointConnectionProperties properties, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdatePrivateEndpointConnectionAsync : Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations * string * string * string * Microsoft.Azure.Management.DeviceProvisioningServices.Models.PrivateEndpointConnectionProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DeviceProvisioningServices.Models.PrivateEndpointConnection>
<Extension()>
Public Function CreateOrUpdatePrivateEndpointConnectionAsync (operations As IIotDpsResourceOperations, resourceGroupName As String, resourceName As String, privateEndpointConnectionName As String, properties As PrivateEndpointConnectionProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IIotDpsResourceOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the provisioning service.

resourceName
String

The name of the provisioning service.

privateEndpointConnectionName
String

The name of the private endpoint connection

properties
PrivateEndpointConnectionProperties

The properties of a private endpoint connection

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or update the status of a private endpoint connection with the specified name

Applies to