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.

INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_EVENLY_DISTRIBUTED

A constant which can be used with the initial_fault_domain_host_distribution property of a CreateEsxiHostDetails.

INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_UNEVENLY_DISTRIBUTED

A constant which can be used with the initial_fault_domain_host_distribution 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.

initial_fault_domain_host_distribution

Gets the initial_fault_domain_host_distribution of this CreateEsxiHostDetails.

is_vsan_byol_enabled

Gets the is_vsan_byol_enabled of this CreateEsxiHostDetails.

next_commitment

Gets the next_commitment of this CreateEsxiHostDetails.

vcf_byol_allocation_id

Gets the vcf_byol_allocation_id 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”

INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_EVENLY_DISTRIBUTED = 'EVENLY_DISTRIBUTED'

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

INITIAL_FAULT_DOMAIN_HOST_DISTRIBUTION_UNEVENLY_DISTRIBUTED = 'UNEVENLY_DISTRIBUTED'

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

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.

  • initial_fault_domain_host_distribution (str) – The value to assign to the initial_fault_domain_host_distribution property of this CreateEsxiHostDetails. Allowed values for this property are: “EVENLY_DISTRIBUTED”, “UNEVENLY_DISTRIBUTED”

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

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

property 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

property 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

property 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

property 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

property 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

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

property 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-25 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

property 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

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

property 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

property 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

property initial_fault_domain_host_distribution

Gets the initial_fault_domain_host_distribution of this CreateEsxiHostDetails. The initial fault domain host distribution mode for the ESXi host.

Allowed values for this property are: “EVENLY_DISTRIBUTED”, “UNEVENLY_DISTRIBUTED”

Returns

The initial_fault_domain_host_distribution of this CreateEsxiHostDetails.

Return type

str

property is_vsan_byol_enabled

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

Returns

The is_vsan_byol_enabled of this CreateEsxiHostDetails.

Return type

bool

property 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

property vcf_byol_allocation_id

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

Returns

The vcf_byol_allocation_id of this CreateEsxiHostDetails.

Return type

str