import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing CosmosDB SQL Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.cosmosdb.getSqlDatabase({ * name: "tfex-cosmosdb-sql-database", * resourceGroupName: "tfex-cosmosdb-sql-database-rg", * accountName: "tfex-cosmosdb-sql-database-account-name", * }); * ``` */ export declare function getSqlDatabase(args: GetSqlDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSqlDatabase. */ export interface GetSqlDatabaseArgs { /** * The name of the Cosmos DB SQL Database to create the table within. */ accountName: string; /** * Specifies the name of the Cosmos DB SQL Database. */ name: string; /** * The name of the resource group in which the Cosmos DB SQL Database is created. */ resourceGroupName: string; } /** * A collection of values returned by getSqlDatabase. */ export interface GetSqlDatabaseResult { readonly accountName: string; /** * An `autoscaleSettings` block as defined below. */ readonly autoscaleSettings: outputs.cosmosdb.GetSqlDatabaseAutoscaleSetting[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly resourceGroupName: string; /** * The throughput of SQL database (RU/s). */ readonly throughput: number; } /** * Use this data source to access information about an existing CosmosDB SQL Database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.cosmosdb.getSqlDatabase({ * name: "tfex-cosmosdb-sql-database", * resourceGroupName: "tfex-cosmosdb-sql-database-rg", * accountName: "tfex-cosmosdb-sql-database-account-name", * }); * ``` */ export declare function getSqlDatabaseOutput(args: GetSqlDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSqlDatabase. */ export interface GetSqlDatabaseOutputArgs { /** * The name of the Cosmos DB SQL Database to create the table within. */ accountName: pulumi.Input; /** * Specifies the name of the Cosmos DB SQL Database. */ name: pulumi.Input; /** * The name of the resource group in which the Cosmos DB SQL Database is created. */ resourceGroupName: pulumi.Input; }