OlvmTargetEnvironment

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

Bases: TargetEnvironment

OLVM target enviroment

Attributes:

TARGET_ENVIRONMENT_TYPE_OLVM_TARGET_ENV

A constant which can be used with the target_environment_type property of a TargetEnvironment.

TARGET_ENVIRONMENT_TYPE_VM_TARGET_ENV

A constant which can be used with the target_environment_type property of a TargetEnvironment.

cluster_asset_id

[Required] Gets the cluster_asset_id of this OlvmTargetEnvironment.

olvm_templates

Gets the olvm_templates of this OlvmTargetEnvironment.

preferred_shape_type

Gets the preferred_shape_type of this OlvmTargetEnvironment.

target_compartment_id

Gets the target_compartment_id of this TargetEnvironment.

target_environment_type

[Required] Gets the target_environment_type of this TargetEnvironment.

vnic_profile_asset_id

[Required] Gets the vnic_profile_asset_id of this OlvmTargetEnvironment.

Methods:

__init__(**kwargs)

Initializes a new OlvmTargetEnvironment 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.

TARGET_ENVIRONMENT_TYPE_OLVM_TARGET_ENV = 'OLVM_TARGET_ENV'

A constant which can be used with the target_environment_type property of a TargetEnvironment. This constant has a value of “OLVM_TARGET_ENV”

TARGET_ENVIRONMENT_TYPE_VM_TARGET_ENV = 'VM_TARGET_ENV'

A constant which can be used with the target_environment_type property of a TargetEnvironment. This constant has a value of “VM_TARGET_ENV”

__init__(**kwargs)

Initializes a new OlvmTargetEnvironment object with values from keyword arguments. The default value of the target_environment_type attribute of this class is OLVM_TARGET_ENV and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • target_compartment_id (str) – The value to assign to the target_compartment_id property of this OlvmTargetEnvironment.

  • target_environment_type (str) – The value to assign to the target_environment_type property of this OlvmTargetEnvironment. Allowed values for this property are: “VM_TARGET_ENV”, “OLVM_TARGET_ENV”

  • cluster_asset_id (str) – The value to assign to the cluster_asset_id property of this OlvmTargetEnvironment.

  • vnic_profile_asset_id (str) – The value to assign to the vnic_profile_asset_id property of this OlvmTargetEnvironment.

  • olvm_templates (dict(str, str)) – The value to assign to the olvm_templates property of this OlvmTargetEnvironment.

  • preferred_shape_type (str) – The value to assign to the preferred_shape_type property of this OlvmTargetEnvironment.

property cluster_asset_id

[Required] Gets the cluster_asset_id of this OlvmTargetEnvironment. Inventory asset id of the olvm cluster

Returns

The cluster_asset_id of this OlvmTargetEnvironment.

Return type

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.

property olvm_templates

Gets the olvm_templates of this OlvmTargetEnvironment. OLVM OS type to inventory asset id of the template

Returns

The olvm_templates of this OlvmTargetEnvironment.

Return type

dict(str, str)

property preferred_shape_type

Gets the preferred_shape_type of this OlvmTargetEnvironment. Preferred VM shape type provided by the customer.

Returns

The preferred_shape_type of this OlvmTargetEnvironment.

Return type

str

property target_compartment_id

Gets the target_compartment_id of this TargetEnvironment. Target compartment identifier

Returns

The target_compartment_id of this TargetEnvironment.

Return type

str

property target_environment_type

[Required] Gets the target_environment_type of this TargetEnvironment. The type of target environment.

Allowed values for this property are: “VM_TARGET_ENV”, “OLVM_TARGET_ENV”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The target_environment_type of this TargetEnvironment.

Return type

str

property vnic_profile_asset_id

[Required] Gets the vnic_profile_asset_id of this OlvmTargetEnvironment. Inventory asset Id of the vnic profile

Returns

The vnic_profile_asset_id of this OlvmTargetEnvironment.

Return type

str