UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

78 lines (77 loc) 2.29 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of RDS audit 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.getSqlAuditLogLinks({ * instanceId: instanceId, * ids: [ * "sql_audit_log_id1", * "sql_audit_log_id2", * ], * }); * ``` */ export declare function getSqlAuditLogLinks(args: GetSqlAuditLogLinksArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlAuditLogLinksResult>; /** * A collection of arguments for invoking getSqlAuditLogLinks. */ export interface GetSqlAuditLogLinksArgs { /** * Specifies the list of audit log IDs. * A maximum of 50 audit log IDs are allowed in the list. */ ids: string[]; /** * Specifies the instance ID. */ 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 getSqlAuditLogLinks. */ export interface GetSqlAuditLogLinksResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids: string[]; readonly instanceId: string; /** * Indicates the list of audit log download links. */ readonly links: string[]; readonly region: string; } export declare function getSqlAuditLogLinksOutput(args: GetSqlAuditLogLinksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSqlAuditLogLinksResult>; /** * A collection of arguments for invoking getSqlAuditLogLinks. */ export interface GetSqlAuditLogLinksOutputArgs { /** * Specifies the list of audit log IDs. * A maximum of 50 audit log IDs are allowed in the list. */ ids: pulumi.Input<pulumi.Input<string>[]>; /** * Specifies the instance ID. */ 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>; }