UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

69 lines (68 loc) 2.11 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get available HuaweiCloud gaussdb mysql configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const thisMysqlConfiguration = pulumi.output(huaweicloud.GaussDB.getMysqlConfiguration({ * name: "Default-GaussDB-for-MySQL 8.0", * })); * ``` */ export declare function getMysqlConfiguration(args?: GetMysqlConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetMysqlConfigurationResult>; /** * A collection of arguments for invoking getMysqlConfiguration. */ export interface GetMysqlConfigurationArgs { /** * Specifies the name of the parameter template. */ name?: string; /** * The region in which to obtain the configurations. If omitted, the provider-level region * will be used. */ region?: string; } /** * A collection of values returned by getMysqlConfiguration. */ export interface GetMysqlConfigurationResult { /** * Indicates the datastore name of the configuration. */ readonly datastoreName: string; /** * Indicates the datastore version of the configuration. */ readonly datastoreVersion: string; /** * Indicates the description of the configuration. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly region: string; } export declare function getMysqlConfigurationOutput(args?: GetMysqlConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMysqlConfigurationResult>; /** * A collection of arguments for invoking getMysqlConfiguration. */ export interface GetMysqlConfigurationOutputArgs { /** * Specifies the name of the parameter template. */ name?: pulumi.Input<string>; /** * The region in which to obtain the configurations. If omitted, the provider-level region * will be used. */ region?: pulumi.Input<string>; }