HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/oci/desktops/models/__pycache__/desktop_pool.cpython-39.pyc
a

���f�i�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdZdZdZdZ	dZ
d	d
�Zedd��Z
e
jd
d��Z
edd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zed d!��Zejd"d!��Zed#d$��Zejd%d$��Zed&d'��Zejd(d'��Zed)d*��Zejd+d*��Zed,d-��Zejd.d-��Zed/d0��Zejd1d0��Zed2d3��Zejd4d3��Zed5d6��Zejd7d6��Zed8d9��Zejd:d9��Zed;d<��Zejd=d<��Zed>d?��Zejd@d?��ZedAdB��Z e jdCdB��Z edDdE��Z!e!jdFdE��Z!edGdH��Z"e"jdIdH��Z"edJdK��Z#e#jdLdK��Z#edMdN��Z$e$jdOdN��Z$edPdQ��Z%e%jdRdQ��Z%dSdT�Z&dUdV�Z'dWdX�Z(dYS)Z�DesktopPoolz[
    Provides information about a desktop pool including all configuration parameters.
    �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDcKsdddddddddddddddddddddd	d
dd�|_d
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%S)&a�
        Initializes a new DesktopPool 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 DesktopPool.
        :type id: str

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

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

        :param description:
            The value to assign to the description property of this DesktopPool.
        :type description: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this DesktopPool.
            Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "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 time_created:
            The value to assign to the time_created property of this DesktopPool.
        :type time_created: datetime

        :param maximum_size:
            The value to assign to the maximum_size property of this DesktopPool.
        :type maximum_size: int

        :param standby_size:
            The value to assign to the standby_size property of this DesktopPool.
        :type standby_size: int

        :param shape_name:
            The value to assign to the shape_name property of this DesktopPool.
        :type shape_name: str

        :param is_storage_enabled:
            The value to assign to the is_storage_enabled property of this DesktopPool.
        :type is_storage_enabled: bool

        :param storage_size_in_gbs:
            The value to assign to the storage_size_in_gbs property of this DesktopPool.
        :type storage_size_in_gbs: int

        :param storage_backup_policy_id:
            The value to assign to the storage_backup_policy_id property of this DesktopPool.
        :type storage_backup_policy_id: str

        :param device_policy:
            The value to assign to the device_policy property of this DesktopPool.
        :type device_policy: oci.desktops.models.DesktopDevicePolicy

        :param availability_policy:
            The value to assign to the availability_policy property of this DesktopPool.
        :type availability_policy: oci.desktops.models.DesktopAvailabilityPolicy

        :param image:
            The value to assign to the image property of this DesktopPool.
        :type image: oci.desktops.models.DesktopImage

        :param network_configuration:
            The value to assign to the network_configuration property of this DesktopPool.
        :type network_configuration: oci.desktops.models.DesktopNetworkConfiguration

        :param time_start_scheduled:
            The value to assign to the time_start_scheduled property of this DesktopPool.
        :type time_start_scheduled: datetime

        :param time_stop_scheduled:
            The value to assign to the time_stop_scheduled property of this DesktopPool.
        :type time_stop_scheduled: datetime

        :param contact_details:
            The value to assign to the contact_details property of this DesktopPool.
        :type contact_details: str

        :param are_privileged_users:
            The value to assign to the are_privileged_users property of this DesktopPool.
        :type are_privileged_users: bool

        :param availability_domain:
            The value to assign to the availability_domain property of this DesktopPool.
        :type availability_domain: str

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

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

        :param nsg_ids:
            The value to assign to the nsg_ids property of this DesktopPool.
        :type nsg_ids: list[str]

        �strZdatetime�int�boolZDesktopDevicePolicyZDesktopAvailabilityPolicyZDesktopImageZDesktopNetworkConfigurationzdict(str, str)zdict(str, dict(str, object))z	list[str])�id�compartment_id�display_name�description�lifecycle_state�time_created�maximum_size�standby_size�
