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.

esxi_software_version

Gets the esxi_software_version of this UpdateEsxiHostDetails.

freeform_tags

Gets the freeform_tags of this UpdateEsxiHostDetails.

is_vsan_byol_enabled

Gets the is_vsan_byol_enabled of this UpdateEsxiHostDetails.

next_commitment

Gets the next_commitment of this UpdateEsxiHostDetails.

vcf_byol_allocation_id

Gets the vcf_byol_allocation_id of this UpdateEsxiHostDetails.

vmware_software_version

Gets the vmware_software_version 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.

  • vmware_software_version (str) – The value to assign to the vmware_software_version property of this UpdateEsxiHostDetails.

  • esxi_software_version (str) – The value to assign to the esxi_software_version property of this UpdateEsxiHostDetails.

  • vcf_byol_allocation_id (str) – The value to assign to the vcf_byol_allocation_id property of this UpdateEsxiHostDetails.

  • is_vsan_byol_enabled (bool) – The value to assign to the is_vsan_byol_enabled 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.

property 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

property defined_tags

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))

property 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

property esxi_software_version

Gets the esxi_software_version of this UpdateEsxiHostDetails. The version of ESXi software that Oracle Cloud VMware Solution installed on the ESXi host. To get a list of the available versions, use list_supported_vmware_software_versions(). Note: This API will not perform ESXi software version upgrade. Make sure the version provided is the actual version installed on the ESXi host.

Returns

The esxi_software_version of this UpdateEsxiHostDetails.

Return type

str

property freeform_tags

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)

property is_vsan_byol_enabled

Gets the is_vsan_byol_enabled of this UpdateEsxiHostDetails. Indicates whether this host embedded VMware vSAN with BYOL Allocation.

Returns

The is_vsan_byol_enabled of this UpdateEsxiHostDetails.

Return type

bool

property 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

property vcf_byol_allocation_id

Gets the vcf_byol_allocation_id of this UpdateEsxiHostDetails. The OCID of the Byol Allocation for VCF (VMware Cloud Foundation) deployment.

Returns

The vcf_byol_allocation_id of this UpdateEsxiHostDetails.

Return type

str

property vmware_software_version

Gets the vmware_software_version of this UpdateEsxiHostDetails. The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi host. To get a list of the available versions, use list_supported_vmware_software_versions(). Note: This API will not perform VMware software version upgrade. Make sure the version provided is the actual version installed on the ESXi host.

Returns

The vmware_software_version of this UpdateEsxiHostDetails.

Return type

str