Compartilhar via


ElasticSanPrivateEndpointConnectionResource.UpdateAsync Método

Definição

Atualizar o estado da conexão de ponto de extremidade privado especificada associada ao Elastic San

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnections_Create de operação
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.ElasticSanPrivateEndpointConnectionResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ElasticSan.ElasticSanPrivateEndpointConnectionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ElasticSan.ElasticSanPrivateEndpointConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.ElasticSanPrivateEndpointConnectionResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ElasticSan.ElasticSanPrivateEndpointConnectionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ElasticSan.ElasticSanPrivateEndpointConnectionResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ElasticSanPrivateEndpointConnectionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ElasticSanPrivateEndpointConnectionResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de longa execução, consulte Exemplos de operação de Long-Running do Azure.Core.

data
ElasticSanPrivateEndpointConnectionData

Objeto de aprovação de conexão de ponto de extremidade privado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a