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,224 @@
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::V2018_08_01_preview
7
+ module Models
8
+ #
9
+ # Profile for the container service agent pool.
10
+ #
11
+ class ManagedClusterAgentPoolProfile
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
+ # @return [Integer] Number of agents (VMs) to host docker containers.
20
+ # Allowed values must be in the range of 1 to 100 (inclusive). The
21
+ # default value is 1. . Default value: 1 .
22
+ attr_accessor :count
23
+
24
+ # @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
25
+ # values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
26
+ # 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
27
+ # 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
28
+ # 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
29
+ # 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
30
+ # 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
31
+ # 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
32
+ # 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
33
+ # 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
34
+ # 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
35
+ # 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
36
+ # 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
37
+ # 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
38
+ # 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
39
+ # 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
40
+ # 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
41
+ # 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
42
+ # 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
43
+ # 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
44
+ # 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
45
+ # 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
46
+ # 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
47
+ # 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
48
+ # 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
49
+ # 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
50
+ # 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
51
+ # 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
52
+ # 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
53
+ # 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
54
+ # 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
55
+ # 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
56
+ # 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
57
+ # 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
58
+ # 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
59
+ # 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
60
+ # 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
61
+ # 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
62
+ # 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
63
+ # 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
64
+ # 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
65
+ # 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
66
+ # 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
67
+ # 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
68
+ # 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
69
+ # 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
70
+ # 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
71
+ # 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
72
+ # 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
73
+ # 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
74
+ # 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
75
+ # 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
76
+ # 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
77
+ # 'Standard_NV6'
78
+ attr_accessor :vm_size
79
+
80
+ # @return [Integer] OS Disk Size in GB to be used to specify the disk
81
+ # size for every machine in this master/agent pool. If you specify 0, it
82
+ # will apply the default osDisk size according to the vmSize specified.
83
+ attr_accessor :os_disk_size_gb
84
+
85
+ # @return [String] VNet SubnetID specifies the VNet's subnet identifier.
86
+ attr_accessor :vnet_subnet_id
87
+
88
+ # @return [Integer] Maximum number of pods that can run on a node.
89
+ attr_accessor :max_pods
90
+
91
+ # @return [OSType] OsType to be used to specify os type. Choose from
92
+ # Linux and Windows. Default to Linux. Possible values include: 'Linux',
93
+ # 'Windows'. Default value: 'Linux' .
94
+ attr_accessor :os_type
95
+
96
+ # @return [Integer] Maximum number of nodes for auto-scaling
97
+ attr_accessor :max_count
98
+
99
+ # @return [Integer] Minimum number of nodes for auto-scaling
100
+ attr_accessor :min_count
101
+
102
+ # @return [Boolean] Whether to enable auto-scaler
103
+ attr_accessor :enable_auto_scaling
104
+
105
+ # @return [AgentPoolType] AgentPoolType represents types of an agent
106
+ # pool. Possible values include: 'VirtualMachineScaleSets',
107
+ # 'AvailabilitySet'
108
+ attr_accessor :type
109
+
110
+
111
+ #
112
+ # Mapper for ManagedClusterAgentPoolProfile class as Ruby Hash.
113
+ # This will be used for serialization/deserialization.
114
+ #
115
+ def self.mapper()
116
+ {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'ManagedClusterAgentPoolProfile',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'ManagedClusterAgentPoolProfile',
123
+ model_properties: {
124
+ name: {
125
+ client_side_validation: true,
126
+ required: true,
127
+ serialized_name: 'name',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
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
+ }
219
+ }
220
+ }
221
+ end
222
+ end
223
+ end
224
+ end
@@ -0,0 +1,100 @@
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::V2018_08_01_preview
7
+ module Models
8
+ #
9
+ # The response from the List Managed Clusters operation.
10
+ #
11
+ class ManagedClusterListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ManagedCluster>] The list of managed clusters.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of managed cluster
20
+ # results.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<ManagedCluster>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [ManagedClusterListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for ManagedClusterListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'ManagedClusterListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ManagedClusterListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'ManagedClusterElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'ManagedCluster'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,91 @@
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::V2018_08_01_preview
7
+ module Models
8
+ #
9
+ # The list of available upgrade versions.
10
+ #
11
+ class ManagedClusterPoolUpgradeProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Kubernetes version (major, minor, patch).
16
+ attr_accessor :kubernetes_version
17
+
18
+ # @return [String] Pool name.
19
+ attr_accessor :name
20
+
21
+ # @return [OSType] OsType to be used to specify os type. Choose from
22
+ # Linux and Windows. Default to Linux. Possible values include: 'Linux',
23
+ # 'Windows'. Default value: 'Linux' .
24
+ attr_accessor :os_type
25
+
26
+ # @return [Array<String>] List of orchestrator types and versions
27
+ # available for upgrade.
28
+ attr_accessor :upgrades
29
+
30
+
31
+ #
32
+ # Mapper for ManagedClusterPoolUpgradeProfile class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'ManagedClusterPoolUpgradeProfile',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ManagedClusterPoolUpgradeProfile',
43
+ model_properties: {
44
+ kubernetes_version: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'kubernetesVersion',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ name: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ os_type: {
61
+ client_side_validation: true,
62
+ required: true,
63
+ serialized_name: 'osType',
64
+ default_value: 'Linux',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ upgrades: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'upgrades',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'StringElementType',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,59 @@
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::V2018_08_01_preview
7
+ module Models
8
+ #
9
+ # Information about a service principal identity for the cluster to use for
10
+ # manipulating Azure APIs.
11
+ #
12
+ class ManagedClusterServicePrincipalProfile
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The ID for the service principal.
17
+ attr_accessor :client_id
18
+
19
+ # @return [String] The secret password associated with the service
20
+ # principal in plain text.
21
+ attr_accessor :secret
22
+
23
+
24
+ #
25
+ # Mapper for ManagedClusterServicePrincipalProfile class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'ManagedClusterServicePrincipalProfile',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'ManagedClusterServicePrincipalProfile',
36
+ model_properties: {
37
+ client_id: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'clientId',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ secret: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'secret',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end