shape_name�is_storage_enabled�storage_size_in_gbs�storage_backup_policy_id�
device_policy�availability_policy�image�network_configuration�time_start_scheduled�time_stop_scheduled�contact_details�are_privileged_users�availability_domain�
freeform_tags�defined_tags�nsg_idsrZ
compartmentIdZdisplayNamerZlifecycleStateZtimeCreatedZmaximumSizeZstandbySizeZ	shapeNameZisStorageEnabledZstorageSizeInGBsZstorageBackupPolicyIdZdevicePolicyZavailabilityPolicyrZnetworkConfigurationZtimeStartScheduledZtimeStopScheduledZcontactDetailsZarePrivilegedUsersZavailabilityDomainZfreeformTagsZdefinedTagsZnsgIdsN)Z
swagger_typesZ
attribute_map�_id�_compartment_id�
_display_name�_description�_lifecycle_state�
_time_created�
_maximum_size�
_standby_size�_shape_name�_is_storage_enabled�_storage_size_in_gbs�_storage_backup_policy_id�_device_policy�_availability_policy�_image�_network_configuration�_time_start_scheduled�_time_stop_scheduled�_contact_details�_are_privileged_users�_availability_domain�_freeform_tags�
_defined_tags�_nsg_ids)�self�kwargs�rC�D/usr/lib/python3.9/site-packages/oci/desktops/models/desktop_pool.py�__init__.s�i��zDesktopPool.__init__cCs|jS)z�
        **[Required]** Gets the id of this DesktopPool.
        The OCID of the desktop pool.


        :return: The id of this DesktopPool.
        :rtype: str
        �r)�rArCrCrDr�s
zDesktopPool.idcCs
||_dS)z�
        Sets the id of this DesktopPool.
        The OCID of the desktop pool.


        :param id: The id of this DesktopPool.
        :type: str
        NrF)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this DesktopPool.
        The OCID of the compartment of the desktop pool.


        :return: The compartment_id of this DesktopPool.
        :rtype: str
        �r*rGrCrCrDr�s
zDesktopPool.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this DesktopPool.
        The OCID of the compartment of the desktop pool.


        :param compartment_id: The compartment_id of this DesktopPool.
        :type: str
        NrH)rArrCrCrDr	s
cCs|jS)z�
        **[Required]** Gets the display_name of this DesktopPool.
        A user friendly display name. Avoid entering confidential information.


        :return: The display_name of this DesktopPool.
        :rtype: str
        �r+rGrCrCrDrs
zDesktopPool.display_namecCs
||_dS)z�
        Sets the display_name of this DesktopPool.
        A user friendly display name. Avoid entering confidential information.


        :param display_name: The display_name of this DesktopPool.
        :type: str
        NrI)rArrCrCrDr!s
cCs|jS)a
        Gets the description of this DesktopPool.
        A user friendly description providing additional information about the resource.
        Avoid entering confidential information.


        :return: The description of this DesktopPool.
        :rtype: str
        �r,rGrCrCrDr-szDesktopPool.descriptioncCs
||_dS)a
        Sets the description of this DesktopPool.
        A user friendly description providing additional information about the resource.
        Avoid entering confidential information.


        :param description: The description of this DesktopPool.
        :type: str
        NrJ)rArrCrCrDr:scCs|jS)a�
        **[Required]** Gets the lifecycle_state of this DesktopPool.
        The current state of the desktop pool.

        Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "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 DesktopPool.
        :rtype: str
        )r-rGrCrCrDrGs
zDesktopPool.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this DesktopPool.
        The current state of the desktop pool.


        :param lifecycle_state: The lifecycle_state of this DesktopPool.
        :type: str
        )rrr	r
rrr
ZUNKNOWN_ENUM_VALUEN)rr-)rArZallowed_valuesrCrCrDrVs

cCs|jS)z�
        **[Required]** Gets the time_created of this DesktopPool.
        The date and time the resource was created.


        :return: The time_created of this DesktopPool.
        :rtype: datetime
        �r.rGrCrCrDres
zDesktopPool.time_createdcCs
||_dS)z�
        Sets the time_created of this DesktopPool.
        The date and time the resource was created.


        :param time_created: The time_created of this DesktopPool.
        :type: datetime
        NrK)rArrCrCrDrqs
cCs|jS)z�
        **[Required]** Gets the maximum_size of this DesktopPool.
        The maximum number of desktops permitted in the desktop pool.


        :return: The maximum_size of this DesktopPool.
        :rtype: int
        �r/rGrCrCrDr}s
zDesktopPool.maximum_sizecCs
||_dS)z�
        Sets the maximum_size of this DesktopPool.
        The maximum number of desktops permitted in the desktop pool.


        :param maximum_size: The maximum_size of this DesktopPool.
        :type: int
        NrL)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the standby_size of this DesktopPool.
        The maximum number of standby desktops available in the desktop pool.


        :return: The standby_size of this DesktopPool.
        :rtype: int
        �r0rGrCrCrDr�s
zDesktopPool.standby_sizecCs
||_dS)z�
        Sets the standby_size of this DesktopPool.
        The maximum number of standby desktops available in the desktop pool.


        :param standby_size: The standby_size of this DesktopPool.
        :type: int
        NrM)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the shape_name of this DesktopPool.
        The shape of the desktop pool.


        :return: The shape_name of this DesktopPool.
        :rtype: str
        �r1rGrCrCrDr�s
zDesktopPool.shape_namecCs
||_dS)z�
        Sets the shape_name of this DesktopPool.
        The shape of the desktop pool.


        :param shape_name: The shape_name of this DesktopPool.
        :type: str
        NrN)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the is_storage_enabled of this DesktopPool.
        Indicates whether storage is enabled for the desktop pool.


        :return: The is_storage_enabled of this DesktopPool.
        :rtype: bool
        �r2rGrCrCrDr�s
zDesktopPool.is_storage_enabledcCs
||_dS)z�
        Sets the is_storage_enabled of this DesktopPool.
        Indicates whether storage is enabled for the desktop pool.


        :param is_storage_enabled: The is_storage_enabled of this DesktopPool.
        :type: bool
        NrO)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the storage_size_in_gbs of this DesktopPool.
        The size in GBs of the storage for the desktop pool.


        :return: The storage_size_in_gbs of this DesktopPool.
        :rtype: int
        �r3rGrCrCrDr�s
zDesktopPool.storage_size_in_gbscCs
||_dS)z�
        Sets the storage_size_in_gbs of this DesktopPool.
        The size in GBs of the storage for the desktop pool.


        :param storage_size_in_gbs: The storage_size_in_gbs of this DesktopPool.
        :type: int
        NrP)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the storage_backup_policy_id of this DesktopPool.
        The backup policy OCID of the storage.


        :return: The storage_backup_policy_id of this DesktopPool.
        :rtype: str
        �r4rGrCrCrDr�s
z$DesktopPool.storage_backup_policy_idcCs
||_dS)z�
        Sets the storage_backup_policy_id of this DesktopPool.
        The backup policy OCID of the storage.


        :param storage_backup_policy_id: The storage_backup_policy_id of this DesktopPool.
        :type: str
        NrQ)rArrCrCrDrs
cCs|jS)z�
        **[Required]** Gets the device_policy of this DesktopPool.

        :return: The device_policy of this DesktopPool.
        :rtype: oci.desktops.models.DesktopDevicePolicy
        �r5rGrCrCrDr
szDesktopPool.device_policycCs
||_dS)z�
        Sets the device_policy of this DesktopPool.

        :param device_policy: The device_policy of this DesktopPool.
        :type: oci.desktops.models.DesktopDevicePolicy
        NrR)rArrCrCrDrscCs|jS)z�
        **[Required]** Gets the availability_policy of this DesktopPool.

        :return: The availability_policy of this DesktopPool.
        :rtype: oci.desktops.models.DesktopAvailabilityPolicy
        �r6rGrCrCrDr!szDesktopPool.availability_policycCs
||_dS)z�
        Sets the availability_policy of this DesktopPool.

        :param availability_policy: The availability_policy of this DesktopPool.
        :type: oci.desktops.models.DesktopAvailabilityPolicy
        NrS)rArrCrCrDr+scCs|jS)z�
        **[Required]** Gets the image of this DesktopPool.

        :return: The image of this DesktopPool.
        :rtype: oci.desktops.models.DesktopImage
        �r7rGrCrCrDr5szDesktopPool.imagecCs
||_dS)z�
        Sets the image of this DesktopPool.

        :param image: The image of this DesktopPool.
        :type: oci.desktops.models.DesktopImage
        NrT)rArrCrCrDr?scCs|jS)z�
        **[Required]** Gets the network_configuration of this DesktopPool.

        :return: The network_configuration of this DesktopPool.
        :rtype: oci.desktops.models.DesktopNetworkConfiguration
        �r8rGrCrCrDr Isz!DesktopPool.network_configurationcCs
||_dS)z�
        Sets the network_configuration of this DesktopPool.

        :param network_configuration: The network_configuration of this DesktopPool.
        :type: oci.desktops.models.DesktopNetworkConfiguration
        NrU)rAr rCrCrDr SscCs|jS)z�
        Gets the time_start_scheduled of this DesktopPool.
        The start time of the desktop pool.


        :return: The time_start_scheduled of this DesktopPool.
        :rtype: datetime
        �r9rGrCrCrDr!]s
z DesktopPool.time_start_scheduledcCs
||_dS)z�
        Sets the time_start_scheduled of this DesktopPool.
        The start time of the desktop pool.


        :param time_start_scheduled: The time_start_scheduled of this DesktopPool.
        :type: datetime
        NrV)rAr!rCrCrDr!is
cCs|jS)z�
        Gets the time_stop_scheduled of this DesktopPool.
        The stop time of the desktop pool.


        :return: The time_stop_scheduled of this DesktopPool.
        :rtype: datetime
        �r:rGrCrCrDr"us
zDesktopPool.time_stop_scheduledcCs
||_dS)z�
        Sets the time_stop_scheduled of this DesktopPool.
        The stop time of the desktop pool.


        :param time_stop_scheduled: The time_stop_scheduled of this DesktopPool.
        :type: datetime
        NrW)rAr"rCrCrDr"�s
cCs|jS)a
        **[Required]** Gets the contact_details of this DesktopPool.
        Contact information of the desktop pool administrator.
        Avoid entering confidential information.


        :return: The contact_details of this DesktopPool.
        :rtype: str
        �r;rGrCrCrDr#�szDesktopPool.contact_detailscCs
||_dS)a

        Sets the contact_details of this DesktopPool.
        Contact information of the desktop pool administrator.
        Avoid entering confidential information.


        :param contact_details: The contact_details of this DesktopPool.
        :type: str
        NrX)rAr#rCrCrDr#�scCs|jS)a
        **[Required]** Gets the are_privileged_users of this DesktopPool.
        Indicates whether desktop pool users have administrative privileges on their desktop.


        :return: The are_privileged_users of this DesktopPool.
        :rtype: bool
        �r<rGrCrCrDr$�s
z DesktopPool.are_privileged_userscCs
||_dS)a
        Sets the are_privileged_users of this DesktopPool.
        Indicates whether desktop pool users have administrative privileges on their desktop.


        :param are_privileged_users: The are_privileged_users of this DesktopPool.
        :type: bool
        NrY)rAr$rCrCrDr$�s
cCs|jS)z�
        **[Required]** Gets the availability_domain of this DesktopPool.
        The availability domain of the desktop pool.


        :return: The availability_domain of this DesktopPool.
        :rtype: str
        �r=rGrCrCrDr%�s
zDesktopPool.availability_domaincCs
||_dS)z�
        Sets the availability_domain of this DesktopPool.
        The availability domain of the desktop pool.


        :param availability_domain: The availability_domain of this DesktopPool.
        :type: str
        NrZ)rAr%rCrCrDr%�s
cCs|jS)a�
        Gets the freeform_tags of this DesktopPool.
        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 DesktopPool.
        :rtype: dict(str, str)
        �r>rGrCrCrDr&�s
zDesktopPool.freeform_tagscCs
||_dS)a�
        Sets the freeform_tags of this DesktopPool.
        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 DesktopPool.
        :type: dict(str, str)
        Nr[)rAr&rCrCrDr&�s
cCs|jS)a�
        Gets the defined_tags of this DesktopPool.
        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 DesktopPool.
        :rtype: dict(str, dict(str, object))
        �r?rGrCrCrDr'�szDesktopPool.defined_tagscCs
||_dS)a�
        Sets the defined_tags of this DesktopPool.
        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 DesktopPool.
        :type: dict(str, dict(str, object))
        Nr\)rAr'rCrCrDr'scCs|jS)z�
        Gets the nsg_ids of this DesktopPool.
        A list of network security groups for the desktop pool.


        :return: The nsg_ids of this DesktopPool.
        :rtype: list[str]
        �r@rGrCrCrDr(s
zDesktopPool.nsg_idscCs
||_dS)z�
        Sets the nsg_ids of this DesktopPool.
        A list of network security groups for the desktop pool.


        :param nsg_ids: The nsg_ids of this DesktopPool.
        :type: list[str]
        Nr])rAr(rCrCrDr(!s
cCst|�S�N)rrGrCrCrD�__repr__-szDesktopPool.__repr__cCs|durdS|j|jkS)NF)�__dict__�rA�otherrCrCrD�__eq__0szDesktopPool.__eq__cCs
||kSr^rCrarCrCrD�__ne__6szDesktopPool.__ne__N))�__name__�
__module__�__qualname__�__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDrE�propertyr�setterrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r_rcrdrCrCrCrDrs�8
























	
	
	
	
	
	
	
	















rN)Zoci.utilrrrZoci.decoratorsr�objectrrCrCrCrD�<module>s