RestorableSqlResourcesOperationsExtensions.List Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET