ExportStatus¶
- class oci.jms.models.ExportStatus(**kwargs)¶
Bases:
objectAttributes of fleet’s export status.
Attributes:
A constant which can be used with the latest_run_status property of a ExportStatus.
A constant which can be used with the latest_run_status property of a ExportStatus.
A constant which can be used with the latest_run_status property of a ExportStatus.
A constant which can be used with the latest_run_status property of a ExportStatus.
A constant which can be used with the latest_run_status property of a ExportStatus.
A constant which can be used with the latest_run_status property of a ExportStatus.
[Required] Gets the fleet_id of this ExportStatus.
[Required] Gets the latest_run_status of this ExportStatus.
[Required] Gets the time_last_run of this ExportStatus.
[Required] Gets the time_next_run of this ExportStatus.
Methods:
__init__(**kwargs)Initializes a new ExportStatus object with values from keyword arguments.
- LATEST_RUN_STATUS_FAILED = 'FAILED'¶
A constant which can be used with the latest_run_status property of a ExportStatus. This constant has a value of “FAILED”
- LATEST_RUN_STATUS_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the latest_run_status property of a ExportStatus. This constant has a value of “IN_PROGRESS”
- LATEST_RUN_STATUS_PENDING = 'PENDING'¶
A constant which can be used with the latest_run_status property of a ExportStatus. This constant has a value of “PENDING”
- LATEST_RUN_STATUS_RETRYING = 'RETRYING'¶
A constant which can be used with the latest_run_status property of a ExportStatus. This constant has a value of “RETRYING”
- LATEST_RUN_STATUS_SCHEDULED = 'SCHEDULED'¶
A constant which can be used with the latest_run_status property of a ExportStatus. This constant has a value of “SCHEDULED”
- LATEST_RUN_STATUS_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the latest_run_status property of a ExportStatus. This constant has a value of “SUCCEEDED”
- __init__(**kwargs)¶
Initializes a new ExportStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
fleet_id (str) – The value to assign to the fleet_id property of this ExportStatus.
time_last_run (datetime) – The value to assign to the time_last_run property of this ExportStatus.
time_next_run (datetime) – The value to assign to the time_next_run property of this ExportStatus.
latest_run_status (str) – The value to assign to the latest_run_status property of this ExportStatus. Allowed values for this property are: “SCHEDULED”, “PENDING”, “IN_PROGRESS”, “FAILED”, “RETRYING”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property fleet_id¶
[Required] Gets the fleet_id of this ExportStatus. The OCID of the fleet.
- Returns
The fleet_id of this ExportStatus.
- Return type
str
- property latest_run_status¶
[Required] Gets the latest_run_status of this ExportStatus. The status of the latest export run.
Allowed values for this property are: “SCHEDULED”, “PENDING”, “IN_PROGRESS”, “FAILED”, “RETRYING”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The latest_run_status of this ExportStatus.
- Return type
str
- property time_last_run¶
[Required] Gets the time_last_run of this ExportStatus. The date and time of the last export run.
- Returns
The time_last_run of this ExportStatus.
- Return type
datetime
- property time_next_run¶
[Required] Gets the time_next_run of this ExportStatus. The date and time of the next export run.
- Returns
The time_next_run of this ExportStatus.
- Return type
datetime