CreateVmwareVmAssetDetails¶
-
class
oci.cloud_bridge.models.
CreateVmwareVmAssetDetails
(**kwargs)¶ Bases:
oci.cloud_bridge.models.create_asset_details.CreateAssetDetails
Create VMware VM type of asset.
Attributes
ASSET_TYPE_VM
str(object=’’) -> str ASSET_TYPE_VMWARE_VM
str(object=’’) -> str asset_source_ids
Gets the asset_source_ids of this CreateAssetDetails. asset_type
[Required] Gets the asset_type of this CreateAssetDetails. compartment_id
[Required] Gets the compartment_id of this CreateAssetDetails. compute
Gets the compute of this CreateVmwareVmAssetDetails. defined_tags
Gets the defined_tags of this CreateAssetDetails. display_name
Gets the display_name of this CreateAssetDetails. external_asset_key
[Required] Gets the external_asset_key of this CreateAssetDetails. freeform_tags
Gets the freeform_tags of this CreateAssetDetails. inventory_id
[Required] Gets the inventory_id of this CreateAssetDetails. source_key
[Required] Gets the source_key of this CreateAssetDetails. vm
Gets the vm of this CreateVmwareVmAssetDetails. vmware_v_center
Gets the vmware_v_center of this CreateVmwareVmAssetDetails. vmware_vm
Gets the vmware_vm of this CreateVmwareVmAssetDetails. Methods
__init__
(**kwargs)Initializes a new CreateVmwareVmAssetDetails 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_VM
= 'VM'¶
-
ASSET_TYPE_VMWARE_VM
= 'VMWARE_VM'¶
-
__init__
(**kwargs)¶ Initializes a new CreateVmwareVmAssetDetails object with values from keyword arguments. The default value of the
asset_type
attribute of this class isVMWARE_VM
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 CreateVmwareVmAssetDetails.
- inventory_id (str) – The value to assign to the inventory_id property of this CreateVmwareVmAssetDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateVmwareVmAssetDetails.
- source_key (str) – The value to assign to the source_key property of this CreateVmwareVmAssetDetails.
- external_asset_key (str) – The value to assign to the external_asset_key property of this CreateVmwareVmAssetDetails.
- asset_type (str) – The value to assign to the asset_type property of this CreateVmwareVmAssetDetails. Allowed values for this property are: “VMWARE_VM”, “VM”
- asset_source_ids (list[str]) – The value to assign to the asset_source_ids property of this CreateVmwareVmAssetDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVmwareVmAssetDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVmwareVmAssetDetails.
- compute (oci.cloud_bridge.models.ComputeProperties) – The value to assign to the compute property of this CreateVmwareVmAssetDetails.
- vm (oci.cloud_bridge.models.VmProperties) – The value to assign to the vm property of this CreateVmwareVmAssetDetails.
- vmware_vm (oci.cloud_bridge.models.VmwareVmProperties) – The value to assign to the vmware_vm property of this CreateVmwareVmAssetDetails.
- vmware_v_center (oci.cloud_bridge.models.VmwareVCenterProperties) – The value to assign to the vmware_v_center property of this CreateVmwareVmAssetDetails.
-
asset_source_ids
¶ Gets the asset_source_ids of this CreateAssetDetails. List of asset source OCID.
Returns: The asset_source_ids of this CreateAssetDetails. Return type: list[str]
-
asset_type
¶ [Required] Gets the asset_type of this CreateAssetDetails. The type of asset.
Allowed values for this property are: “VMWARE_VM”, “VM”
Returns: The asset_type of this CreateAssetDetails. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateAssetDetails. The OCID of the compartment that the asset belongs to.
Returns: The compartment_id of this CreateAssetDetails. Return type: str
-
compute
¶ Gets the compute of this CreateVmwareVmAssetDetails.
Returns: The compute of this CreateVmwareVmAssetDetails. Return type: oci.cloud_bridge.models.ComputeProperties
Gets the defined_tags of this CreateAssetDetails. 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 CreateAssetDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateAssetDetails. Asset display name.
Returns: The display_name of this CreateAssetDetails. Return type: str
-
external_asset_key
¶ [Required] Gets the external_asset_key of this CreateAssetDetails. The key of the asset from the external environment.
Returns: The external_asset_key of this CreateAssetDetails. Return type: str
Gets the freeform_tags of this CreateAssetDetails. 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 CreateAssetDetails. 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.
-
inventory_id
¶ [Required] Gets the inventory_id of this CreateAssetDetails. Inventory ID to which an asset belongs.
Returns: The inventory_id of this CreateAssetDetails. Return type: str
-
source_key
¶ [Required] Gets the source_key of this CreateAssetDetails. The source key to which the asset belongs.
Returns: The source_key of this CreateAssetDetails. Return type: str
-
vm
¶ Gets the vm of this CreateVmwareVmAssetDetails.
Returns: The vm of this CreateVmwareVmAssetDetails. Return type: oci.cloud_bridge.models.VmProperties
-
vmware_v_center
¶ Gets the vmware_v_center of this CreateVmwareVmAssetDetails.
Returns: The vmware_v_center of this CreateVmwareVmAssetDetails. Return type: oci.cloud_bridge.models.VmwareVCenterProperties
-
vmware_vm
¶ Gets the vmware_vm of this CreateVmwareVmAssetDetails.
Returns: The vmware_vm of this CreateVmwareVmAssetDetails. Return type: oci.cloud_bridge.models.VmwareVmProperties
-