DbCollection

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

Bases: oci.fleet_software_update.models.fsu_collection.FsuCollection

‘DB’ type Exadata Fleet Update Collection details.

Attributes

LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_CREATING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_DELETING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_NEEDS_ATTENTION str(object=’’) -> str
LIFECYCLE_STATE_UPDATING str(object=’’) -> str
SERVICE_TYPE_EXACC str(object=’’) -> str
SERVICE_TYPE_EXACS str(object=’’) -> str
SOURCE_MAJOR_VERSION_DB_11204 A constant which can be used with the source_major_version property of a DbCollection.
SOURCE_MAJOR_VERSION_DB_121 A constant which can be used with the source_major_version property of a DbCollection.
SOURCE_MAJOR_VERSION_DB_122 A constant which can be used with the source_major_version property of a DbCollection.
SOURCE_MAJOR_VERSION_DB_18 A constant which can be used with the source_major_version property of a DbCollection.
SOURCE_MAJOR_VERSION_DB_19 A constant which can be used with the source_major_version property of a DbCollection.
TYPE_DB str(object=’’) -> str
TYPE_GI str(object=’’) -> str
active_fsu_cycle Gets the active_fsu_cycle of this FsuCollection.
compartment_id [Required] Gets the compartment_id of this FsuCollection.
defined_tags Gets the defined_tags of this FsuCollection.
display_name [Required] Gets the display_name of this FsuCollection.
fleet_discovery [Required] Gets the fleet_discovery of this DbCollection.
freeform_tags Gets the freeform_tags of this FsuCollection.
id [Required] Gets the id of this FsuCollection.
lifecycle_details Gets the lifecycle_details of this FsuCollection.
lifecycle_state [Required] Gets the lifecycle_state of this FsuCollection.
service_type [Required] Gets the service_type of this FsuCollection.
source_major_version [Required] Gets the source_major_version of this DbCollection.
system_tags Gets the system_tags of this FsuCollection.
target_count Gets the target_count of this FsuCollection.
time_created [Required] Gets the time_created of this FsuCollection.
time_updated Gets the time_updated of this FsuCollection.
type [Required] Gets the type of this FsuCollection.

Methods

__init__(**kwargs) Initializes a new DbCollection 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_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_CREATING = 'CREATING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_DELETING = 'DELETING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'
LIFECYCLE_STATE_UPDATING = 'UPDATING'
SERVICE_TYPE_EXACC = 'EXACC'
SERVICE_TYPE_EXACS = 'EXACS'
SOURCE_MAJOR_VERSION_DB_11204 = 'DB_11204'

A constant which can be used with the source_major_version property of a DbCollection. This constant has a value of “DB_11204”

SOURCE_MAJOR_VERSION_DB_121 = 'DB_121'

A constant which can be used with the source_major_version property of a DbCollection. This constant has a value of “DB_121”

SOURCE_MAJOR_VERSION_DB_122 = 'DB_122'

A constant which can be used with the source_major_version property of a DbCollection. This constant has a value of “DB_122”

SOURCE_MAJOR_VERSION_DB_18 = 'DB_18'

A constant which can be used with the source_major_version property of a DbCollection. This constant has a value of “DB_18”

SOURCE_MAJOR_VERSION_DB_19 = 'DB_19'

A constant which can be used with the source_major_version property of a DbCollection. This constant has a value of “DB_19”

TYPE_DB = 'DB'
TYPE_GI = 'GI'
__init__(**kwargs)

Initializes a new DbCollection object with values from keyword arguments. The default value of the type attribute of this class is DB 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 DbCollection.
  • display_name (str) – The value to assign to the display_name property of this DbCollection.
  • type (str) – The value to assign to the type property of this DbCollection. Allowed values for this property are: “DB”, “GI”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • service_type (str) – The value to assign to the service_type property of this DbCollection. Allowed values for this property are: “EXACS”, “EXACC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • compartment_id (str) – The value to assign to the compartment_id property of this DbCollection.
  • active_fsu_cycle (oci.fleet_software_update.models.ActiveCycleDetails) – The value to assign to the active_fsu_cycle property of this DbCollection.
  • target_count (int) – The value to assign to the target_count property of this DbCollection.
  • time_created (datetime) – The value to assign to the time_created property of this DbCollection.
  • time_updated (datetime) – The value to assign to the time_updated property of this DbCollection.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbCollection. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DbCollection.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbCollection.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DbCollection.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DbCollection.
  • source_major_version (str) – The value to assign to the source_major_version property of this DbCollection. Allowed values for this property are: “DB_11204”, “DB_121”, “DB_122”, “DB_18”, “DB_19”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • fleet_discovery (oci.fleet_software_update.models.DbFleetDiscoveryDetails) – The value to assign to the fleet_discovery property of this DbCollection.
active_fsu_cycle

Gets the active_fsu_cycle of this FsuCollection.

Returns:The active_fsu_cycle of this FsuCollection.
Return type:oci.fleet_software_update.models.ActiveCycleDetails
compartment_id

[Required] Gets the compartment_id of this FsuCollection. Compartment Identifier

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

Gets the defined_tags of this FsuCollection. 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 FsuCollection.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this FsuCollection. Exadata Fleet Update Collection resource display name.

Returns:The display_name of this FsuCollection.
Return type:str
fleet_discovery

[Required] Gets the fleet_discovery of this DbCollection.

Returns:The fleet_discovery of this DbCollection.
Return type:oci.fleet_software_update.models.DbFleetDiscoveryDetails
freeform_tags

Gets the freeform_tags of this FsuCollection. 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 FsuCollection.
Return type:dict(str, 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

[Required] Gets the id of this FsuCollection. OCID identifier for the Exadata Fleet Update Collection.

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

Gets the lifecycle_details of this FsuCollection. 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 FsuCollection.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this FsuCollection. The current state of the Exadata Fleet Update Collection.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this FsuCollection.
Return type:str
service_type

[Required] Gets the service_type of this FsuCollection. Exadata service type for the target resource members.

Allowed values for this property are: “EXACS”, “EXACC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The service_type of this FsuCollection.
Return type:str
source_major_version

[Required] Gets the source_major_version of this DbCollection. Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.

Allowed values for this property are: “DB_11204”, “DB_121”, “DB_122”, “DB_18”, “DB_19”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_major_version of this DbCollection.
Return type:str
system_tags

Gets the system_tags of this FsuCollection. 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 FsuCollection.
Return type:dict(str, dict(str, object))
target_count

Gets the target_count of this FsuCollection. Number of targets that are members of this Collection.

Returns:The target_count of this FsuCollection.
Return type:int
time_created

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

Returns:The time_created of this FsuCollection.
Return type:datetime
time_updated

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

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

[Required] Gets the type of this FsuCollection. Exadata Fleet Update Collection type.

Allowed values for this property are: “DB”, “GI”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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