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

BackupProtectionContainersOperationsExtensions.ListAsync 方法

定义

列出注册到恢复服务保管库的容器。

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

参数

operations
IBackupProtectionContainersOperations

此扩展方法的操作组。

vaultName
String

恢复服务保管库的名称。

resourceGroupName
String

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

odataQuery
ODataQuery<BMSContainerQueryObject>

要应用于操作的 OData 参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于