Share via


DicomServiceCollection Class

Definition

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

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

Constructors

DicomServiceCollection()

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

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

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

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

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the properties of the specified DICOM Service.

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

Lists all DICOM Services for the given workspace

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

Lists all DICOM Services for the given workspace

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

Gets the properties of the specified DICOM Service.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DicomServiceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to