VaultManagementClient.GetManagedHsm Method

Definition

Get an existing managed HSM. Returns null if managed HSM is not found.

public Microsoft.Azure.Commands.KeyVault.Models.PSManagedHsm GetManagedHsm (string managedHsmName, string resourceGroupName, Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient graphClient = default);
member this.GetManagedHsm : string * string * Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient -> Microsoft.Azure.Commands.KeyVault.Models.PSManagedHsm
Public Function GetManagedHsm (managedHsmName As String, resourceGroupName As String, Optional graphClient As IMicrosoftGraphClient = Nothing) As PSManagedHsm

Parameters

managedHsmName
String

managed HSM name

resourceGroupName
String

resource group name

graphClient
IMicrosoftGraphClient

the active directory client

Returns

the retrieved Managed HSM

Applies to