VirtualNodePoolSummary¶
- class oci.container_engine.models.VirtualNodePoolSummary(**kwargs)¶
Bases:
objectThe properties that define a virtual node pool summary.
Attributes:
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
A constant which can be used with the lifecycle_state property of a VirtualNodePoolSummary.
[Required] Gets the cluster_id of this VirtualNodePoolSummary.
[Required] Gets the compartment_id of this VirtualNodePoolSummary.
Gets the defined_tags of this VirtualNodePoolSummary.
[Required] Gets the display_name of this VirtualNodePoolSummary.
Gets the freeform_tags of this VirtualNodePoolSummary.
[Required] Gets the id of this VirtualNodePoolSummary.
Gets the initial_virtual_node_labels of this VirtualNodePoolSummary.
[Required] Gets the kubernetes_version of this VirtualNodePoolSummary.
Gets the lifecycle_details of this VirtualNodePoolSummary.
Gets the lifecycle_state of this VirtualNodePoolSummary.
Gets the nsg_ids of this VirtualNodePoolSummary.
[Required] Gets the placement_configurations of this VirtualNodePoolSummary.
[Required] Gets the pod_configuration of this VirtualNodePoolSummary.
[Required] Gets the size of this VirtualNodePoolSummary.
Gets the system_tags of this VirtualNodePoolSummary.
Gets the taints of this VirtualNodePoolSummary.
Gets the time_created of this VirtualNodePoolSummary.
Gets the time_updated of this VirtualNodePoolSummary.
Gets the virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
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.
virtual_node_pool_cycling_details (oci.container_engine.models.VirtualNodePoolCyclingDetails) – The value to assign to the virtual_node_pool_cycling_details property of this VirtualNodePoolSummary.
- property 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
- property 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
- property defined_tags¶
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))
- property 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
- property freeform_tags¶
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)
- property id¶
[Required] Gets the id of this VirtualNodePoolSummary. The OCID of the virtual node pool.
- Returns
The id of this VirtualNodePoolSummary.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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]
- property 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
- property pod_configuration¶
[Required] 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
- property size¶
[Required] 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
- property system_tags¶
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))
- property 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
- property 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
- property 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
- property virtual_node_pool_cycling_details¶
Gets the virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
- Returns
The virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
- Return type
- property virtual_node_tags¶
Gets the virtual_node_tags of this VirtualNodePoolSummary.
- Returns
The virtual_node_tags of this VirtualNodePoolSummary.
- Return type