ruạṛ
a ���f�e � @ 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 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#edGdH� �Z$e$jdIdH� �Z$edJdK� �Z%e%jdLdK� �Z%edMdN� �Z&e&jdOdN� �Z&dPdQ� Z'dRdS� Z(dTdU� Z)dVS )W� VbInstancez% Description of Vb Instance. �CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILED�UCM�GOV�VB4SAASc K s� ddddddddddddddddd d ddddd�| _ dd 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"S )#ak Initializes a new VbInstance 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 VbInstance. :type id: str :param display_name: The value to assign to the display_name property of this VbInstance. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this VbInstance. :type compartment_id: str :param time_created: The value to assign to the time_created property of this VbInstance. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this VbInstance. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this VbInstance. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "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 state_message: The value to assign to the state_message property of this VbInstance. :type state_message: str :param freeform_tags: The value to assign to the freeform_tags property of this VbInstance. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this VbInstance. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this VbInstance. :type system_tags: dict(str, dict(str, object)) :param instance_url: The value to assign to the instance_url property of this VbInstance. :type instance_url: str :param node_count: The value to assign to the node_count property of this VbInstance. :type node_count: int :param is_visual_builder_enabled: The value to assign to the is_visual_builder_enabled property of this VbInstance. :type is_visual_builder_enabled: bool :param custom_endpoint: The value to assign to the custom_endpoint property of this VbInstance. :type custom_endpoint: oci.visual_builder.models.CustomEndpointDetails :param alternate_custom_endpoints: The value to assign to the alternate_custom_endpoints property of this VbInstance. :type alternate_custom_endpoints: list[oci.visual_builder.models.CustomEndpointDetails] :param consumption_model: The value to assign to the consumption_model property of this VbInstance. Allowed values for this property are: "UCM", "GOV", "VB4SAAS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type consumption_model: str :param idcs_info: The value to assign to the idcs_info property of this VbInstance. :type idcs_info: oci.visual_builder.models.IdcsInfoDetails :param attachments: The value to assign to the attachments property of this VbInstance. :type attachments: list[oci.visual_builder.models.AttachmentDetails] :param service_nat_gateway_ip: The value to assign to the service_nat_gateway_ip property of this VbInstance. :type service_nat_gateway_ip: str :param management_nat_gateway_ip: The value to assign to the management_nat_gateway_ip property of this VbInstance. :type management_nat_gateway_ip: str :param service_vcn_id: The value to assign to the service_vcn_id property of this VbInstance. :type service_vcn_id: str :param management_vcn_id: The value to assign to the management_vcn_id property of this VbInstance. :type management_vcn_id: str �strZdatetimezdict(str, str)zdict(str, dict(str, object))�int�boolZCustomEndpointDetailszlist[CustomEndpointDetails]ZIdcsInfoDetailszlist[AttachmentDetails])�id�display_name�compartment_id�time_created�time_updated�lifecycle_state� state_message� freeform_tags�defined_tags�system_tags�instance_url� node_count�is_visual_builder_enabled�custom_endpoint�alternate_custom_endpoints�consumption_model� idcs_info�attachments�service_nat_gateway_ip�management_nat_gateway_ip�service_vcn_id�management_vcn_idr ZdisplayNameZ compartmentIdZtimeCreatedZtimeUpdatedZlifecycleStateZstateMessageZfreeformTagsZdefinedTagsZ systemTagsZinstanceUrlZ nodeCountZisVisualBuilderEnabledZcustomEndpointZalternateCustomEndpointsZconsumptionModelZidcsInfor% ZserviceNatGatewayIpZmanagementNatGatewayIpZserviceVcnIdZmanagementVcnIdN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id� _time_created� _time_updated�_lifecycle_state�_state_message�_freeform_tags� _defined_tags�_system_tags� _instance_url�_node_count�_is_visual_builder_enabled�_custom_endpoint�_alternate_custom_endpoints�_consumption_model� _idcs_info�_attachments�_service_nat_gateway_ip�_management_nat_gateway_ip�_service_vcn_id�_management_vcn_id)�self�kwargs� rB �I/usr/lib/python3.9/site-packages/oci/visual_builder/models/vb_instance.py�__init__: s� c��zVbInstance.__init__c C s | j S )z� **[Required]** Gets the id of this VbInstance. Unique identifier that is immutable on creation. :return: The id of this VbInstance. :rtype: str �r* �r@ rB rB rC r � s z VbInstance.idc C s || _ dS )z� Sets the id of this VbInstance. Unique identifier that is immutable on creation. :param id: The id of this VbInstance. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the display_name of this VbInstance. Vb Instance Identifier, can be renamed. :return: The display_name of this VbInstance. :rtype: str �r+ rF rB rB rC r � s zVbInstance.display_namec C s || _ dS )z� Sets the display_name of this VbInstance. Vb Instance Identifier, can be renamed. :param display_name: The display_name of this VbInstance. :type: str NrG )r@ r rB rB rC r s c C s | j S )z� **[Required]** Gets the compartment_id of this VbInstance. Compartment Identifier. :return: The compartment_id of this VbInstance. :rtype: str �r, rF rB rB rC r s zVbInstance.compartment_idc C s || _ dS )z� Sets the compartment_id of this VbInstance. Compartment Identifier. :param compartment_id: The compartment_id of this VbInstance. :type: str NrH )r@ r rB rB rC r ! s c C s | j S )z� Gets the time_created of this VbInstance. The time the the VbInstance was created. An RFC3339 formatted datetime string. :return: The time_created of this VbInstance. :rtype: datetime �r- rF rB rB rC r - s zVbInstance.time_createdc C s || _ dS )z� Sets the time_created of this VbInstance. The time the the VbInstance was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this VbInstance. :type: datetime NrI )r@ r rB rB rC r 9 s c C s | j S )z� Gets the time_updated of this VbInstance. The time the VbInstance was updated. An RFC3339 formatted datetime string. :return: The time_updated of this VbInstance. :rtype: datetime �r. rF rB rB rC r E s zVbInstance.time_updatedc C s || _ dS )z� Sets the time_updated of this VbInstance. The time the VbInstance was updated. An RFC3339 formatted datetime string. :param time_updated: The time_updated of this VbInstance. :type: datetime NrJ )r@ r rB rB rC r Q s c C s | j S )a� **[Required]** Gets the lifecycle_state of this VbInstance. The current state of the vb instance. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "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 VbInstance. :rtype: str )r/ rF rB rB rC r ] s zVbInstance.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this VbInstance. The current state of the vb instance. :param lifecycle_state: The lifecycle_state of this VbInstance. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r/ )r@ r �allowed_valuesrB rB rC r l s c C s | j S )a$ Gets the state_message of this VbInstance. An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The state_message of this VbInstance. :rtype: str �r0 rF rB rB rC r { s zVbInstance.state_messagec C s || _ dS )a0 Sets the state_message of this VbInstance. An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param state_message: The state_message of this VbInstance. :type: str NrM )r@ r rB rB rC r � s c C s | j S )a; Gets the freeform_tags of this VbInstance. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this VbInstance. :rtype: dict(str, str) �r1 rF rB rB rC r � s zVbInstance.freeform_tagsc C s || _ dS )aG Sets the freeform_tags of this VbInstance. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this VbInstance. :type: dict(str, str) NrN )r@ r rB rB rC r � s c C s | j S )a5 Gets the defined_tags of this VbInstance. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this VbInstance. :rtype: dict(str, dict(str, object)) �r2 rF rB rB rC r � s zVbInstance.defined_tagsc C s || _ dS )a@ Sets the defined_tags of this VbInstance. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this VbInstance. :type: dict(str, dict(str, object)) NrO )r@ r rB rB rC r � s c C s | j S )a2 Gets the system_tags of this VbInstance. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this VbInstance. :rtype: dict(str, dict(str, object)) �r3 rF rB rB rC r � s zVbInstance.system_tagsc C s || _ dS )a< Sets the system_tags of this VbInstance. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :param system_tags: The system_tags of this VbInstance. :type: dict(str, dict(str, object)) NrP )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the instance_url of this VbInstance. The Vb Instance URL. :return: The instance_url of this VbInstance. :rtype: str �r4 rF rB rB rC r � s zVbInstance.instance_urlc C s || _ dS )z� Sets the instance_url of this VbInstance. The Vb Instance URL. :param instance_url: The instance_url of this VbInstance. :type: str NrQ )r@ r rB rB rC r � s c C s | j S )z� **[Required]** Gets the node_count of this VbInstance. The number of Nodes :return: The node_count of this VbInstance. :rtype: int �r5 rF rB rB rC r � s zVbInstance.node_countc C s || _ dS )z� Sets the node_count of this VbInstance. The number of Nodes :param node_count: The node_count of this VbInstance. :type: int NrR )r@ r rB rB rC r s c C s | j S )z� Gets the is_visual_builder_enabled of this VbInstance. Visual Builder is enabled or not. :return: The is_visual_builder_enabled of this VbInstance. :rtype: bool �r6 rF rB rB rC r s z$VbInstance.is_visual_builder_enabledc C s || _ dS )z� Sets the is_visual_builder_enabled of this VbInstance. Visual Builder is enabled or not. :param is_visual_builder_enabled: The is_visual_builder_enabled of this VbInstance. :type: bool NrS )r@ r rB rB rC r s c C s | j S )z� Gets the custom_endpoint of this VbInstance. :return: The custom_endpoint of this VbInstance. :rtype: oci.visual_builder.models.CustomEndpointDetails �r7 rF rB rB rC r! ) s zVbInstance.custom_endpointc C s || _ dS )z� Sets the custom_endpoint of this VbInstance. :param custom_endpoint: The custom_endpoint of this VbInstance. :type: oci.visual_builder.models.CustomEndpointDetails NrT )r@ r! rB rB rC r! 3 s c C s | j S )a Gets the alternate_custom_endpoints of this VbInstance. A list of alternate custom endpoints used for the vb instance URL. :return: The alternate_custom_endpoints of this VbInstance. :rtype: list[oci.visual_builder.models.CustomEndpointDetails] �r8 rF rB rB rC r"