Share via


FhirServiceCollection Class

Definition

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

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

Constructors

FhirServiceCollection()

Initializes a new instance of the FhirServiceCollection 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, FhirServiceData, CancellationToken)

Creates or updates a FHIR Service resource with the specified parameters.

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

Creates or updates a FHIR Service resource with the specified parameters.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the properties of the specified FHIR Service.

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

Lists all FHIR Services for the given workspace

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

Lists all FHIR Services for the given workspace

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

Gets the properties of the specified FHIR Service.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/fhirservices/{fhirServiceName}
  • Operation Id: FhirServices_Get
  • Default Api Version: 2024-03-31
  • Resource: FhirServiceResource
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<FhirServiceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<FhirServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to