PrecheckFsuJob

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

Bases: FsuJob

Precheck Exadata Fleet Update Job resource.

Attributes:

LIFECYCLE_STATE_ACCEPTED

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_CANCELED

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_CANCELING

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_IN_PROGRESS

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_SUCCEEDED

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_TERMINATED

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_UNKNOWN

A constant which can be used with the lifecycle_state property of a FsuJob.

LIFECYCLE_STATE_WAITING

A constant which can be used with the lifecycle_state property of a FsuJob.

TYPE_APPLY

A constant which can be used with the type property of a FsuJob.

TYPE_CLEANUP

A constant which can be used with the type property of a FsuJob.

TYPE_PRECHECK

A constant which can be used with the type property of a FsuJob.

TYPE_ROLLBACK_AND_REMOVE_TARGET

A constant which can be used with the type property of a FsuJob.

TYPE_ROLLBACK_MAINTENANCE_CYCLE

A constant which can be used with the type property of a FsuJob.

TYPE_STAGE

A constant which can be used with the type property of a FsuJob.

compartment_id

[Required] Gets the compartment_id of this FsuJob.

defined_tags

Gets the defined_tags of this FsuJob.

display_name

Gets the display_name of this FsuJob.

freeform_tags

Gets the freeform_tags of this FsuJob.

fsu_action_id

[Required] Gets the fsu_action_id of this FsuJob.

fsu_collection_id

[Required] Gets the fsu_collection_id of this PrecheckFsuJob.

fsu_cycle_id

[Required] Gets the fsu_cycle_id of this PrecheckFsuJob.

id

[Required] Gets the id of this FsuJob.

lifecycle_details

Gets the lifecycle_details of this FsuJob.

lifecycle_state

[Required] Gets the lifecycle_state of this FsuJob.

progress

Gets the progress of this FsuJob.

schedule

Gets the schedule of this PrecheckFsuJob.

system_tags

Gets the system_tags of this FsuJob.

target_id

Gets the target_id of this PrecheckFsuJob.

time_created

[Required] Gets the time_created of this FsuJob.

time_finished

Gets the time_finished of this FsuJob.

time_started

Gets the time_started of this FsuJob.

time_updated

Gets the time_updated of this FsuJob.

type

[Required] Gets the type of this FsuJob.

Methods:

__init__(**kwargs)

Initializes a new PrecheckFsuJob 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'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “ACCEPTED”

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “CANCELED”

LIFECYCLE_STATE_CANCELING = 'CANCELING'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “CANCELING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “UNKNOWN”

LIFECYCLE_STATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_state property of a FsuJob. This constant has a value of “WAITING”

TYPE_APPLY = 'APPLY'

A constant which can be used with the type property of a FsuJob. This constant has a value of “APPLY”

TYPE_CLEANUP = 'CLEANUP'

A constant which can be used with the type property of a FsuJob. This constant has a value of “CLEANUP”

TYPE_PRECHECK = 'PRECHECK'

A constant which can be used with the type property of a FsuJob. This constant has a value of “PRECHECK”

TYPE_ROLLBACK_AND_REMOVE_TARGET = 'ROLLBACK_AND_REMOVE_TARGET'

A constant which can be used with the type property of a FsuJob. This constant has a value of “ROLLBACK_AND_REMOVE_TARGET”

TYPE_ROLLBACK_MAINTENANCE_CYCLE = 'ROLLBACK_MAINTENANCE_CYCLE'

A constant which can be used with the type property of a FsuJob. This constant has a value of “ROLLBACK_MAINTENANCE_CYCLE”

TYPE_STAGE = 'STAGE'

A constant which can be used with the type property of a FsuJob. This constant has a value of “STAGE”

__init__(**kwargs)

