次の方法で共有


IRestorableSqlResourcesOperations.ListWithHttpMessagesAsync メソッド

定義

指定されたタイムスタンプと場所にあるアカウントに存在するデータベースとコンテナーの結合の一覧を返します。 これは、指定されたタイムスタンプと場所に存在するリソースを検証するシナリオで役立ちます。 この API には、'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' アクセス許可が必要です。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.DatabaseRestoreResource>>> ListWithHttpMessagesAsync(string location, string instanceId, string restoreLocation = default, string restoreTimestampInUtc = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<seq<Microsoft.Azure.Management.CosmosDB.Models.DatabaseRestoreResource>>>
Public Function ListWithHttpMessagesAsync (location As String, instanceId As String, Optional restoreLocation As String = Nothing, Optional restoreTimestampInUtc As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IEnumerable(Of DatabaseRestoreResource)))

パラメーター

location
String

Cosmos DB リージョン。単語と各単語の間にスペースが大文字で表示されます。

instanceId
String

復元可能なデータベース アカウントの InstanceId GUID。

restoreLocation
String

復元可能なリソースが配置されている場所。

restoreTimestampInUtc
String

復元可能リソースが存在したときのタイムスタンプ。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

応答を逆シリアル化できない場合にスローされます

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

適用対象