UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

62 lines (61 loc) 1.73 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the RDS error log link. */ export declare function getErrorLogLink(args: GetErrorLogLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetErrorLogLinkResult>; /** * A collection of arguments for invoking getErrorLogLink. */ export interface GetErrorLogLinkArgs { /** * Specifies the ID of the RDS instance. */ instanceId: string; /** * Specifies the region in which to create the resource. If omitted, the provider-level * region will be used. */ region?: string; } /** * A collection of values returned by getErrorLogLink. */ export interface GetErrorLogLinkResult { /** * Indicates the creation time. */ readonly createdAt: number; /** * Indicates the download link. */ readonly fileLink: string; /** * Indicates the name of the file */ readonly fileName: string; /** * Indicates the file size in KB. */ readonly fileSize: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly region: string; } export declare function getErrorLogLinkOutput(args: GetErrorLogLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetErrorLogLinkResult>; /** * A collection of arguments for invoking getErrorLogLink. */ export interface GetErrorLogLinkOutputArgs { /** * Specifies the ID of the RDS instance. */ instanceId: pulumi.Input<string>; /** * Specifies the region in which to create the resource. If omitted, the provider-level * region will be used. */ region?: pulumi.Input<string>; }