azure_mgmt_container_service 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  3. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  4. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  5. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  6. data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  7. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  8. data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  9. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  10. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  11. data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  12. data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  13. data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  14. data/lib/2019-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  15. data/lib/2019-08-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  16. data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  17. data/lib/2019-10-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  18. data/lib/2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  19. data/lib/2020-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  20. data/lib/2020-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  21. data/lib/2020-09-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  22. data/lib/2020-12-01/generated/azure_mgmt_container_service.rb +126 -0
  23. data/lib/2020-12-01/generated/azure_mgmt_container_service/agent_pools.rb +1054 -0
  24. data/lib/2020-12-01/generated/azure_mgmt_container_service/container_service_client.rb +157 -0
  25. data/lib/2020-12-01/generated/azure_mgmt_container_service/maintenance_configurations.rb +589 -0
  26. data/lib/2020-12-01/generated/azure_mgmt_container_service/managed_clusters.rb +2309 -0
  27. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool.rb +533 -0
  28. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
  29. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
  30. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  31. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_mode.rb +16 -0
  32. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  33. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +129 -0
  34. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
  35. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_settings.rb +47 -0
  36. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/code.rb +16 -0
  37. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/connection_status.rb +18 -0
  38. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  39. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  40. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  41. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
  42. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  43. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  44. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  45. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  46. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  47. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/created_by_type.rb +18 -0
  48. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  49. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  50. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/expander.rb +18 -0
  51. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_config.rb +174 -0
  52. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/kubelet_disk_type.rb +15 -0
  53. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/license_type.rb +16 -0
  54. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/linux_osconfig.rb +81 -0
  55. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  56. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/maintenance_configuration.rb +115 -0
  57. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/maintenance_configuration_list_result.rb +101 -0
  58. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +428 -0
  59. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +123 -0
  60. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  61. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
  62. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
  63. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +340 -0
  64. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +506 -0
  65. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +77 -0
  66. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_auto_upgrade_profile.rb +47 -0
  67. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +104 -0
  68. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_identity_user_assigned_identities_value.rb +61 -0
  69. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  70. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
  71. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
  72. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
  73. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
  74. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity.rb +98 -0
  75. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_exception.rb +77 -0
  76. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_profile.rb +89 -0
  77. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_provisioning_info.rb +49 -0
  78. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pod_identity_provisioning_state.rb +18 -0
  79. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  80. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  81. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +224 -0
  82. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
  83. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  84. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_sku.rb +60 -0
  85. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_skuname.rb +15 -0
  86. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_skutier.rb +16 -0
  87. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  88. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +84 -0
  89. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
  90. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  91. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  92. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  93. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  94. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/osdisk_type.rb +16 -0
  95. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  96. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
  97. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/power_state.rb +47 -0
  98. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint.rb +46 -0
  99. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection.rb +111 -0
  100. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_list_result.rb +55 -0
  101. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_provisioning_state.rb +18 -0
  102. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_resource.rb +111 -0
  103. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_resources_list_result.rb +55 -0
  104. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/private_link_service_connection_state.rb +59 -0
  105. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  106. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +17 -0
  107. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
  108. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
  109. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
  110. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  111. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/sysctl_config.rb +343 -0
  112. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/system_data.rb +106 -0
  113. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  114. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/time_in_week.rb +66 -0
  115. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/time_span.rb +57 -0
  116. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/upgrade_channel.rb +18 -0
  117. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
  118. data/lib/2020-12-01/generated/azure_mgmt_container_service/models/week_day.rb +21 -0
  119. data/lib/2020-12-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  120. data/lib/2020-12-01/generated/azure_mgmt_container_service/operations.rb +109 -0
  121. data/lib/2020-12-01/generated/azure_mgmt_container_service/private_endpoint_connections.rb +515 -0
  122. data/lib/2020-12-01/generated/azure_mgmt_container_service/private_link_resources.rb +132 -0
  123. data/lib/2020-12-01/generated/azure_mgmt_container_service/resolve_private_link_service_id.rb +143 -0
  124. data/lib/azure_mgmt_container_service.rb +1 -0
  125. data/lib/profiles/latest/modules/containerservice_profile_module.rb +268 -194
  126. data/lib/version.rb +1 -1
  127. metadata +104 -2
