Compartilhar via


HealthcareApisExtensions.GetHealthcareApisWorkspacesAsync Método

Definição

Lista todos os workspaces disponíveis na assinatura especificada.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.HealthcareApis/workspaces
  • Operação IdWorkspaces_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource> GetHealthcareApisWorkspacesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetHealthcareApisWorkspacesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>
<Extension()>
Public Function GetHealthcareApisWorkspacesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HealthcareApisWorkspaceResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de HealthcareApisWorkspaceResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a