CSMProtectionPolicyOperationsExtensions.ListAsync(ICSMProtectionPolicyOperations, String, String, CustomRequestHeaders) Method

Definition

Get the list of all Protection Policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.CSMProtectionPolicyListOperationResponse> ListAsync (this Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member ListAsync : Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.CSMProtectionPolicyListOperationResponse>

Parameters

operations
ICSMProtectionPolicyOperations

Reference to the Microsoft.Azure.Management.BackupServices.ICSMProtectionPolicyOperations.

resourceGroupName
System.String

Required.

resourceName
System.String

Required.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

System.Threading.Tasks.Task<CSMProtectionPolicyListOperationResponse>

The definition of a CSMProtectionPolicyListOperationResponse.

Applies to