PMCreateUpdateDto

Prev Next

Available in Classic and VPC

It is required when creating or editing planned maintenance.

Syntax

The syntax is as follows:

private String desc;
private Map<String, Set> dimensions;
private Long startTime;
private Long endTime;
private String title;

Field

The following describes the fields:

Field Type Required Description
desc String Optional Description
dimensions Map<String, Set> Required Specify dimension as JSON.
  • key: cw_key Example: 460438474722512896
  • value: Resource dimension list
  • cw_key is used as the key for the dimensions object.
    • Example: {"dimensions": "123456": [{ "instanceNo": "1111", "type": "svr" }]}
    • In the above example, "123456" is the cw_key.
startTime Long Required Planned maintenance start time (millisecond)
endTime Long Required Planned maintenance end time (millisecond)
title String Required Planned maintenance title