CreateClusterNetworkInstancePoolDetails

class oci.core.models.CreateClusterNetworkInstancePoolDetails(**kwargs)

Bases: object

The data to create an instance pool in a cluster network.

Methods

__init__(**kwargs) Initializes a new CreateClusterNetworkInstancePoolDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this CreateClusterNetworkInstancePoolDetails.
display_name Gets the display_name of this CreateClusterNetworkInstancePoolDetails.
freeform_tags Gets the freeform_tags of this CreateClusterNetworkInstancePoolDetails.
instance_configuration_id [Required] Gets the instance_configuration_id of this CreateClusterNetworkInstancePoolDetails.
size [Required] Gets the size of this CreateClusterNetworkInstancePoolDetails.
__init__(**kwargs)

Initializes a new CreateClusterNetworkInstancePoolDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateClusterNetworkInstancePoolDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateClusterNetworkInstancePoolDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateClusterNetworkInstancePoolDetails.
  • instance_configuration_id (str) – The value to assign to the instance_configuration_id property of this CreateClusterNetworkInstancePoolDetails.
  • size (int) – The value to assign to the size property of this CreateClusterNetworkInstancePoolDetails.
defined_tags

Gets the defined_tags of this CreateClusterNetworkInstancePoolDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateClusterNetworkInstancePoolDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateClusterNetworkInstancePoolDetails. A user-friendly name. Does not have to be unique. Avoid entering confidential information.

Returns:The display_name of this CreateClusterNetworkInstancePoolDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateClusterNetworkInstancePoolDetails. 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”}

Returns:The freeform_tags of this CreateClusterNetworkInstancePoolDetails.
Return type:dict(str, str)
instance_configuration_id

[Required] Gets the instance_configuration_id of this CreateClusterNetworkInstancePoolDetails. The OCID of the instance configuration associated with the instance pool.

Returns:The instance_configuration_id of this CreateClusterNetworkInstancePoolDetails.
Return type:str
size

[Required] Gets the size of this CreateClusterNetworkInstancePoolDetails. The number of instances that should be in the instance pool.

For cluster networks with 10 or more instances, the cluster network is created if the required number of instances is available and at least 95% of the instances in the pool launch successfully. For cluster networks with less than 10 instances, all instances in the pool must launch successfully. If the cluster network fails to launch, wait a few minutes, and then try creating it again.

Returns:The size of this CreateClusterNetworkInstancePoolDetails.
Return type:int