Compartilhar via


WorkspacePrivateEndpointConnectionResource.Update Método

Definição

Aprovar ou rejeitar uma conexão de ponto de extremidade privado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  • Operação IdPrivateEndpointConnections_UpdateByWorkspace
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection connection, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationPrivateEndpointConnection * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DesktopVirtualization.WorkspacePrivateEndpointConnectionResource>
Public Overridable Function Update (waitUntil As WaitUntil, connection As DesktopVirtualizationPrivateEndpointConnection, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of WorkspacePrivateEndpointConnectionResource)

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 execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

connection
DesktopVirtualizationPrivateEndpointConnection

Objeto que contém a conexão atualizada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

connection é nulo.

Aplica-se a