UpdateEsxiHostDetails¶
-
class
oci.ocvp.models.
UpdateEsxiHostDetails
(**kwargs)¶ Bases:
object
The ESXi host information to be updated.
Attributes
NEXT_COMMITMENT_HOUR
A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. NEXT_COMMITMENT_MONTH
A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. NEXT_COMMITMENT_ONE_YEAR
A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. NEXT_COMMITMENT_THREE_YEARS
A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. billing_donor_host_id
Gets the billing_donor_host_id of this UpdateEsxiHostDetails. defined_tags
Gets the defined_tags of this UpdateEsxiHostDetails. display_name
Gets the display_name of this UpdateEsxiHostDetails. freeform_tags
Gets the freeform_tags of this UpdateEsxiHostDetails. next_commitment
Gets the next_commitment of this UpdateEsxiHostDetails. Methods
__init__
(**kwargs)Initializes a new UpdateEsxiHostDetails object with values from keyword arguments. -
NEXT_COMMITMENT_HOUR
= 'HOUR'¶ A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. This constant has a value of “HOUR”
-
NEXT_COMMITMENT_MONTH
= 'MONTH'¶ A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. This constant has a value of “MONTH”
-
NEXT_COMMITMENT_ONE_YEAR
= 'ONE_YEAR'¶ A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. This constant has a value of “ONE_YEAR”
-
NEXT_COMMITMENT_THREE_YEARS
= 'THREE_YEARS'¶ A constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. This constant has a value of “THREE_YEARS”
-
__init__
(**kwargs)¶ Initializes a new UpdateEsxiHostDetails object with values from keyword arguments. 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 UpdateEsxiHostDetails.
- next_commitment (str) – The value to assign to the next_commitment property of this UpdateEsxiHostDetails. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”
- billing_donor_host_id (str) – The value to assign to the billing_donor_host_id property of this UpdateEsxiHostDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateEsxiHostDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateEsxiHostDetails.
-
billing_donor_host_id
¶ Gets the billing_donor_host_id of this UpdateEsxiHostDetails. The OCID of the deleted ESXi Host with LeftOver billing cycle.
Returns: The billing_donor_host_id of this UpdateEsxiHostDetails. Return type: str
Gets the defined_tags of this UpdateEsxiHostDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateEsxiHostDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this UpdateEsxiHostDetails. A descriptive name for the ESXi host. It’s changeable. Esxi Host name requirements are 1-16 character length limit, Must start with a letter, Must be English letters, numbers, - only, No repeating hyphens, Must be unique within the Cluster.
Avoid entering confidential information.
Returns: The display_name of this UpdateEsxiHostDetails. Return type: str
Gets the freeform_tags of this UpdateEsxiHostDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateEsxiHostDetails. Return type: dict(str, str)
-
next_commitment
¶ Gets the next_commitment of this UpdateEsxiHostDetails. The billing option to switch to after the existing billing cycle ends. If nextCommitment is null or empty, currentCommitment continues to the next billing cycle.
list_supported_commitments()
.Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”
Returns: The next_commitment of this UpdateEsxiHostDetails. Return type: str
-