Share via


WorkspacePrivateEndpointConnectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

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

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

Parameters

operations
IWorkspacePrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

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

workspaceName
String

The name of workspace resource.

privateEndpointConnectionName
String

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

properties
PrivateEndpointConnectionDescription

The private endpoint connection properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to