UpdateEsxiHostDetails¶
-
class
oci.ocvp.models.UpdateEsxiHostDetails(**kwargs)¶ Bases:
objectThe ESXi host information to be updated.
Attributes
NEXT_COMMITMENT_HOURA constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. NEXT_COMMITMENT_MONTHA constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. NEXT_COMMITMENT_ONE_YEARA constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. NEXT_COMMITMENT_THREE_YEARSA constant which can be used with the next_commitment property of a UpdateEsxiHostDetails. billing_donor_host_idGets the billing_donor_host_id of this UpdateEsxiHostDetails. defined_tagsGets the defined_tags of this UpdateEsxiHostDetails. display_nameGets the display_name of this UpdateEsxiHostDetails. freeform_tagsGets the freeform_tags of this UpdateEsxiHostDetails. next_commitmentGets 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.
Note: This option also requires the nextCommitment parameter to be populated with a value other than HOUR. Otherwise, any update request fails with the error “Next SKU can’t be NULL or Hourly.”
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-25 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
-