PerformClusterActionRequestActionArgs

pydantic model openapi_client.models.perform_cluster_action_request_action_args.PerformClusterActionRequestActionArgs

Arguments required by the selected Action. - pause_later / resume_later / update_schedule: ScheduledActionName, Schedule (string), StartTime, EndTime, Enable - pause_and_resume_later / resume_and_pause_later: ScheduledActionName, Schedule (object with PauseEvery/ResumeEvery), StartTime, EndTime, Enable - create_snapshot: RetentionPeriod - update_maintenance: MaintenanceWindow - delete_schedule: ScheduledActionName - pause_now / resume_now / reboot: ActionArgs not required

Fields:
field enable: Optional[StrictBool] = None (alias 'Enable')

Whether the scheduled action is enabled.

field scheduled_action_name: Optional[StrictStr] = None (alias 'ScheduledActionName')

Name of the scheduled action.

field schedule: Optional[Any] = None (alias 'Schedule')

Cron or at() expression for single schedule actions, or an object with PauseEvery and ResumeEvery for pause/resume pair schedules. Represented without oneOf because API Gateway request validation does not support it. May be a string (e.g. at(2026-08-10T22:00:00)) or an object {“PauseEvery”:”…”,”ResumeEvery”:”…”}.

field end_time: Optional[StrictStr] = None (alias 'EndTime')

Schedule end time in UTC (ISO-8601).

field start_time: Optional[StrictStr] = None (alias 'StartTime')

Schedule start time in UTC (ISO-8601).

field retention_period: Optional[StrictStr] = None (alias 'RetentionPeriod')

Manual snapshot retention period in days. Required for create_snapshot.

field maintenance_window: Optional[StrictStr] = None (alias 'MaintenanceWindow')

Preferred maintenance window. Required for update_maintenance. Format example: ddd:hh:mm-ddd:hh:mm.

to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of PerformClusterActionRequestActionArgs from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of PerformClusterActionRequestActionArgs from a dict

Return type:

Optional[Self]