Partager via


ICSMProtectionPolicyOperations.ListAsync Méthode

Définition

Obtenez la liste de toutes les stratégies de protection.

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)

Paramètres

resourceGroupName
String
resourceName
String
customRequestHeaders
CustomRequestHeaders

Paramètres d’en-tête de requête.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Définition d’un CSMProtectionPolicyListOperationResponse.

S’applique à