Initializes a new PrecheckFsuJob object with values from keyword arguments. The default value of the type attribute of this class is PRECHECK 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 PrecheckFsuJob.

  • display_name (str) – The value to assign to the display_name property of this PrecheckFsuJob.

  • type (str) – The value to assign to the type property of this PrecheckFsuJob. Allowed values for this property are: “STAGE”, “PRECHECK”, “APPLY”, “ROLLBACK_AND_REMOVE_TARGET”, “ROLLBACK_MAINTENANCE_CYCLE”, “CLEANUP”

  • compartment_id (str) – The value to assign to the compartment_id property of this PrecheckFsuJob.

  • fsu_action_id (str) – The value to assign to the fsu_action_id property of this PrecheckFsuJob.

  • progress (oci.fleet_software_update.models.JobProgressDetails) – The value to assign to the progress property of this PrecheckFsuJob.

  • time_created (datetime) – The value to assign to the time_created property of this PrecheckFsuJob.

  • time_started (datetime) – The value to assign to the time_started property of this PrecheckFsuJob.

  • time_updated (datetime) – The value to assign to the time_updated property of this PrecheckFsuJob.

  • time_finished (datetime) – The value to assign to the time_finished property of this PrecheckFsuJob.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PrecheckFsuJob. 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 PrecheckFsuJob.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PrecheckFsuJob.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PrecheckFsuJob.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PrecheckFsuJob.

  • fsu_collection_id (str) – The value to assign to the fsu_collection_id property of this PrecheckFsuJob.

  • fsu_cycle_id (str) – The value to assign to the fsu_cycle_id property of this PrecheckFsuJob.

  • target_id (str) – The value to assign to the target_id property of this PrecheckFsuJob.

  • schedule (oci.fleet_software_update.models.ScheduleDetails) – The value to assign to the schedule property of this PrecheckFsuJob.

property compartment_id

[Required] Gets the compartment_id of this FsuJob. Compartment Identifier, this will map to the owner Exadata Fleet Update Action resource.

Returns

The compartment_id of this FsuJob.

Return type

str

property defined_tags

Gets the defined_tags of this FsuJob. 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 FsuJob.

Return type

dict(str, dict(str, object))

property display_name

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

Returns

The display_name of this FsuJob.

Return type

str

property freeform_tags

Gets the freeform_tags of this FsuJob. 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 FsuJob.

Return type

dict(str, str)

property fsu_action_id

[Required] Gets the fsu_action_id of this FsuJob. OCID of the Exadata Fleet Update Action that this job is part of.

Returns

The fsu_action_id of this FsuJob.

Return type

str

property fsu_collection_id

[Required] Gets the fsu_collection_id of this PrecheckFsuJob. OCID of the Exadata Fleet Update Collection that the job is executing on.

Returns

The fsu_collection_id of this PrecheckFsuJob.

Return type

str

property fsu_cycle_id

[Required] Gets the fsu_cycle_id of this PrecheckFsuJob. OCID of the Exadata Fleet Update Cycle that this job is part of.

Returns

The fsu_cycle_id of this PrecheckFsuJob.

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.

property id

[Required] Gets the id of this FsuJob. OCID identifier for the Exadata Fleet Update Job.

Returns

The id of this FsuJob.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this FsuJob. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this FsuJob.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this FsuJob. The current state of the Exadata Fleet Update 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 FsuJob.

Return type

str

property progress

Gets the progress of this FsuJob.

Returns

The progress of this FsuJob.

Return type

oci.fleet_software_update.models.JobProgressDetails

property schedule

Gets the schedule of this PrecheckFsuJob.

Returns

The schedule of this PrecheckFsuJob.

Return type

oci.fleet_software_update.models.ScheduleDetails

property system_tags

Gets the system_tags of this FsuJob. 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 FsuJob.

Return type

dict(str, dict(str, object))

property target_id

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

Returns

The target_id of this PrecheckFsuJob.

Return type

str

property time_created

[Required] Gets the time_created of this FsuJob. The time the Exadata Fleet Update Job was created. An RFC3339 formatted datetime string.

Returns

The time_created of this FsuJob.

Return type

datetime

property time_finished

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

Returns

The time_finished of this FsuJob.

Return type

datetime

property time_started

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

Returns

The time_started of this FsuJob.

Return type

datetime

property time_updated

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

Returns

The time_updated of this FsuJob.

Return type

datetime

property type

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

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

Returns

The type of this FsuJob.

Return type

str