ruạṛ
a ���f�b � @ 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 ZdZ dd � Zedd� �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<� �Z e jd=d<� �Z ed>d?� �Z!e!jd@d?� �Z!edAdB� �Z"e"jdCdB� �Z"edDdE� �Z#e#jdFdE� �Z#dGdH� Z$dIdJ� Z%dKdL� Z&dMS )N�Functionz� A function resource defines the code (Docker image) and configuration for a specific function. Functions are defined in applications. Avoid entering confidential information. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�GENERIC_X86�GENERIC_ARM�GENERIC_X86_ARMc K s� dddddddddddddddddddd �| _ d ddd dddddddddddddddd �| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new Function 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 Function. :type id: str :param display_name: The value to assign to the display_name property of this Function. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Function. 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 application_id: The value to assign to the application_id property of this Function. :type application_id: str :param compartment_id: The value to assign to the compartment_id property of this Function. :type compartment_id: str :param image: The value to assign to the image property of this Function. :type image: str :param image_digest: The value to assign to the image_digest property of this Function. :type image_digest: str :param source_details: The value to assign to the source_details property of this Function. :type source_details: oci.functions.models.FunctionSourceDetails :param shape: The value to assign to the shape property of this Function. Allowed values for this property are: "GENERIC_X86", "GENERIC_ARM", "GENERIC_X86_ARM", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type shape: str :param memory_in_mbs: The value to assign to the memory_in_mbs property of this Function. :type memory_in_mbs: int :param config: The value to assign to the config property of this Function. :type config: dict(str, str) :param timeout_in_seconds: The value to assign to the timeout_in_seconds property of this Function. :type timeout_in_seconds: int :param provisioned_concurrency_config: The value to assign to the provisioned_concurrency_config property of this Function. :type provisioned_concurrency_config: oci.functions.models.FunctionProvisionedConcurrencyConfig :param trace_config: The value to assign to the trace_config property of this Function. :type trace_config: oci.functions.models.FunctionTraceConfig :param freeform_tags: The value to assign to the freeform_tags property of this Function. :type freeform_tags: dict(str, str) :param invoke_endpoint: The value to assign to the invoke_endpoint property of this Function. :type invoke_endpoint: str :param defined_tags: The value to assign to the defined_tags property of this Function. :type defined_tags: dict(str, dict(str, object)) :param time_created: The value to assign to the time_created property of this Function. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Function. :type time_updated: datetime �strZFunctionSourceDetails�intzdict(str, str)Z$FunctionProvisionedConcurrencyConfigZFunctionTraceConfigzdict(str, dict(str, object))Zdatetime)�id�display_name�lifecycle_state�application_id�compartment_id�image�image_digest�source_details�shape� memory_in_mbs�config�timeout_in_seconds�provisioned_concurrency_config�trace_config� freeform_tags�invoke_endpoint�defined_tags�time_created�time_updatedr ZdisplayNameZlifecycleStateZ applicationIdZ compartmentIdr ZimageDigestZ sourceDetailsr ZmemoryInMBsr ZtimeoutInSecondsZprovisionedConcurrencyConfigZtraceConfigZfreeformTagsZinvokeEndpointZdefinedTagsZtimeCreatedZtimeUpdatedN)Z swagger_typesZ attribute_map�_id� _display_name�_lifecycle_state�_application_id�_compartment_id�_image� _image_digest�_source_details�_shape�_memory_in_mbs�_config�_timeout_in_seconds�_provisioned_concurrency_config� _trace_config�_freeform_tags�_invoke_endpoint� _defined_tags� _time_created� _time_updated)�self�kwargs� r; �A/usr/lib/python3.9/site-packages/oci/functions/models/function.py�__init__: sv W��zFunction.__init__c C s | j S )z� **[Required]** Gets the id of this Function. The `OCID`__ of the function. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Function. :rtype: str �r&