Compartilhar via


IVaultOperations.CreateOrUpdateAsync Método

Definição

Cria um novo cofre de backup do Azure.

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)

Parâmetros

resourceGroupName
String

O nome do grupo de recursos ao qual o cofre pertence

resourceName
String

O nome do cofre

parameters
AzureBackupVaultCreateOrUpdateParameters

Parâmetros para criar ou atualizar o cofre

customRequestHeaders
CustomRequestHeaders

Parâmetros de cabeçalho de solicitação.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

Informações do cofre.

Aplica-se a