@kengachu-pulumi/azure-native-documentdb
Version:
Pulumi Azure Native package for documentdb
48 lines (47 loc) • 2.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster.
*
* Uses Azure REST API version 2023-03-15-preview.
*
* Other available API versions: 2023-09-15-preview, 2023-11-15-preview, 2024-02-15-preview, 2024-03-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview.
*/
export declare function listMongoClusterConnectionStrings(args: ListMongoClusterConnectionStringsArgs, opts?: pulumi.InvokeOptions): Promise<ListMongoClusterConnectionStringsResult>;
export interface ListMongoClusterConnectionStringsArgs {
/**
* The name of the mongo cluster.
*/
mongoClusterName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* The connection strings for the given mongo cluster.
*/
export interface ListMongoClusterConnectionStringsResult {
/**
* An array that contains the connection strings for a mongo cluster.
*/
readonly connectionStrings: types.outputs.ConnectionStringResponse[];
}
/**
* List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster.
*
* Uses Azure REST API version 2023-03-15-preview.
*
* Other available API versions: 2023-09-15-preview, 2023-11-15-preview, 2024-02-15-preview, 2024-03-01-preview, 2024-06-01-preview, 2024-07-01, 2024-10-01-preview.
*/
export declare function listMongoClusterConnectionStringsOutput(args: ListMongoClusterConnectionStringsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListMongoClusterConnectionStringsResult>;
export interface ListMongoClusterConnectionStringsOutputArgs {
/**
* The name of the mongo cluster.
*/
mongoClusterName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}