Compartilhar via


PrivateEndpointConnectionOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria uma nova Conexão de Ponto de Extremidade Privado ou atualiza uma existente.

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)

Parâmetros

operations
IPrivateEndpointConnectionOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

serviceName
String

O nome do serviço Gerenciamento de API.

privateEndpointConnectionName
String

Nome da conexão de ponto de extremidade privado.

privateEndpointConnectionRequest
PrivateEndpointConnectionRequest
cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a