@@ -0,0 +1,533 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ContainerService::Mgmt::V2020_12_01
7
+ module Models
8
+ #
9
+ # Agent Pool.
10
+ #
11
+ class AgentPool < SubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Number of agents (VMs) to host docker containers.
16
+ # Allowed values must be in the range of 0 to 100 (inclusive) for user
17
+ # pools and in the range of 1 to 100 (inclusive) for system pools. The
18
+ # default value is 1.
19
+ attr_accessor :count
20
+
21
+ # @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
22
+ # values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
23
+ # 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
24
+ # 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
25
+ # 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
26
+ # 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
27
+ # 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
28
+ # 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
29
+ # 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
30
+ # 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
31
+ # 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
32
+ # 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
33
+ # 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
34
+ # 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
35
+ # 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
36
+ # 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
37
+ # 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
38
+ # 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
39
+ # 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
40
+ # 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
41
+ # 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
42
+ # 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
43
+ # 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
44
+ # 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
45
+ # 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
46
+ # 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
47
+ # 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
48
+ # 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
49
+ # 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
50
+ # 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
51
+ # 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
52
+ # 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
53
+ # 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
54
+ # 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
55
+ # 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
56
+ # 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
57
+ # 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
58
+ # 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
59
+ # 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
60
+ # 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
61
+ # 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
62
+ # 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
63
+ # 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
64
+ # 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
65
+ # 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
66
+ # 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
67
+ # 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
68
+ # 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
69
+ # 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
70
+ # 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
71
+ # 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
72
+ # 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
73
+ # 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
74
+ # 'Standard_NV6'
75
+ attr_accessor :vm_size
76
+
77
+ # @return [Integer] OS Disk Size in GB to be used to specify the disk
78
+ # size for every machine in this master/agent pool. If you specify 0, it
79
+ # will apply the default osDisk size according to the vmSize specified.
80
+ attr_accessor :os_disk_size_gb
81
+
82
+ # @return [OSDiskType] OS disk type to be used for machines in a given
83
+ # agent pool. Allowed values are 'Ephemeral' and 'Managed'. Defaults to
84
+ # 'Managed'. May not be changed after creation. Possible values include:
85
+ # 'Managed', 'Ephemeral'
86
+ attr_accessor :os_disk_type
87
+
88
+ # @return [KubeletDiskType] KubeletDiskType determines the placement of
89
+ # emptyDir volumes, container runtime data root, and Kubelet ephemeral
90
+ # storage. Currently allows one value, OS, resulting in Kubelet using the
91
+ # OS disk for data. Possible values include: 'OS'
92
+ attr_accessor :kubelet_disk_type
93
+
94
+ # @return [String] VNet SubnetID specifies the VNet's subnet identifier
95
+ # for nodes and maybe pods
96
+ attr_accessor :vnet_subnet_id
97
+
98
+ # @return [String] Pod SubnetID specifies the VNet's subnet identifier
99
+ # for pods.
100
+ attr_accessor :pod_subnet_id
101
+
102
+ # @return [Integer] Maximum number of pods that can run on a node.
103
+ attr_accessor :max_pods
104
+
105
+ # @return [OSType] OsType to be used to specify os type. Choose from
106
+ # Linux and Windows. Default to Linux. Possible values include: 'Linux',
107
+ # 'Windows'. Default value: 'Linux' .
108
+ attr_accessor :os_type
109
+
110
+ # @return [Integer] Maximum number of nodes for auto-scaling
111
+ attr_accessor :max_count
112
+
113
+ # @return [Integer] Minimum number of nodes for auto-scaling
114
+ attr_accessor :min_count
115
+
116
+ # @return [Boolean] Whether to enable auto-scaler
117
+ attr_accessor :enable_auto_scaling
118
+
119
+ # @return [AgentPoolType] AgentPoolType represents types of an agent
120
+ # pool. Possible values include: 'VirtualMachineScaleSets',
121
+ # 'AvailabilitySet'
122
+ attr_accessor :agent_pool_type
123
+
124
+ # @return [AgentPoolMode] AgentPoolMode represents mode of an agent pool.
125
+ # Possible values include: 'System', 'User'
126
+ attr_accessor :mode
127
+
128
+ # @return [String] Version of orchestrator specified when creating the
129
+ # managed cluster.
130
+ attr_accessor :orchestrator_version
131
+
132
+ # @return [String] Version of node image
133
+ attr_accessor :node_image_version
134
+
135
+ # @return [AgentPoolUpgradeSettings] Settings for upgrading the agentpool
136
+ attr_accessor :upgrade_settings
137
+
138
+ # @return [String] The current deployment or provisioning state, which
139
+ # only appears in the response.
140
+ attr_accessor :provisioning_state
141
+
142
+ # @return [PowerState] Describes whether the Agent Pool is Running or
143
+ # Stopped
144
+ attr_accessor :power_state
145
+
146
+ # @return [Array<String>] Availability zones for nodes. Must use
147
+ # VirtualMachineScaleSets AgentPoolType.
148
+ attr_accessor :availability_zones
149
+
150
+ # @return [Boolean] Enable public IP for nodes
151
+ attr_accessor :enable_node_public_ip
152
+
153
+ # @return [ScaleSetPriority] ScaleSetPriority to be used to specify
154
+ # virtual machine scale set priority. Default to regular. Possible values
155
+ # include: 'Spot', 'Regular'. Default value: 'Regular' .
156
+ attr_accessor :scale_set_priority
157
+
158
+ # @return [ScaleSetEvictionPolicy] ScaleSetEvictionPolicy to be used to
159
+ # specify eviction policy for Spot virtual machine scale set. Default to
160
+ # Delete. Possible values include: 'Delete', 'Deallocate'. Default value:
161
+ # 'Delete' .
162
+ attr_accessor :scale_set_eviction_policy
163
+
164
+ # @return [Float] SpotMaxPrice to be used to specify the maximum price
165
+ # you are willing to pay in US Dollars. Possible values are any decimal
166
+ # value greater than zero or -1 which indicates default price to be up-to
167
+ # on-demand.
168
+ attr_accessor :spot_max_price
169
+
170
+ # @return [Hash{String => String}] Agent pool tags to be persisted on the
171
+ # agent pool virtual machine scale set.
172
+ attr_accessor :tags
173
+
174
+ # @return [Hash{String => String}] Agent pool node labels to be persisted
175
+ # across all nodes in agent pool.
176
+ attr_accessor :node_labels
177
+
178
+ # @return [Array<String>] Taints added to new nodes during node pool
179
+ # create and scale. For example, key=value:NoSchedule.
180
+ attr_accessor :node_taints
181
+
182
+ # @return [String] The ID for Proximity Placement Group.
183
+ attr_accessor :proximity_placement_group_id
184
+
185
+ # @return [KubeletConfig] KubeletConfig specifies the configuration of
186
+ # kubelet on agent nodes.
187
+ attr_accessor :kubelet_config
188
+
189
+ # @return [LinuxOSConfig] LinuxOSConfig specifies the OS configuration of
190
+ # linux agent nodes.
191
+ attr_accessor :linux_osconfig
192
+
193
+ # @return [Boolean] Whether to enable EncryptionAtHost
194
+ attr_accessor :enable_encryption_at_host
195
+
196
+
197
+ #
198
+ # Mapper for AgentPool class as Ruby Hash.
199
+ # This will be used for serialization/deserialization.
200
+ #
201
+ def self.mapper()
202
+ {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'AgentPool',
206
+ type: {
207
+ name: 'Composite',
208
+ class_name: 'AgentPool',
209
+ model_properties: {
210
+ id: {
211
+ client_side_validation: true,
212
+ required: false,
213
+ read_only: true,
214
+ serialized_name: 'id',
215
+ type: {
216
+ name: 'String'
217
+ }
218
+ },
219
+ name: {
220
+ client_side_validation: true,
221
+ required: false,
222
+ read_only: true,
223
+ serialized_name: 'name',
224
+ type: {
225
+ name: 'String'
226
+ }
227
+ },
228
+ type: {
229
+ client_side_validation: true,
230
+ required: false,
231
+ read_only: true,
232
+ serialized_name: 'type',
233
+ type: {
234
+ name: 'String'
235
+ }
236
+ },
237
+ count: {
238
+ client_side_validation: true,
239
+ required: false,
240
+ serialized_name: 'properties.count',
241
+ type: {
242
+ name: 'Number'
243
+ }
244
+ },
245
+ vm_size: {
246
+ client_side_validation: true,
247
+ required: false,
248
+ serialized_name: 'properties.vmSize',
249
+ type: {
250
+ name: 'String'
251
+ }
252
+ },
253
+ os_disk_size_gb: {
254
+ client_side_validation: true,
255
+ required: false,
256
+ serialized_name: 'properties.osDiskSizeGB',
257
+ type: {
258
+ name: 'Number'
259
+ }
260
+ },
261
+ os_disk_type: {
262
+ client_side_validation: true,
263
+ required: false,
264
+ serialized_name: 'properties.osDiskType',
265
+ type: {
266
+ name: 'String'
267
+ }
268
+ },
269
+ kubelet_disk_type: {
270
+ client_side_validation: true,
271
+ required: false,
272
+ serialized_name: 'properties.kubeletDiskType',
273
+ type: {
274
+ name: 'String'
275
+ }
276
+ },
277
+ vnet_subnet_id: {
278
+ client_side_validation: true,
279
+ required: false,
280
+ serialized_name: 'properties.vnetSubnetID',
281
+ type: {
282
+ name: 'String'
283
+ }
284
+ },
285
+ pod_subnet_id: {
286
+ client_side_validation: true,
287
+ required: false,
288
+ serialized_name: 'properties.podSubnetID',
289
+ type: {
290
+ name: 'String'
291
+ }
292
+ },
293
+ max_pods: {
294
+ client_side_validation: true,
295
+ required: false,
296
+ serialized_name: 'properties.maxPods',
297
+ type: {
298
+ name: 'Number'
299
+ }
300
+ },
301
+ os_type: {
302
+ client_side_validation: true,
303
+ required: false,
304
+ serialized_name: 'properties.osType',
305
+ default_value: 'Linux',
306
+ type: {
307
+ name: 'String'
308
+ }
309
+ },
310
+ max_count: {
311
+ client_side_validation: true,
312
+ required: false,
313
+ serialized_name: 'properties.maxCount',
314
+ type: {
315
+ name: 'Number'
316
+ }
317
+ },
318
+ min_count: {
319
+ client_side_validation: true,
320
+ required: false,
321
+ serialized_name: 'properties.minCount',
322
+ type: {
323
+ name: 'Number'
324
+ }
325
+ },
326
+ enable_auto_scaling: {
327
+ client_side_validation: true,
328
+ required: false,
329
+ serialized_name: 'properties.enableAutoScaling',
330
+ type: {
331
+ name: 'Boolean'
332
+ }
333
+ },
334
+ agent_pool_type: {
335
+ client_side_validation: true,
336
+ required: false,
337
+ serialized_name: 'properties.type',
338
+ type: {
339
+ name: 'String'
340
+ }
341
+ },
342
+ mode: {
343
+ client_side_validation: true,
344
+ required: false,
345
+ serialized_name: 'properties.mode',
346
+ type: {
347
+ name: 'String'
348
+ }
349
+ },
350
+ orchestrator_version: {
351
+ client_side_validation: true,
352
+ required: false,
353
+ serialized_name: 'properties.orchestratorVersion',
354
+ type: {
355
+ name: 'String'
356
+ }
357
+ },
358
+ node_image_version: {
359
+ client_side_validation: true,
360
+ required: false,
361
+ read_only: true,
362
+ serialized_name: 'properties.nodeImageVersion',
363
+ type: {
364
+ name: 'String'
365
+ }
366
+ },
367
+ upgrade_settings: {
368
+ client_side_validation: true,
369
+ required: false,
370
+ serialized_name: 'properties.upgradeSettings',
371
+ type: {
372
+ name: 'Composite',
373
+ class_name: 'AgentPoolUpgradeSettings'
374
+ }
375
+ },
376
+ provisioning_state: {
377
+ client_side_validation: true,
378
+ required: false,
379
+ read_only: true,
380
+ serialized_name: 'properties.provisioningState',
381
+ type: {
382
+ name: 'String'
383
+ }
384
+ },
385
+ power_state: {
386
+ client_side_validation: true,
387
+ required: false,
388
+ read_only: true,
389
+ serialized_name: 'properties.powerState',
390
+ type: {
391
+ name: 'Composite',
392
+ class_name: 'PowerState'
393
+ }
394
+ },
395
+ availability_zones: {
396
+ client_side_validation: true,
397
+ required: false,
398
+ serialized_name: 'properties.availabilityZones',
399
+ type: {
400
+ name: 'Sequence',
401
+ element: {
402
+ client_side_validation: true,
403
+ required: false,
404
+ serialized_name: 'StringElementType',
405
+ type: {
406
+ name: 'String'
407
+ }
408
+ }
409
+ }
410
+ },
411
+ enable_node_public_ip: {
412
+ client_side_validation: true,
413
+ required: false,
414
+ serialized_name: 'properties.enableNodePublicIP',
415
+ type: {
416
+ name: 'Boolean'
417
+ }
418
+ },
419
+ scale_set_priority: {
420
+ client_side_validation: true,
421
+ required: false,
422
+ serialized_name: 'properties.scaleSetPriority',
423
+ default_value: 'Regular',
424
+ type: {
425
+ name: 'String'
426
+ }
427
+ },
428
+ scale_set_eviction_policy: {
429
+ client_side_validation: true,
430
+ required: false,
431
+ serialized_name: 'properties.scaleSetEvictionPolicy',
432
+ default_value: 'Delete',
433
+ type: {
434
+ name: 'String'
435
+ }
436
+ },
437
+ spot_max_price: {
438
+ client_side_validation: true,
439
+ required: false,
440
+ serialized_name: 'properties.spotMaxPrice',
441
+ type: {
442
+ name: 'Double'
443
+ }
444
+ },
445
+ tags: {
446
+ client_side_validation: true,
447
+ required: false,
448
+ serialized_name: 'properties.tags',
449
+ type: {
450
+ name: 'Dictionary',
451
+ value: {
452
+ client_side_validation: true,
453
+ required: false,
454
+ serialized_name: 'StringElementType',
455
+ type: {
456
+ name: 'String'
457
+ }
458
+ }
459
+ }
460
+ },
461
+ node_labels: {
462
+ client_side_validation: true,
463
+ required: false,
464
+ serialized_name: 'properties.nodeLabels',
465
+ type: {
466
+ name: 'Dictionary',
467
+ value: {
468
+ client_side_validation: true,
469
+ required: false,
470
+ serialized_name: 'StringElementType',
471
+ type: {
472
+ name: 'String'
473
+ }
474
+ }
475
+ }
476
+ },
477
+ node_taints: {
478
+ client_side_validation: true,
479
+ required: false,
480
+ serialized_name: 'properties.nodeTaints',
481
+ type: {
482
+ name: 'Sequence',
483
+ element: {
484
+ client_side_validation: true,
485
+ required: false,
486
+ serialized_name: 'StringElementType',
487
+ type: {
488
+ name: 'String'
489
+ }
490
+ }
491
+ }
492
+ },
493
+ proximity_placement_group_id: {
494
+ client_side_validation: true,
495
+ required: false,
496
+ serialized_name: 'properties.proximityPlacementGroupID',
497
+ type: {
498
+ name: 'String'
499
+ }
500
+ },
501
+ kubelet_config: {
502
+ client_side_validation: true,
503
+ required: false,
504
+ serialized_name: 'properties.kubeletConfig',
505
+ type: {
506
+ name: 'Composite',
507
+ class_name: 'KubeletConfig'
508
+ }
509
+ },
510
+ linux_osconfig: {
511
+ client_side_validation: true,
512
+ required: false,
513
+ serialized_name: 'properties.linuxOSConfig',
514
+ type: {
515
+ name: 'Composite',
516
+ class_name: 'LinuxOSConfig'
517
+ }
518
+ },
519
+ enable_encryption_at_host: {
520
+ client_side_validation: true,
521
+ required: false,
522
+ serialized_name: 'properties.enableEncryptionAtHost',
523
+ type: {
524
+ name: 'Boolean'
525
+ }
526
+ }
527
+ }
528
+ }
529
+ }
530
+ end
531
+ end
532
+ end
533
+ end