Compartilhar via


CloudEndpointCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha um determinado CloudEndpoint.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}
  • Operação IdCloudEndpoints_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.CloudEndpointResource>> GetAsync (string cloudEndpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.CloudEndpointResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.CloudEndpointResource>>
Public Overridable Function GetAsync (cloudEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CloudEndpointResource))

Parâmetros

cloudEndpointName
String

Nome do objeto Ponto de Extremidade de Nuvem.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

cloudEndpointName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

cloudEndpointName é nulo.

Aplica-se a