PrivateEndpointConnectionsOperationsExtensions.CreateAsync Method

Definition

Approve or reject a private endpoint connection.

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

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

request
PrivateEndpointConnection

Request body of private endpoint connection to create.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace.

privateEndpointConnectionName
String

The name of the private endpoint connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to