CSMProtectionPolicyOperationsExtensions.ListAsync(ICSMProtectionPolicyOperations, String, String, CustomRequestHeaders) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.