SoftDeletedDatabaseAccountGetResultResource.GetSoftDeletedSqlDatabaseGetResult 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.
Retrieves the properties of a soft-deleted Azure Cosmos DB SQL database. This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/softDeletedSqlDatabases/read' permission.
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.SoftDeletedSqlDatabaseGetResultResource> GetSoftDeletedSqlDatabaseGetResult(string databaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSoftDeletedSqlDatabaseGetResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.SoftDeletedSqlDatabaseGetResultResource>
override this.GetSoftDeletedSqlDatabaseGetResult : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.SoftDeletedSqlDatabaseGetResultResource>
Public Overridable Function GetSoftDeletedSqlDatabaseGetResult (databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SoftDeletedSqlDatabaseGetResultResource)
Parameters
- databaseName
- String
Cosmos DB SQL database name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
databaseName is null.
databaseName is an empty string, and was expected to be non-empty.