ruạṛ
a ���f�9 � @ 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 @ sH e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Zd'd(� Zd)d*� Zd+d,� Zd-S ).�DynamicGroupaJ A dynamic group defines a matching rule. Every bare metal or virtual machine instance is deployed with an instance certificate. The certificate contains metadata about the instance. This includes the instance OCID and the compartment OCID, along with a few other optional properties. When an API call is made using this instance certificate as the authenticator, the certificate can be matched to one or multiple dynamic groups. The instance can then get access to the API based on the permissions granted in policies written for the dynamic groups. This works like regular user/group membership. But in that case, the membership is a static relationship, whereas in a dynamic group, the membership of an instance certificate to a dynamic group is determined during runtime. For more information, see `Managing Dynamic Groups`__. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/Content/Identity/dynamicgroups/managingdynamicgroups.htm �CREATING�ACTIVE�INACTIVE�DELETING�DELETEDc K sx ddddddddddd� | _ ddd d ddd dddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _dS )ac Initializes a new DynamicGroup 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 DynamicGroup. :type id: str :param compartment_id: The value to assign to the compartment_id property of this DynamicGroup. :type compartment_id: str :param name: The value to assign to the name property of this DynamicGroup. :type name: str :param description: The value to assign to the description property of this DynamicGroup. :type description: str :param matching_rule: The value to assign to the matching_rule property of this DynamicGroup. :type matching_rule: str :param time_created: The value to assign to the time_created property of this DynamicGroup. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this DynamicGroup. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param inactive_status: The value to assign to the inactive_status property of this DynamicGroup. :type inactive_status: int :param freeform_tags: The value to assign to the freeform_tags property of this DynamicGroup. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DynamicGroup. :type defined_tags: dict(str, dict(str, object)) �strZdatetime�intzdict(str, str)zdict(str, dict(str, object))) �id�compartment_id�name�description� matching_rule�time_created�lifecycle_state�inactive_status� freeform_tags�defined_tagsr Z compartmentIdr r ZmatchingRuleZtimeCreatedZlifecycleStateZinactiveStatusZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id�_name�_description�_matching_rule� _time_created�_lifecycle_state�_inactive_status�_freeform_tags� _defined_tags)�self�kwargs� r$ �E/usr/lib/python3.9/site-packages/oci/identity/models/dynamic_group.py�__init__3 s@ 1�� zDynamicGroup.__init__c C s | j S )z� **[Required]** Gets the id of this DynamicGroup. The OCID of the group. :return: The id of this DynamicGroup. :rtype: str �r �r"