UpdateVmTargetAssetDetails

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

Bases: UpdateTargetAssetDetails

Description of the VM target asset.

Attributes:

TYPE_INSTANCE

A constant which can be used with the type property of a UpdateTargetAssetDetails.

TYPE_OLVM_INSTANCE

A constant which can be used with the type property of a UpdateTargetAssetDetails.

block_volumes_performance

Gets the block_volumes_performance of this UpdateVmTargetAssetDetails.

is_excluded_from_execution

Gets the is_excluded_from_execution of this UpdateTargetAssetDetails.

ms_license

Gets the ms_license of this UpdateVmTargetAssetDetails.

preferred_shape_type

Gets the preferred_shape_type of this UpdateVmTargetAssetDetails.

type

[Required] Gets the type of this UpdateTargetAssetDetails.

user_spec

Gets the user_spec of this UpdateVmTargetAssetDetails.

Methods:

__init__(**kwargs)

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

TYPE_INSTANCE = 'INSTANCE'

A constant which can be used with the type property of a UpdateTargetAssetDetails. This constant has a value of “INSTANCE”

TYPE_OLVM_INSTANCE = 'OLVM_INSTANCE'

A constant which can be used with the type property of a UpdateTargetAssetDetails. This constant has a value of “OLVM_INSTANCE”

__init__(**kwargs)

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

Parameters
  • type (str) – The value to assign to the type property of this UpdateVmTargetAssetDetails. Allowed values for this property are: “INSTANCE”, “OLVM_INSTANCE”

  • is_excluded_from_execution (bool) – The value to assign to the is_excluded_from_execution property of this UpdateVmTargetAssetDetails.

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

  • block_volumes_performance (int) – The value to assign to the block_volumes_performance property of this UpdateVmTargetAssetDetails.

  • ms_license (str) – The value to assign to the ms_license property of this UpdateVmTargetAssetDetails.

  • user_spec (oci.cloud_migrations.models.LaunchInstanceDetails) – The value to assign to the user_spec property of this UpdateVmTargetAssetDetails.

property block_volumes_performance

Gets the block_volumes_performance of this UpdateVmTargetAssetDetails. Performance of the block volumes.

Returns

The block_volumes_performance of this UpdateVmTargetAssetDetails.

Return type

int

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 is_excluded_from_execution

Gets the is_excluded_from_execution of this UpdateTargetAssetDetails. A boolean indicating whether the asset should be migrated.

Returns

The is_excluded_from_execution of this UpdateTargetAssetDetails.

Return type

bool

property ms_license

Gets the ms_license of this UpdateVmTargetAssetDetails. Microsoft license for VM configuration.

Returns

The ms_license of this UpdateVmTargetAssetDetails.

Return type

str

property preferred_shape_type

Gets the preferred_shape_type of this UpdateVmTargetAssetDetails. Preferred VM shape type that you provided.

Returns

The preferred_shape_type of this UpdateVmTargetAssetDetails.

Return type

str

property type

[Required] Gets the type of this UpdateTargetAssetDetails. The type of target asset.

Allowed values for this property are: “INSTANCE”, “OLVM_INSTANCE”

Returns

The type of this UpdateTargetAssetDetails.

Return type

str

property user_spec

Gets the user_spec of this UpdateVmTargetAssetDetails.

Returns

The user_spec of this UpdateVmTargetAssetDetails.

Return type

oci.cloud_migrations.models.LaunchInstanceDetails