ApplyFsuJobSummary

class oci.fleet_software_update.models.ApplyFsuJobSummary(**kwargs)

Bases: oci.fleet_software_update.models.fsu_job_summary.FsuJobSummary

Summary of Apply Exadata Fleet Update Job resource.

Attributes

LIFECYCLE_STATE_ACCEPTED str(object=’’) -> str
LIFECYCLE_STATE_CANCELED str(object=’’) -> str
LIFECYCLE_STATE_CANCELING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_IN_PROGRESS str(object=’’) -> str
LIFECYCLE_STATE_NEEDS_ATTENTION str(object=’’) -> str
LIFECYCLE_STATE_SUCCEEDED str(object=’’) -> str
LIFECYCLE_STATE_TERMINATED str(object=’’) -> str
LIFECYCLE_STATE_UNKNOWN str(object=’’) -> str
LIFECYCLE_STATE_WAITING str(object=’’) -> str
TYPE_APPLY str(object=’’) -> str
TYPE_CLEANUP str(object=’’) -> str
TYPE_PRECHECK str(object=’’) -> str
TYPE_ROLLBACK_AND_REMOVE_TARGET str(object=’’) -> str
TYPE_STAGE str(object=’’) -> str
compartment_id Gets the compartment_id of this FsuJobSummary.
defined_tags Gets the defined_tags of this FsuJobSummary.
display_name Gets the display_name of this FsuJobSummary.
freeform_tags Gets the freeform_tags of this FsuJobSummary.
fsu_action_id Gets the fsu_action_id of this FsuJobSummary.
fsu_collection_id Gets the fsu_collection_id of this ApplyFsuJobSummary.
fsu_cycle_id Gets the fsu_cycle_id of this ApplyFsuJobSummary.
id Gets the id of this FsuJobSummary.
lifecycle_details Gets the lifecycle_details of this FsuJobSummary.
lifecycle_state Gets the lifecycle_state of this FsuJobSummary.
progress Gets the progress of this FsuJobSummary.
schedule Gets the schedule of this ApplyFsuJobSummary.
system_tags Gets the system_tags of this FsuJobSummary.
target_id Gets the target_id of this ApplyFsuJobSummary.
time_created Gets the time_created of this FsuJobSummary.
time_finished Gets the time_finished of this FsuJobSummary.
time_started Gets the time_started of this FsuJobSummary.
time_updated Gets the time_updated of this FsuJobSummary.
type [Required] Gets the type of this FsuJobSummary.

Methods

__init__(**kwargs) Initializes a new ApplyFsuJobSummary object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'
LIFECYCLE_STATE_CANCELED = 'CANCELED'
LIFECYCLE_STATE_CANCELING = 'CANCELING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'
LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'
LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'
LIFECYCLE_STATE_TERMINATED = 'TERMINATED'
LIFECYCLE_STATE_UNKNOWN = 'UNKNOWN'
LIFECYCLE_STATE_WAITING = 'WAITING'
TYPE_APPLY = 'APPLY'
TYPE_CLEANUP = 'CLEANUP'
TYPE_PRECHECK = 'PRECHECK'
TYPE_ROLLBACK_AND_REMOVE_TARGET = 'ROLLBACK_AND_REMOVE_TARGET'
TYPE_STAGE = 'STAGE'
__init__(**kwargs)

