Compartilhar via


BackupProtectionPolicyResource.Get(CancellationToken) Método

Definição

Fornece os detalhes das políticas de backup associadas ao Cofre dos Serviços de Recuperação. Esta é uma operação assíncrona. O status da operação pode ser buscado usando a API GetPolicyOperationResult.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}
  • Operação IdProtectionPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionPolicyResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of BackupProtectionPolicyResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a