UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

61 lines (60 loc) 1.78 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the binlog retention hours of RDS MySQL. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const test = huaweicloud.Rds.getMysqlBinlog({ * instanceId: _var.instance_id, * }); * ``` */ export declare function getMysqlBinlog(args: GetMysqlBinlogArgs, opts?: pulumi.InvokeOptions): Promise<GetMysqlBinlogResult>; /** * A collection of arguments for invoking getMysqlBinlog. */ export interface GetMysqlBinlogArgs { /** * Specifies the ID of the RDS MySQL instance. */ instanceId: string; /** * Specifies the region in which to query the data source. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getMysqlBinlog. */ export interface GetMysqlBinlogResult { /** * The binlog retention period. Value range: 0 to 168 (7x24). */ readonly binlogRetentionHours: number; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly region: string; } export declare function getMysqlBinlogOutput(args: GetMysqlBinlogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMysqlBinlogResult>; /** * A collection of arguments for invoking getMysqlBinlog. */ export interface GetMysqlBinlogOutputArgs { /** * Specifies the ID of the RDS MySQL instance. */ instanceId: pulumi.Input<string>; /** * Specifies the region in which to query the data source. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }