Condividi tramite


SqlResourcesOperationsExtensions.GetSqlDatabase Method

Definition

Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.

public static Microsoft.Azure.Management.CosmosDB.Models.SqlDatabaseGetResults GetSqlDatabase (this Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations operations, string resourceGroupName, string accountName, string databaseName);
static member GetSqlDatabase : Microsoft.Azure.Management.CosmosDB.ISqlResourcesOperations * string * string * string -> Microsoft.Azure.Management.CosmosDB.Models.SqlDatabaseGetResults
<Extension()>
Public Function GetSqlDatabase (operations As ISqlResourcesOperations, resourceGroupName As String, accountName As String, databaseName As String) As SqlDatabaseGetResults

Parameters

operations
ISqlResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

Cosmos DB database account name.

databaseName
String

Cosmos DB database name.

Returns

Applies to