ManagedHsmCollection Class

Definition

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

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

Constructors

ManagedHsmCollection()

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

Create or update a managed HSM Pool in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_CreateOrUpdate
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
CreateOrUpdateAsync(WaitUntil, String, ManagedHsmData, CancellationToken)

Create or update a managed HSM Pool in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_CreateOrUpdate
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
Get(String, CancellationToken)

Gets the specified managed HSM Pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetAll(Nullable<Int32>, CancellationToken)

The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs
  • Operation Id: ManagedHsms_ListByResourceGroup
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetAllAsync(Nullable<Int32>, CancellationToken)

The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs
  • Operation Id: ManagedHsms_ListByResourceGroup
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetAsync(String, CancellationToken)

Gets the specified managed HSM Pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}
  • Operation Id: ManagedHsms_Get
  • Default Api Version: 2023-07-01
  • Resource: ManagedHsmResource
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<ManagedHsmResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ManagedHsmResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to