Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.rds_mysql.PlannedEvents
Explore with Pulumi AI
Deprecated: volcengine.rds_mysql.PlannedEvents has been deprecated in favor of volcengine.rds_mysql.getPlannedEvents
Use this data source to query detailed information of rds mysql planned events
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.rds_mysql.getPlannedEvents({
instanceId: "mysql-b51d37110dd1",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.rds_mysql.get_planned_events(instance_id="mysql-b51d37110dd1")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_mysql.GetPlannedEvents(ctx, &rds_mysql.GetPlannedEventsArgs{
InstanceId: pulumi.StringRef("mysql-b51d37110dd1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Rds_mysql.GetPlannedEvents.Invoke(new()
{
InstanceId = "mysql-b51d37110dd1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_mysql.Rds_mysqlFunctions;
import com.pulumi.volcengine.rds_mysql.inputs.GetPlannedEventsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = Rds_mysqlFunctions.getPlannedEvents(GetPlannedEventsArgs.builder()
.instanceId("mysql-b51d37110dd1")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:rds_mysql:getPlannedEvents
Arguments:
instanceId: mysql-b51d37110dd1
Using PlannedEvents
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function plannedEvents(args: PlannedEventsArgs, opts?: InvokeOptions): Promise<PlannedEventsResult>
function plannedEventsOutput(args: PlannedEventsOutputArgs, opts?: InvokeOptions): Output<PlannedEventsResult>
def planned_events(begin_time: Optional[str] = None,
end_time: Optional[str] = None,
event_id: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
output_file: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> PlannedEventsResult
def planned_events_output(begin_time: Optional[pulumi.Input[str]] = None,
end_time: Optional[pulumi.Input[str]] = None,
event_id: Optional[pulumi.Input[str]] = None,
event_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[PlannedEventsResult]
func PlannedEvents(ctx *Context, args *PlannedEventsArgs, opts ...InvokeOption) (*PlannedEventsResult, error)
func PlannedEventsOutput(ctx *Context, args *PlannedEventsOutputArgs, opts ...InvokeOption) PlannedEventsResultOutput
public static class PlannedEvents
{
public static Task<PlannedEventsResult> InvokeAsync(PlannedEventsArgs args, InvokeOptions? opts = null)
public static Output<PlannedEventsResult> Invoke(PlannedEventsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<PlannedEventsResult> plannedEvents(PlannedEventsArgs args, InvokeOptions options)
public static Output<PlannedEventsResult> plannedEvents(PlannedEventsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_mysql:PlannedEvents
arguments:
# arguments dictionary
The following arguments are supported:
- Begin
Time string - The start time of the planned event.
- End
Time string - The end time of the planned event.
- Event
Id string - The id of the planned event.
- Event
Types List<string> - The type of the planned event.
- Instance
Id string - The id of the instance.
- Output
File string - File name where to save data source results.
- Statuses List<string>
- The status of the planned event.
- Begin
Time string - The start time of the planned event.
- End
Time string - The end time of the planned event.
- Event
Id string - The id of the planned event.
- Event
Types []string - The type of the planned event.
- Instance
Id string - The id of the instance.
- Output
File string - File name where to save data source results.
- Statuses []string
- The status of the planned event.
- begin
Time String - The start time of the planned event.
- end
Time String - The end time of the planned event.
- event
Id String - The id of the planned event.
- event
Types List<String> - The type of the planned event.
- instance
Id String - The id of the instance.
- output
File String - File name where to save data source results.
- statuses List<String>
- The status of the planned event.
- begin
Time string - The start time of the planned event.
- end
Time string - The end time of the planned event.
- event
Id string - The id of the planned event.
- event
Types string[] - The type of the planned event.
- instance
Id string - The id of the instance.
- output
File string - File name where to save data source results.
- statuses string[]
- The status of the planned event.
- begin_
time str - The start time of the planned event.
- end_
time str - The end time of the planned event.
- event_
id str - The id of the planned event.
- event_
types Sequence[str] - The type of the planned event.
- instance_
id str - The id of the instance.
- output_
file str - File name where to save data source results.
- statuses Sequence[str]
- The status of the planned event.
- begin
Time String - The start time of the planned event.
- end
Time String - The end time of the planned event.
- event
Id String - The id of the planned event.
- event
Types List<String> - The type of the planned event.
- instance
Id String - The id of the instance.
- output
File String - File name where to save data source results.
- statuses List<String>
- The status of the planned event.
PlannedEvents Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Planned
Events List<PlannedEvents Planned Event> - The collection of query.
- Total
Count int - The total count of query.
- Begin
Time string - End
Time string - Event
Id string - The id of the planned event.
- Event
Types List<string> - The type of the planned event.
- Instance
Id string - The id of the instance.
- Output
File string - Statuses List<string>
- Event status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Planned
Events []PlannedEvents Planned Event - The collection of query.
- Total
Count int - The total count of query.
- Begin
Time string - End
Time string - Event
Id string - The id of the planned event.
- Event
Types []string - The type of the planned event.
- Instance
Id string - The id of the instance.
- Output
File string - Statuses []string
- Event status.
- id String
- The provider-assigned unique ID for this managed resource.
- planned
Events List<PlannedEvents Planned Event> - The collection of query.
- total
Count Integer - The total count of query.
- begin
Time String - end
Time String - event
Id String - The id of the planned event.
- event
Types List<String> - The type of the planned event.
- instance
Id String - The id of the instance.
- output
File String - statuses List<String>
- Event status.
- id string
- The provider-assigned unique ID for this managed resource.
- planned
Events PlannedEvents Planned Event[] - The collection of query.
- total
Count number - The total count of query.
- begin
Time string - end
Time string - event
Id string - The id of the planned event.
- event
Types string[] - The type of the planned event.
- instance
Id string - The id of the instance.
- output
File string - statuses string[]
- Event status.
- id str
- The provider-assigned unique ID for this managed resource.
- planned_
events Sequence[PlannedEvents Planned Event] - The collection of query.
- total_
count int - The total count of query.
- begin_
time str - end_
time str - event_
id str - The id of the planned event.
- event_
types Sequence[str] - The type of the planned event.
- instance_
id str - The id of the instance.
- output_
file str - statuses Sequence[str]
- Event status.
- id String
- The provider-assigned unique ID for this managed resource.
- planned
Events List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- begin
Time String - end
Time String - event
Id String - The id of the planned event.
- event
Types List<String> - The type of the planned event.
- instance
Id String - The id of the instance.
- output
File String - statuses List<String>
- Event status.
Supporting Types
PlannedEventsPlannedEvent
- Business
Impact string - The business impact of the planned event.
- Db
Engine string - The database engine of the planned event.
- Event
Action string - The action of the planned event.
- Event
Id string - The id of the planned event.
- Event
Name string - The name of the planned event.
- Event
Type string - The type of the planned event.
- Instance
Id string - The id of the instance.
- Instance
Name string - The name of the instance.
- Max
Delay stringTime - The latest postponable time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Origin
Begin stringTime - The initially set start time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
Begin stringTime - The start time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
End stringTime - The end time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
Event stringDescription - Description information of the operation and maintenance event.
- Planned
Event stringReason - The reasons for the occurrence of the event, which are provided to help you understand the reasons for the occurrence of unexpected events.
- Planned
Switch stringBegin Time - The start time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
Switch stringEnd Time - The end time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Region string
- The region.
- Status string
- The status of the planned event.
- Business
Impact string - The business impact of the planned event.
- Db
Engine string - The database engine of the planned event.
- Event
Action string - The action of the planned event.
- Event
Id string - The id of the planned event.
- Event
Name string - The name of the planned event.
- Event
Type string - The type of the planned event.
- Instance
Id string - The id of the instance.
- Instance
Name string - The name of the instance.
- Max
Delay stringTime - The latest postponable time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Origin
Begin stringTime - The initially set start time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
Begin stringTime - The start time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
End stringTime - The end time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
Event stringDescription - Description information of the operation and maintenance event.
- Planned
Event stringReason - The reasons for the occurrence of the event, which are provided to help you understand the reasons for the occurrence of unexpected events.
- Planned
Switch stringBegin Time - The start time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Planned
Switch stringEnd Time - The end time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- Region string
- The region.
- Status string
- The status of the planned event.
- business
Impact String - The business impact of the planned event.
- db
Engine String - The database engine of the planned event.
- event
Action String - The action of the planned event.
- event
Id String - The id of the planned event.
- event
Name String - The name of the planned event.
- event
Type String - The type of the planned event.
- instance
Id String - The id of the instance.
- instance
Name String - The name of the instance.
- max
Delay StringTime - The latest postponable time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- origin
Begin StringTime - The initially set start time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Begin StringTime - The start time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
End StringTime - The end time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Event StringDescription - Description information of the operation and maintenance event.
- planned
Event StringReason - The reasons for the occurrence of the event, which are provided to help you understand the reasons for the occurrence of unexpected events.
- planned
Switch StringBegin Time - The start time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Switch StringEnd Time - The end time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- region String
- The region.
- status String
- The status of the planned event.
- business
Impact string - The business impact of the planned event.
- db
Engine string - The database engine of the planned event.
- event
Action string - The action of the planned event.
- event
Id string - The id of the planned event.
- event
Name string - The name of the planned event.
- event
Type string - The type of the planned event.
- instance
Id string - The id of the instance.
- instance
Name string - The name of the instance.
- max
Delay stringTime - The latest postponable time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- origin
Begin stringTime - The initially set start time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Begin stringTime - The start time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
End stringTime - The end time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Event stringDescription - Description information of the operation and maintenance event.
- planned
Event stringReason - The reasons for the occurrence of the event, which are provided to help you understand the reasons for the occurrence of unexpected events.
- planned
Switch stringBegin Time - The start time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Switch stringEnd Time - The end time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- region string
- The region.
- status string
- The status of the planned event.
- business_
impact str - The business impact of the planned event.
- db_
engine str - The database engine of the planned event.
- event_
action str - The action of the planned event.
- event_
id str - The id of the planned event.
- event_
name str - The name of the planned event.
- event_
type str - The type of the planned event.
- instance_
id str - The id of the instance.
- instance_
name str - The name of the instance.
- max_
delay_ strtime - The latest postponable time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- origin_
begin_ strtime - The initially set start time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned_
begin_ strtime - The start time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned_
end_ strtime - The end time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned_
event_ strdescription - Description information of the operation and maintenance event.
- planned_
event_ strreason - The reasons for the occurrence of the event, which are provided to help you understand the reasons for the occurrence of unexpected events.
- planned_
switch_ strbegin_ time - The start time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned_
switch_ strend_ time - The end time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- region str
- The region.
- status str
- The status of the planned event.
- business
Impact String - The business impact of the planned event.
- db
Engine String - The database engine of the planned event.
- event
Action String - The action of the planned event.
- event
Id String - The id of the planned event.
- event
Name String - The name of the planned event.
- event
Type String - The type of the planned event.
- instance
Id String - The id of the instance.
- instance
Name String - The name of the instance.
- max
Delay StringTime - The latest postponable time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- origin
Begin StringTime - The initially set start time. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Begin StringTime - The start time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
End StringTime - The end time of the planned execution. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Event StringDescription - Description information of the operation and maintenance event.
- planned
Event StringReason - The reasons for the occurrence of the event, which are provided to help you understand the reasons for the occurrence of unexpected events.
- planned
Switch StringBegin Time - The start time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- planned
Switch StringEnd Time - The end time of the planned switch. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
- region String
- The region.
- status String
- The status of the planned event.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.