ruạṛ
a ���f�i � @ 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 d � Zedd� �Z e jd d� �Z edd� �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� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zed>d?� �Zejd@d?� �ZedAdB� �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�DesktopPoolz[ Provides information about a desktop pool including all configuration parameters. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s dddddddddddddddddddddd 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�boolZDesktopDevicePolicyZDesktopAvailabilityPolicyZDesktopImageZDesktopNetworkConfigurationzdict(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_idsr Z compartmentIdZdisplayNamer ZlifecycleStateZtimeCreatedZmaximumSizeZstandbySizeZ shapeNameZisStorageEnabledZstorageSizeInGBsZstorageBackupPolicyIdZdevicePolicyZavailabilityPolicyr ZnetworkConfigurationZtimeStartScheduledZtimeStopScheduledZcontactDetailsZarePrivilegedUsersZavailabilityDomainZfreeformTagsZdefinedTagsZnsgIdsN)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__c C s | j S )z� **[Required]** Gets the id of this DesktopPool. The OCID of the desktop pool. :return: The id of this DesktopPool. :rtype: str �r) �rA rC rC rD r � s zDesktopPool.idc C s || _ dS )z� Sets the id of this DesktopPool. The OCID of the desktop pool. :param id: The id of this DesktopPool. :type: str NrF )rA r rC rC rD r � s c C s | j S )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* rG rC rC rD r � s zDesktopPool.compartment_idc C s || _ 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 )rA r rC rC rD r s c C s | j S )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+ rG rC rC rD r s zDesktopPool.display_namec C s || _ 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 )rA r rC rC rD r ! s c C s | j S )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, rG rC rC rD r - s zDesktopPool.descriptionc C s || _ 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 )rA r rC rC rD r : s c C s | j S )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- rG rC rC rD r G s zDesktopPool.lifecycle_statec C s g d�}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 )r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r- )rA r Zallowed_valuesrC rC rD r V s c C s | j S )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. rG rC rC rD r e s zDesktopPool.time_createdc C s || _ 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 )rA r rC rC rD r q s c C s | j S )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/ rG rC rC rD r } s zDesktopPool.maximum_sizec C s || _ 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 )rA r rC rC rD r � s c C s | j S )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 �r0 rG rC rC rD r � s zDesktopPool.standby_sizec C s || _ 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 )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the shape_name of this DesktopPool. The shape of the desktop pool. :return: The shape_name of this DesktopPool. :rtype: str �r1 rG rC rC rD r � s zDesktopPool.shape_namec C s || _ 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 )rA r rC rC rD r � s c C s | j S )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 �r2 rG rC rC rD r � s zDesktopPool.is_storage_enabledc C s || _ 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 )rA r rC rC rD r � s c C s | j S )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 �r3 rG rC rC rD r � s zDesktopPool.storage_size_in_gbsc C s || _ 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 )rA r rC rC rD r � s c C s | j S )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 �r4 rG rC rC rD r � s z$DesktopPool.storage_backup_policy_idc C s || _ 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 )rA r rC rC rD r s c C s | j S )z� **[Required]** Gets the device_policy of this DesktopPool. :return: The device_policy of this DesktopPool. :rtype: oci.desktops.models.DesktopDevicePolicy �r5 rG rC rC rD r s zDesktopPool.device_policyc C s || _ dS )z� Sets the device_policy of this DesktopPool. :param device_policy: The device_policy of this DesktopPool. :type: oci.desktops.models.DesktopDevicePolicy NrR )rA r rC rC rD r s c C s | j S )z� **[Required]** Gets the availability_policy of this DesktopPool. :return: The availability_policy of this DesktopPool. :rtype: oci.desktops.models.DesktopAvailabilityPolicy �r6 rG rC rC rD r ! s zDesktopPool.availability_policyc C s || _ dS )z� Sets the availability_policy of this DesktopPool. :param availability_policy: The availability_policy of this DesktopPool. :type: oci.desktops.models.DesktopAvailabilityPolicy NrS )rA r rC rC rD r + s c C s | j S )z� **[Required]** Gets the image of this DesktopPool. :return: The image of this DesktopPool. :rtype: oci.desktops.models.DesktopImage �r7 rG rC rC rD r 5 s zDesktopPool.imagec C s || _ dS )z� Sets the image of this DesktopPool. :param image: The image of this DesktopPool. :type: oci.desktops.models.DesktopImage NrT )rA r rC rC rD r ? s c C s | j S )z� **[Required]** Gets the network_configuration of this DesktopPool. :return: The network_configuration of this DesktopPool. :rtype: oci.desktops.models.DesktopNetworkConfiguration �r8 rG rC rC rD r I s z!DesktopPool.network_configurationc C s || _ dS )z� Sets the network_configuration of this DesktopPool. :param network_configuration: The network_configuration of this DesktopPool. :type: oci.desktops.models.DesktopNetworkConfiguration NrU )rA r rC rC rD r S s c C s | j S )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 �r9 rG rC rC rD r! ] s z DesktopPool.time_start_scheduledc C s || _ 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 )rA r! rC rC rD r! i s c C s | j S )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: rG rC rC rD r"