@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
76 lines (75 loc) • 2.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to get the list of RDS extend log links.
*
* ## 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.getExtendLogLinks({
* instanceId: instanceId,
* });
* ```
*/
export declare function getExtendLogLinks(args: GetExtendLogLinksArgs, opts?: pulumi.InvokeOptions): Promise<GetExtendLogLinksResult>;
/**
* A collection of arguments for invoking getExtendLogLinks.
*/
export interface GetExtendLogLinksArgs {
/**
* Specifies the name of the file to be downloaded.
*/
fileName: string;
/**
* Specifies the ID of the RDS 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 getExtendLogLinks.
*/
export interface GetExtendLogLinksResult {
/**
* Indicates the name of the file.
*/
readonly fileName: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
/**
* Indicates the list of extend log links.
*/
readonly links: outputs.Rds.GetExtendLogLinksLink[];
readonly region: string;
}
export declare function getExtendLogLinksOutput(args: GetExtendLogLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetExtendLogLinksResult>;
/**
* A collection of arguments for invoking getExtendLogLinks.
*/
export interface GetExtendLogLinksOutputArgs {
/**
* 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 query the resource.
* If omitted, the provider-level region will be used.
*/
region?: pulumi.Input<string>;
}