Dela via


HealthcareApisExtensions.GetHealthcareApisWorkspaces Method

Definition

Overloads

GetHealthcareApisWorkspaces(ResourceGroupResource)

Gets a collection of HealthcareApisWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHealthcareApisWorkspaces() instead.

GetHealthcareApisWorkspaces(SubscriptionResource, CancellationToken)

Lists all the available workspaces under the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/workspaces
  • Operation Id: Workspaces_ListBySubscription
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource

GetHealthcareApisWorkspaces(ResourceGroupResource)

Source:
HealthcareApisExtensions.cs
Source:
HealthcareApisExtensions.cs

Gets a collection of HealthcareApisWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetHealthcareApisWorkspaces() instead.

public static Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceCollection GetHealthcareApisWorkspaces (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetHealthcareApisWorkspaces : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceCollection
<Extension()>
Public Function GetHealthcareApisWorkspaces (resourceGroupResource As ResourceGroupResource) As HealthcareApisWorkspaceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of HealthcareApisWorkspaceResources and their operations over a HealthcareApisWorkspaceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetHealthcareApisWorkspaces(SubscriptionResource, CancellationToken)

Source:
HealthcareApisExtensions.cs
Source:
HealthcareApisExtensions.cs

Lists all the available workspaces under the specified subscription.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of HealthcareApisWorkspaceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to