o
    ɶdb                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s6  e Zd ZdZdZdZdZdZdZdZ	dd	 Z
ed
d Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd  Zejd!d  Zed"d# Zejd$d# Zed%d& Zejd'd& Zed(d) Zejd*d) Zed+d, Zejd-d, Zed.d/ Zejd0d/ Zed1d2 Zejd3d2 Zed4d5 Zejd6d5 Zed7d8 Zejd9d8 Zed:d; Zejd<d; Zed=d> Zejd?d> Zed@dA ZejdBdA ZdCdD Z dEdF Z!dGdH Z"dIS )JSddcSummaryz 
    A summary of the SDDC.
    CREATINGUPDATINGACTIVEDELETINGDELETEDFAILEDc                 K   sb  i 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| _ i 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| _d,| _d,| _d,| _d,| _d,| _d,| _d,| _d,| _	d,| _
d,| _d,| _d,| _d,| _d,| _d,| _d,| _d,| _d,| _d,| _d,S )-ar  
        Initializes a new SddcSummary 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 SddcSummary.
        :type id: str

        :param compute_availability_domain:
            The value to assign to the compute_availability_domain property of this SddcSummary.
        :type compute_availability_domain: str

        :param display_name:
            The value to assign to the display_name property of this SddcSummary.
        :type display_name: str

        :param vmware_software_version:
            The value to assign to the vmware_software_version property of this SddcSummary.
        :type vmware_software_version: str

        :param compartment_id:
            The value to assign to the compartment_id property of this SddcSummary.
        :type compartment_id: str

        :param esxi_hosts_count:
            The value to assign to the esxi_hosts_count property of this SddcSummary.
        :type esxi_hosts_count: int

        :param hcx_fqdn:
            The value to assign to the hcx_fqdn property of this SddcSummary.
        :type hcx_fqdn: str

        :param is_hcx_enabled:
            The value to assign to the is_hcx_enabled property of this SddcSummary.
        :type is_hcx_enabled: bool

        :param vcenter_fqdn:
            The value to assign to the vcenter_fqdn property of this SddcSummary.
        :type vcenter_fqdn: str

        :param nsx_manager_fqdn:
            The value to assign to the nsx_manager_fqdn property of this SddcSummary.
        :type nsx_manager_fqdn: str

        :param time_created:
            The value to assign to the time_created property of this SddcSummary.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this SddcSummary.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this SddcSummary.
            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 is_shielded_instance_enabled:
            The value to assign to the is_shielded_instance_enabled property of this SddcSummary.
        :type is_shielded_instance_enabled: bool

        :param initial_host_shape_name:
            The value to assign to the initial_host_shape_name property of this SddcSummary.
        :type initial_host_shape_name: str

        :param initial_host_ocpu_count:
            The value to assign to the initial_host_ocpu_count property of this SddcSummary.
        :type initial_host_ocpu_count: float

        :param is_single_host_sddc:
            The value to assign to the is_single_host_sddc property of this SddcSummary.
        :type is_single_host_sddc: bool

        :param freeform_tags:
            The value to assign to the freeform_tags property of this SddcSummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this SddcSummary.
        :type defined_tags: dict(str, dict(str, object))

        idstrcompute_availability_domaindisplay_namevmware_software_versioncompartment_idesxi_hosts_countinthcx_fqdnis_hcx_enabledboolvcenter_fqdnnsx_manager_fqdntime_createddatetimetime_updatedlifecycle_stateis_shielded_instance_enabledinitial_host_shape_nameinitial_host_ocpu_countfloatis_single_host_sddczdict(str, str)zdict(str, dict(str, object)))freeform_tagsdefined_tagsZcomputeAvailabilityDomainZdisplayNameZvmwareSoftwareVersionZcompartmentIdZesxiHostsCountZhcxFqdnZisHcxEnabledZvcenterFqdnZnsxManagerFqdnZtimeCreatedZtimeUpdatedZlifecycleStateZisShieldedInstanceEnabledZinitialHostShapeNameZinitialHostOcpuCountZisSingleHostSddcZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_compute_availability_domain_display_name_vmware_software_version_compartment_id_esxi_hosts_count	_hcx_fqdn_is_hcx_enabled_vcenter_fqdn_nsx_manager_fqdn_time_created_time_updated_lifecycle_state_is_shielded_instance_enabled_initial_host_shape_name_initial_host_ocpu_count_is_single_host_sddc_freeform_tags_defined_tags)selfkwargs r:   @usr/lib/python3.10/site-packages/oci/ocvp/models/sddc_summary.py__init__*   s   T	

	


zSddcSummary.__init__c                 C      | j S )a  
        **[Required]** Gets the id of this SddcSummary.
        The `OCID`__ of the compartment that
        contains the SDDC.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this SddcSummary.
        :rtype: str
        r%   r8   r:   r:   r;   r         zSddcSummary.idc                 C   
   || _ dS )a  
        Sets the id of this SddcSummary.
        The `OCID`__ of the compartment that
        contains the SDDC.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this SddcSummary.
        :type: str
        Nr>   )r8   r   r:   r:   r;   r         
c                 C   r=   )a&  
        **[Required]** Gets the compute_availability_domain of this SddcSummary.
        The availability domain that the SDDC's ESXi hosts are running in. For Multi-AD SDDC, it is `multi-AD`.


        :return: The compute_availability_domain of this SddcSummary.
        :rtype: str
        r&   r?   r:   r:   r;   r         
z'SddcSummary.compute_availability_domainc                 C   rA   )a1  
        Sets the compute_availability_domain of this SddcSummary.
        The availability domain that the SDDC's ESXi hosts are running in. For Multi-AD SDDC, it is `multi-AD`.


        :param compute_availability_domain: The compute_availability_domain of this SddcSummary.
        :type: str
        NrC   )r8   r   r:   r:   r;   r         

c                 C   r=   )ai  
        **[Required]** Gets the display_name of this SddcSummary.
        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 SddcSummary.
        :rtype: str
        r'   r?   r:   r:   r;   r         zSddcSummary.display_namec                 C   rA   )ae  
        Sets the display_name of this SddcSummary.
        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 SddcSummary.
        :type: str
        NrF   )r8   r   r:   r:   r;   r        
c                 C   r=   )a  
        **[Required]** Gets the vmware_software_version of this SddcSummary.
        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 SddcSummary.
        :rtype: str
        r(   r?   r:   r:   r;   r     s   z#SddcSummary.vmware_software_versionc                 C   rA   )a
  
        Sets the vmware_software_version of this SddcSummary.
        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 SddcSummary.
        :type: str
        NrI   )r8   r   r:   r:   r;   r   )  s   
c                 C   r=   )a7  
        **[Required]** Gets the compartment_id of this SddcSummary.
        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 SddcSummary.
        :rtype: str
        r)   r?   r:   r:   r;   r   B  r@   zSddcSummary.compartment_idc                 C   rA   )a5  
        Sets the compartment_id of this SddcSummary.
        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 SddcSummary.
        :type: str
        NrJ   )r8   r   r:   r:   r;   r   Q  rB   c                 C   r=   )z
        **[Required]** Gets the esxi_hosts_count of this SddcSummary.
        The number of ESXi hosts in the SDDC.


        :return: The esxi_hosts_count of this SddcSummary.
        :rtype: int
        r*   r?   r:   r:   r;   r   `  rD   zSddcSummary.esxi_hosts_countc                 C   rA   )z
        Sets the esxi_hosts_count of this SddcSummary.
        The number of ESXi hosts in the SDDC.


        :param esxi_hosts_count: The esxi_hosts_count of this SddcSummary.
        :type: int
        NrK   )r8   r   r:   r:   r;   r   l  rE   c                 C   r=   )z
        Gets the hcx_fqdn of this SddcSummary.
        HCX Fully Qualified Domain Name


        :return: The hcx_fqdn of this SddcSummary.
        :rtype: str
        r+   r?   r:   r:   r;   r   x  rD   zSddcSummary.hcx_fqdnc                 C   rA   )z
        Sets the hcx_fqdn of this SddcSummary.
        HCX Fully Qualified Domain Name


        :param hcx_fqdn: The hcx_fqdn of this SddcSummary.
        :type: str
        NrL   )r8   r   r:   r:   r;   r     rE   c                 C   r=   )z
        Gets the is_hcx_enabled of this SddcSummary.
        Indicates whether HCX is enabled.


        :return: The is_hcx_enabled of this SddcSummary.
        :rtype: bool
        r,   r?   r:   r:   r;   r     rD   zSddcSummary.is_hcx_enabledc                 C   rA   )z
        Sets the is_hcx_enabled of this SddcSummary.
        Indicates whether HCX is enabled.


        :param is_hcx_enabled: The is_hcx_enabled of this SddcSummary.
        :type: bool
        NrM   )r8   r   r:   r:   r;   r     rE   c                 C   r=   )z
        Gets the vcenter_fqdn of this SddcSummary.
        FQDN for vCenter

        Example: `vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com`


        :return: The vcenter_fqdn of this SddcSummary.
        :rtype: str
        r-   r?   r:   r:   r;   r     rG   zSddcSummary.vcenter_fqdnc                 C   rA   )z
        Sets the vcenter_fqdn of this SddcSummary.
        FQDN for vCenter

        Example: `vcenter-my-sddc.sddc.us-phoenix-1.oraclecloud.com`


        :param vcenter_fqdn: The vcenter_fqdn of this SddcSummary.
        :type: str
        NrN   )r8   r   r:   r:   r;   r     rH   c                 C   r=   )z
        Gets the nsx_manager_fqdn of this SddcSummary.
        FQDN for NSX Manager

        Example: `nsx-my-sddc.sddc.us-phoenix-1.oraclecloud.com`


        :return: The nsx_manager_fqdn of this SddcSummary.
        :rtype: str
        r.   r?   r:   r:   r;   r     rG   zSddcSummary.nsx_manager_fqdnc                 C   rA   )z
        Sets the nsx_manager_fqdn of this SddcSummary.
        FQDN for NSX Manager

        Example: `nsx-my-sddc.sddc.us-phoenix-1.oraclecloud.com`


        :param nsx_manager_fqdn: The nsx_manager_fqdn of this SddcSummary.
        :type: str
        NrO   )r8   r   r:   r:   r;   r     rH   c                 C   r=   )aI  
        Gets the time_created of this SddcSummary.
        The date and time the SDDC 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 SddcSummary.
        :rtype: datetime
        r/   r?   r:   r:   r;   r        zSddcSummary.time_createdc                 C   rA   )aT  
        Sets the time_created of this SddcSummary.
        The date and time the SDDC 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 SddcSummary.
        :type: datetime
        NrP   )r8   r   r:   r:   r;   r        
c                 C   r=   )a  
        Gets the time_updated of this SddcSummary.
        The date and time the SDDC was updated, in the format defined by
        `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_updated of this SddcSummary.
        :rtype: datetime
        r0   r?   r:   r:   r;   r     r@   zSddcSummary.time_updatedc                 C   rA   )a'  
        Sets the time_updated of this SddcSummary.
        The date and time the SDDC was updated, in the format defined by
        `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :param time_updated: The time_updated of this SddcSummary.
        :type: datetime
        NrS   )r8   r   r:   r:   r;   r     rB   c                 C   r=   )a  
        Gets the lifecycle_state of this SddcSummary.
        The current state of the 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'.


        :return: The lifecycle_state of this SddcSummary.
        :rtype: str
        )r1   r?   r:   r:   r;   r      r@   zSddcSummary.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this SddcSummary.
        The current state of the SDDC.


        :param lifecycle_state: The lifecycle_state of this SddcSummary.
        :type: str
        )r   r   r	   r
   r   r   ZUNKNOWN_ENUM_VALUEN)r   r1   )r8   r   Zallowed_valuesr:   r:   r;   r   /  s   


c                 C   r=   )z
        Gets the is_shielded_instance_enabled of this SddcSummary.
        Indicates whether shielded instance is enabled at the SDDC level.


        :return: The is_shielded_instance_enabled of this SddcSummary.
        :rtype: bool
        r2   r?   r:   r:   r;   r   >  rD   z(SddcSummary.is_shielded_instance_enabledc                 C   rA   )a  
        Sets the is_shielded_instance_enabled of this SddcSummary.
        Indicates whether shielded instance is enabled at the SDDC level.


        :param is_shielded_instance_enabled: The is_shielded_instance_enabled of this SddcSummary.
        :type: bool
        NrT   )r8   r   r:   r:   r;   r   J  rE   c                 C   r=   )a  
        **[Required]** Gets the initial_host_shape_name of this SddcSummary.
        The initial compute shape of the SDDC's ESXi hosts.
        :func:`list_supported_host_shapes`.


        :return: The initial_host_shape_name of this SddcSummary.
        :rtype: str
        r3   r?   r:   r:   r;   r   V  s   z#SddcSummary.initial_host_shape_namec                 C   rA   )a  
        Sets the initial_host_shape_name of this SddcSummary.
        The initial compute shape of the SDDC's ESXi hosts.
        :func:`list_supported_host_shapes`.


        :param initial_host_shape_name: The initial_host_shape_name of this SddcSummary.
        :type: str
        NrU   )r8   r   r:   r:   r;   r   c  s   
c                 C   r=   )z
        Gets the initial_host_ocpu_count of this SddcSummary.
        The initial OCPU count of the SDDC's ESXi hosts.


        :return: The initial_host_ocpu_count of this SddcSummary.
        :rtype: float
        r4   r?   r:   r:   r;   r    p  rD   z#SddcSummary.initial_host_ocpu_countc                 C   rA   )z
        Sets the initial_host_ocpu_count of this SddcSummary.
        The initial OCPU count of the SDDC's ESXi hosts.


        :param initial_host_ocpu_count: The initial_host_ocpu_count of this SddcSummary.
        :type: float
        NrV   )r8   r    r:   r:   r;   r    |  rE   c                 C   r=   )z
        Gets the is_single_host_sddc of this SddcSummary.
        Indicates whether this SDDC is designated for only single ESXi host.


        :return: The is_single_host_sddc of this SddcSummary.
        :rtype: bool
        r5   r?   r:   r:   r;   r"     rD   zSddcSummary.is_single_host_sddcc                 C   rA   )z
        Sets the is_single_host_sddc of this SddcSummary.
        Indicates whether this SDDC is designated for only single ESXi host.


        :param is_single_host_sddc: The is_single_host_sddc of this SddcSummary.
        :type: bool
        NrW   )r8   r"   r:   r:   r;   r"     rE   c                 C   r=   )a  
        **[Required]** Gets the freeform_tags of this SddcSummary.
        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"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this SddcSummary.
        :rtype: dict(str, str)
        r6   r?   r:   r:   r;   r#     rQ   zSddcSummary.freeform_tagsc                 C   rA   )a  
        Sets the freeform_tags of this SddcSummary.
        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"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this SddcSummary.
        :type: dict(str, str)
        NrX   )r8   r#   r:   r:   r;   r#     rR   c                 C   r=   )a  
        **[Required]** Gets the defined_tags of this SddcSummary.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this SddcSummary.
        :rtype: dict(str, dict(str, object))
        r7   r?   r:   r:   r;   r$     rQ   zSddcSummary.defined_tagsc                 C   rA   )a  
        Sets the defined_tags of this SddcSummary.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this SddcSummary.
        :type: dict(str, dict(str, object))
        NrY   )r8   r$   r:   r:   r;   r$     rR   c                 C   s   t | S N)r   r?   r:   r:   r;   __repr__  s   zSddcSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r8   otherr:   r:   r;   __eq__  s   zSddcSummary.__eq__c                 C   s
   | |k S rZ   r:   r]   r:   r:   r;   __ne__  s   
zSddcSummary.__ne__N)#__name__
__module____qualname____doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr<   propertyr   setterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r"   r#   r$   r[   r_   r`   r:   r:   r:   r;   r      s     





































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r:   r:   r:   r;   <module>   s   