Udostępnij za pośrednictwem


RestorableSqlContainersOperationsExtensions.List Method

Definition

Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission

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

Parameters

operations
IRestorableSqlContainersOperations

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.

restorableSqlDatabaseRid
String

The resource ID of the SQL database.

startTime
String

The snapshot create timestamp after which snapshots need to be listed.

endTime
String

The snapshot create timestamp before which snapshots need to be listed.

Returns

Applies to