Udostępnij za pośrednictwem


ICSMProtectionPolicyOperations.ListAsync Metoda

Definicja

Pobierz listę wszystkich zasad ochrony.

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)

Parametry

resourceGroupName
String
resourceName
String
customRequestHeaders
CustomRequestHeaders

Parametry nagłówka żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Definicja CSMProtectionPolicyListOperationResponse.

Dotyczy