Partager via


VaultManagementClient.CreateNewVault Method

Definition

Overloads

CreateNewVault(VaultCreationParameters, ActiveDirectoryClient)
CreateNewVault(VaultCreationOrUpdateParameters, IMicrosoftGraphClient, PSKeyVaultNetworkRuleSet)

Create a new vault

CreateNewVault(VaultCreationParameters, ActiveDirectoryClient)

public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault CreateNewVault (Microsoft.Azure.Commands.KeyVault.Models.VaultCreationParameters parameters, Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient adClient = default);
member this.CreateNewVault : Microsoft.Azure.Commands.KeyVault.Models.VaultCreationParameters * Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Public Function CreateNewVault (parameters As VaultCreationParameters, Optional adClient As ActiveDirectoryClient = Nothing) As PSKeyVault

Parameters

adClient
Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient

Returns

Applies to

CreateNewVault(VaultCreationOrUpdateParameters, IMicrosoftGraphClient, PSKeyVaultNetworkRuleSet)

Create a new vault

public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault CreateNewVault (Microsoft.Azure.Commands.KeyVault.Models.VaultCreationOrUpdateParameters parameters, Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient graphClient = default, Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultNetworkRuleSet networkRuleSet = default);
member this.CreateNewVault : Microsoft.Azure.Commands.KeyVault.Models.VaultCreationOrUpdateParameters * Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultNetworkRuleSet -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Public Function CreateNewVault (parameters As VaultCreationOrUpdateParameters, Optional graphClient As IMicrosoftGraphClient = Nothing, Optional networkRuleSet As PSKeyVaultNetworkRuleSet = Nothing) As PSKeyVault

Parameters

parameters
VaultCreationOrUpdateParameters

vault creation parameters

graphClient
IMicrosoftGraphClient

the active directory client

networkRuleSet
PSKeyVaultNetworkRuleSet

the network rule set of the vault

Returns

Applies to