UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

64 lines (63 loc) 1.89 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get the list of RDS slow log files. * * ## 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 test = huaweicloud.Rds.getSlowLogFiles({ * instanceId: instanceId, * }); * ``` */ export declare function getSlowLogFiles(args: GetSlowLogFilesArgs, opts?: pulumi.InvokeOptions): Promise<GetSlowLogFilesResult>; /** * A collection of arguments for invoking getSlowLogFiles. */ export interface GetSlowLogFilesArgs { /** * Specifies the ID of the 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 getSlowLogFiles. */ export interface GetSlowLogFilesResult { /** * Indicates the list of slow log files. */ readonly files: outputs.Rds.GetSlowLogFilesFile[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly region: string; } export declare function getSlowLogFilesOutput(args: GetSlowLogFilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSlowLogFilesResult>; /** * A collection of arguments for invoking getSlowLogFiles. */ export interface GetSlowLogFilesOutputArgs { /** * Specifies the ID of the 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>; }