azure_mgmt_container_service 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) 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-03-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
  4. data/lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
  5. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  6. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
  7. data/lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
  8. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  9. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +1 -1
  10. data/lib/2017-01-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +1 -1
  11. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  12. data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +2 -2
  13. data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
  14. data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
  15. data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  16. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +2 -2
  17. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
  18. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
  19. data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +1 -1
  20. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  21. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_services.rb +3 -3
  22. data/lib/2018-03-31/generated/azure_mgmt_container_service.rb +13 -12
  23. data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  24. data/lib/2018-03-31/generated/azure_mgmt_container_service/managed_clusters.rb +503 -0
  25. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +1 -1
  26. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +2 -2
  27. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  28. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  29. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +5 -5
  30. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +1 -1
  31. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +7 -49
  32. data/lib/2018-03-31/generated/azure_mgmt_container_service/models/{container_service_service_principal_profile.rb → managed_cluster_service_principal_profile.rb} +5 -19
  33. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service.rb +59 -0
  34. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +137 -0
  35. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
  36. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  37. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  38. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  39. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  40. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
  41. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  42. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  43. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  44. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  45. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  46. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
  47. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  48. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  49. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster.rb +255 -0
  50. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  51. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  52. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  53. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +224 -0
  54. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  55. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
  56. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  57. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  58. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  59. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/network_policy.rb +15 -0
  60. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  61. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  62. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
  63. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  64. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  65. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  66. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  67. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/operations.rb +107 -0
  68. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service.rb +44 -0
  69. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
  70. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/network_profile.rb +59 -0
  71. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
  72. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
  73. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +227 -0
  74. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +84 -0
  75. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
  76. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
  77. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
  78. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
  79. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
  80. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
  81. data/lib/{2018-03-31/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb → 2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb} +21 -20
  82. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  83. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
  84. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  85. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  86. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  87. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1052 -0
  88. data/lib/2019-02-01/generated/azure_mgmt_container_service.rb +64 -0
  89. data/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb +680 -0
  90. data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +141 -0
  91. data/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
  92. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool.rb +284 -0
  93. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  94. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  95. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  96. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  97. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  98. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
  99. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  100. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  101. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  102. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  103. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  104. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
  105. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  106. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  107. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +287 -0
  108. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  109. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  110. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  111. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +169 -0
  112. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +257 -0
  113. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  114. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
  115. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  116. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  117. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  118. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  119. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  120. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  121. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
  122. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  123. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  124. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  125. data/lib/2019-02-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  126. data/lib/2019-02-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  127. data/lib/2019-02-01/generated/azure_mgmt_container_service/operations.rb +107 -0
  128. data/lib/azure_mgmt_container_service.rb +3 -0
  129. data/lib/profiles/latest/modules/containerservice_profile_module.rb +179 -83
  130. data/lib/version.rb +1 -1
  131. metadata +100 -4
