你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BackupProtectionIntentOperationsExtensions.ListAsync 方法

定义

提供保管库中存在的所有意向的可分页列表。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource>> ListAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IBackupProtectionIntentOperations operations, string vaultName, string resourceGroupName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentQueryObject> odataQuery = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IBackupProtectionIntentOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentQueryObject> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource>>
<Extension()>
Public Function ListAsync (operations As IBackupProtectionIntentOperations, vaultName As String, resourceGroupName As String, Optional odataQuery As ODataQuery(Of ProtectionIntentQueryObject) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ProtectionIntentResource))

参数

operations
IBackupProtectionIntentOperations

此扩展方法的操作组。

vaultName
String

恢复服务保管库的名称。

resourceGroupName
String

恢复服务保管库所在的资源组的名称。

odataQuery
ODataQuery<ProtectionIntentQueryObject>

要应用于操作的 OData 参数。

skipToken
String

skipToken 筛选器。

cancellationToken
CancellationToken

取消标记。

返回

适用于