Partilhar via


StorageSyncGroupResource.GetStorageSyncServerEndpointAsync 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>> GetStorageSyncServerEndpointAsync (string serverEndpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageSyncServerEndpointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncServerEndpointResource>>
override this.GetStorageSyncServerEndpointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncServerEndpointResource>>
Public Overridable Function GetStorageSyncServerEndpointAsync (serverEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageSyncServerEndpointResource))

Parâmetros

serverEndpointName
String

Nome do objeto De ponto de extremidade do servidor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

serverEndpointName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

serverEndpointName é nulo.

Aplica-se a