Share via


BackupPoliciesOperationsExtensions.List Method

Definition

Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch scoped results.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResource> List (this Microsoft.Azure.Management.RecoveryServices.Backup.IBackupPoliciesOperations operations, string vaultName, string resourceGroupName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyQueryObject> odataQuery = default);
static member List : Microsoft.Azure.Management.RecoveryServices.Backup.IBackupPoliciesOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyQueryObject> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResource>
<Extension()>
Public Function List (operations As IBackupPoliciesOperations, vaultName As String, resourceGroupName As String, Optional odataQuery As ODataQuery(Of ProtectionPolicyQueryObject) = Nothing) As IPage(Of ProtectionPolicyResource)

Parameters

operations
IBackupPoliciesOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

odataQuery
ODataQuery<ProtectionPolicyQueryObject>

OData parameters to apply to the operation.

Returns

Applies to