FirmwareBundle¶
- class oci.core.models.FirmwareBundle(**kwargs)¶
Bases:
objectA collection of pinned component firmware versions organized by platform.
Attributes:
A constant which can be used with the lifecycle_state property of a FirmwareBundle.
A constant which can be used with the lifecycle_state property of a FirmwareBundle.
A constant which can be used with the lifecycle_state property of a FirmwareBundle.
Gets the allowable_transitions of this FirmwareBundle.
[Required] Gets the compartment_id of this FirmwareBundle.
[Required] Gets the description of this FirmwareBundle.
[Required] Gets the display_name of this FirmwareBundle.
[Required] Gets the id of this FirmwareBundle.
[Required] Gets the lifecycle_state of this FirmwareBundle.
[Required] Gets the platforms of this FirmwareBundle.
[Required] Gets the time_created of this FirmwareBundle.
[Required] Gets the time_updated of this FirmwareBundle.
Methods:
__init__(**kwargs)Initializes a new FirmwareBundle object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a FirmwareBundle. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_DELETE_SCHEDULED = 'DELETE_SCHEDULED'¶
A constant which can be used with the lifecycle_state property of a FirmwareBundle. This constant has a value of “DELETE_SCHEDULED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a FirmwareBundle. This constant has a value of “INACTIVE”
- __init__(**kwargs)¶
Initializes a new FirmwareBundle object with values from keyword arguments. 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 FirmwareBundle.
display_name (str) – The value to assign to the display_name property of this FirmwareBundle.
description (str) – The value to assign to the description property of this FirmwareBundle.
platforms (list[oci.core.models.PlatformVersions]) – The value to assign to the platforms property of this FirmwareBundle.
allowable_transitions (oci.core.models.FirmwareBundleTransitions) – The value to assign to the allowable_transitions property of this FirmwareBundle.
compartment_id (str) – The value to assign to the compartment_id property of this FirmwareBundle.
time_created (datetime) – The value to assign to the time_created property of this FirmwareBundle.
time_updated (datetime) – The value to assign to the time_updated property of this FirmwareBundle.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this FirmwareBundle. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETE_SCHEDULED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property allowable_transitions¶
Gets the allowable_transitions of this FirmwareBundle.
- Returns
The allowable_transitions of this FirmwareBundle.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this FirmwareBundle. The OCID of the compartment of this firmware bundle.
- Returns
The compartment_id of this FirmwareBundle.
- Return type
str
- property description¶
[Required] Gets the description of this FirmwareBundle. A brief description or metadata about this firmware bundle.
- Returns
The description of this FirmwareBundle.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this FirmwareBundle. The user-friendly name of this firmware bundle.
- Returns
The display_name of this FirmwareBundle.
- Return type
str
- property id¶
[Required] Gets the id of this FirmwareBundle. The OCID of this firmware bundle.
- Returns
The id of this FirmwareBundle.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this FirmwareBundle. The current state of the firmware bundle.
Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETE_SCHEDULED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this FirmwareBundle.
- Return type
str
- property platforms¶
[Required] Gets the platforms of this FirmwareBundle. A map of platforms to pinned firmware versions.
- Returns
The platforms of this FirmwareBundle.
- Return type