UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

133 lines (132 loc) 3.38 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds mysql planned events * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mysql.getPlannedEvents({ * instanceId: "mysql-b51d37110dd1", * }); * ``` */ export declare function getPlannedEvents(args?: GetPlannedEventsArgs, opts?: pulumi.InvokeOptions): Promise<GetPlannedEventsResult>; /** * A collection of arguments for invoking getPlannedEvents. */ export interface GetPlannedEventsArgs { /** * The start time of the planned event. */ beginTime?: string; /** * The end time of the planned event. */ endTime?: string; /** * The id of the planned event. */ eventId?: string; /** * The type of the planned event. */ eventTypes?: string[]; /** * The id of the instance. */ instanceId?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The status of the planned event. */ statuses?: string[]; } /** * A collection of values returned by getPlannedEvents. */ export interface GetPlannedEventsResult { readonly beginTime?: string; readonly endTime?: string; /** * The id of the planned event. */ readonly eventId?: string; /** * The type of the planned event. */ readonly eventTypes?: string[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The id of the instance. */ readonly instanceId?: string; readonly outputFile?: string; /** * The collection of query. */ readonly plannedEvents: outputs.rds_mysql.GetPlannedEventsPlannedEvent[]; /** * Event status. */ readonly statuses?: string[]; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds mysql planned events * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mysql.getPlannedEvents({ * instanceId: "mysql-b51d37110dd1", * }); * ``` */ export declare function getPlannedEventsOutput(args?: GetPlannedEventsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPlannedEventsResult>; /** * A collection of arguments for invoking getPlannedEvents. */ export interface GetPlannedEventsOutputArgs { /** * The start time of the planned event. */ beginTime?: pulumi.Input<string>; /** * The end time of the planned event. */ endTime?: pulumi.Input<string>; /** * The id of the planned event. */ eventId?: pulumi.Input<string>; /** * The type of the planned event. */ eventTypes?: pulumi.Input<pulumi.Input<string>[]>; /** * The id of the instance. */ instanceId?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The status of the planned event. */ statuses?: pulumi.Input<pulumi.Input<string>[]>; }