@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
81 lines (80 loc) • 2.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get available HuaweiCloud gaussdb mysql dedicated resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const thisMysqlDedicatedResource = pulumi.output(huaweicloud.GaussDB.getMysqlDedicatedResource({
* resourceName: "test",
* }));
* ```
*/
export declare function getMysqlDedicatedResource(args?: GetMysqlDedicatedResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetMysqlDedicatedResourceResult>;
/**
* A collection of arguments for invoking getMysqlDedicatedResource.
*/
export interface GetMysqlDedicatedResourceArgs {
/**
* The region in which to obtain the dedicated resource. If omitted, the provider-level
* region will be used.
*/
region?: string;
/**
* Specifies the dedicated resource name.
*/
resourceName?: string;
}
/**
* A collection of values returned by getMysqlDedicatedResource.
*/
export interface GetMysqlDedicatedResourceResult {
/**
* Indicates the architecture of the dedicated resource.
*/
readonly architecture: string;
/**
* Indicates the availability zone of the dedicated resource.
*/
readonly availabilityZones: string[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Indicates the ram size of the dedicated resource.
*/
readonly ram: number;
readonly region: string;
readonly resourceName: string;
/**
* Indicates the status of the dedicated resource.
*/
readonly status: string;
/**
* Indicates the vcpus count of the dedicated resource.
*/
readonly vcpus: number;
/**
* Indicates the volume size of the dedicated resource.
*/
readonly volume: number;
}
export declare function getMysqlDedicatedResourceOutput(args?: GetMysqlDedicatedResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMysqlDedicatedResourceResult>;
/**
* A collection of arguments for invoking getMysqlDedicatedResource.
*/
export interface GetMysqlDedicatedResourceOutputArgs {
/**
* The region in which to obtain the dedicated resource. If omitted, the provider-level
* region will be used.
*/
region?: pulumi.Input<string>;
/**
* Specifies the dedicated resource name.
*/
resourceName?: pulumi.Input<string>;
}