📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
ocvp
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/ocvp/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: esxi_host.pyc
a O��f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd Zd ZdZdd � Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Z e jd1d0� �Z ed2d3� �Z!e!jd4d3� �Z!ed5d6� �Z"e"jd7d6� �Z"ed8d9� �Z#e#jd:d9� �Z#ed;d<� �Z$e$jd=d<� �Z$ed>d?� �Z%e%jd@d?� �Z%edAdB� �Z&e&jdCdB� �Z&edDdE� �Z'e'jdFdE� �Z'edGdH� �Z(e(jdIdH� �Z(edJdK� �Z)e)jdLdK� �Z)edMdN� �Z*e*jdOdN� �Z*edPdQ� �Z+e+jdRdQ� �Z+dSdT� Z,dUdV� Z-dWdX� Z.dYS )Z�EsxiHosta� An ESXi host is a node in an SDDC. At a minimum, each SDDC has 3 ESXi hosts that are used to implement a functioning VMware environment. In terms of implementation, an ESXi host is a Compute instance that is configured with the chosen bundle of VMware software. Notice that an `EsxiHost` object has its own OCID (`id`), and a separate attribute for the OCID of the Compute instance (`computeInstanceId`). �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�HOUR�MONTH�ONE_YEAR�THREE_YEARSc K s� dddddddddddddddddddddddd�| _ ddd d ddd ddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new EsxiHost object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this EsxiHost. :type id: str :param display_name: The value to assign to the display_name property of this EsxiHost. :type display_name: str :param sddc_id: The value to assign to the sddc_id property of this EsxiHost. :type sddc_id: str :param compartment_id: The value to assign to the compartment_id property of this EsxiHost. :type compartment_id: str :param compute_instance_id: The value to assign to the compute_instance_id property of this EsxiHost. :type compute_instance_id: str :param time_created: The value to assign to the time_created property of this EsxiHost. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this EsxiHost. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this EsxiHost. 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'. :type lifecycle_state: str :param current_sku: The value to assign to the current_sku property of this EsxiHost. 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'. :type current_sku: str :param next_sku: The value to assign to the next_sku property of this EsxiHost. 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'. :type next_sku: str :param billing_contract_end_date: The value to assign to the billing_contract_end_date property of this EsxiHost. :type billing_contract_end_date: datetime :param failed_esxi_host_id: The value to assign to the failed_esxi_host_id property of this EsxiHost. :type failed_esxi_host_id: str :param replacement_esxi_host_id: The value to assign to the replacement_esxi_host_id property of this EsxiHost. :type replacement_esxi_host_id: str :param grace_period_end_date: The value to assign to the grace_period_end_date property of this EsxiHost. :type grace_period_end_date: datetime :param vmware_software_version: The value to assign to the vmware_software_version property of this EsxiHost. :type vmware_software_version: str :param non_upgraded_esxi_host_id: The value to assign to the non_upgraded_esxi_host_id property of this EsxiHost. :type non_upgraded_esxi_host_id: str :param upgraded_replacement_esxi_host_id: The value to assign to the upgraded_replacement_esxi_host_id property of this EsxiHost. :type upgraded_replacement_esxi_host_id: str :param compute_availability_domain: The value to assign to the compute_availability_domain property of this EsxiHost. :type compute_availability_domain: str :param host_shape_name: The value to assign to the host_shape_name property of this EsxiHost. :type host_shape_name: str :param host_ocpu_count: The value to assign to the host_ocpu_count property of this EsxiHost. :type host_ocpu_count: float :param capacity_reservation_id: The value to assign to the capacity_reservation_id property of this EsxiHost. :type capacity_reservation_id: str :param freeform_tags: The value to assign to the freeform_tags property of this EsxiHost. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this EsxiHost. :type defined_tags: dict(str, dict(str, object)) �str�datetime�floatzdict(str, str)zdict(str, dict(str, object)))�id�display_name�sddc_id�compartment_id�compute_instance_id�time_created�time_updated�lifecycle_state�current_sku�next_sku�billing_contract_end_date�failed_esxi_host_id�replacement_esxi_host_id�grace_period_end_date�vmware_software_version�non_upgraded_esxi_host_id�!upgraded_replacement_esxi_host_id�compute_availability_domain�host_shape_name�host_ocpu_count�capacity_reservation_id� freeform_tags�defined_tagsr �displayName�sddcId� compartmentId�computeInstanceId�timeCreated�timeUpdated�lifecycleState� currentSku�nextSku�billingContractEndDate�failedEsxiHostId�replacementEsxiHostId�gracePeriodEndDate�vmwareSoftwareVersion�nonUpgradedEsxiHostId�upgradedReplacementEsxiHostId�computeAvailabilityDomain� hostShapeName� hostOcpuCount�capacityReservationId�freeformTags�definedTagsN)� swagger_types� attribute_map�_id� _display_name�_sddc_id�_compartment_id�_compute_instance_id� _time_created� _time_updated�_lifecycle_state�_current_sku� _next_sku�_billing_contract_end_date�_failed_esxi_host_id�_replacement_esxi_host_id�_grace_period_end_date�_vmware_software_version�_non_upgraded_esxi_host_id�"_upgraded_replacement_esxi_host_id�_compute_availability_domain�_host_shape_name�_host_ocpu_count�_capacity_reservation_id�_freeform_tags� _defined_tags)�self�kwargs� r\ �}/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/ocvp/models/esxi_host.py�__init__O s� i��zEsxiHost.__init__c C s | j S )z� **[Required]** Gets the id of this EsxiHost. The `OCID`__ of the ESXi host. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this EsxiHost. :rtype: str �rC �rZ r\ r\ r] r s zEsxiHost.idc C s || _ dS )z� Sets the id of this EsxiHost. The `OCID`__ of the ESXi host. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this EsxiHost. :type: str Nr_ )rZ r r\ r\ r] r s c C s | j S )a" **[Required]** Gets the display_name of this EsxiHost. A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this EsxiHost. :rtype: str �rD r` r\ r\ r] r s zEsxiHost.display_namec C s || _ dS )a Sets the display_name of this EsxiHost. A descriptive name for the ESXi host. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this EsxiHost. :type: str Nra )rZ r r\ r\ r] r , s c C s | j S )a# **[Required]** Gets the sddc_id of this EsxiHost. The `OCID`__ of the SDDC that the ESXi host belongs to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The sddc_id of this EsxiHost. :rtype: str �rE r` r\ r\ r] r 9 s zEsxiHost.sddc_idc C s || _ dS )a Sets the sddc_id of this EsxiHost. The `OCID`__ of the SDDC that the ESXi host belongs to. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param sddc_id: The sddc_id of this EsxiHost. :type: str Nrb )rZ r r\ r\ r] r H s c C s | j S )a" Gets the compartment_id of this EsxiHost. The `OCID`__ of the compartment that contains the SDDC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this EsxiHost. :rtype: str �rF r` r\ r\ r] r W s zEsxiHost.compartment_idc C s || _ dS )a/ Sets the compartment_id of this EsxiHost. The `OCID`__ of the compartment that contains the SDDC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this EsxiHost. :type: str Nrc )rZ r r\ r\ r] r f s c C s | j S )a� Gets the compute_instance_id of this EsxiHost. 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. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compute_instance_id of this EsxiHost. :rtype: str �rG r` r\ r\ r] r u s zEsxiHost.compute_instance_idc C s || _ dS )a� Sets the compute_instance_id of this EsxiHost. 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. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compute_instance_id: The compute_instance_id of this EsxiHost. :type: str Nrd )rZ r r\ r\ r] r � s c C s | j S )aH Gets the time_created of this EsxiHost. The date and time the ESXi host was created, in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this EsxiHost. :rtype: datetime �rH r` r\ r\ r] r � s zEsxiHost.time_createdc C s || _ dS )aS Sets the time_created of this EsxiHost. The date and time the ESXi host was created, in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this EsxiHost. :type: datetime Nre )rZ r r\ r\ r] r � s c C s | j S )a Gets the time_updated of this EsxiHost. The date and time the ESXi host was updated, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this EsxiHost. :rtype: datetime �rI r` r\ r\ r] r � s zEsxiHost.time_updatedc C s || _ dS )a& Sets the time_updated of this EsxiHost. The date and time the ESXi host was updated, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this EsxiHost. :type: datetime Nrf )rZ r r\ r\ r] r � s c C s | j S )a� Gets the lifecycle_state of this EsxiHost. 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'. :return: The lifecycle_state of this EsxiHost. :rtype: str )rJ r` r\ r\ r] r � s zEsxiHost.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this EsxiHost. The current state of the ESXi host. :param lifecycle_state: The lifecycle_state of this EsxiHost. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r rJ )rZ r �allowed_valuesr\ r\ r] r � s c C s | j S )a� **[Required]** Gets the current_sku of this EsxiHost. The billing option currently used by the ESXi host. :func:`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'. :return: The current_sku of this EsxiHost. :rtype: str )rK r` r\ r\ r] r � s zEsxiHost.current_skuc C s g d�}t ||�sd}|| _dS )z� Sets the current_sku of this EsxiHost. The billing option currently used by the ESXi host. :func:`list_supported_skus`. :param current_sku: The current_sku of this EsxiHost. :type: str �r r r r rg N)r rK )rZ r rh r\ r\ r] r s c C s | j S )a% **[Required]** Gets the next_sku of this EsxiHost. 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. :func:`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'. :return: The next_sku of this EsxiHost. :rtype: str )rL r` r\ r\ r] r s zEsxiHost.next_skuc C s g d�}t ||�sd}|| _dS )aN Sets the next_sku of this EsxiHost. 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. :func:`list_supported_skus`. :param next_sku: The next_sku of this EsxiHost. :type: str ri rg N)r rL )rZ r rh r\ r\ r] r $ s c C s | j S )a� **[Required]** Gets the billing_contract_end_date of this EsxiHost. 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` :return: The billing_contract_end_date of this EsxiHost. :rtype: datetime �rM r` r\ r\ r] r 5 s z"EsxiHost.billing_contract_end_datec C s || _ dS )a� Sets the billing_contract_end_date of this EsxiHost. 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` :param billing_contract_end_date: The billing_contract_end_date of this EsxiHost. :type: datetime Nrj )rZ r r\ r\ r] r C s c C s | j S )a Gets the failed_esxi_host_id of this EsxiHost. The `OCID`__ of the ESXi host that failed. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The failed_esxi_host_id of this EsxiHost. :rtype: str �rN r` r\ r\ r] r Q s zEsxiHost.failed_esxi_host_idc C s || _ dS )a) Sets the failed_esxi_host_id of this EsxiHost. The `OCID`__ of the ESXi host that failed. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param failed_esxi_host_id: The failed_esxi_host_id of this EsxiHost. :type: str Nrk )rZ r r\ r\ r] r _ s c C s | j S )aH Gets the replacement_esxi_host_id of this EsxiHost. The `OCID`__ of the ESXi host that is created to replace the failed host. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The replacement_esxi_host_id of this EsxiHost. :rtype: str �rO r` r\ r\ r] r m s z!EsxiHost.replacement_esxi_host_idc C s || _ dS )a_ Sets the replacement_esxi_host_id of this EsxiHost. The `OCID`__ of the ESXi host that is created to replace the failed host. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param replacement_esxi_host_id: The replacement_esxi_host_id of this EsxiHost. :type: str Nrl )rZ r r\ r\ r] r | s c C s | j S )aX Gets the grace_period_end_date of this EsxiHost. The date and time when the new esxi host should start billing cycle. `RFC3339`__. Example: `2021-07-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The grace_period_end_date of this EsxiHost. :rtype: datetime �rP r` r\ r\ r] r! � s zEsxiHost.grace_period_end_datec C s || _ dS )al Sets the grace_period_end_date of this EsxiHost. The date and time when the new esxi host should start billing cycle. `RFC3339`__. Example: `2021-07-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param grace_period_end_date: The grace_period_end_date of this EsxiHost. :type: datetime Nrm )rZ r! r\ r\ r] r! � s c C s | j S )a **[Required]** Gets the vmware_software_version of this EsxiHost. The version of VMware software that the Oracle Cloud VMware Solution installed on the ESXi hosts. :return: The vmware_software_version of this EsxiHost. :rtype: str �rQ r` r\ r\ r] r"