Partilhar via


HealthcareApisWorkspaceCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém as propriedades do workspace especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operação IdWorkspaces_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>> GetAsync (string workspaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>>
Public Overridable Function GetAsync (workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HealthcareApisWorkspaceResource))

Parâmetros

workspaceName
String

O nome do recurso de workspace.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

workspaceName é nulo.

Aplica-se a