IVaultOperations.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.
Creates a new Azure backup vault.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultGetResponse> CreateOrUpdateAsync(string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultCreateOrUpdateParameters parameters, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultCreateOrUpdateParameters * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultGetResponse>
Public Function CreateOrUpdateAsync (resourceGroupName As String, resourceName As String, parameters As AzureBackupVaultCreateOrUpdateParameters, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of AzureBackupVaultGetResponse)
Parameters
- resourceGroupName
- String
The name of resource group to which vault belongs
- resourceName
- String
The name of the vault
- parameters
- AzureBackupVaultCreateOrUpdateParameters
Parameters to create or update the vault
- customRequestHeaders
- CustomRequestHeaders
Request header parameters.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Vault information.
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