共用方式為


RestorableSqlResourcesOperationsExtensions.List Method

Definition

Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.DatabaseRestoreResource> List (this Microsoft.Azure.Management.CosmosDB.IRestorableSqlResourcesOperations operations, string location, string instanceId, string restoreLocation = default, string restoreTimestampInUtc = default);
static member List : Microsoft.Azure.Management.CosmosDB.IRestorableSqlResourcesOperations * string * string * string * string -> seq<Microsoft.Azure.Management.CosmosDB.Models.DatabaseRestoreResource>
<Extension()>
Public Function List (operations As IRestorableSqlResourcesOperations, location As String, instanceId As String, Optional restoreLocation As String = Nothing, Optional restoreTimestampInUtc As String = Nothing) As IEnumerable(Of DatabaseRestoreResource)

Parameters

operations
IRestorableSqlResourcesOperations

The operations group for this extension method.

location
String

Cosmos DB region, with spaces between words and each word capitalized.

instanceId
String

The instanceId GUID of a restorable database account.

restoreLocation
String

The location where the restorable resources are located.

restoreTimestampInUtc
String

The timestamp when the restorable resources existed.

Returns

Applies to