OlvmSerialNumber¶
- class oci.cloud_migrations.models.OlvmSerialNumber(**kwargs)¶
Bases:
objectSerial number object in OLVM
Attributes:
A constant which can be used with the policy property of a OlvmSerialNumber.
A constant which can be used with the policy property of a OlvmSerialNumber.
A constant which can be used with the policy property of a OlvmSerialNumber.
A constant which can be used with the policy property of a OlvmSerialNumber.
Gets the policy of this OlvmSerialNumber.
Gets the value of this OlvmSerialNumber.
Methods:
__init__(**kwargs)Initializes a new OlvmSerialNumber object with values from keyword arguments.
- POLICY_CUSTOM = 'CUSTOM'¶
A constant which can be used with the policy property of a OlvmSerialNumber. This constant has a value of “CUSTOM”
- POLICY_HOST = 'HOST'¶
A constant which can be used with the policy property of a OlvmSerialNumber. This constant has a value of “HOST”
- POLICY_NONE = 'NONE'¶
A constant which can be used with the policy property of a OlvmSerialNumber. This constant has a value of “NONE”
- POLICY_VM = 'VM'¶
A constant which can be used with the policy property of a OlvmSerialNumber. This constant has a value of “VM”
- __init__(**kwargs)¶
Initializes a new OlvmSerialNumber object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
policy (str) – The value to assign to the policy property of this OlvmSerialNumber. Allowed values for this property are: “CUSTOM”, “HOST”, “NONE”, “VM”
value (str) – The value to assign to the value property of this OlvmSerialNumber.
- property policy¶
Gets the policy of this OlvmSerialNumber. Type representing the policy of a Serial Number
Allowed values for this property are: “CUSTOM”, “HOST”, “NONE”, “VM”
- Returns
The policy of this OlvmSerialNumber.
- Return type
str
- property value¶
Gets the value of this OlvmSerialNumber. Value of the serial number policy.
- Returns
The value of this OlvmSerialNumber.
- Return type
str