Udostępnij za pośrednictwem


ManagedPrivateEndpointsClient.CreateAsync Method

Definition

Create Managed Private Endpoints.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.ManagedPrivateEndpoints.Models.ManagedPrivateEndpoint>> CreateAsync (string managedPrivateEndpointName, Azure.Analytics.Synapse.ManagedPrivateEndpoints.Models.ManagedPrivateEndpoint managedPrivateEndpoint, string managedVirtualNetworkName = "default", System.Threading.CancellationToken cancellationToken = default);
abstract member CreateAsync : string * Azure.Analytics.Synapse.ManagedPrivateEndpoints.Models.ManagedPrivateEndpoint * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.ManagedPrivateEndpoints.Models.ManagedPrivateEndpoint>>
override this.CreateAsync : string * Azure.Analytics.Synapse.ManagedPrivateEndpoints.Models.ManagedPrivateEndpoint * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.ManagedPrivateEndpoints.Models.ManagedPrivateEndpoint>>
Public Overridable Function CreateAsync (managedPrivateEndpointName As String, managedPrivateEndpoint As ManagedPrivateEndpoint, Optional managedVirtualNetworkName As String = "default", Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedPrivateEndpoint))

Parameters

managedPrivateEndpointName
String

Managed private endpoint name.

managedPrivateEndpoint
ManagedPrivateEndpoint

Managed private endpoint properties.

managedVirtualNetworkName
String

Managed virtual network name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to