Dela via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Overloads

CreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, String, String, String, ConnectionProperties, CancellationToken)

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

CreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, String, String, String, PrivateEndpointConnectionProperties, CancellationToken)

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

CreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, String, String, String, ConnectionProperties, CancellationToken)

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.ConnectionProperties properties, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DigitalTwins.IPrivateEndpointConnectionsOperations * string * string * string * Microsoft.Azure.Management.DigitalTwins.Models.ConnectionProperties * 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 ConnectionProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
String

The name of the DigitalTwinsInstance.

privateEndpointConnectionName
String

The name of the private endpoint connection.

properties
ConnectionProperties

The connection properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

CreateOrUpdateAsync(IPrivateEndpointConnectionsOperations, String, String, String, PrivateEndpointConnectionProperties, CancellationToken)

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
String

The name of the resource group that contains the DigitalTwinsInstance.

resourceName
String

The name of the DigitalTwinsInstance.

privateEndpointConnectionName
String

The name of the private endpoint connection.

properties
PrivateEndpointConnectionProperties

The connection properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to