Share via


HealthcareApisWorkspaceCollection Class

Definition

A class representing a collection of HealthcareApisWorkspaceResource and their operations. Each HealthcareApisWorkspaceResource in the collection will belong to the same instance of ResourceGroupResource. To get a HealthcareApisWorkspaceCollection instance call the GetHealthcareApisWorkspaces method from an instance of ResourceGroupResource.

public class HealthcareApisWorkspaceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspaceResource>
type HealthcareApisWorkspaceCollection = class
    inherit ArmCollection
    interface seq<HealthcareApisWorkspaceResource>
    interface IEnumerable
    interface IAsyncEnumerable<HealthcareApisWorkspaceResource>
Public Class HealthcareApisWorkspaceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of HealthcareApisWorkspaceResource), IEnumerable(Of HealthcareApisWorkspaceResource)
Inheritance
HealthcareApisWorkspaceCollection
Implements

Constructors

HealthcareApisWorkspaceCollection()

Initializes a new instance of the HealthcareApisWorkspaceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, HealthcareApisWorkspaceData, CancellationToken)

Creates or updates a workspace resource with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_CreateOrUpdate
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
CreateOrUpdateAsync(WaitUntil, String, HealthcareApisWorkspaceData, CancellationToken)

Creates or updates a workspace resource with the specified parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_CreateOrUpdate
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
Get(String, CancellationToken)

Gets the properties of the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
GetAll(CancellationToken)

Lists all the available workspaces under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces
  • Operation Id: Workspaces_ListByResourceGroup
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
GetAllAsync(CancellationToken)

Lists all the available workspaces under the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces
  • Operation Id: Workspaces_ListByResourceGroup
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
GetAsync(String, CancellationToken)

Gets the properties of the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
  • Default Api Version: 2024-03-31
  • Resource: HealthcareApisWorkspaceResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<HealthcareApisWorkspaceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HealthcareApisWorkspaceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to