CreateEsxiHostDetails

class oci.ocvp.models.CreateEsxiHostDetails(**kwargs)

Bases: object

Details of the ESXi host to add to the Cluster.

Attributes

CURRENT_COMMITMENT_HOUR A constant which can be used with the current_commitment property of a CreateEsxiHostDetails.
CURRENT_COMMITMENT_MONTH A constant which can be used with the current_commitment property of a CreateEsxiHostDetails.
CURRENT_COMMITMENT_ONE_YEAR A constant which can be used with the current_commitment property of a CreateEsxiHostDetails.
CURRENT_COMMITMENT_THREE_YEARS A constant which can be used with the current_commitment property of a CreateEsxiHostDetails.
NEXT_COMMITMENT_HOUR A constant which can be used with the next_commitment property of a CreateEsxiHostDetails.
NEXT_COMMITMENT_MONTH A constant which can be used with the next_commitment property of a CreateEsxiHostDetails.
NEXT_COMMITMENT_ONE_YEAR A constant which can be used with the next_commitment property of a CreateEsxiHostDetails.
NEXT_COMMITMENT_THREE_YEARS A constant which can be used with the next_commitment property of a CreateEsxiHostDetails.
billing_donor_host_id Gets the billing_donor_host_id of this CreateEsxiHostDetails.
capacity_reservation_id Gets the capacity_reservation_id of this CreateEsxiHostDetails.
cluster_id [Required] Gets the cluster_id of this CreateEsxiHostDetails.
compute_availability_domain Gets the compute_availability_domain of this CreateEsxiHostDetails.
current_commitment Gets the current_commitment of this CreateEsxiHostDetails.
defined_tags Gets the defined_tags of this CreateEsxiHostDetails.
display_name Gets the display_name of this CreateEsxiHostDetails.
esxi_software_version Gets the esxi_software_version of this CreateEsxiHostDetails.
freeform_tags Gets the freeform_tags of this CreateEsxiHostDetails.
host_ocpu_count Gets the host_ocpu_count of this CreateEsxiHostDetails.
host_shape_name Gets the host_shape_name of this CreateEsxiHostDetails.
next_commitment Gets the next_commitment of this CreateEsxiHostDetails.

Methods

__init__(**kwargs) Initializes a new CreateEsxiHostDetails object with values from keyword arguments.
CURRENT_COMMITMENT_HOUR = 'HOUR'

A constant which can be used with the current_commitment property of a CreateEsxiHostDetails. This constant has a value of “HOUR”

CURRENT_COMMITMENT_MONTH = 'MONTH'

A constant which can be used with the current_commitment property of a CreateEsxiHostDetails. This constant has a value of “MONTH”

CURRENT_COMMITMENT_ONE_YEAR = 'ONE_YEAR'

A constant which can be used with the current_commitment property of a CreateEsxiHostDetails. This constant has a value of “ONE_YEAR”

CURRENT_COMMITMENT_THREE_YEARS = 'THREE_YEARS'

A constant which can be used with the current_commitment property of a CreateEsxiHostDetails. This constant has a value of “THREE_YEARS”

NEXT_COMMITMENT_HOUR = 'HOUR'

A constant which can be used with the next_commitment property of a CreateEsxiHostDetails. This constant has a value of “HOUR”

NEXT_COMMITMENT_MONTH = 'MONTH'

A constant which can be used with the next_commitment property of a CreateEsxiHostDetails. 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 CreateEsxiHostDetails. 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 CreateEsxiHostDetails. This constant has a value of “THREE_YEARS”

__init__(**kwargs)

Initializes a new CreateEsxiHostDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • cluster_id (str) – The value to assign to the cluster_id property of this CreateEsxiHostDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateEsxiHostDetails.
  • billing_donor_host_id (str) – The value to assign to the billing_donor_host_id property of this CreateEsxiHostDetails.
  • current_commitment (str) – The value to assign to the current_commitment property of this CreateEsxiHostDetails. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”
  • next_commitment (str) – The value to assign to the next_commitment property of this CreateEsxiHostDetails. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”
  • compute_availability_domain (str) – The value to assign to the compute_availability_domain property of this CreateEsxiHostDetails.
  • host_shape_name (str) – The value to assign to the host_shape_name property of this CreateEsxiHostDetails.
  • host_ocpu_count (float) – The value to assign to the host_ocpu_count property of this CreateEsxiHostDetails.
  • capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this CreateEsxiHostDetails.
  • esxi_software_version (str) – The value to assign to the esxi_software_version property of this CreateEsxiHostDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateEsxiHostDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateEsxiHostDetails.
billing_donor_host_id

Gets the billing_donor_host_id of this CreateEsxiHostDetails. The OCID of the deleted ESXi Host with LeftOver billing cycle.

Returns:The billing_donor_host_id of this CreateEsxiHostDetails.
Return type:str
capacity_reservation_id

Gets the capacity_reservation_id of this CreateEsxiHostDetails. The OCID of the Capacity Reservation.

Returns:The capacity_reservation_id of this CreateEsxiHostDetails.
Return type:str
cluster_id

[Required] Gets the cluster_id of this CreateEsxiHostDetails. The OCID of the Cluster to add the ESXi host to.

Returns:The cluster_id of this CreateEsxiHostDetails.
Return type:str
compute_availability_domain

Gets the compute_availability_domain of this CreateEsxiHostDetails. The availability domain to create the ESXi host in. If keep empty, for AD-specific Cluster, new ESXi host will be created in the same availability domain; for multi-AD Cluster, new ESXi host will be auto assigned to the next availability domain following evenly distribution strategy.

Returns:The compute_availability_domain of this CreateEsxiHostDetails.
Return type:str
current_commitment

Gets the current_commitment of this CreateEsxiHostDetails. The billing option currently used by the ESXi host. list_supported_commitments().

Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”

Returns:The current_commitment of this CreateEsxiHostDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateEsxiHostDetails. 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 CreateEsxiHostDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateEsxiHostDetails. 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.

If this attribute is not specified, the Cluster’s instanceDisplayNamePrefix attribute is used to name and incrementally number the ESXi host. For example, if you’re creating the fourth ESXi host in the Cluster, and instanceDisplayNamePrefix is MyCluster, the host’s display name is MyCluster-4.

Avoid entering confidential information.

Returns:The display_name of this CreateEsxiHostDetails.
Return type:str
esxi_software_version

Gets the esxi_software_version of this CreateEsxiHostDetails. The ESXi software bundle to install on the ESXi host. Only versions under the same vmwareSoftwareVersion and have been validate by Oracle Cloud VMware Solution will be accepted. To get a list of the available versions, use list_supported_vmware_software_versions().

Returns:The esxi_software_version of this CreateEsxiHostDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateEsxiHostDetails. 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 CreateEsxiHostDetails.
Return type:dict(str, str)
host_ocpu_count

Gets the host_ocpu_count of this CreateEsxiHostDetails. The OCPU count of the ESXi host.

Returns:The host_ocpu_count of this CreateEsxiHostDetails.
Return type:float
host_shape_name

Gets the host_shape_name of this CreateEsxiHostDetails. The compute shape name of the ESXi host. list_supported_host_shapes().

Returns:The host_shape_name of this CreateEsxiHostDetails.
Return type:str
next_commitment

Gets the next_commitment of this CreateEsxiHostDetails. 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 CreateEsxiHostDetails.
Return type:str