다음을 통해 공유


ManagedPrivateEndpointsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a managed private endpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.ManagedPrivateEndpointResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.IManagedPrivateEndpointsOperations operations, string resourceGroupName, string factoryName, string managedVirtualNetworkName, string managedPrivateEndpointName, Microsoft.Azure.Management.DataFactory.Models.ManagedPrivateEndpointResource managedPrivateEndpoint, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.IManagedPrivateEndpointsOperations * string * string * string * string * Microsoft.Azure.Management.DataFactory.Models.ManagedPrivateEndpointResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.ManagedPrivateEndpointResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IManagedPrivateEndpointsOperations, resourceGroupName As String, factoryName As String, managedVirtualNetworkName As String, managedPrivateEndpointName As String, managedPrivateEndpoint As ManagedPrivateEndpointResource, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedPrivateEndpointResource)

Parameters

operations
IManagedPrivateEndpointsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

managedVirtualNetworkName
String

Managed virtual network name

managedPrivateEndpointName
String

Managed private endpoint name

managedPrivateEndpoint
ManagedPrivateEndpointResource

Managed private endpoint resource definition.

ifMatch
String

ETag of the managed private endpoint entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to