VaultsOperationsExtensions.CreateOrUpdateAsync 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.
Create or update a key vault in the specified subscription.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations operations, string resourceGroupName, string vaultName, Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.KeyVault.Fluent.IVaultsOperations * string * string * Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVaultsOperations, resourceGroupName As String, vaultName As String, parameters As VaultCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VaultInner)
Parameters
- operations
- IVaultsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the Resource Group to which the server belongs.
- vaultName
- String
Name of the vault
- parameters
- VaultCreateOrUpdateParameters
Parameters to create or update the vault
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET