1# coding=utf-8
2# --------------------------------------------------------------------------
3# Copyright (c) Microsoft Corporation. All rights reserved.
4# Licensed under the MIT License. See License.txt in the project root for license information.
5# Code generated by Microsoft (R) AutoRest Code Generator.
6# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7# --------------------------------------------------------------------------
8
9from enum import Enum, EnumMeta
10from six import with_metaclass
11
12class _CaseInsensitiveEnumMeta(EnumMeta):
13    def __getitem__(self, name):
14        return super().__getitem__(name.upper())
15
16    def __getattr__(cls, name):
17        """Return the enum member matching `name`
18        We use __getattr__ instead of descriptors or inserting into the enum
19        class' __dict__ in order to support `name` and `value` being both
20        properties for enum members (which live in the class' __dict__) and
21        enum members themselves.
22        """
23        try:
24            return cls._member_map_[name.upper()]
25        except KeyError:
26            raise AttributeError(name)
27
28
29class AgentPoolMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
30    """AgentPoolMode represents mode of an agent pool.
31    """
32
33    SYSTEM = "System"
34    USER = "User"
35
36class AgentPoolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
37    """AgentPoolType represents types of an agent pool.
38    """
39
40    VIRTUAL_MACHINE_SCALE_SETS = "VirtualMachineScaleSets"
41    AVAILABILITY_SET = "AvailabilitySet"
42
43class Code(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
44    """Tells whether the cluster is Running or Stopped
45    """
46
47    RUNNING = "Running"
48    STOPPED = "Stopped"
49
50class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
51    """The private link service connection status.
52    """
53
54    PENDING = "Pending"
55    APPROVED = "Approved"
56    REJECTED = "Rejected"
57    DISCONNECTED = "Disconnected"
58
59class ContainerServiceStorageProfileTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
60    """Storage profile specifies what kind of storage used. Choose from StorageAccount and
61    ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice.
62    """
63
64    STORAGE_ACCOUNT = "StorageAccount"
65    MANAGED_DISKS = "ManagedDisks"
66
67class ContainerServiceVMSizeTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
68    """Size of agent VMs.
69    """
70
71    STANDARD_A1 = "Standard_A1"
72    STANDARD_A10 = "Standard_A10"
73    STANDARD_A11 = "Standard_A11"
74    STANDARD_A1_V2 = "Standard_A1_v2"
75    STANDARD_A2 = "Standard_A2"
76    STANDARD_A2_V2 = "Standard_A2_v2"
77    STANDARD_A2_M_V2 = "Standard_A2m_v2"
78    STANDARD_A3 = "Standard_A3"
79    STANDARD_A4 = "Standard_A4"
80    STANDARD_A4_V2 = "Standard_A4_v2"
81    STANDARD_A4_M_V2 = "Standard_A4m_v2"
82    STANDARD_A5 = "Standard_A5"
83    STANDARD_A6 = "Standard_A6"
84    STANDARD_A7 = "Standard_A7"
85    STANDARD_A8 = "Standard_A8"
86    STANDARD_A8_V2 = "Standard_A8_v2"
87    STANDARD_A8_M_V2 = "Standard_A8m_v2"
88    STANDARD_A9 = "Standard_A9"
89    STANDARD_B2_MS = "Standard_B2ms"
90    STANDARD_B2_S = "Standard_B2s"
91    STANDARD_B4_MS = "Standard_B4ms"
92    STANDARD_B8_MS = "Standard_B8ms"
93    STANDARD_D1 = "Standard_D1"
94    STANDARD_D11 = "Standard_D11"
95    STANDARD_D11_V2 = "Standard_D11_v2"
96    STANDARD_D11_V2_PROMO = "Standard_D11_v2_Promo"
97    STANDARD_D12 = "Standard_D12"
98    STANDARD_D12_V2 = "Standard_D12_v2"
99    STANDARD_D12_V2_PROMO = "Standard_D12_v2_Promo"
100    STANDARD_D13 = "Standard_D13"
101    STANDARD_D13_V2 = "Standard_D13_v2"
102    STANDARD_D13_V2_PROMO = "Standard_D13_v2_Promo"
103    STANDARD_D14 = "Standard_D14"
104    STANDARD_D14_V2 = "Standard_D14_v2"
105    STANDARD_D14_V2_PROMO = "Standard_D14_v2_Promo"
106    STANDARD_D15_V2 = "Standard_D15_v2"
107    STANDARD_D16_V3 = "Standard_D16_v3"
108    STANDARD_D16_S_V3 = "Standard_D16s_v3"
109    STANDARD_D1_V2 = "Standard_D1_v2"
110    STANDARD_D2 = "Standard_D2"
111    STANDARD_D2_V2 = "Standard_D2_v2"
112    STANDARD_D2_V2_PROMO = "Standard_D2_v2_Promo"
113    STANDARD_D2_V3 = "Standard_D2_v3"
114    STANDARD_D2_S_V3 = "Standard_D2s_v3"
115    STANDARD_D3 = "Standard_D3"
116    STANDARD_D32_V3 = "Standard_D32_v3"
117    STANDARD_D32_S_V3 = "Standard_D32s_v3"
118    STANDARD_D3_V2 = "Standard_D3_v2"
119    STANDARD_D3_V2_PROMO = "Standard_D3_v2_Promo"
120    STANDARD_D4 = "Standard_D4"
121    STANDARD_D4_V2 = "Standard_D4_v2"
122    STANDARD_D4_V2_PROMO = "Standard_D4_v2_Promo"
123    STANDARD_D4_V3 = "Standard_D4_v3"
124    STANDARD_D4_S_V3 = "Standard_D4s_v3"
125    STANDARD_D5_V2 = "Standard_D5_v2"
126    STANDARD_D5_V2_PROMO = "Standard_D5_v2_Promo"
127    STANDARD_D64_V3 = "Standard_D64_v3"
128    STANDARD_D64_S_V3 = "Standard_D64s_v3"
129    STANDARD_D8_V3 = "Standard_D8_v3"
130    STANDARD_D8_S_V3 = "Standard_D8s_v3"
131    STANDARD_DS1 = "Standard_DS1"
132    STANDARD_DS11 = "Standard_DS11"
133    STANDARD_DS11_V2 = "Standard_DS11_v2"
134    STANDARD_DS11_V2_PROMO = "Standard_DS11_v2_Promo"
135    STANDARD_DS12 = "Standard_DS12"
136    STANDARD_DS12_V2 = "Standard_DS12_v2"
137    STANDARD_DS12_V2_PROMO = "Standard_DS12_v2_Promo"
138    STANDARD_DS13 = "Standard_DS13"
139    STANDARD_DS13_2_V2 = "Standard_DS13-2_v2"
140    STANDARD_DS13_4_V2 = "Standard_DS13-4_v2"
141    STANDARD_DS13_V2 = "Standard_DS13_v2"
142    STANDARD_DS13_V2_PROMO = "Standard_DS13_v2_Promo"
143    STANDARD_DS14 = "Standard_DS14"
144    STANDARD_DS14_4_V2 = "Standard_DS14-4_v2"
145    STANDARD_DS14_8_V2 = "Standard_DS14-8_v2"
146    STANDARD_DS14_V2 = "Standard_DS14_v2"
147    STANDARD_DS14_V2_PROMO = "Standard_DS14_v2_Promo"
148    STANDARD_DS15_V2 = "Standard_DS15_v2"
149    STANDARD_DS1_V2 = "Standard_DS1_v2"
150    STANDARD_DS2 = "Standard_DS2"
151    STANDARD_DS2_V2 = "Standard_DS2_v2"
152    STANDARD_DS2_V2_PROMO = "Standard_DS2_v2_Promo"
153    STANDARD_DS3 = "Standard_DS3"
154    STANDARD_DS3_V2 = "Standard_DS3_v2"
155    STANDARD_DS3_V2_PROMO = "Standard_DS3_v2_Promo"
156    STANDARD_DS4 = "Standard_DS4"
157    STANDARD_DS4_V2 = "Standard_DS4_v2"
158    STANDARD_DS4_V2_PROMO = "Standard_DS4_v2_Promo"
159    STANDARD_DS5_V2 = "Standard_DS5_v2"
160    STANDARD_DS5_V2_PROMO = "Standard_DS5_v2_Promo"
161    STANDARD_E16_V3 = "Standard_E16_v3"
162    STANDARD_E16_S_V3 = "Standard_E16s_v3"
163    STANDARD_E2_V3 = "Standard_E2_v3"
164    STANDARD_E2_S_V3 = "Standard_E2s_v3"
165    STANDARD_E32_16_S_V3 = "Standard_E32-16s_v3"
166    STANDARD_E32_8_S_V3 = "Standard_E32-8s_v3"
167    STANDARD_E32_V3 = "Standard_E32_v3"
168    STANDARD_E32_S_V3 = "Standard_E32s_v3"
169    STANDARD_E4_V3 = "Standard_E4_v3"
170    STANDARD_E4_S_V3 = "Standard_E4s_v3"
171    STANDARD_E64_16_S_V3 = "Standard_E64-16s_v3"
172    STANDARD_E64_32_S_V3 = "Standard_E64-32s_v3"
173    STANDARD_E64_V3 = "Standard_E64_v3"
174    STANDARD_E64_S_V3 = "Standard_E64s_v3"
175    STANDARD_E8_V3 = "Standard_E8_v3"
176    STANDARD_E8_S_V3 = "Standard_E8s_v3"
177    STANDARD_F1 = "Standard_F1"
178    STANDARD_F16 = "Standard_F16"
179    STANDARD_F16_S = "Standard_F16s"
180    STANDARD_F16_S_V2 = "Standard_F16s_v2"
181    STANDARD_F1_S = "Standard_F1s"
182    STANDARD_F2 = "Standard_F2"
183    STANDARD_F2_S = "Standard_F2s"
184    STANDARD_F2_S_V2 = "Standard_F2s_v2"
185    STANDARD_F32_S_V2 = "Standard_F32s_v2"
186    STANDARD_F4 = "Standard_F4"
187    STANDARD_F4_S = "Standard_F4s"
188    STANDARD_F4_S_V2 = "Standard_F4s_v2"
189    STANDARD_F64_S_V2 = "Standard_F64s_v2"
190    STANDARD_F72_S_V2 = "Standard_F72s_v2"
191    STANDARD_F8 = "Standard_F8"
192    STANDARD_F8_S = "Standard_F8s"
193    STANDARD_F8_S_V2 = "Standard_F8s_v2"
194    STANDARD_G1 = "Standard_G1"
195    STANDARD_G2 = "Standard_G2"
196    STANDARD_G3 = "Standard_G3"
197    STANDARD_G4 = "Standard_G4"
198    STANDARD_G5 = "Standard_G5"
199    STANDARD_GS1 = "Standard_GS1"
200    STANDARD_GS2 = "Standard_GS2"
201    STANDARD_GS3 = "Standard_GS3"
202    STANDARD_GS4 = "Standard_GS4"
203    STANDARD_GS4_4 = "Standard_GS4-4"
204    STANDARD_GS4_8 = "Standard_GS4-8"
205    STANDARD_GS5 = "Standard_GS5"
206    STANDARD_GS5_16 = "Standard_GS5-16"
207    STANDARD_GS5_8 = "Standard_GS5-8"
208    STANDARD_H16 = "Standard_H16"
209    STANDARD_H16_M = "Standard_H16m"
210    STANDARD_H16_MR = "Standard_H16mr"
211    STANDARD_H16_R = "Standard_H16r"
212    STANDARD_H8 = "Standard_H8"
213    STANDARD_H8_M = "Standard_H8m"
214    STANDARD_L16_S = "Standard_L16s"
215    STANDARD_L32_S = "Standard_L32s"
216    STANDARD_L4_S = "Standard_L4s"
217    STANDARD_L8_S = "Standard_L8s"
218    STANDARD_M128_32_MS = "Standard_M128-32ms"
219    STANDARD_M128_64_MS = "Standard_M128-64ms"
220    STANDARD_M128_MS = "Standard_M128ms"
221    STANDARD_M128_S = "Standard_M128s"
222    STANDARD_M64_16_MS = "Standard_M64-16ms"
223    STANDARD_M64_32_MS = "Standard_M64-32ms"
224    STANDARD_M64_MS = "Standard_M64ms"
225    STANDARD_M64_S = "Standard_M64s"
226    STANDARD_NC12 = "Standard_NC12"
227    STANDARD_NC12_S_V2 = "Standard_NC12s_v2"
228    STANDARD_NC12_S_V3 = "Standard_NC12s_v3"
229    STANDARD_NC24 = "Standard_NC24"
230    STANDARD_NC24_R = "Standard_NC24r"
231    STANDARD_NC24_RS_V2 = "Standard_NC24rs_v2"
232    STANDARD_NC24_RS_V3 = "Standard_NC24rs_v3"
233    STANDARD_NC24_S_V2 = "Standard_NC24s_v2"
234    STANDARD_NC24_S_V3 = "Standard_NC24s_v3"
235    STANDARD_NC6 = "Standard_NC6"
236    STANDARD_NC6_S_V2 = "Standard_NC6s_v2"
237    STANDARD_NC6_S_V3 = "Standard_NC6s_v3"
238    STANDARD_ND12_S = "Standard_ND12s"
239    STANDARD_ND24_RS = "Standard_ND24rs"
240    STANDARD_ND24_S = "Standard_ND24s"
241    STANDARD_ND6_S = "Standard_ND6s"
242    STANDARD_NV12 = "Standard_NV12"
243    STANDARD_NV24 = "Standard_NV24"
244    STANDARD_NV6 = "Standard_NV6"
245
246class Count(with_metaclass(_CaseInsensitiveEnumMeta, int, Enum)):
247    """Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The
248    default value is 1.
249    """
250
251    ONE = 1
252    THREE = 3
253    FIVE = 5
254
255class Expander(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
256
257    LEAST_WASTE = "least-waste"
258    MOST_PODS = "most-pods"
259    RANDOM = "random"
260
261class LicenseType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
262    """The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User
263    Benefits for Windows VMs.
264    """
265
266    NONE = "None"
267    WINDOWS_SERVER = "Windows_Server"
268
269class LoadBalancerSku(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
270    """The load balancer sku for the managed cluster.
271    """
272
273    STANDARD = "standard"
274    BASIC = "basic"
275
276class ManagedClusterSKUName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
277    """Name of a managed cluster SKU.
278    """
279
280    BASIC = "Basic"
281
282class ManagedClusterSKUTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
283    """Tier of a managed cluster SKU.
284    """
285
286    PAID = "Paid"
287    FREE = "Free"
288
289class NetworkMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
290    """Network mode used for building Kubernetes network.
291    """
292
293    TRANSPARENT = "transparent"
294    BRIDGE = "bridge"
295
296class NetworkPlugin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
297    """Network plugin used for building Kubernetes network.
298    """
299
300    AZURE = "azure"
301    KUBENET = "kubenet"
302
303class NetworkPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
304    """Network policy used for building Kubernetes network.
305    """
306
307    CALICO = "calico"
308    AZURE = "azure"
309
310class OSDiskType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
311    """OSDiskType represents the type of an OS disk on an agent pool.
312    """
313
314    MANAGED = "Managed"
315    EPHEMERAL = "Ephemeral"
316
317class OSType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
318    """OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
319    """
320
321    LINUX = "Linux"
322    WINDOWS = "Windows"
323
324class OutboundType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
325    """The outbound (egress) routing method.
326    """
327
328    LOAD_BALANCER = "loadBalancer"
329    USER_DEFINED_ROUTING = "userDefinedRouting"
330
331class PrivateEndpointConnectionProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
332    """The current provisioning state.
333    """
334
335    SUCCEEDED = "Succeeded"
336    CREATING = "Creating"
337    DELETING = "Deleting"
338    FAILED = "Failed"
339
340class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
341    """The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly
342    created identity in master components and an auto-created user assigned identity in MC_
343    resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service
344    principal will be used instead.
345    """
346
347    SYSTEM_ASSIGNED = "SystemAssigned"
348    USER_ASSIGNED = "UserAssigned"
349    NONE = "None"
350
351class ScaleSetEvictionPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
352    """ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale
353    set. Default to Delete.
354    """
355
356    DELETE = "Delete"
357    DEALLOCATE = "Deallocate"
358
359class ScaleSetPriority(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
360    """ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
361    """
362
363    SPOT = "Spot"
364    REGULAR = "Regular"
365