InventoryRecord¶
-
class
oci.fleet_apps_management.models.
InventoryRecord
(**kwargs)¶ Bases:
object
Information about an inventory target.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a InventoryRecord. architecture
[Required] Gets the architecture of this InventoryRecord. compartment_id
[Required] Gets the compartment_id of this InventoryRecord. components
[Required] Gets the components of this InventoryRecord. installed_patches
[Required] Gets the installed_patches of this InventoryRecord. lifecycle_state
Gets the lifecycle_state of this InventoryRecord. os_type
[Required] Gets the os_type of this InventoryRecord. properties
[Required] Gets the properties of this InventoryRecord. target_id
[Required] Gets the target_id of this InventoryRecord. target_name
[Required] Gets the target_name of this InventoryRecord. target_product_id
Gets the target_product_id of this InventoryRecord. target_product_name
[Required] Gets the target_product_name of this InventoryRecord. target_resource_id
[Required] Gets the target_resource_id of this InventoryRecord. target_resource_name
Gets the target_resource_name of this InventoryRecord. time_created
Gets the time_created of this InventoryRecord. time_updated
Gets the time_updated of this InventoryRecord. version
[Required] Gets the version of this InventoryRecord. Methods
__init__
(**kwargs)Initializes a new InventoryRecord object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a InventoryRecord. This constant has a value of “ACTIVE”
-
__init__
(**kwargs)¶ Initializes a new InventoryRecord object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - target_id (str) – The value to assign to the target_id property of this InventoryRecord.
- target_name (str) – The value to assign to the target_name property of this InventoryRecord.
- version (str) – The value to assign to the version property of this InventoryRecord.
- target_resource_id (str) – The value to assign to the target_resource_id property of this InventoryRecord.
- target_resource_name (str) – The value to assign to the target_resource_name property of this InventoryRecord.
- compartment_id (str) – The value to assign to the compartment_id property of this InventoryRecord.
- target_product_id (str) – The value to assign to the target_product_id property of this InventoryRecord.
- target_product_name (str) – The value to assign to the target_product_name property of this InventoryRecord.
- os_type (str) – The value to assign to the os_type property of this InventoryRecord.
- architecture (str) – The value to assign to the architecture property of this InventoryRecord.
- properties (list[oci.fleet_apps_management.models.InventoryRecordProperty]) – The value to assign to the properties property of this InventoryRecord.
- components (list[oci.fleet_apps_management.models.InventoryRecordComponent]) – The value to assign to the components property of this InventoryRecord.
- installed_patches (list[oci.fleet_apps_management.models.InventoryRecordPatchDetails]) – The value to assign to the installed_patches property of this InventoryRecord.
- time_created (datetime) – The value to assign to the time_created property of this InventoryRecord.
- time_updated (datetime) – The value to assign to the time_updated property of this InventoryRecord.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this InventoryRecord. Allowed values for this property are: “ACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
architecture
¶ [Required] Gets the architecture of this InventoryRecord. Architecture of the resource associated with the target
Returns: The architecture of this InventoryRecord. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this InventoryRecord. OCID of the compartment to which the resource belongs to.
Returns: The compartment_id of this InventoryRecord. Return type: str
-
components
¶ [Required] Gets the components of this InventoryRecord. List of target components
Returns: The components of this InventoryRecord. Return type: list[oci.fleet_apps_management.models.InventoryRecordComponent]
-
installed_patches
¶ [Required] Gets the installed_patches of this InventoryRecord. List of details on the patches currently installed on the target
Returns: The installed_patches of this InventoryRecord. Return type: list[oci.fleet_apps_management.models.InventoryRecordPatchDetails]
-
lifecycle_state
¶ Gets the lifecycle_state of this InventoryRecord. The current state of the Inventory target.
Allowed values for this property are: “ACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this InventoryRecord. Return type: str
-
os_type
¶ [Required] Gets the os_type of this InventoryRecord. OS installed on the resource associated with the target
Returns: The os_type of this InventoryRecord. Return type: str
-
properties
¶ [Required] Gets the properties of this InventoryRecord. List of target properties
Returns: The properties of this InventoryRecord. Return type: list[oci.fleet_apps_management.models.InventoryRecordProperty]
-
target_id
¶ [Required] Gets the target_id of this InventoryRecord. The OCID of the Inventory target.
Returns: The target_id of this InventoryRecord. Return type: str
-
target_name
¶ [Required] Gets the target_name of this InventoryRecord. Name of the target
Returns: The target_name of this InventoryRecord. Return type: str
-
target_product_id
¶ Gets the target_product_id of this InventoryRecord. OCID of the product installed at the target path
Returns: The target_product_id of this InventoryRecord. Return type: str
-
target_product_name
¶ [Required] Gets the target_product_name of this InventoryRecord. Name of the product installed at the target path
Returns: The target_product_name of this InventoryRecord. Return type: str
-
target_resource_id
¶ [Required] Gets the target_resource_id of this InventoryRecord. OCID of the resource associated with the target
Returns: The target_resource_id of this InventoryRecord. Return type: str
-
target_resource_name
¶ Gets the target_resource_name of this InventoryRecord. Name of the resource associated with the target
Returns: The target_resource_name of this InventoryRecord. Return type: str
-
time_created
¶ Gets the time_created of this InventoryRecord. The time this resource was created. An RFC3339 formatted datetime string.
Returns: The time_created of this InventoryRecord. Return type: datetime
-
time_updated
¶ Gets the time_updated of this InventoryRecord. The time this resource was last updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this InventoryRecord. Return type: datetime
-
version
¶ [Required] Gets the version of this InventoryRecord. Version of the product on the target
Returns: The version of this InventoryRecord. Return type: str
-