共用方式為


HealthcareApisExtensions.GetHealthcareApisServicesAsync Method

Definition

Get all the service instances in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services
  • Operation Id: Services_List
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisServiceResource
public static Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource> GetHealthcareApisServicesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetHealthcareApisServicesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource>
<Extension()>
Public Function GetHealthcareApisServicesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HealthcareApisServiceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of HealthcareApisServiceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to