CreateEsxiHostDetails

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

Bases: object

Details of the ESXi host to add to the SDDC.

Attributes

CURRENT_SKU_HOUR A constant which can be used with the current_sku property of a CreateEsxiHostDetails.
CURRENT_SKU_MONTH A constant which can be used with the current_sku property of a CreateEsxiHostDetails.
CURRENT_SKU_ONE_YEAR A constant which can be used with the current_sku property of a CreateEsxiHostDetails.
CURRENT_SKU_THREE_YEARS A constant which can be used with the current_sku property of a CreateEsxiHostDetails.
NEXT_SKU_HOUR A constant which can be used with the next_sku property of a CreateEsxiHostDetails.
NEXT_SKU_MONTH A constant which can be used with the next_sku property of a CreateEsxiHostDetails.
NEXT_SKU_ONE_YEAR A constant which can be used with the next_sku property of a CreateEsxiHostDetails.
NEXT_SKU_THREE_YEARS A constant which can be used with the next_sku property of a CreateEsxiHostDetails.
compute_availability_domain Gets the compute_availability_domain of this CreateEsxiHostDetails.
current_sku Gets the current_sku of this CreateEsxiHostDetails.
defined_tags Gets the defined_tags of this CreateEsxiHostDetails.
display_name Gets the display_name of this CreateEsxiHostDetails.
freeform_tags Gets the freeform_tags of this CreateEsxiHostDetails.
next_sku Gets the next_sku of this CreateEsxiHostDetails.
sddc_id [Required] Gets the sddc_id of this CreateEsxiHostDetails.

Methods

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

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

CURRENT_SKU_MONTH = 'MONTH'

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

CURRENT_SKU_ONE_YEAR = 'ONE_YEAR'

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

CURRENT_SKU_THREE_YEARS = 'THREE_YEARS'

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

NEXT_SKU_HOUR = 'HOUR'

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

NEXT_SKU_MONTH = 'MONTH'

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

NEXT_SKU_ONE_YEAR = 'ONE_YEAR'

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

NEXT_SKU_THREE_YEARS = 'THREE_YEARS'

A constant which can be used with the next_sku 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:
  • sddc_id (str) – The value to assign to the sddc_id property of this CreateEsxiHostDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateEsxiHostDetails.
  • current_sku (str) – The value to assign to the current_sku property of this CreateEsxiHostDetails. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”
  • next_sku (str) – The value to assign to the next_sku 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.
  • 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.
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 SDDC, new ESXi host will be created in the same availability domain; for multi-AD SDDC, 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_sku

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

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

Returns:The current_sku 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 SDDC.

If this attribute is not specified, the SDDC’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 SDDC, and instanceDisplayNamePrefix is MySDDC, the host’s display name is MySDDC-4.

Avoid entering confidential information.

Returns:The display_name 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)
next_sku

Gets the next_sku of this CreateEsxiHostDetails. The billing option to switch to after the existing billing cycle ends. If nextSku is null or empty, currentSku continues to the next billing cycle. list_supported_skus().

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

Returns:The next_sku of this CreateEsxiHostDetails.
Return type:str
sddc_id

[Required] Gets the sddc_id of this CreateEsxiHostDetails. The OCID of the SDDC to add the ESXi host to.

Returns:The sddc_id of this CreateEsxiHostDetails.
Return type:str