You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_container_service_client_enums.py
+42-42Lines changed: 42 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -198,20 +198,20 @@ class ContainerServiceVMSizeTypes(str, Enum):
198
198
199
199
classOSDiskType(str, Enum):
200
200
201
-
managed="Managed"
202
-
ephemeral="Ephemeral"
201
+
managed="Managed"#: Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
202
+
ephemeral="Ephemeral"#: Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
203
203
204
204
205
205
classKubeletDiskType(str, Enum):
206
206
207
-
os="OS"
208
-
temporary="Temporary"
207
+
os="OS"#: Kubelet will use the OS disk for its data.
208
+
temporary="Temporary"#: Kubelet will use the temporary disk for its data.
virtual_machine_scale_sets="VirtualMachineScaleSets"#: Create an Agent Pool backed by a Virtual Machine Scale Set.
226
+
availability_set="AvailabilitySet"#: Use of this is strongly discouraged.
227
227
228
228
229
229
classAgentPoolMode(str, Enum):
230
230
231
-
system="System"
232
-
user="User"
231
+
system="System"#: System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
232
+
user="User"#: User agent pools are primarily for hosting your application pods.
233
233
234
234
235
235
classCode(str, Enum):
236
236
237
-
running="Running"
238
-
stopped="Stopped"
237
+
running="Running"#: The cluster is running.
238
+
stopped="Stopped"#: The cluster is stopped.
239
239
240
240
241
241
classScaleSetPriority(str, Enum):
242
242
243
-
spot="Spot"
244
-
regular="Regular"
243
+
spot="Spot"#: Spot priority VMs will be used. There is no SLA for spot nodes. See [spot on AKS](https://docs.microsoft.com/azure/aks/spot-node-pool) for more information.
244
+
regular="Regular"#: Regular VMs will be used.
245
245
246
246
247
247
classScaleSetEvictionPolicy(str, Enum):
248
248
249
-
delete="Delete"
250
-
deallocate="Deallocate"
249
+
delete="Delete"#: Nodes in the underlying Scale Set of the node pool are deleted when they're evicted.
250
+
deallocate="Deallocate"#: Nodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
251
251
252
252
253
253
classGPUInstanceProfile(str, Enum):
@@ -261,38 +261,38 @@ class GPUInstanceProfile(str, Enum):
261
261
262
262
classLicenseType(str, Enum):
263
263
264
-
none="None"
265
-
windows_server="Windows_Server"
264
+
none="None"#: No additional licensing is applied.
265
+
windows_server="Windows_Server"#: Enables Azure Hybrid User Benefits for Windows VMs.
266
266
267
267
268
268
classNetworkPlugin(str, Enum):
269
269
270
-
azure="azure"
271
-
kubenet="kubenet"
270
+
azure="azure"#: Use the Azure CNI network plugin. See [Azure CNI (advanced) networking](https://docs.microsoft.com/azure/aks/concepts-network#azure-cni-advanced-networking) for more information.
271
+
kubenet="kubenet"#: Use the Kubenet network plugin. See [Kubenet (basic) networking](https://docs.microsoft.com/azure/aks/concepts-network#kubenet-basic-networking) for more information.
272
272
273
273
274
274
classNetworkPolicy(str, Enum):
275
275
276
-
calico="calico"
277
-
azure="azure"
276
+
calico="calico"#: Use Calico network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information.
277
+
azure="azure"#: Use Azure network policies. See [differences between Azure and Calico policies](https://docs.microsoft.com/azure/aks/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information.
278
278
279
279
280
280
classNetworkMode(str, Enum):
281
281
282
-
transparent="transparent"
283
-
bridge="bridge"
282
+
transparent="transparent"#: No bridge is created. Intra-VM Pod to Pod communication is through IP routes created by Azure CNI. See [Transparent Mode](https://docs.microsoft.com/azure/aks/faq#transparent-mode) for more information.
283
+
bridge="bridge"#: This is no longer supported
284
284
285
285
286
286
classOutboundType(str, Enum):
287
287
288
-
load_balancer="loadBalancer"
289
-
user_defined_routing="userDefinedRouting"
288
+
load_balancer="loadBalancer"#: The load balancer is used for egress through an AKS assigned public IP. This supports Kubernetes services of type 'loadBalancer'. For more information see [outbound type loadbalancer](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-loadbalancer).
289
+
user_defined_routing="userDefinedRouting"#: Egress paths must be defined by the user. This is an advanced scenario and requires proper network configuration. For more information see [outbound type userDefinedRouting](https://docs.microsoft.com/azure/aks/egress-outboundtype#outbound-type-of-userdefinedrouting).
290
290
291
291
292
292
classLoadBalancerSku(str, Enum):
293
293
294
-
standard="standard"
295
-
basic="basic"
294
+
standard="standard"#: Use a a standard Load Balancer. This is the recommended Load Balancer SKU. For more information about on working with the load balancer in the managed cluster, see the [standard Load Balancer](https://docs.microsoft.com/azure/aks/load-balancer-standard) article.
295
+
basic="basic"#: Use a basic Load Balancer with limited functionality.
296
296
297
297
298
298
classCreatedByType(str, Enum):
@@ -324,26 +324,26 @@ class ManagedClusterPodIdentityProvisioningState(str, Enum):
324
324
325
325
classUpgradeChannel(str, Enum):
326
326
327
-
rapid="rapid"
328
-
stable="stable"
329
-
patch="patch"
330
-
node_image="node-image"
331
-
none="none"
327
+
rapid="rapid"#: Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. In cases where the cluster is at a version of Kubernetes that is at an N-2 minor version where N is the latest supported minor version, the cluster first upgrades to the latest supported patch version on N-1 minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster first is upgraded to 1.18.6, then is upgraded to 1.19.1.
328
+
stable="stable"#: Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.18.6.
329
+
patch="patch"#: Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. For example, if a cluster is running version 1.17.7 and versions 1.17.9, 1.18.4, 1.18.6, and 1.19.1 are available, your cluster is upgraded to 1.17.9.
330
+
node_image="node-image"#: Automatically upgrade the node image to the latest version available. Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available.
331
+
none="none"#: Disables auto-upgrades and keeps the cluster at its current version of Kubernetes.
332
332
333
333
334
334
classExpander(str, Enum):
335
335
336
-
least_waste="least-waste"
337
-
most_pods="most-pods"
338
-
priority="priority"
339
-
random="random"
336
+
least_waste="least-waste"#: Selects the node group that will have the least idle CPU (if tied, unused memory) after scale-up. This is useful when you have different classes of nodes, for example, high CPU or high memory nodes, and only want to expand those when there are pending pods that need a lot of those resources.
337
+
most_pods="most-pods"#: Selects the node group that would be able to schedule the most pods when scaling up. This is useful when you are using nodeSelector to make sure certain pods land on certain nodes. Note that this won't cause the autoscaler to select bigger nodes vs. smaller, as it can add multiple smaller nodes at once.
338
+
priority="priority"#: Selects the node group that has the highest priority assigned by the user. It's configuration is described in more details [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md).
339
+
random="random"#: Used when you don't have a particular need for the node groups to scale differently.
340
340
341
341
342
342
classResourceIdentityType(str, Enum):
343
343
344
-
system_assigned="SystemAssigned"
345
-
user_assigned="UserAssigned"
346
-
none="None"
344
+
system_assigned="SystemAssigned"#: Use an implicitly created system assigned managed identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the system assigned managed identity to manipulate Azure resources.
345
+
user_assigned="UserAssigned"#: Use a user-specified identity to manage cluster resources. Master components in the control plane such as kube-controller-manager will use the specified user assigned managed identity to manipulate Azure resources.
346
+
none="None"#: Do not use a managed identity for the Managed Cluster, service principal will be used instead.
347
347
348
348
349
349
classManagedClusterSKUName(str, Enum):
@@ -353,8 +353,8 @@ class ManagedClusterSKUName(str, Enum):
353
353
354
354
classManagedClusterSKUTier(str, Enum):
355
355
356
-
paid="Paid"
357
-
free="Free"
356
+
paid="Paid"#: Guarantees 99.95% availability of the Kubernetes API server endpoint for clusters that use Availability Zones and 99.9% of availability for clusters that don't use Availability Zones.
357
+
free="Free"#: No guaranteed SLA, no additional charges. Free tier clusters have an SLO of 99.5%.
0 commit comments