EsxiHostSummary

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

Bases: object

A summary of the ESXi host.

Attributes

CURRENT_SKU_HOUR A constant which can be used with the current_sku property of a EsxiHostSummary.
CURRENT_SKU_MONTH A constant which can be used with the current_sku property of a EsxiHostSummary.
CURRENT_SKU_ONE_YEAR A constant which can be used with the current_sku property of a EsxiHostSummary.
CURRENT_SKU_THREE_YEARS A constant which can be used with the current_sku property of a EsxiHostSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a EsxiHostSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a EsxiHostSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a EsxiHostSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a EsxiHostSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a EsxiHostSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a EsxiHostSummary.
NEXT_SKU_HOUR A constant which can be used with the next_sku property of a EsxiHostSummary.
NEXT_SKU_MONTH A constant which can be used with the next_sku property of a EsxiHostSummary.
NEXT_SKU_ONE_YEAR A constant which can be used with the next_sku property of a EsxiHostSummary.
NEXT_SKU_THREE_YEARS A constant which can be used with the next_sku property of a EsxiHostSummary.
billing_contract_end_date [Required] Gets the billing_contract_end_date of this EsxiHostSummary.
compartment_id Gets the compartment_id of this EsxiHostSummary.
compute_instance_id Gets the compute_instance_id of this EsxiHostSummary.
current_sku [Required] Gets the current_sku of this EsxiHostSummary.
defined_tags [Required] Gets the defined_tags of this EsxiHostSummary.
display_name Gets the display_name of this EsxiHostSummary.
freeform_tags [Required] Gets the freeform_tags of this EsxiHostSummary.
id [Required] Gets the id of this EsxiHostSummary.
lifecycle_state Gets the lifecycle_state of this EsxiHostSummary.
next_sku [Required] Gets the next_sku of this EsxiHostSummary.
sddc_id [Required] Gets the sddc_id of this EsxiHostSummary.
time_created Gets the time_created of this EsxiHostSummary.
time_updated Gets the time_updated of this EsxiHostSummary.

Methods

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

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

CURRENT_SKU_MONTH = 'MONTH'

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

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a EsxiHostSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a EsxiHostSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a EsxiHostSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a EsxiHostSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a EsxiHostSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a EsxiHostSummary. This constant has a value of “UPDATING”

NEXT_SKU_HOUR = 'HOUR'

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

NEXT_SKU_MONTH = 'MONTH'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this EsxiHostSummary.
  • display_name (str) – The value to assign to the display_name property of this EsxiHostSummary.
  • sddc_id (str) – The value to assign to the sddc_id property of this EsxiHostSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this EsxiHostSummary.
  • compute_instance_id (str) – The value to assign to the compute_instance_id property of this EsxiHostSummary.
  • time_created (datetime) – The value to assign to the time_created property of this EsxiHostSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this EsxiHostSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this EsxiHostSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • current_sku (str) – The value to assign to the current_sku property of this EsxiHostSummary. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • next_sku (str) – The value to assign to the next_sku property of this EsxiHostSummary. Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • billing_contract_end_date (datetime) – The value to assign to the billing_contract_end_date property of this EsxiHostSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this EsxiHostSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this EsxiHostSummary.
billing_contract_end_date

[Required] Gets the billing_contract_end_date of this EsxiHostSummary. Current billing cycle end date. If the value in currentSku and nextSku are different, the value specified in nextSku becomes the new currentSKU when the contractEndDate is reached. Example: 2016-08-25T21:10:29.600Z

Returns:The billing_contract_end_date of this EsxiHostSummary.
Return type:datetime
compartment_id

Gets the compartment_id of this EsxiHostSummary. The OCID of the compartment that contains the SDDC.

Returns:The compartment_id of this EsxiHostSummary.
Return type:str
compute_instance_id

Gets the compute_instance_id of this EsxiHostSummary. In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. The computeInstanceId is the OCID of that Compute instance.

Returns:The compute_instance_id of this EsxiHostSummary.
Return type:str
current_sku

[Required] Gets the current_sku of this EsxiHostSummary. The billing option currently used by the ESXi host. list_supported_skus().

Allowed values for this property are: “HOUR”, “MONTH”, “ONE_YEAR”, “THREE_YEARS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The current_sku of this EsxiHostSummary.
Return type:str
defined_tags

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

Gets the display_name of this EsxiHostSummary. A descriptive name for the ESXi host. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this EsxiHostSummary.
Return type:str
freeform_tags

[Required] Gets the freeform_tags of this EsxiHostSummary. 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 EsxiHostSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this EsxiHostSummary. The OCID of the ESXi host.

Returns:The id of this EsxiHostSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this EsxiHostSummary. The current state of the ESXi host.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this EsxiHostSummary.
Return type:str
next_sku

[Required] Gets the next_sku of this EsxiHostSummary. The billing option to switch to after the current 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

[Required] Gets the sddc_id of this EsxiHostSummary. The OCID of the SDDC that the ESXi host belongs to.

Returns:The sddc_id of this EsxiHostSummary.
Return type:str
time_created

Gets the time_created of this EsxiHostSummary. The date and time the ESXi host was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this EsxiHostSummary.
Return type:datetime
time_updated

Gets the time_updated of this EsxiHostSummary. The date and time the ESXi host was updated, in the format defined by RFC3339.

Returns:The time_updated of this EsxiHostSummary.
Return type:datetime