Initializes a new ApplyFsuJobSummary object with values from keyword arguments. The default value of the type attribute of this class is APPLY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this ApplyFsuJobSummary.
  • display_name (str) – The value to assign to the display_name property of this ApplyFsuJobSummary.
  • type (str) – The value to assign to the type property of this ApplyFsuJobSummary. Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”
  • compartment_id (str) – The value to assign to the compartment_id property of this ApplyFsuJobSummary.
  • fsu_action_id (str) – The value to assign to the fsu_action_id property of this ApplyFsuJobSummary.
  • progress (oci.fleet_software_update.models.JobProgress) – The value to assign to the progress property of this ApplyFsuJobSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ApplyFsuJobSummary.
  • time_started (datetime) – The value to assign to the time_started property of this ApplyFsuJobSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ApplyFsuJobSummary.
  • time_finished (datetime) – The value to assign to the time_finished property of this ApplyFsuJobSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ApplyFsuJobSummary. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “UNKNOWN”, “TERMINATED”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, “WAITING”, “CANCELING”, “CANCELED”
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ApplyFsuJobSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ApplyFsuJobSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ApplyFsuJobSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ApplyFsuJobSummary.
  • fsu_collection_id (str) – The value to assign to the fsu_collection_id property of this ApplyFsuJobSummary.
  • fsu_cycle_id (str) – The value to assign to the fsu_cycle_id property of this ApplyFsuJobSummary.
  • target_id (str) – The value to assign to the target_id property of this ApplyFsuJobSummary.
  • schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the schedule property of this ApplyFsuJobSummary.
compartment_id

Gets the compartment_id of this FsuJobSummary. Compartment Identifier, this will map to the owner Exadata Fleet Update Action resource.

Returns:The compartment_id of this FsuJobSummary.
Return type:str
defined_tags

Gets the defined_tags of this FsuJobSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this FsuJobSummary.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this FsuJobSummary. Exadata Fleet Update Job display name.

Returns:The display_name of this FsuJobSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this FsuJobSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this FsuJobSummary.
Return type:dict(str, str)
fsu_action_id

Gets the fsu_action_id of this FsuJobSummary. OCID of the Exadata Fleet Update Action that this job is part of.

Returns:The fsu_action_id of this FsuJobSummary.
Return type:str
fsu_collection_id

Gets the fsu_collection_id of this ApplyFsuJobSummary. OCID of the Exadata Fleet Update Collection that the job is executing on.

Returns:The fsu_collection_id of this ApplyFsuJobSummary.
Return type:str
fsu_cycle_id

Gets the fsu_cycle_id of this ApplyFsuJobSummary. OCID of the Exadata Fleet Update Cycle that this job is part of.

Returns:The fsu_cycle_id of this ApplyFsuJobSummary.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

id

Gets the id of this FsuJobSummary. OCID identifier for the Exadata Fleet Update Job.

Returns:The id of this FsuJobSummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this FsuJobSummary. A message describing the current state in more detail.

Returns:The lifecycle_details of this FsuJobSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this FsuJobSummary. The current state of the Job.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “UNKNOWN”, “TERMINATED”, “FAILED”, “NEEDS_ATTENTION”, “SUCCEEDED”, “WAITING”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this FsuJobSummary.
Return type:str
progress

Gets the progress of this FsuJobSummary.

Returns:The progress of this FsuJobSummary.
Return type:oci.fleet_software_update.models.JobProgress
schedule

Gets the schedule of this ApplyFsuJobSummary.

Returns:The schedule of this ApplyFsuJobSummary.
Return type:oci.fleet_software_update.models.ScheduleDetails
system_tags

Gets the system_tags of this FsuJobSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this FsuJobSummary.
Return type:dict(str, dict(str, object))
target_id

Gets the target_id of this ApplyFsuJobSummary. OCID of Target resource on which the job is executing the action.

Returns:The target_id of this ApplyFsuJobSummary.
Return type:str
time_created

Gets the time_created of this FsuJobSummary. The time the Exadata Fleet Update Job was created. An RFC3339 formatted datetime string.

Returns:The time_created of this FsuJobSummary.
Return type:datetime
time_finished

Gets the time_finished of this FsuJobSummary. The time the Exadata Fleet Update Job completed execution. An RFC3339 formatted datetime string.

Returns:The time_finished of this FsuJobSummary.
Return type:datetime
time_started

Gets the time_started of this FsuJobSummary. The time the Exadata Fleet Update Job started execution. An RFC3339 formatted datetime string.

Returns:The time_started of this FsuJobSummary.
Return type:datetime
time_updated

Gets the time_updated of this FsuJobSummary. The time the Exadata Fleet Update Job was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this FsuJobSummary.
Return type:datetime
type

[Required] Gets the type of this FsuJobSummary. Exadata Fleet Update Job type.

Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “CLEANUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this FsuJobSummary.
Return type:str