Compartilhar via


BackupProtectedItemResource.TriggerBackup Método

Definição

Dispara o backup para o item de backup especificado. Esta é uma operação assíncrona. Para saber o status da operação, chame a API GetProtectedItemOperationResult.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/backup
  • Operação IdBackups_Trigger
public virtual Azure.Response TriggerBackup (Azure.ResourceManager.RecoveryServicesBackup.Models.TriggerBackupContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member TriggerBackup : Azure.ResourceManager.RecoveryServicesBackup.Models.TriggerBackupContent * System.Threading.CancellationToken -> Azure.Response
override this.TriggerBackup : Azure.ResourceManager.RecoveryServicesBackup.Models.TriggerBackupContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function TriggerBackup (content As TriggerBackupContent, Optional cancellationToken As CancellationToken = Nothing) As Response

Parâmetros

content
TriggerBackupContent

solicitação de backup de recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a