UpdateAwsEc2AssetDetails¶
-
class
oci.cloud_bridge.models.
UpdateAwsEc2AssetDetails
(**kwargs)¶ Bases:
oci.cloud_bridge.models.update_asset_details.UpdateAssetDetails
The information of AWS VM asset to be updated.
Attributes
ASSET_TYPE_AWS_EBS
str(object=’’) -> str ASSET_TYPE_AWS_EC2
str(object=’’) -> str ASSET_TYPE_VM
str(object=’’) -> str ASSET_TYPE_VMWARE_VM
str(object=’’) -> str asset_source_ids
Gets the asset_source_ids of this UpdateAssetDetails. asset_type
[Required] Gets the asset_type of this UpdateAssetDetails. attached_ebs_volumes_cost
Gets the attached_ebs_volumes_cost of this UpdateAwsEc2AssetDetails. aws_ec2
Gets the aws_ec2 of this UpdateAwsEc2AssetDetails. aws_ec2_cost
Gets the aws_ec2_cost of this UpdateAwsEc2AssetDetails. compute
Gets the compute of this UpdateAwsEc2AssetDetails. defined_tags
Gets the defined_tags of this UpdateAssetDetails. display_name
Gets the display_name of this UpdateAssetDetails. freeform_tags
Gets the freeform_tags of this UpdateAssetDetails. vm
Gets the vm of this UpdateAwsEc2AssetDetails. Methods
__init__
(**kwargs)Initializes a new UpdateAwsEc2AssetDetails 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_VM
= 'VM'¶
-
ASSET_TYPE_VMWARE_VM
= 'VMWARE_VM'¶
-
__init__
(**kwargs)¶ Initializes a new UpdateAwsEc2AssetDetails object with values from keyword arguments. The default value of the
asset_type
attribute of this class isAWS_EC2
and 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 UpdateAwsEc2AssetDetails.
- asset_type (str) – The value to assign to the asset_type property of this UpdateAwsEc2AssetDetails. Allowed values for this property are: “VMWARE_VM”, “VM”, “AWS_EC2”, “AWS_EBS”
- asset_source_ids (list[str]) – The value to assign to the asset_source_ids property of this UpdateAwsEc2AssetDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAwsEc2AssetDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAwsEc2AssetDetails.
- compute (oci.cloud_bridge.models.ComputeProperties) – The value to assign to the compute property of this UpdateAwsEc2AssetDetails.
- vm (oci.cloud_bridge.models.VmProperties) – The value to assign to the vm property of this UpdateAwsEc2AssetDetails.
- aws_ec2 (oci.cloud_bridge.models.AwsEc2Properties) – The value to assign to the aws_ec2 property of this UpdateAwsEc2AssetDetails.
- aws_ec2_cost (oci.cloud_bridge.models.MonthlyCostSummary) – The value to assign to the aws_ec2_cost property of this UpdateAwsEc2AssetDetails.
- attached_ebs_volumes_cost (oci.cloud_bridge.models.MonthlyCostSummary) – The value to assign to the attached_ebs_volumes_cost property of this UpdateAwsEc2AssetDetails.
-
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”, “AWS_EC2”, “AWS_EBS”
Returns: The asset_type of this UpdateAssetDetails. Return type: str
-
attached_ebs_volumes_cost
¶ Gets the attached_ebs_volumes_cost of this UpdateAwsEc2AssetDetails.
Returns: The attached_ebs_volumes_cost of this UpdateAwsEc2AssetDetails. Return type: oci.cloud_bridge.models.MonthlyCostSummary
-
aws_ec2
¶ Gets the aws_ec2 of this UpdateAwsEc2AssetDetails.
Returns: The aws_ec2 of this UpdateAwsEc2AssetDetails. Return type: oci.cloud_bridge.models.AwsEc2Properties
-
aws_ec2_cost
¶ Gets the aws_ec2_cost of this UpdateAwsEc2AssetDetails.
Returns: The aws_ec2_cost of this UpdateAwsEc2AssetDetails. Return type: oci.cloud_bridge.models.MonthlyCostSummary
-
compute
¶ Gets the compute of this UpdateAwsEc2AssetDetails.
Returns: The compute of this UpdateAwsEc2AssetDetails. Return type: oci.cloud_bridge.models.ComputeProperties
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
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.
-
vm
¶ Gets the vm of this UpdateAwsEc2AssetDetails.
Returns: The vm of this UpdateAwsEc2AssetDetails. Return type: oci.cloud_bridge.models.VmProperties
-