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

ProtectionContainersOperationsExtensions.Refresh 方法

定义

发现订阅中可备份到恢复服务保管库的所有容器。 这是一个异步操作。 若要了解操作的状态,请调用 GetRefreshOperationResult API。

public static void Refresh(this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations operations, string vaultName, string resourceGroupName, string fabricName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> odataQuery = default);
static member Refresh : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> -> unit
<Extension()>
Public Sub Refresh (operations As IProtectionContainersOperations, vaultName As String, resourceGroupName As String, fabricName As String, Optional odataQuery As ODataQuery(Of BMSRefreshContainersQueryObject) = Nothing)

参数

operations
IProtectionContainersOperations

此扩展方法的操作组。

vaultName
String

恢复服务保管库的名称。

resourceGroupName
String

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

fabricName
String

与容器关联的结构名称。

odataQuery
ODataQuery<BMSRefreshContainersQueryObject>

要应用于操作的 OData 参数。

适用于