Compartir a través de


HealthcareApisServiceCollection.GetAsync(String, CancellationToken) Método

Definición

Obtiene los metadatos de una instancia de servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}
  • IdServices_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource>> GetAsync (string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource>>
Public Overridable Function GetAsync (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HealthcareApisServiceResource))

Parámetros

resourceName
String

Nombre de la instancia de servicio.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

resourceName es una cadena vacía y se espera que no esté vacía.

resourceName es null.

Se aplica a