UNPKG

@kengachu-pulumi/azure-native-documentdb

Version:

Pulumi Azure Native package for documentdb

76 lines (75 loc) 3.2 kB
import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. * * Uses Azure REST API version 2023-04-15. * * Other available API versions: 2023-03-15-preview, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-11-15, 2024-12-01-preview. */ export declare function getMongoDBResourceMongoDBDatabase(args: GetMongoDBResourceMongoDBDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetMongoDBResourceMongoDBDatabaseResult>; export interface GetMongoDBResourceMongoDBDatabaseArgs { /** * Cosmos DB database account name. */ accountName: string; /** * Cosmos DB database name. */ databaseName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * An Azure Cosmos DB MongoDB database. */ export interface GetMongoDBResourceMongoDBDatabaseResult { /** * The unique resource identifier of the ARM resource. */ readonly id: string; /** * The location of the resource group to which the resource belongs. */ readonly location?: string; /** * The name of the ARM resource. */ readonly name: string; readonly options?: types.outputs.MongoDBDatabaseGetPropertiesResponseOptions; readonly resource?: types.outputs.MongoDBDatabaseGetPropertiesResponseResource; /** * Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". */ readonly tags?: { [key: string]: string; }; /** * The type of Azure resource. */ readonly type: string; } /** * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. * * Uses Azure REST API version 2023-04-15. * * Other available API versions: 2023-03-15-preview, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-11-15, 2024-12-01-preview. */ export declare function getMongoDBResourceMongoDBDatabaseOutput(args: GetMongoDBResourceMongoDBDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMongoDBResourceMongoDBDatabaseResult>; export interface GetMongoDBResourceMongoDBDatabaseOutputArgs { /** * Cosmos DB database account name. */ accountName: pulumi.Input<string>; /** * Cosmos DB database name. */ databaseName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }