ruạṛ
a ���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 @ sF e Zd ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=d>� �Z e jd?d>� �Z ed@dA� �Z!e!jdBdA� �Z!edCdD� �Z"e"jdEdD� �Z"edFdG� �Z#e#jdHdG� �Z#edIdJ� �Z$e$jdKdJ� �Z$edLdM� �Z%e%jdNdM� �Z%edOdP� �Z&e&jdQdP� �Z&edRdS� �Z'e'jdTdS� �Z'edUdV� �Z(e(jdWdV� �Z(edXdY� �Z)e)jdZdY� �Z)ed[d\� �Z*e*jd]d\� �Z*ed^d_� �Z+e+jd`d_� �Z+edadb� �Z,e,jdcdb� �Z,ddde� Z-dfdg� Z.dhdi� Z/djS )k�Sddca� An `Oracle Cloud VMware Solution`__ software-defined data center (SDDC) contains the resources required for a functional VMware environment. Instances in an SDDC (see :class:`EsxiHost`) run in a virtual cloud network (VCN) and are preconfigured with VMware and storage. Use the vCenter utility to manage and deploy VMware virtual machines (VMs) in the SDDC. The SDDC uses a single management subnet for provisioning the SDDC. It also uses a set of VLANs for various components of the VMware environment (vSphere, vMotion, vSAN, and so on). See the Core Services API for information about VCN subnets and VLANs. __ https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/ocvsoverview.htm �DISABLED�ADVANCED� ENTERPRISE�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s6 dddddddddddddddddddddddddddddd �| _ d ddd ddddddddddddddddddd d!d"d#d$d%d&d �| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _ d'| _ d'| _d'| _d'| _ d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'S )(a5 Initializes a new Sddc 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 Sddc. :type id: str :param display_name: The value to assign to the display_name property of this Sddc. :type display_name: str :param vmware_software_version: The value to assign to the vmware_software_version property of this Sddc. :type vmware_software_version: str :param esxi_software_version: The value to assign to the esxi_software_version property of this Sddc. :type esxi_software_version: str :param compartment_id: The value to assign to the compartment_id property of this Sddc. :type compartment_id: str :param clusters_count: The value to assign to the clusters_count property of this Sddc. :type clusters_count: int :param vcenter_fqdn: The value to assign to the vcenter_fqdn property of this Sddc. :type vcenter_fqdn: str :param nsx_manager_fqdn: The value to assign to the nsx_manager_fqdn property of this Sddc. :type nsx_manager_fqdn: str :param vcenter_private_ip_id: The value to assign to the vcenter_private_ip_id property of this Sddc. :type vcenter_private_ip_id: str :param nsx_manager_private_ip_id: The value to assign to the nsx_manager_private_ip_id property of this Sddc. :type nsx_manager_private_ip_id: str :param vcenter_username: The value to assign to the vcenter_username property of this Sddc. :type vcenter_username: str :param nsx_manager_username: The value to assign to the nsx_manager_username property of this Sddc. :type nsx_manager_username: str :param ssh_authorized_keys: The value to assign to the ssh_authorized_keys property of this Sddc. :type ssh_authorized_keys: str :param nsx_edge_uplink_ip_id: The value to assign to the nsx_edge_uplink_ip_id property of this Sddc. :type nsx_edge_uplink_ip_id: str :param hcx_private_ip_id: The value to assign to the hcx_private_ip_id property of this Sddc. :type hcx_private_ip_id: str :param hcx_fqdn: The value to assign to the hcx_fqdn property of this Sddc. :type hcx_fqdn: str :param hcx_mode: The value to assign to the hcx_mode property of this Sddc. Allowed values for this property are: "DISABLED", "ADVANCED", "ENTERPRISE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type hcx_mode: str :param initial_configuration: The value to assign to the initial_configuration property of this Sddc. :type initial_configuration: oci.ocvp.models.InitialConfiguration :param is_hcx_pending_downgrade: The value to assign to the is_hcx_pending_downgrade property of this Sddc. :type is_hcx_pending_downgrade: bool :param hcx_on_prem_licenses: The value to assign to the hcx_on_prem_licenses property of this Sddc. :type hcx_on_prem_licenses: list[oci.ocvp.models.HcxLicenseSummary] :param time_hcx_billing_cycle_end: The value to assign to the time_hcx_billing_cycle_end property of this Sddc. :type time_hcx_billing_cycle_end: datetime :param time_hcx_license_status_updated: The value to assign to the time_hcx_license_status_updated property of this Sddc. :type time_hcx_license_status_updated: datetime :param is_single_host_sddc: The value to assign to the is_single_host_sddc property of this Sddc. :type is_single_host_sddc: bool :param time_created: The value to assign to the time_created property of this Sddc. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Sddc. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Sddc. 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 freeform_tags: The value to assign to the freeform_tags property of this Sddc. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Sddc. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Sddc. :type system_tags: dict(str, dict(str, object)) �str�intZInitialConfiguration�boolzlist[HcxLicenseSummary]Zdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�vmware_software_version�esxi_software_version�compartment_id�clusters_count�vcenter_fqdn�nsx_manager_fqdn�vcenter_private_ip_id�nsx_manager_private_ip_id�vcenter_username�nsx_manager_username�ssh_authorized_keys�nsx_edge_uplink_ip_id�hcx_private_ip_id�hcx_fqdn�hcx_mode�initial_configuration�is_hcx_pending_downgrade�hcx_on_prem_licenses�time_hcx_billing_cycle_end�time_hcx_license_status_updated�is_single_host_sddc�time_created�time_updated�lifecycle_state� freeform_tags�defined_tags�system_tagsr ZdisplayNameZvmwareSoftwareVersionZesxiSoftwareVersionZ compartmentIdZ clustersCountZvcenterFqdnZnsxManagerFqdnZvcenterPrivateIpIdZnsxManagerPrivateIpIdZvcenterUsernameZnsxManagerUsernameZsshAuthorizedKeysZnsxEdgeUplinkIpIdZhcxPrivateIpIdZhcxFqdnZhcxModeZinitialConfigurationZisHcxPendingDowngradeZhcxOnPremLicensesZtimeHcxBillingCycleEndZtimeHcxLicenseStatusUpdatedZisSingleHostSddcZtimeCreatedZtimeUpdatedZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_vmware_software_version�_esxi_software_version�_compartment_id�_clusters_count� _vcenter_fqdn�_nsx_manager_fqdn�_vcenter_private_ip_id�_nsx_manager_private_ip_id�_vcenter_username�_nsx_manager_username�_ssh_authorized_keys�_nsx_edge_uplink_ip_id�_hcx_private_ip_id� _hcx_fqdn� _hcx_mode�_initial_configuration�_is_hcx_pending_downgrade�_hcx_on_prem_licenses�_time_hcx_billing_cycle_end� _time_hcx_license_status_updated�_is_single_host_sddc� _time_created� _time_updated�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rO �8/usr/lib/python3.9/site-packages/oci/ocvp/models/sddc.py�__init__@ s� �!� z Sddc.__init__c C s | j S )z� **[Required]** Gets the id of this Sddc. The `OCID`__ of the SDDC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this Sddc. :rtype: str �r0 �rM rO rO rP r s zSddc.idc C s || _ dS )z� Sets the id of this Sddc. The `OCID`__ of the SDDC. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this Sddc. :type: str NrR )rM r rO rO rP r * s c C s | j S )a[ **[Required]** Gets the display_name of this Sddc. A descriptive name for the SDDC. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information. :return: The display_name of this Sddc. :rtype: str �r1 rS rO rO rP r 8 s zSddc.display_namec C s || _ dS )aW Sets the display_name of this Sddc. A descriptive name for the SDDC. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information. :param display_name: The display_name of this Sddc. :type: str NrT )rM r rO rO rP r F s c C s | j S )a� **[Required]** Gets the vmware_software_version of this Sddc. In general, this is a specific version of bundled VMware software supported by Oracle Cloud VMware Solution (see :func:`list_supported_vmware_software_versions`). This attribute is not guaranteed to reflect the version of software currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the version of software that the Oracle Cloud VMware Solution will install on any new ESXi hosts that you *add to this SDDC in the future* with :func:`create_esxi_host`. Therefore, if you upgrade the existing ESXi hosts in the SDDC to use a newer version of bundled VMware software supported by the Oracle Cloud VMware Solution, you should use :func:`update_sddc` to update the SDDC's `vmwareSoftwareVersion` with that new version. :return: The vmware_software_version of this Sddc. :rtype: str �r2 rS rO rO rP r T s zSddc.vmware_software_versionc C s || _ dS )a� Sets the vmware_software_version of this Sddc. In general, this is a specific version of bundled VMware software supported by Oracle Cloud VMware Solution (see :func:`list_supported_vmware_software_versions`). This attribute is not guaranteed to reflect the version of software currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the version of software that the Oracle Cloud VMware Solution will install on any new ESXi hosts that you *add to this SDDC in the future* with :func:`create_esxi_host`. Therefore, if you upgrade the existing ESXi hosts in the SDDC to use a newer version of bundled VMware software supported by the Oracle Cloud VMware Solution, you should use :func:`update_sddc` to update the SDDC's `vmwareSoftwareVersion` with that new version. :param vmware_software_version: The vmware_software_version of this Sddc. :type: str NrU )rM r rO rO rP r m s c C s | j S )a1 Gets the esxi_software_version of this Sddc. In general, this is a specific version of bundled ESXi software supported by Oracle Cloud VMware Solution (see :func:`list_supported_vmware_software_versions`). This attribute is not guaranteed to reflect the version of software currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the version of software that the Oracle Cloud VMware Solution will install on any new ESXi hosts that you *add to this SDDC in the future* with :func:`create_esxi_host` unless a different version is configured on the Cluster or ESXi host level. Therefore, if you upgrade the existing ESXi hosts in the SDDC to use a newer version of bundled ESXi software supported by the Oracle Cloud VMware Solution, you should use :func:`update_sddc` to update the SDDC's `vmwareSoftwareVersion` with that new version. :return: The esxi_software_version of this Sddc. :rtype: str �r3 rS rO rO rP r � s zSddc.esxi_software_versionc C s || _ dS )aE Sets the esxi_software_version of this Sddc. In general, this is a specific version of bundled ESXi software supported by Oracle Cloud VMware Solution (see :func:`list_supported_vmware_software_versions`). This attribute is not guaranteed to reflect the version of software currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the version of software that the Oracle Cloud VMware Solution will install on any new ESXi hosts that you *add to this SDDC in the future* with :func:`create_esxi_host` unless a different version is configured on the Cluster or ESXi host level. Therefore, if you upgrade the existing ESXi hosts in the SDDC to use a newer version of bundled ESXi software supported by the Oracle Cloud VMware Solution, you should use :func:`update_sddc` to update the SDDC's `vmwareSoftwareVersion` with that new version. :param esxi_software_version: The esxi_software_version of this Sddc. :type: str NrV )rM r rO rO rP r � s c C s | j S )a) **[Required]** Gets the compartment_id of this Sddc. 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 Sddc. :rtype: str �r4 rS rO rO rP r � s zSddc.compartment_idc C s || _ dS )a' Sets the compartment_id of this Sddc. 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 Sddc. :type: str NrW )rM r rO rO rP r � s c C s | j S )z� **[Required]** Gets the clusters_count of this Sddc. The number of Clusters in the SDDC. :return: The clusters_count of this Sddc. :rtype: int �r5 rS rO rO rP r � s zSddc.clusters_countc C s || _ dS )z� Sets the clusters_count of this Sddc. The number of Clusters in the SDDC. :param clusters_count: The clusters_count of this Sddc. :type: int NrX )rM r rO rO rP r � s c C s | j S )z� **[Required]** Gets the vcenter_fqdn of this Sddc. The FQDN for vCenter. Example: `vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com` :return: The vcenter_fqdn of this Sddc. :rtype: str �r6 rS rO rO rP r � s zSddc.vcenter_fqdnc C s || _ dS )z� Sets the vcenter_fqdn of this Sddc. The FQDN for vCenter. Example: `vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com` :param vcenter_fqdn: The vcenter_fqdn of this Sddc. :type: str NrY )rM r rO rO rP r � s c C s | j S )z� **[Required]** Gets the nsx_manager_fqdn of this Sddc. The FQDN for NSX Manager. Example: `nsx-my-sddc.sddc.us-phoenix-1.oraclecloud.com` :return: The nsx_manager_fqdn of this Sddc. :rtype: str �r7 rS rO rO rP r s zSddc.nsx_manager_fqdnc C s || _ dS )z� Sets the nsx_manager_fqdn of this Sddc. The FQDN for NSX Manager. Example: `nsx-my-sddc.sddc.us-phoenix-1.oraclecloud.com` :param nsx_manager_fqdn: The nsx_manager_fqdn of this Sddc. :type: str NrZ )rM r rO rO rP r s c C s | j S )a� **[Required]** Gets the vcenter_private_ip_id of this Sddc. The `OCID`__ of the `PrivateIp` object that is the virtual IP (VIP) for vCenter. For information about `PrivateIp` objects, see the Core Services API. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The vcenter_private_ip_id of this Sddc. :rtype: str �r8 rS rO rO rP r ( s zSddc.vcenter_private_ip_idc C s || _ dS )a� Sets the vcenter_private_ip_id of this Sddc. The `OCID`__ of the `PrivateIp` object that is the virtual IP (VIP) for vCenter. For information about `PrivateIp` objects, see the Core Services API. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param vcenter_private_ip_id: The vcenter_private_ip_id of this Sddc. :type: str Nr[ )rM r rO rO rP r 8 s c C s | j S )a� **[Required]** Gets the nsx_manager_private_ip_id of this Sddc. The `OCID`__ of the `PrivateIp` object that is the virtual IP (VIP) for NSX Manager. For information about `PrivateIp` objects, see the Core Services API. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The nsx_manager_private_ip_id of this Sddc. :rtype: str �r9 rS rO rO rP r H s zSddc.nsx_manager_private_ip_idc C s || _ dS )a� Sets the nsx_manager_private_ip_id of this Sddc. The `OCID`__ of the `PrivateIp` object that is the virtual IP (VIP) for NSX Manager. For information about `PrivateIp` objects, see the Core Services API. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param nsx_manager_private_ip_id: The nsx_manager_private_ip_id of this Sddc. :type: str Nr\ )rM r rO rO rP r X s c C s | j S )a Gets the vcenter_username of this Sddc. The SDDC includes an administrator username and password for vCenter. You can change this initial username to a different value in vCenter. :return: The vcenter_username of this Sddc. :rtype: str �r: rS rO rO rP r h s zSddc.vcenter_usernamec C s || _ dS )a. Sets the vcenter_username of this Sddc. The SDDC includes an administrator username and password for vCenter. You can change this initial username to a different value in vCenter. :param vcenter_username: The vcenter_username of this Sddc. :type: str Nr] )rM r rO rO rP r u s c C s | j S )a7 Gets the nsx_manager_username of this Sddc. The SDDC includes an administrator username and initial password for NSX Manager. You can change this initial username to a different value in NSX Manager. :return: The nsx_manager_username of this Sddc. :rtype: str �r; rS rO rO rP r � s zSddc.nsx_manager_usernamec C s || _ dS )aJ Sets the nsx_manager_username of this Sddc. The SDDC includes an administrator username and initial password for NSX Manager. You can change this initial username to a different value in NSX Manager. :param nsx_manager_username: The nsx_manager_username of this Sddc. :type: str Nr^ )rM r rO rO rP r � s c C s | j S )a� **[Required]** Gets the ssh_authorized_keys of this Sddc. One or more public SSH keys to be included in the `~/.ssh/authorized_keys` file for the default user on each ESXi host. Use a newline character to separate multiple keys. The SSH keys must be in the format required for the `authorized_keys` file. This attribute is not guaranteed to reflect the public SSH keys currently installed on the ESXi hosts in the SDDC. The purpose of this attribute is to show the public SSH keys that Oracle Cloud VMware Solution will install on any new ESXi hosts that you *add to this SDDC in the future* with :func:`create_esxi_host`. Therefore, if you upgrade the existing ESXi hosts in the SDDC to use different SSH keys, you should use :func:`update_sddc` to update the SDDC's `sshAuthorizedKeys` with the new public keys. :return: The ssh_authorized_keys of this Sddc. :rtype: str �r<