VirtualNodePoolSummary¶
-
class
oci.container_engine.models.
VirtualNodePoolSummary
(**kwargs)¶ Bases:
object
The properties that define a virtual node pool summary.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. cluster_id
[Required] Gets the cluster_id of this VirtualNodePoolSummary. compartment_id
[Required] Gets the compartment_id of this VirtualNodePoolSummary. defined_tags
Gets the defined_tags of this VirtualNodePoolSummary. display_name
[Required] Gets the display_name of this VirtualNodePoolSummary. freeform_tags
Gets the freeform_tags of this VirtualNodePoolSummary. id
[Required] Gets the id of this VirtualNodePoolSummary. initial_virtual_node_labels
Gets the initial_virtual_node_labels of this VirtualNodePoolSummary. kubernetes_version
[Required] Gets the kubernetes_version of this VirtualNodePoolSummary. lifecycle_details
Gets the lifecycle_details of this VirtualNodePoolSummary. lifecycle_state
Gets the lifecycle_state of this VirtualNodePoolSummary. nsg_ids
Gets the nsg_ids of this VirtualNodePoolSummary. placement_configurations
[Required] Gets the placement_configurations of this VirtualNodePoolSummary. pod_configuration
Gets the pod_configuration of this VirtualNodePoolSummary. size
Gets the size of this VirtualNodePoolSummary. system_tags
Gets the system_tags of this VirtualNodePoolSummary. taints
Gets the taints of this VirtualNodePoolSummary. time_created
Gets the time_created of this VirtualNodePoolSummary. time_updated
Gets the time_updated of this VirtualNodePoolSummary. virtual_node_tags
Gets the virtual_node_tags of this VirtualNodePoolSummary. Methods
__init__
(**kwargs)Initializes a new VirtualNodePoolSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “NEEDS_ATTENTION”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new VirtualNodePoolSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this VirtualNodePoolSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this VirtualNodePoolSummary.
- cluster_id (str) – The value to assign to the cluster_id property of this VirtualNodePoolSummary.
- display_name (str) – The value to assign to the display_name property of this VirtualNodePoolSummary.
- kubernetes_version (str) – The value to assign to the kubernetes_version property of this VirtualNodePoolSummary.
- initial_virtual_node_labels (list[oci.container_engine.models.InitialVirtualNodeLabel]) – The value to assign to the initial_virtual_node_labels property of this VirtualNodePoolSummary.
- taints (list[oci.container_engine.models.Taint]) – The value to assign to the taints property of this VirtualNodePoolSummary.
- size (int) – The value to assign to the size property of this VirtualNodePoolSummary.
- placement_configurations (list[oci.container_engine.models.PlacementConfiguration]) – The value to assign to the placement_configurations property of this VirtualNodePoolSummary.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this VirtualNodePoolSummary.
- pod_configuration (oci.container_engine.models.PodConfiguration) – The value to assign to the pod_configuration property of this VirtualNodePoolSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this VirtualNodePoolSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this VirtualNodePoolSummary.
- time_created (datetime) – The value to assign to the time_created property of this VirtualNodePoolSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this VirtualNodePoolSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this VirtualNodePoolSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this VirtualNodePoolSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this VirtualNodePoolSummary.
- virtual_node_tags (oci.container_engine.models.VirtualNodeTags) – The value to assign to the virtual_node_tags property of this VirtualNodePoolSummary.
-
cluster_id
¶ [Required] Gets the cluster_id of this VirtualNodePoolSummary. The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
Returns: The cluster_id of this VirtualNodePoolSummary. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this VirtualNodePoolSummary. Compartment of the virtual node pool.
Returns: The compartment_id of this VirtualNodePoolSummary. Return type: str
Gets the defined_tags of this VirtualNodePoolSummary. 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 VirtualNodePoolSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this VirtualNodePoolSummary. Display name of the virtual node pool. This is a non-unique value.
Returns: The display_name of this VirtualNodePoolSummary. Return type: str
Gets the freeform_tags of this VirtualNodePoolSummary. 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 VirtualNodePoolSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this VirtualNodePoolSummary. The OCID of the virtual node pool.
Returns: The id of this VirtualNodePoolSummary. Return type: str
-
initial_virtual_node_labels
¶ Gets the initial_virtual_node_labels of this VirtualNodePoolSummary. Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources.
Returns: The initial_virtual_node_labels of this VirtualNodePoolSummary. Return type: list[oci.container_engine.models.InitialVirtualNodeLabel]
-
kubernetes_version
¶ [Required] Gets the kubernetes_version of this VirtualNodePoolSummary. The version of Kubernetes running on the nodes in the node pool.
Returns: The kubernetes_version of this VirtualNodePoolSummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this VirtualNodePoolSummary. Details about the state of the Virtual Node Pool.
Returns: The lifecycle_details of this VirtualNodePoolSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this VirtualNodePoolSummary. The state of the Virtual Node Pool.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this VirtualNodePoolSummary. Return type: str
-
nsg_ids
¶ Gets the nsg_ids of this VirtualNodePoolSummary. List of network security group id’s applied to the Virtual Node VNIC.
Returns: The nsg_ids of this VirtualNodePoolSummary. Return type: list[str]
-
placement_configurations
¶ [Required] Gets the placement_configurations of this VirtualNodePoolSummary. The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
Returns: The placement_configurations of this VirtualNodePoolSummary. Return type: list[oci.container_engine.models.PlacementConfiguration]
-
pod_configuration
¶ Gets the pod_configuration of this VirtualNodePoolSummary. The pod configuration for pods run on virtual nodes of this virtual node pool.
Returns: The pod_configuration of this VirtualNodePoolSummary. Return type: oci.container_engine.models.PodConfiguration
-
size
¶ Gets the size of this VirtualNodePoolSummary. The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
Returns: The size of this VirtualNodePoolSummary. Return type: int
Gets the system_tags of this VirtualNodePoolSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this VirtualNodePoolSummary. Return type: dict(str, dict(str, object))
-
taints
¶ Gets the taints of this VirtualNodePoolSummary. A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
Returns: The taints of this VirtualNodePoolSummary. Return type: list[oci.container_engine.models.Taint]
-
time_created
¶ Gets the time_created of this VirtualNodePoolSummary. The time the virtual node pool was created.
Returns: The time_created of this VirtualNodePoolSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this VirtualNodePoolSummary. The time the virtual node pool was updated.
Returns: The time_updated of this VirtualNodePoolSummary. Return type: datetime
Gets the virtual_node_tags of this VirtualNodePoolSummary.
Returns: The virtual_node_tags of this VirtualNodePoolSummary. Return type: oci.container_engine.models.VirtualNodeTags
-