ruạṛ
a ���feF � @ 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 d� Ze dd � �Zejdd � �Ze 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%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Zd0d1� Zd2d3� Zd4d5� Zd6S )7�ClusterNetworka A cluster network is a group of high performance computing (HPC), GPU, or optimized bare metal instances that are connected with an ultra low-latency remote direct memory access (RDMA) network. `Cluster networks with instance pools`__ use instance pools to manage groups of identical instances. Use cluster networks with instance pools when you want predictable capacity for a specific number of identical instances that are managed as a group. If you want to manage instances in the RDMA network independently of each other or use different types of instances in the network group, use compute clusters instead. For details, see :class:`ComputeCluster`. __ https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm �PROVISIONING�SCALING�STARTING�STOPPING�TERMINATING�STOPPED� TERMINATED�RUNNINGc K s� ddddddddddddd�| _ d d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )av Initializes a new ClusterNetwork 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 ClusterNetwork. :type id: str :param compartment_id: The value to assign to the compartment_id property of this ClusterNetwork. :type compartment_id: str :param hpc_island_id: The value to assign to the hpc_island_id property of this ClusterNetwork. :type hpc_island_id: str :param network_block_ids: The value to assign to the network_block_ids property of this ClusterNetwork. :type network_block_ids: list[str] :param defined_tags: The value to assign to the defined_tags property of this ClusterNetwork. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ClusterNetwork. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this ClusterNetwork. :type freeform_tags: dict(str, str) :param instance_pools: The value to assign to the instance_pools property of this ClusterNetwork. :type instance_pools: list[oci.core.models.InstancePool] :param placement_configuration: The value to assign to the placement_configuration property of this ClusterNetwork. :type placement_configuration: oci.core.models.ClusterNetworkPlacementConfigurationDetails :param lifecycle_state: The value to assign to the lifecycle_state property of this ClusterNetwork. Allowed values for this property are: "PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING", '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 ClusterNetwork. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ClusterNetwork. :type time_updated: datetime �strz list[str]zdict(str, dict(str, object))zdict(str, str)zlist[InstancePool]Z+ClusterNetworkPlacementConfigurationDetailsZdatetime)�id�compartment_id� hpc_island_id�network_block_ids�defined_tags�display_name� freeform_tags�instance_pools�placement_configuration�lifecycle_state�time_created�time_updatedr Z compartmentIdZhpcIslandIdZnetworkBlockIdsZdefinedTagsZdisplayNameZfreeformTagsZ instancePoolsZplacementConfigurationZlifecycleStateZtimeCreatedZtimeUpdatedN)Z swagger_typesZ attribute_map�_id�_compartment_id�_hpc_island_id�_network_block_ids� _defined_tags� _display_name�_freeform_tags�_instance_pools�_placement_configuration�_lifecycle_state� _time_created� _time_updated)�self�kwargs� r* �C/usr/lib/python3.9/site-packages/oci/core/models/cluster_network.py�__init__= sL 9��zClusterNetwork.__init__c C s | j S )a **[Required]** Gets the id of this ClusterNetwork. The `OCID`__ of the cluster network. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this ClusterNetwork. :rtype: str �r �r( r* r* r+ r � s zClusterNetwork.idc C s || _ dS )a Sets the id of this ClusterNetwork. The `OCID`__ of the cluster network. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this ClusterNetwork. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )aB **[Required]** Gets the compartment_id of this ClusterNetwork. The `OCID`__ of the compartment containing the cluster network. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ClusterNetwork. :rtype: str �r r. r* r* r+ r � s zClusterNetwork.compartment_idc C s || _ dS )a@ Sets the compartment_id of this ClusterNetwork. The `OCID`__ of the compartment containing the cluster network. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ClusterNetwork. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )a- Gets the hpc_island_id of this ClusterNetwork. The `OCID`__ of the HPC island used by the cluster network. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The hpc_island_id of this ClusterNetwork. :rtype: str �r r. r* r* r+ r � s zClusterNetwork.hpc_island_idc C s || _ dS )a9 Sets the hpc_island_id of this ClusterNetwork. The `OCID`__ of the HPC island used by the cluster network. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param hpc_island_id: The hpc_island_id of this ClusterNetwork. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )z� Gets the network_block_ids of this ClusterNetwork. The list of network block OCIDs of the HPC island. :return: The network_block_ids of this ClusterNetwork. :rtype: list[str] �r r. r* r* r+ r � s z ClusterNetwork.network_block_idsc C s || _ dS )z� Sets the network_block_ids of this ClusterNetwork. The list of network block OCIDs of the HPC island. :param network_block_ids: The network_block_ids of this ClusterNetwork. :type: list[str] Nr1 )r( r r* r* r+ r s c C s | j S )a� Gets the defined_tags of this ClusterNetwork. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this ClusterNetwork. :rtype: dict(str, dict(str, object)) �r r. r* r* r+ r s zClusterNetwork.defined_tagsc C s || _ dS )a� Sets the defined_tags of this ClusterNetwork. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this ClusterNetwork. :type: dict(str, dict(str, object)) Nr2 )r( r r* r* r+ r s c C s | j S )a Gets the display_name of this ClusterNetwork. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this ClusterNetwork. :rtype: str �r! r. r* r* r+ r . s zClusterNetwork.display_namec C s || _ dS )a Sets the display_name of this ClusterNetwork. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this ClusterNetwork. :type: str Nr3 )r( r r* r* r+ r ; s c C s | j S )a� Gets the freeform_tags of this ClusterNetwork. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this ClusterNetwork. :rtype: dict(str, str) �r"