@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
135 lines (134 loc) • 3.59 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.rds_mysql.PlannedEvents has been deprecated in favor of volcengine.rds_mysql.getPlannedEvents */
export declare function plannedEvents(args?: PlannedEventsArgs, opts?: pulumi.InvokeOptions): Promise<PlannedEventsResult>;
/**
* A collection of arguments for invoking PlannedEvents.
*/
export interface PlannedEventsArgs {
/**
* 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 PlannedEvents.
*/
export interface PlannedEventsResult {
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.PlannedEventsPlannedEvent[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.rds_mysql.PlannedEvents has been deprecated in favor of volcengine.rds_mysql.getPlannedEvents */
export declare function plannedEventsOutput(args?: PlannedEventsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<PlannedEventsResult>;
/**
* A collection of arguments for invoking PlannedEvents.
*/
export interface PlannedEventsOutputArgs {
/**
* 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>[]>;
}