HealthcareApisExtensions.GetHealthcareApisServices Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetHealthcareApisServices(ResourceGroupResource) |
Gets a collection of HealthcareApisServiceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHealthcareApisServices() instead. |
GetHealthcareApisServices(SubscriptionResource, CancellationToken) |
Get all the service instances in a subscription.
|
GetHealthcareApisServices(ResourceGroupResource)
- Source:
- HealthcareApisExtensions.cs
- Source:
- HealthcareApisExtensions.cs
Gets a collection of HealthcareApisServiceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHealthcareApisServices() instead.
public static Azure.ResourceManager.HealthcareApis.HealthcareApisServiceCollection GetHealthcareApisServices (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetHealthcareApisServices : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HealthcareApis.HealthcareApisServiceCollection
<Extension()>
Public Function GetHealthcareApisServices (resourceGroupResource As ResourceGroupResource) As HealthcareApisServiceCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of HealthcareApisServiceResources and their operations over a HealthcareApisServiceResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetHealthcareApisServices(SubscriptionResource, CancellationToken)
- Source:
- HealthcareApisExtensions.cs
- Source:
- HealthcareApisExtensions.cs
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.Pageable<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource> GetHealthcareApisServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetHealthcareApisServices : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HealthcareApis.HealthcareApisServiceResource>
<Extension()>
Public Function GetHealthcareApisServices (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HealthcareApisServiceResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of HealthcareApisServiceResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.