PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Update the status of a private endpoint connection with the given name.

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

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
System.String

The name of the DigitalTwinsInstance.

privateEndpointConnectionName
System.String

The name of the private endpoint connection.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<PrivateEndpointConnection>

Applies to