Compartilhar via


ICSMProtectionPolicyOperations.ListAsync Método

Definição

Obtenha a lista de todas as Políticas de Proteção.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.CSMProtectionPolicyListOperationResponse> ListAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.CSMProtectionPolicyListOperationResponse>
Public Function ListAsync (resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of CSMProtectionPolicyListOperationResponse)

Parâmetros

resourceGroupName
String
resourceName
String
customRequestHeaders
CustomRequestHeaders

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

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

A definição de um CSMProtectionPolicyListOperationResponse.

Aplica-se a