Compartir a través de


StorageSyncServerEndpointCollection.GetAsync Método

Definición

Obtener un ServerEndpoint.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}
  • IdServerEndpoints_Get de operaciones
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

Nombre del objeto De punto de conexión de servidor.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

serverEndpointName es una cadena vacía y se esperaba que no estuviera vacía.

serverEndpointName es null.

Se aplica a