AssetSummary¶
- class oci.cloud_bridge.models.AssetSummary(**kwargs)¶
Bases:
objectSummary of the asset.
Attributes:
A constant which can be used with the asset_type property of a AssetSummary.
A constant which can be used with the asset_type property of a AssetSummary.
A constant which can be used with the asset_type property of a AssetSummary.
A constant which can be used with the asset_type property of a AssetSummary.
A constant which can be used with the asset_type property of a AssetSummary.
A constant which can be used with the environment_type property of a AssetSummary.
A constant which can be used with the environment_type property of a AssetSummary.
Gets the asset_class_name of this AssetSummary.
Gets the asset_class_version of this AssetSummary.
Gets the asset_source_ids of this AssetSummary.
[Required] Gets the asset_type of this AssetSummary.
[Required] Gets the compartment_id of this AssetSummary.
Gets the defined_tags of this AssetSummary.
Gets the display_name of this AssetSummary.
Gets the environment_type of this AssetSummary.
[Required] Gets the external_asset_key of this AssetSummary.
Gets the freeform_tags of this AssetSummary.
[Required] Gets the id of this AssetSummary.
[Required] Gets the inventory_id of this AssetSummary.
[Required] Gets the lifecycle_state of this AssetSummary.
[Required] Gets the source_key of this AssetSummary.
Gets the system_tags of this AssetSummary.
[Required] Gets the time_created of this AssetSummary.
[Required] Gets the time_updated of this AssetSummary.
Methods:
__init__(**kwargs)Initializes a new AssetSummary object with values from keyword arguments.
- ASSET_TYPE_AWS_EBS = 'AWS_EBS'¶
A constant which can be used with the asset_type property of a AssetSummary. This constant has a value of “AWS_EBS”
- ASSET_TYPE_AWS_EC2 = 'AWS_EC2'¶
A constant which can be used with the asset_type property of a AssetSummary. This constant has a value of “AWS_EC2”
- ASSET_TYPE_INVENTORY_ASSET = 'INVENTORY_ASSET'¶
A constant which can be used with the asset_type property of a AssetSummary. This constant has a value of “INVENTORY_ASSET”
- ASSET_TYPE_VM = 'VM'¶
A constant which can be used with the asset_type property of a AssetSummary. This constant has a value of “VM”
- ASSET_TYPE_VMWARE_VM = 'VMWARE_VM'¶
A constant which can be used with the asset_type property of a AssetSummary. This constant has a value of “VMWARE_VM”
- ENVIRONMENT_TYPE_DESTINATION = 'DESTINATION'¶
A constant which can be used with the environment_type property of a AssetSummary. This constant has a value of “DESTINATION”
- ENVIRONMENT_TYPE_SOURCE = 'SOURCE'¶
A constant which can be used with the environment_type property of a AssetSummary. This constant has a value of “SOURCE”
- __init__(**kwargs)¶
Initializes a new AssetSummary object with values from keyword arguments. 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 AssetSummary.
inventory_id (str) – The value to assign to the inventory_id property of this AssetSummary.
id (str) – The value to assign to the id property of this AssetSummary.
compartment_id (str) – The value to assign to the compartment_id property of this AssetSummary.
source_key (str) – The value to assign to the source_key property of this AssetSummary.
external_asset_key (str) – The value to assign to the external_asset_key property of this AssetSummary.
asset_type (str) – The value to assign to the asset_type property of this AssetSummary. Allowed values for this property are: “VMWARE_VM”, “VM”, “INVENTORY_ASSET”, “AWS_EC2”, “AWS_EBS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_created (datetime) – The value to assign to the time_created property of this AssetSummary.
time_updated (datetime) – The value to assign to the time_updated property of this AssetSummary.
asset_source_ids (list[str]) – The value to assign to the asset_source_ids property of this AssetSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AssetSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AssetSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AssetSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AssetSummary.
asset_class_name (str) – The value to assign to the asset_class_name property of this AssetSummary.
asset_class_version (str) – The value to assign to the asset_class_version property of this AssetSummary.
environment_type (str) – The value to assign to the environment_type property of this AssetSummary. Allowed values for this property are: “SOURCE”, “DESTINATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property asset_class_name¶
Gets the asset_class_name of this AssetSummary. The name of the asset class.
- Returns
The asset_class_name of this AssetSummary.
- Return type
str
- property asset_class_version¶
Gets the asset_class_version of this AssetSummary. The version of the asset class.
- Returns
The asset_class_version of this AssetSummary.
- Return type
str
- property asset_source_ids¶
Gets the asset_source_ids of this AssetSummary. List of asset source OCID.
- Returns
The asset_source_ids of this AssetSummary.
- Return type
list[str]
- property asset_type¶
[Required] Gets the asset_type of this AssetSummary. The type of asset.
Allowed values for this property are: “VMWARE_VM”, “VM”, “INVENTORY_ASSET”, “AWS_EC2”, “AWS_EBS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The asset_type of this AssetSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this AssetSummary. The OCID of the compartment that the asset belongs to.
- Returns
The compartment_id of this AssetSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AssetSummary. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this AssetSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this AssetSummary. Asset display name.
- Returns
The display_name of this AssetSummary.
- Return type
str
- property environment_type¶
Gets the environment_type of this AssetSummary. Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
Allowed values for this property are: “SOURCE”, “DESTINATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The environment_type of this AssetSummary.
- Return type
str
- property external_asset_key¶
[Required] Gets the external_asset_key of this AssetSummary. The key of the asset from the external environment.
- Returns
The external_asset_key of this AssetSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this AssetSummary. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this AssetSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this AssetSummary. Asset OCID that is immutable on creation.
- Returns
The id of this AssetSummary.
- Return type
str
- property inventory_id¶
[Required] Gets the inventory_id of this AssetSummary. Inventory ID that the asset belongs to.
- Returns
The inventory_id of this AssetSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AssetSummary. The current state of the asset.
- Returns
The lifecycle_state of this AssetSummary.
- Return type
str
- property source_key¶
[Required] Gets the source_key of this AssetSummary. The source key to which the asset belongs.
- Returns
The source_key of this AssetSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this AssetSummary. The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Returns
The system_tags of this AssetSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this AssetSummary. The time when the asset was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this AssetSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this AssetSummary. The time when the asset was updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this AssetSummary.
- Return type
datetime