VaultManagementClient.CreateNewVault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- parameters
- VaultCreationParameters
- 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