共用方式為


VaultManagementClient.GetVault Method

Definition

Overloads

GetVault(String, String, IMicrosoftGraphClient)

Get an existing vault. Returns null if vault is not found.

GetVault(String, String, ActiveDirectoryClient)

GetVault(String, String, IMicrosoftGraphClient)

Get an existing vault. Returns null if vault is not found.

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

Parameters

vaultName
String

vault name

resourceGroupName
String

resource group name

graphClient
IMicrosoftGraphClient

the active directory client

Returns

the retrieved vault

Applies to

GetVault(String, String, ActiveDirectoryClient)

public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault GetVault (string vaultName, string resourceGroupName, Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient adClient = default);
member this.GetVault : string * string * Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Public Function GetVault (vaultName As String, resourceGroupName As String, Optional adClient As ActiveDirectoryClient = Nothing) As PSKeyVault

Parameters

vaultName
String
resourceGroupName
String
adClient
Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient

Returns

Applies to