次の方法で共有


IProtectionContainersOperations.RefreshWithHttpMessagesAsync メソッド

定義

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> RefreshWithHttpMessagesAsync (string vaultName, string resourceGroupName, string fabricName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshWithHttpMessagesAsync : string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSRefreshContainersQueryObject> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function RefreshWithHttpMessagesAsync (vaultName As String, resourceGroupName As String, fabricName As String, Optional odataQuery As ODataQuery(Of BMSRefreshContainersQueryObject) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

パラメーター

vaultName
String

Recovery Services コンテナーの名前。

resourceGroupName
String

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

fabricName
String

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

odataQuery
ODataQuery<BMSRefreshContainersQueryObject>

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

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

必須パラメーターが null の場合にスローされます

適用対象