UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

65 lines (64 loc) 2.04 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get the list of RDS MySQL proxy flavors. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const config = new pulumi.Config(); * const instanceId = config.requireObject("instanceId"); * const flavor = huaweicloud.Rds.getMysqlProxyFlavors({ * instanceId: instanceId, * }); * ``` */ export declare function getMysqlProxyFlavors(args: GetMysqlProxyFlavorsArgs, opts?: pulumi.InvokeOptions): Promise<GetMysqlProxyFlavorsResult>; /** * A collection of arguments for invoking getMysqlProxyFlavors. */ export interface GetMysqlProxyFlavorsArgs { /** * Specifies the ID of RDS MySQL instance. */ instanceId: string; /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getMysqlProxyFlavors. */ export interface GetMysqlProxyFlavorsResult { /** * Indicates the list of flavor groups. * The flavorGroups structure is documented below. */ readonly flavorGroups: outputs.Rds.GetMysqlProxyFlavorsFlavorGroup[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly region: string; } export declare function getMysqlProxyFlavorsOutput(args: GetMysqlProxyFlavorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMysqlProxyFlavorsResult>; /** * A collection of arguments for invoking getMysqlProxyFlavors. */ export interface GetMysqlProxyFlavorsOutputArgs { /** * Specifies the ID of RDS MySQL instance. */ instanceId: pulumi.Input<string>; /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }