Aracılığıyla paylaş


RestorableSqlContainersOperationsExtensions.ListAsync 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.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Models.RestorableSqlContainerGetResult>> ListAsync (this Microsoft.Azure.Management.CosmosDB.IRestorableSqlContainersOperations operations, string location, string instanceId, string restorableSqlDatabaseRid = default, string startTime = default, string endTime = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.CosmosDB.IRestorableSqlContainersOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.CosmosDB.Models.RestorableSqlContainerGetResult>>
<Extension()>
Public Function ListAsync (operations As IRestorableSqlContainersOperations, location As String, instanceId As String, Optional restorableSqlDatabaseRid As String = Nothing, Optional startTime As String = Nothing, Optional endTime As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to