Condividi tramite


DedicatedHsmCollection Class

Definition

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

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

Constructors

DedicatedHsmCollection()

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

Create or Update a dedicated HSM in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_CreateOrUpdate
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
CreateOrUpdateAsync(WaitUntil, String, DedicatedHsmData, CancellationToken)

Create or Update a dedicated HSM in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_CreateOrUpdate
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
Get(String, CancellationToken)

Gets the specified Azure dedicated HSM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
GetAll(Nullable<Int32>, CancellationToken)

The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs
  • Operation Id: DedicatedHsm_ListByResourceGroup
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
GetAllAsync(Nullable<Int32>, CancellationToken)

The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs
  • Operation Id: DedicatedHsm_ListByResourceGroup
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
GetAsync(String, CancellationToken)

Gets the specified Azure dedicated HSM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/{name}
  • Operation Id: DedicatedHsm_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
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<DedicatedHsmResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DedicatedHsmResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to