Partilhar via


DataReplicationPolicyCollection.GetAll(CancellationToken) Método

Definição

Obtém a lista de políticas no cofre especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/replicationPolicies
  • IdPolicy_List de operação
public virtual Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataReplicationPolicyResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de DataReplicationPolicyResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a