UpdateInventoryAssetDetails¶
-
class
oci.cloud_bridge.models.UpdateInventoryAssetDetails(**kwargs)¶ Bases:
oci.cloud_bridge.models.update_asset_details.UpdateAssetDetailsThe information of a JSON formatted asset to be updated.
Attributes
ASSET_TYPE_AWS_EBSstr(object=’’) -> str ASSET_TYPE_AWS_EC2str(object=’’) -> str ASSET_TYPE_INVENTORY_ASSETstr(object=’’) -> str ASSET_TYPE_VMstr(object=’’) -> str ASSET_TYPE_VMWARE_VMstr(object=’’) -> str ENVIRONMENT_TYPE_DESTINATIONA constant which can be used with the environment_type property of a UpdateInventoryAssetDetails. ENVIRONMENT_TYPE_SOURCEA constant which can be used with the environment_type property of a UpdateInventoryAssetDetails. asset_class_name[Required] Gets the asset_class_name of this UpdateInventoryAssetDetails. asset_class_version[Required] Gets the asset_class_version of this UpdateInventoryAssetDetails. asset_details[Required] Gets the asset_details of this UpdateInventoryAssetDetails. asset_source_idsGets the asset_source_ids of this UpdateAssetDetails. asset_type[Required] Gets the asset_type of this UpdateAssetDetails. defined_tagsGets the defined_tags of this UpdateAssetDetails. display_nameGets the display_name of this UpdateAssetDetails. environment_typeGets the environment_type of this UpdateInventoryAssetDetails. freeform_tagsGets the freeform_tags of this UpdateAssetDetails. Methods
__init__(**kwargs)Initializes a new UpdateInventoryAssetDetails 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. -
ASSET_TYPE_AWS_EBS= 'AWS_EBS'¶
-
ASSET_TYPE_AWS_EC2= 'AWS_EC2'¶
-
ASSET_TYPE_INVENTORY_ASSET= 'INVENTORY_ASSET'¶
-
ASSET_TYPE_VM= 'VM'¶
-
ASSET_TYPE_VMWARE_VM= 'VMWARE_VM'¶
-
ENVIRONMENT_TYPE_DESTINATION= 'DESTINATION'¶ A constant which can be used with the environment_type property of a UpdateInventoryAssetDetails. This constant has a value of “DESTINATION”
-
ENVIRONMENT_TYPE_SOURCE= 'SOURCE'¶ A constant which can be used with the environment_type property of a UpdateInventoryAssetDetails. This constant has a value of “SOURCE”
-
__init__(**kwargs)¶ Initializes a new UpdateInventoryAssetDetails object with values from keyword arguments. The default value of the
asset_typeattribute of this class isINVENTORY_ASSETand 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 UpdateInventoryAssetDetails.
- asset_type (str) – The value to assign to the asset_type property of this UpdateInventoryAssetDetails. Allowed values for this property are: “VMWARE_VM”, “VM”, “INVENTORY_ASSET”, “AWS_EC2”, “AWS_EBS”
- asset_source_ids (list[str]) – The value to assign to the asset_source_ids property of this UpdateInventoryAssetDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateInventoryAssetDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateInventoryAssetDetails.
- asset_class_name (str) – The value to assign to the asset_class_name property of this UpdateInventoryAssetDetails.
- asset_class_version (str) – The value to assign to the asset_class_version property of this UpdateInventoryAssetDetails.
- asset_details (dict(str, object)) – The value to assign to the asset_details property of this UpdateInventoryAssetDetails.
- environment_type (str) – The value to assign to the environment_type property of this UpdateInventoryAssetDetails. Allowed values for this property are: “SOURCE”, “DESTINATION”
-
asset_class_name¶ [Required] Gets the asset_class_name of this UpdateInventoryAssetDetails. The class name of the asset.
Returns: The asset_class_name of this UpdateInventoryAssetDetails. Return type: str
-
asset_class_version¶ [Required] Gets the asset_class_version of this UpdateInventoryAssetDetails. The version of the asset class.
Returns: The asset_class_version of this UpdateInventoryAssetDetails. Return type: str
-
asset_details¶ [Required] Gets the asset_details of this UpdateInventoryAssetDetails. The details of the asset.
Returns: The asset_details of this UpdateInventoryAssetDetails. Return type: dict(str, object)
-
asset_source_ids¶ Gets the asset_source_ids of this UpdateAssetDetails. List of asset source OCID.
Returns: The asset_source_ids of this UpdateAssetDetails. Return type: list[str]
-
asset_type¶ [Required] Gets the asset_type of this UpdateAssetDetails. Asset type
Allowed values for this property are: “VMWARE_VM”, “VM”, “INVENTORY_ASSET”, “AWS_EC2”, “AWS_EBS”
Returns: The asset_type of this UpdateAssetDetails. Return type: str
Gets the defined_tags of this UpdateAssetDetails. 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 UpdateAssetDetails. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this UpdateAssetDetails. Asset display name.
Returns: The display_name of this UpdateAssetDetails. Return type: str
-
environment_type¶ Gets the environment_type of this UpdateInventoryAssetDetails. 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”
Returns: The environment_type of this UpdateInventoryAssetDetails. Return type: str
Gets the freeform_tags of this UpdateAssetDetails. 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 UpdateAssetDetails. 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.
-