Share via


PrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Update the state of the specified private endpoint connection associated with the service.

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

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

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

resourceName
String

The name of the service instance.

privateEndpointConnectionName
String

The name of the private endpoint connection associated with the Azure resource

properties
PrivateEndpointConnection

The private endpoint connection properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to