UpdateTargetAssetDetails¶
- class oci.cloud_migrations.models.UpdateTargetAssetDetails(**kwargs)¶
Bases:
objectDetails of the updated target asset.
Attributes:
A constant which can be used with the type property of a UpdateTargetAssetDetails.
A constant which can be used with the type property of a UpdateTargetAssetDetails.
Gets the is_excluded_from_execution of this UpdateTargetAssetDetails.
[Required] Gets the type of this UpdateTargetAssetDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateTargetAssetDetails 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 UpdateTargetAssetDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 UpdateTargetAssetDetails. 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 UpdateTargetAssetDetails.
- 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 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