次の方法で共有


ProtectionContainersOperationsExtensions.RefreshAsync メソッド

定義

Recovery Services コンテナーにバックアップできるサブスクリプション内のすべてのコンテナーを検出します。 これは非同期操作です。 操作の状態を確認するには、GetRefreshOperationResult API を呼び出します。

public static System.Threading.Tasks.Task RefreshAsync (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, System.Threading.CancellationToken cancellationToken = default);
static member RefreshAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RefreshAsync (operations As IProtectionContainersOperations, vaultName As String, resourceGroupName As String, fabricName As String, Optional odataQuery As ODataQuery(Of BMSRefreshContainersQueryObject) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

パラメーター

operations
IProtectionContainersOperations

この拡張メソッドの操作グループ。

vaultName
String

Recovery Services コンテナーの名前。

resourceGroupName
String

Recovery Services コンテナーが存在するリソース グループの名前。

fabricName
String

コンテナーに関連付けられているファブリック名。

odataQuery
ODataQuery<BMSRefreshContainersQueryObject>

操作に適用する OData パラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象