UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

98 lines (97 loc) 2.85 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of mongodb instance parameter logs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.mongodb.getInstanceParameterLogs({ * endTime: "2023-11-14 18:15Z", * instanceId: "mongo-replica-f16e9298b121", * startTime: "2022-11-14 00:00Z", * }); * ``` */ export declare function getInstanceParameterLogs(args: GetInstanceParameterLogsArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceParameterLogsResult>; /** * A collection of arguments for invoking getInstanceParameterLogs. */ export interface GetInstanceParameterLogsArgs { /** * The end time to query. */ endTime: string; /** * The instance ID to query. */ instanceId: string; /** * File name where to save data source results. */ outputFile?: string; /** * The start time to query. */ startTime: string; } /** * A collection of values returned by getInstanceParameterLogs. */ export interface GetInstanceParameterLogsResult { readonly endTime: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly outputFile?: string; /** * The collection of parameter change log query. */ readonly parameterChangeLogs: outputs.mongodb.GetInstanceParameterLogsParameterChangeLog[]; readonly startTime: string; /** * The total count of mongodb instance parameter log query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of mongodb instance parameter logs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.mongodb.getInstanceParameterLogs({ * endTime: "2023-11-14 18:15Z", * instanceId: "mongo-replica-f16e9298b121", * startTime: "2022-11-14 00:00Z", * }); * ``` */ export declare function getInstanceParameterLogsOutput(args: GetInstanceParameterLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceParameterLogsResult>; /** * A collection of arguments for invoking getInstanceParameterLogs. */ export interface GetInstanceParameterLogsOutputArgs { /** * The end time to query. */ endTime: pulumi.Input<string>; /** * The instance ID to query. */ instanceId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The start time to query. */ startTime: pulumi.Input<string>; }