VmwareVmAsset

class oci.cloud_migrations.models.VmwareVmAsset(**kwargs)

Bases: oci.cloud_migrations.models.asset.Asset

VMware VM type of asset.

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
ENVIRONMENT_TYPE_DESTINATION str(object=’’) -> str
ENVIRONMENT_TYPE_SOURCE str(object=’’) -> str
LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
asset_source_ids Gets the asset_source_ids of this Asset.
asset_type [Required] Gets the asset_type of this Asset.
compartment_id [Required] Gets the compartment_id of this Asset.
compute [Required] Gets the compute of this VmwareVmAsset.
defined_tags Gets the defined_tags of this Asset.
display_name Gets the display_name of this Asset.
environment_type Gets the environment_type of this Asset.
external_asset_key [Required] Gets the external_asset_key of this Asset.
freeform_tags Gets the freeform_tags of this Asset.
id [Required] Gets the id of this Asset.
inventory_id [Required] Gets the inventory_id of this Asset.
lifecycle_state [Required] Gets the lifecycle_state of this Asset.
source_key [Required] Gets the source_key of this Asset.
system_tags Gets the system_tags of this Asset.
time_created [Required] Gets the time_created of this Asset.
time_updated [Required] Gets the time_updated of this Asset.
vm [Required] Gets the vm of this VmwareVmAsset.
vmware_v_center [Required] Gets the vmware_v_center of this VmwareVmAsset.
vmware_vm [Required] Gets the vmware_vm of this VmwareVmAsset.

Methods

__init__(**kwargs) Initializes a new VmwareVmAsset 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'
ENVIRONMENT_TYPE_DESTINATION = 'DESTINATION'
ENVIRONMENT_TYPE_SOURCE = 'SOURCE'
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_DELETED = 'DELETED'
__init__(**kwargs)

Initializes a new VmwareVmAsset object with values from keyword arguments. The default value of the asset_type attribute of this class is VMWARE_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 VmwareVmAsset.
  • inventory_id (str) – The value to assign to the inventory_id property of this VmwareVmAsset.
  • id (str) – The value to assign to the id property of this VmwareVmAsset.
  • compartment_id (str) – The value to assign to the compartment_id property of this VmwareVmAsset.
  • source_key (str) – The value to assign to the source_key property of this VmwareVmAsset.
  • external_asset_key (str) – The value to assign to the external_asset_key property of this VmwareVmAsset.
  • asset_type (str) – The value to assign to the asset_type property of this VmwareVmAsset. Allowed values for this property are: “VMWARE_VM”, “VM”, “AWS_EC2”, “AWS_EBS”
  • time_created (datetime) – The value to assign to the time_created property of this VmwareVmAsset.
  • time_updated (datetime) – The value to assign to the time_updated property of this VmwareVmAsset.
  • asset_source_ids (list[str]) – The value to assign to the asset_source_ids property of this VmwareVmAsset.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this VmwareVmAsset. Allowed values for this property are: “ACTIVE”, “DELETED”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this VmwareVmAsset.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this VmwareVmAsset.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this VmwareVmAsset.
  • environment_type (str) – The value to assign to the environment_type property of this VmwareVmAsset. Allowed values for this property are: “SOURCE”, “DESTINATION”
  • compute (oci.cloud_migrations.models.ComputeProperties) – The value to assign to the compute property of this VmwareVmAsset.
  • vm (oci.cloud_migrations.models.VmProperties) – The value to assign to the vm property of this VmwareVmAsset.
  • vmware_vm (oci.cloud_migrations.models.VmwareVmProperties) – The value to assign to the vmware_vm property of this VmwareVmAsset.
  • vmware_v_center (oci.cloud_migrations.models.VmwareVCenterProperties) – The value to assign to the vmware_v_center property of this VmwareVmAsset.
asset_source_ids

Gets the asset_source_ids of this Asset. List of asset source OCID.

Returns:The asset_source_ids of this Asset.
Return type:list[str]
asset_type

[Required] Gets the asset_type of this Asset. The type of asset.

Allowed values for this property are: “VMWARE_VM”, “VM”, “AWS_EC2”, “AWS_EBS”

Returns:The asset_type of this Asset.
Return type:str
compartment_id

[Required] Gets the compartment_id of this Asset. The OCID of the compartment to which an asset belongs to.

Returns:The compartment_id of this Asset.
Return type:str
compute

[Required] Gets the compute of this VmwareVmAsset.

Returns:The compute of this VmwareVmAsset.
Return type:oci.cloud_migrations.models.ComputeProperties
defined_tags

Gets the defined_tags of this Asset. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this Asset.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this Asset. Asset display name.

Returns:The display_name of this Asset.
Return type:str
environment_type

Gets the environment_type of this Asset. 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 Asset.
Return type:str
external_asset_key

[Required] Gets the external_asset_key of this Asset. The key of the asset from the external environment.

Returns:The external_asset_key of this Asset.
Return type:str
freeform_tags

Gets the freeform_tags of this Asset. Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this Asset.
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.

id

[Required] Gets the id of this Asset. Asset OCID that is immutable on creation.

Returns:The id of this Asset.
Return type:str
inventory_id

[Required] Gets the inventory_id of this Asset. Inventory ID to which an asset belongs to.

Returns:The inventory_id of this Asset.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this Asset. The current state of the asset.

Allowed values for this property are: “ACTIVE”, “DELETED”

Returns:The lifecycle_state of this Asset.
Return type:str
source_key

[Required] Gets the source_key of this Asset. The source key that the asset belongs to.

Returns:The source_key of this Asset.
Return type:str
system_tags

Gets the system_tags of this Asset. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this Asset.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this Asset. The time when the asset was created. An RFC3339 formatted datetime string.

Returns:The time_created of this Asset.
Return type:datetime
time_updated

[Required] Gets the time_updated of this Asset. The time when the asset was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this Asset.
Return type:datetime
vm

[Required] Gets the vm of this VmwareVmAsset.

Returns:The vm of this VmwareVmAsset.
Return type:oci.cloud_migrations.models.VmProperties
vmware_v_center

[Required] Gets the vmware_v_center of this VmwareVmAsset.

Returns:The vmware_v_center of this VmwareVmAsset.
Return type:oci.cloud_migrations.models.VmwareVCenterProperties
vmware_vm

[Required] Gets the vmware_vm of this VmwareVmAsset.

Returns:The vmware_vm of this VmwareVmAsset.
Return type:oci.cloud_migrations.models.VmwareVmProperties