ExportStatus¶
-
class
oci.jms.models.ExportStatus(**kwargs)¶ Bases:
objectAttributes of fleet’s export status.
Attributes
LATEST_RUN_STATUS_FAILEDA constant which can be used with the latest_run_status property of a ExportStatus. LATEST_RUN_STATUS_IN_PROGRESSA constant which can be used with the latest_run_status property of a ExportStatus. LATEST_RUN_STATUS_PENDINGA constant which can be used with the latest_run_status property of a ExportStatus. LATEST_RUN_STATUS_RETRYINGA constant which can be used with the latest_run_status property of a ExportStatus. LATEST_RUN_STATUS_SCHEDULEDA constant which can be used with the latest_run_status property of a ExportStatus. LATEST_RUN_STATUS_SUCCEEDEDA constant which can be used with the latest_run_status property of a ExportStatus. fleet_id[Required] Gets the fleet_id of this ExportStatus. latest_run_status[Required] Gets the latest_run_status of this ExportStatus. time_last_run[Required] Gets the time_last_run of this ExportStatus. time_next_run[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’.
-
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
-
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
-
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
-
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
-