@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
100 lines (99 loc) • 3.08 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.mongodb.InstanceParameterLogs has been deprecated in favor of volcengine.mongodb.getInstanceParameterLogs */
export declare function instanceParameterLogs(args: InstanceParameterLogsArgs, opts?: pulumi.InvokeOptions): Promise<InstanceParameterLogsResult>;
/**
* A collection of arguments for invoking InstanceParameterLogs.
*/
export interface InstanceParameterLogsArgs {
/**
* 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 InstanceParameterLogs.
*/
export interface InstanceParameterLogsResult {
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.InstanceParameterLogsParameterChangeLog[];
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",
* });
* ```
*/
/** @deprecated volcengine.mongodb.InstanceParameterLogs has been deprecated in favor of volcengine.mongodb.getInstanceParameterLogs */
export declare function instanceParameterLogsOutput(args: InstanceParameterLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InstanceParameterLogsResult>;
/**
* A collection of arguments for invoking InstanceParameterLogs.
*/
export interface InstanceParameterLogsOutputArgs {
/**
* 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>;
}