Partilhar via


StorageSyncServerEndpointCollection.GetAsync Método

Definição

Obter um ServerEndpoint.

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

Parâmetros

serverEndpointName
String

Nome do objeto Ponto de Extremidade do Servidor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

serverEndpointName é nulo.

Aplica-se a