Dela via


PrivateEndpointConnectionOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates a new Private Endpoint Connection or updates an existing one.

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

Parameters

operations
IPrivateEndpointConnectionOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

privateEndpointConnectionName
String

Name of the private endpoint connection.

privateEndpointConnectionRequest
PrivateEndpointConnectionRequest
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to