VaultOperationsExtensions.CreateOrUpdate(IVaultOperations, String, String, AzureBackupVaultCreateOrUpdateParameters, CustomRequestHeaders) Method

Definition

Creates a new Azure backup vault.

public static Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultGetResponse CreateOrUpdate (this Microsoft.Azure.Management.BackupServices.IVaultOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultCreateOrUpdateParameters parameters, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member CreateOrUpdate : Microsoft.Azure.Management.BackupServices.IVaultOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultCreateOrUpdateParameters * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> Microsoft.Azure.Management.BackupServices.Models.AzureBackupVaultGetResponse

Parameters

operations
IVaultOperations

Reference to the Microsoft.Azure.Management.BackupServices.IVaultOperations.

resourceGroupName
System.String

Required. The name of resource group to which vault belongs

resourceName
System.String

Required. The name of the vault

parameters
AzureBackupVaultCreateOrUpdateParameters

Required. Parameters to create or update the vault

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

AzureBackupVaultGetResponse

Vault information.

Applies to