CreatePatchFsuCycle

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

Bases: CreateFsuCycleDetails

Details to create an Exadata Fleet Update Cycle for a single maintenance update for an Exadata Fleet Update Collection.

Attributes:

TYPE_PATCH

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

TYPE_UPGRADE

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

apply_action_schedule

Gets the apply_action_schedule of this CreateFsuCycleDetails.

batching_strategy

Gets the batching_strategy of this CreateFsuCycleDetails.

compartment_id

[Required] Gets the compartment_id of this CreateFsuCycleDetails.

defined_tags

Gets the defined_tags of this CreateFsuCycleDetails.

diagnostics_collection

Gets the diagnostics_collection of this CreateFsuCycleDetails.

display_name

Gets the display_name of this CreateFsuCycleDetails.

freeform_tags

Gets the freeform_tags of this CreateFsuCycleDetails.

fsu_collection_id

[Required] Gets the fsu_collection_id of this CreateFsuCycleDetails.

goal_version_details

[Required] Gets the goal_version_details of this CreateFsuCycleDetails.

is_ignore_missing_patches

Gets the is_ignore_missing_patches of this CreatePatchFsuCycle.

is_ignore_patches

Gets the is_ignore_patches of this CreatePatchFsuCycle.

is_keep_placement

Gets the is_keep_placement of this CreatePatchFsuCycle.

max_drain_timeout_in_seconds

Gets the max_drain_timeout_in_seconds of this CreatePatchFsuCycle.

stage_action_schedule

Gets the stage_action_schedule of this CreateFsuCycleDetails.

type

[Required] Gets the type of this CreateFsuCycleDetails.

Methods:

__init__(**kwargs)

Initializes a new CreatePatchFsuCycle 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.

TYPE_PATCH = 'PATCH'

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

TYPE_UPGRADE = 'UPGRADE'

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

__init__(**kwargs)

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

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

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

  • type (str) – The value to assign to the type property of this CreatePatchFsuCycle. Allowed values for this property are: “PATCH”, “UPGRADE”

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

  • goal_version_details (oci.fleet_software_update.models.FsuGoalVersionDetails) – The value to assign to the goal_version_details property of this CreatePatchFsuCycle.

  • batching_strategy (oci.fleet_software_update.models.CreateBatchingStrategyDetails) – The value to assign to the batching_strategy property of this CreatePatchFsuCycle.

  • stage_action_schedule (oci.fleet_software_update.models.CreateScheduleDetails) – The value to assign to the stage_action_schedule property of this CreatePatchFsuCycle.

  • apply_action_schedule (oci.fleet_software_update.models.CreateScheduleDetails) – The value to assign to the apply_action_schedule property of this CreatePatchFsuCycle.

  • diagnostics_collection (oci.fleet_software_update.models.DiagnosticsCollectionDetails) – The value to assign to the diagnostics_collection property of this CreatePatchFsuCycle.

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

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

  • is_ignore_patches (bool) – The value to assign to the is_ignore_patches property of this CreatePatchFsuCycle.

  • is_ignore_missing_patches (list[str]) – The value to assign to the is_ignore_missing_patches property of this CreatePatchFsuCycle.

  • max_drain_timeout_in_seconds (int) – The value to assign to the max_drain_timeout_in_seconds property of this CreatePatchFsuCycle.

  • is_keep_placement (bool) – The value to assign to the is_keep_placement property of this CreatePatchFsuCycle.

property apply_action_schedule

Gets the apply_action_schedule of this CreateFsuCycleDetails.

Returns

The apply_action_schedule of this CreateFsuCycleDetails.

Return type

oci.fleet_software_update.models.CreateScheduleDetails

property batching_strategy

Gets the batching_strategy of this CreateFsuCycleDetails.

Returns

The batching_strategy of this CreateFsuCycleDetails.

Return type

oci.fleet_software_update.models.CreateBatchingStrategyDetails

property compartment_id

[Required] Gets the compartment_id of this CreateFsuCycleDetails. The OCID of the Compartment.

Returns

The compartment_id of this CreateFsuCycleDetails.

Return type

str

property defined_tags

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

Return type

dict(str, dict(str, object))

property diagnostics_collection

Gets the diagnostics_collection of this CreateFsuCycleDetails.

Returns

The diagnostics_collection of this CreateFsuCycleDetails.

Return type

oci.fleet_software_update.models.DiagnosticsCollectionDetails

property display_name

Gets the display_name of this CreateFsuCycleDetails. The user-friendly name for the Exadata Fleet Update Cycle.

Returns

The display_name of this CreateFsuCycleDetails.

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property fsu_collection_id

[Required] Gets the fsu_collection_id of this CreateFsuCycleDetails. The OCID of the Exadata Fleet Update Collection which will be updated by the Exadata Fleet Update Cycle being created.

Returns

The fsu_collection_id of this CreateFsuCycleDetails.

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 goal_version_details

[Required] Gets the goal_version_details of this CreateFsuCycleDetails.

Returns

The goal_version_details of this CreateFsuCycleDetails.

Return type

oci.fleet_software_update.models.FsuGoalVersionDetails

property is_ignore_missing_patches

Gets the is_ignore_missing_patches of this CreatePatchFsuCycle. List of identifiers of patches to ignore. This attribute will be ignored for Exadata Image (Guest OS) maintenance update.

Returns

The is_ignore_missing_patches of this CreatePatchFsuCycle.

Return type

list[str]

property is_ignore_patches

Gets the is_ignore_patches of this CreatePatchFsuCycle. Ignore patch conflicts or missing patches between the source and goal homes. This attribute will be ignored for Exadata Image (Guest OS) maintenance update.

Returns

The is_ignore_patches of this CreatePatchFsuCycle.

Return type

bool

property is_keep_placement

Gets the is_keep_placement of this CreatePatchFsuCycle. Ensure that database services are online on the same VMs before and after the maintenance update.

Returns

The is_keep_placement of this CreatePatchFsuCycle.

Return type

bool

property max_drain_timeout_in_seconds

Gets the max_drain_timeout_in_seconds of this CreatePatchFsuCycle. Timeout for session draining for database services specified in seconds.

Returns

The max_drain_timeout_in_seconds of this CreatePatchFsuCycle.

Return type

int

property stage_action_schedule

Gets the stage_action_schedule of this CreateFsuCycleDetails.

Returns

The stage_action_schedule of this CreateFsuCycleDetails.

Return type

oci.fleet_software_update.models.CreateScheduleDetails

property type

[Required] Gets the type of this CreateFsuCycleDetails. Type of Exadata Fleet Update Cycle.

Allowed values for this property are: “PATCH”, “UPGRADE”

Returns

The type of this CreateFsuCycleDetails.

Return type

str