UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

126 lines (125 loc) 4.2 kB
import * as pulumi from "@pulumi/pulumi"; /** * Manages an RDS extend log link resource within HuaweiCloud. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pulumi from "@huaweicloudos/pulumi"; * * const config = new pulumi.Config(); * const instanceId = config.requireObject("instanceId"); * const fileName = config.requireObject("fileName"); * const test = new huaweicloud.rds.ExtendLogLink("test", { * instanceId: instanceId, * fileName: fileName, * }); * ``` */ export declare class ExtendLogLink extends pulumi.CustomResource { /** * Get an existing ExtendLogLink resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ExtendLogLinkState, opts?: pulumi.CustomResourceOptions): ExtendLogLink; /** * Returns true if the given object is an instance of ExtendLogLink. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ExtendLogLink; /** * Indicates the creation time. */ readonly createdAt: pulumi.Output<string>; /** * Indicates the download link. */ readonly fileLink: pulumi.Output<string>; /** * Specifies the name of the file to be downloaded. */ readonly fileName: pulumi.Output<string>; /** * Indicates the file size in KB. */ readonly fileSize: pulumi.Output<string>; /** * Specifies the ID of the RDS instance. */ readonly instanceId: pulumi.Output<string>; /** * Specifies the region in which to create the resource. * If omitted, the provider-level region will be used. Changing this parameter will create a new resource. */ readonly region: pulumi.Output<string>; /** * Indicates the last update time. */ readonly updatedAt: pulumi.Output<string>; /** * Create a ExtendLogLink resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ExtendLogLinkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExtendLogLink resources. */ export interface ExtendLogLinkState { /** * Indicates the creation time. */ createdAt?: pulumi.Input<string>; /** * Indicates the download link. */ fileLink?: pulumi.Input<string>; /** * Specifies the name of the file to be downloaded. */ fileName?: pulumi.Input<string>; /** * Indicates the file size in KB. */ fileSize?: pulumi.Input<string>; /** * 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. Changing this parameter will create a new resource. */ region?: pulumi.Input<string>; /** * Indicates the last update time. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a ExtendLogLink resource. */ export interface ExtendLogLinkArgs { /** * Specifies the name of the file to be downloaded. */ fileName: pulumi.Input<string>; /** * 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. Changing this parameter will create a new resource. */ region?: pulumi.Input<string>; }