ruạṛ
a N��f|V � @ 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 @ sb e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Z e jd/d.� �Z ed0d1� �Z!e!jd2d1� �Z!ed3d4� �Z"e"jd5d4� �Z"ed6d7� �Z#e#jd8d7� �Z#ed9d:� �Z$e$jd;d:� �Z$ed<d=� �Z%e%jd>d=� �Z%ed?d@� �Z&e&jdAd@� �Z&edBdC� �Z'e'jdDdC� �Z'edEdF� �Z(e(jdGdF� �Z(edHdI� �Z)e)jdJdI� �Z)edKdL� �Z*e*jdMdL� �Z*dNdO� Z+dPdQ� Z,dRdS� Z-dTS )U�Nodez Details about a node. �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILED�STOPPED�STOPPING�STARTING�MASTER�EDGE�UTILITY�WORKER�COMPUTE_ONLY_WORKER�BURSTING� CLOUD_SQLc K s� dddddddddddddddddddd�| _ ddd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )aE Initializes a new Node object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param instance_id: The value to assign to the instance_id property of this Node. :type instance_id: str :param display_name: The value to assign to the display_name property of this Node. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Node. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "STOPPED", "STOPPING", "STARTING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param node_type: The value to assign to the node_type property of this Node. Allowed values for this property are: "MASTER", "EDGE", "UTILITY", "WORKER", "COMPUTE_ONLY_WORKER", "BURSTING", "CLOUD_SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type node_type: str :param shape: The value to assign to the shape property of this Node. :type shape: str :param attached_block_volumes: The value to assign to the attached_block_volumes property of this Node. :type attached_block_volumes: list[oci.bds.models.VolumeAttachmentDetail] :param subnet_id: The value to assign to the subnet_id property of this Node. :type subnet_id: str :param ip_address: The value to assign to the ip_address property of this Node. :type ip_address: str :param hostname: The value to assign to the hostname property of this Node. :type hostname: str :param image_id: The value to assign to the image_id property of this Node. :type image_id: str :param ssh_fingerprint: The value to assign to the ssh_fingerprint property of this Node. :type ssh_fingerprint: str :param availability_domain: The value to assign to the availability_domain property of this Node. :type availability_domain: str :param fault_domain: The value to assign to the fault_domain property of this Node. :type fault_domain: str :param time_created: The value to assign to the time_created property of this Node. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Node. :type time_updated: datetime :param ocpus: The value to assign to the ocpus property of this Node. :type ocpus: int :param memory_in_gbs: The value to assign to the memory_in_gbs property of this Node. :type memory_in_gbs: int :param nvmes: The value to assign to the nvmes property of this Node. :type nvmes: int :param local_disks_total_size_in_gbs: The value to assign to the local_disks_total_size_in_gbs property of this Node. :type local_disks_total_size_in_gbs: float �strzlist[VolumeAttachmentDetail]�datetime�int�float)�instance_id�display_name�lifecycle_state� node_type�shape�attached_block_volumes� subnet_id� ip_address�hostname�image_id�ssh_fingerprint�availability_domain�fault_domain�time_created�time_updated�ocpus� memory_in_gbs�nvmes�local_disks_total_size_in_gbs� instanceId�displayName�lifecycleState�nodeTyper �attachedBlockVolumes�subnetId� ipAddressr$ �imageId�sshFingerprint�availabilityDomain�faultDomain�timeCreated�timeUpdatedr+ �memoryInGBsr- �localDisksTotalSizeInGBsN)� swagger_types� attribute_map�_instance_id� _display_name�_lifecycle_state� _node_type�_shape�_attached_block_volumes� _subnet_id�_ip_address� _hostname� _image_id�_ssh_fingerprint�_availability_domain� _fault_domain� _time_created� _time_updated�_ocpus�_memory_in_gbs�_nvmes�_local_disks_total_size_in_gbs)�self�kwargs� rU �w/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/bds/models/node.py�__init__T sv W��z Node.__init__c C s | j S )z� **[Required]** Gets the instance_id of this Node. The OCID of the underlying Oracle Cloud Infrastructure Compute instance. :return: The instance_id of this Node. :rtype: str �r@ �rS rU rU rV r � s zNode.instance_idc C s || _ dS )z� Sets the instance_id of this Node. The OCID of the underlying Oracle Cloud Infrastructure Compute instance. :param instance_id: The instance_id of this Node. :type: str NrX )rS r rU rU rV r � s c C s | j S )z� **[Required]** Gets the display_name of this Node. The name of the node. :return: The display_name of this Node. :rtype: str �rA rY rU rU rV r s zNode.display_namec C s || _ dS )z� Sets the display_name of this Node. The name of the node. :param display_name: The display_name of this Node. :type: str NrZ )rS r rU rU rV r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Node. The state of the node. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "STOPPED", "STOPPING", "STARTING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Node. :rtype: str )rB rY rU rU rV r s zNode.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Node. The state of the node. :param lifecycle_state: The lifecycle_state of this Node. :type: str ) r r r r r r r r r r �UNKNOWN_ENUM_VALUEN)r rB )rS r �allowed_valuesrU rU rV r ) s c C s | j S )a� **[Required]** Gets the node_type of this Node. Cluster node type. Allowed values for this property are: "MASTER", "EDGE", "UTILITY", "WORKER", "COMPUTE_ONLY_WORKER", "BURSTING", "CLOUD_SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The node_type of this Node. :rtype: str )rC rY rU rU rV r 8 s zNode.node_typec C s g d�}t ||�sd}|| _dS )z� Sets the node_type of this Node. Cluster node type. :param node_type: The node_type of this Node. :type: str )r r r r r r r r[ N)r rC )rS r r\ rU rU rV r G s c C s | j S )z� **[Required]** Gets the shape of this Node. Shape of the node. :return: The shape of this Node. :rtype: str �rD rY rU rU rV r V s z Node.shapec C s || _ dS )z� Sets the shape of this Node. Shape of the node. :param shape: The shape of this Node. :type: str Nr] )rS r rU rU rV r b s c C s | j S )z� Gets the attached_block_volumes of this Node. The list of block volumes attached to a given node. :return: The attached_block_volumes of this Node. :rtype: list[oci.bds.models.VolumeAttachmentDetail] �rE rY rU rU rV r! n s zNode.attached_block_volumesc C s || _ dS )a Sets the attached_block_volumes of this Node. The list of block volumes attached to a given node. :param attached_block_volumes: The attached_block_volumes of this Node. :type: list[oci.bds.models.VolumeAttachmentDetail] Nr^ )rS r! rU rU rV r! z s c C s | j S )z� **[Required]** Gets the subnet_id of this Node. The OCID of the subnet in which the node is to be created. :return: The subnet_id of this Node. :rtype: str �rF rY rU rU rV r"