@@ -0,0 +1,66 @@
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::V2019_02_01
7
+ module Models
8
+ #
9
+ # A Kubernetes add-on profile for a managed cluster.
10
+ #
11
+ class ManagedClusterAddonProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Whether the add-on is enabled or not.
16
+ attr_accessor :enabled
17
+
18
+ # @return [Hash{String => String}] Key-value pairs for configuring an
19
+ # add-on.
20
+ attr_accessor :config
21
+
22
+
23
+ #
24
+ # Mapper for ManagedClusterAddonProfile class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'ManagedClusterAddonProfile',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ManagedClusterAddonProfile',
35
+ model_properties: {
36
+ enabled: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'enabled',
40
+ type: {
41
+ name: 'Boolean'
42
+ }
43
+ },
44
+ config: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'config',
48
+ type: {
49
+ name: 'Dictionary',
50
+ value: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ serialized_name: 'StringElementType',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,169 @@
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::V2019_02_01
7
+ module Models
8
+ #
9
+ # Profile for the container service agent pool.
10
+ #
11
+ class ManagedClusterAgentPoolProfile < ManagedClusterAgentPoolProfileProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Unique name of the agent pool profile in the context
16
+ # of the subscription and resource group.
17
+ attr_accessor :name
18
+
19
+
20
+ #
21
+ # Mapper for ManagedClusterAgentPoolProfile class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'ManagedClusterAgentPoolProfile',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ManagedClusterAgentPoolProfile',
32
+ model_properties: {
33
+ count: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'count',
37
+ default_value: 1,
38
+ constraints: {
39
+ InclusiveMaximum: 100,
40
+ InclusiveMinimum: 1
41
+ },
42
+ type: {
43
+ name: 'Number'
44
+ }
45
+ },
46
+ vm_size: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'vmSize',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ os_disk_size_gb: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'osDiskSizeGB',
58
+ type: {
59
+ name: 'Number'
60
+ }
61
+ },
62
+ vnet_subnet_id: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'vnetSubnetID',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ max_pods: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'maxPods',
74
+ type: {
75
+ name: 'Number'
76
+ }
77
+ },
78
+ os_type: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'osType',
82
+ default_value: 'Linux',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ max_count: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'maxCount',
91
+ type: {
92
+ name: 'Number'
93
+ }
94
+ },
95
+ min_count: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'minCount',
99
+ type: {
100
+ name: 'Number'
101
+ }
102
+ },
103
+ enable_auto_scaling: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ serialized_name: 'enableAutoScaling',
107
+ type: {
108
+ name: 'Boolean'
109
+ }
110
+ },
111
+ type: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'type',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ orchestrator_version: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'orchestratorVersion',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ provisioning_state: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'provisioningState',
132
+ type: {
133
+ name: 'String'
134
+ }
135
+ },
136
+ availability_zones: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'availabilityZones',
140
+ type: {
141
+ name: 'Sequence',
142
+ element: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'StringElementType',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ }
150
+ }
151
+ },
152
+ name: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ serialized_name: 'name',
156
+ constraints: {
157
+ Pattern: '^[a-z][a-z0-9]{0,11}$'
158
+ },
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ end
167
+ end
168
+ end
169
+ end
@@ -0,0 +1,257 @@
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::V2019_02_01
7
+ module Models
8
+ #
9
+ # Properties for the container service agent pool profile.
10
+ #
11
+ class ManagedClusterAgentPoolProfileProperties
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 1 to 100 (inclusive). The
17
+ # default value is 1. . Default value: 1 .
18
+ attr_accessor :count
19
+
20
+ # @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
21
+ # values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
22
+ # 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
23
+ # 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
24
+ # 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
25
+ # 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
26
+ # 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
27
+ # 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
28
+ # 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
29
+ # 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
30
+ # 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
31
+ # 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
32
+ # 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
33
+ # 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
34
+ # 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
35
+ # 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
36
+ # 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
37
+ # 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
38
+ # 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
39
+ # 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
40
+ # 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
41
+ # 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
42
+ # 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
43
+ # 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
44
+ # 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
45
+ # 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
46
+ # 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
47
+ # 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
48
+ # 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
49
+ # 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
50
+ # 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
51
+ # 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
52
+ # 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
53
+ # 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
54
+ # 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
55
+ # 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
56
+ # 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
57
+ # 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
58
+ # 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
59
+ # 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
60
+ # 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
61
+ # 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
62
+ # 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
63
+ # 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
64
+ # 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
65
+ # 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
66
+ # 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
67
+ # 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
68
+ # 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
69
+ # 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
70
+ # 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
71
+ # 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
72
+ # 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
73
+ # 'Standard_NV6'
74
+ attr_accessor :vm_size
75
+
76
+ # @return [Integer] OS Disk Size in GB to be used to specify the disk
77
+ # size for every machine in this master/agent pool. If you specify 0, it
78
+ # will apply the default osDisk size according to the vmSize specified.
79
+ attr_accessor :os_disk_size_gb
80
+
81
+ # @return [String] VNet SubnetID specifies the VNet's subnet identifier.
82
+ attr_accessor :vnet_subnet_id
83
+
84
+ # @return [Integer] Maximum number of pods that can run on a node.
85
+ attr_accessor :max_pods
86
+
87
+ # @return [OSType] OsType to be used to specify os type. Choose from
88
+ # Linux and Windows. Default to Linux. Possible values include: 'Linux',
89
+ # 'Windows'. Default value: 'Linux' .
90
+ attr_accessor :os_type
91
+
92
+ # @return [Integer] Maximum number of nodes for auto-scaling
93
+ attr_accessor :max_count
94
+
95
+ # @return [Integer] Minimum number of nodes for auto-scaling
96
+ attr_accessor :min_count
97
+
98
+ # @return [Boolean] Whether to enable auto-scaler
99
+ attr_accessor :enable_auto_scaling
100
+
101
+ # @return [AgentPoolType] AgentPoolType represents types of an agent
102
+ # pool. Possible values include: 'VirtualMachineScaleSets',
103
+ # 'AvailabilitySet'
104
+ attr_accessor :type
105
+
106
+ # @return [String] Version of orchestrator specified when creating the
107
+ # managed cluster.
108
+ attr_accessor :orchestrator_version
109
+
110
+ # @return [String] The current deployment or provisioning state, which
111
+ # only appears in the response.
112
+ attr_accessor :provisioning_state
113
+
114
+ # @return [Array<String>] (PREVIEW) Availability zones for nodes. Must
115
+ # use VirtualMachineScaleSets AgentPoolType.
116
+ attr_accessor :availability_zones
117
+
118
+
119
+ #
120
+ # Mapper for ManagedClusterAgentPoolProfileProperties class as Ruby Hash.
121
+ # This will be used for serialization/deserialization.
122
+ #
123
+ def self.mapper()
124
+ {
125
+ client_side_validation: true,
126
+ required: false,
127
+ serialized_name: 'ManagedClusterAgentPoolProfileProperties',
128
+ type: {
129
+ name: 'Composite',
130
+ class_name: 'ManagedClusterAgentPoolProfileProperties',
131
+ model_properties: {
132
+ count: {
133
+ client_side_validation: true,
134
+ required: true,
135
+ serialized_name: 'count',
136
+ default_value: 1,
137
+ constraints: {
138
+ InclusiveMaximum: 100,
139
+ InclusiveMinimum: 1
140
+ },
141
+ type: {
142
+ name: 'Number'
143
+ }
144
+ },
145
+ vm_size: {
146
+ client_side_validation: true,
147
+ required: true,
148
+ serialized_name: 'vmSize',
149
+ type: {
150
+ name: 'String'
151
+ }
152
+ },
153
+ os_disk_size_gb: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'osDiskSizeGB',
157
+ type: {
158
+ name: 'Number'
159
+ }
160
+ },
161
+ vnet_subnet_id: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'vnetSubnetID',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ max_pods: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'maxPods',
173
+ type: {
174
+ name: 'Number'
175
+ }
176
+ },
177
+ os_type: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ serialized_name: 'osType',
181
+ default_value: 'Linux',
182
+ type: {
183
+ name: 'String'
184
+ }
185
+ },
186
+ max_count: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ serialized_name: 'maxCount',
190
+ type: {
191
+ name: 'Number'
192
+ }
193
+ },
194
+ min_count: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ serialized_name: 'minCount',
198
+ type: {
199
+ name: 'Number'
200
+ }
201
+ },
202
+ enable_auto_scaling: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'enableAutoScaling',
206
+ type: {
207
+ name: 'Boolean'
208
+ }
209
+ },
210
+ type: {
211
+ client_side_validation: true,
212
+ required: false,
213
+ serialized_name: 'type',
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
218
+ orchestrator_version: {
219
+ client_side_validation: true,
220
+ required: false,
221
+ serialized_name: 'orchestratorVersion',
222
+ type: {
223
+ name: 'String'
224
+ }
225
+ },
226
+ provisioning_state: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ read_only: true,
230
+ serialized_name: 'provisioningState',
231
+ type: {
232
+ name: 'String'
233
+ }
234
+ },
235
+ availability_zones: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ serialized_name: 'availabilityZones',
239
+ type: {
240
+ name: 'Sequence',
241
+ element: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ serialized_name: 'StringElementType',
245
+ type: {
246
+ name: 'String'
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ }
253
+ }
254
+ end
255
+ end
256
+ end
257
+ end