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,57 @@
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
+ # The list of credential result response.
10
+ #
11
+ class CredentialResults
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<CredentialResult>] Base64-encoded Kubernetes
16
+ # configuration file.
17
+ attr_accessor :kubeconfigs
18
+
19
+
20
+ #
21
+ # Mapper for CredentialResults 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: 'CredentialResults',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'CredentialResults',
32
+ model_properties: {
33
+ kubeconfigs: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'kubeconfigs',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'CredentialResultElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'CredentialResult'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,18 @@
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
+ # Defines values for Expander
10
+ #
11
+ module Expander
12
+ LeastWaste = "least-waste"
13
+ MostPods = "most-pods"
14
+ Priority = "priority"
15
+ Random = "random"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,174 @@
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
+ # Kubelet configurations of agent nodes.
10
+ #
11
+ class KubeletConfig
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] CPU Manager policy to use.
16
+ attr_accessor :cpu_manager_policy
17
+
18
+ # @return [Boolean] Enable CPU CFS quota enforcement for containers that
19
+ # specify CPU limits.
20
+ attr_accessor :cpu_cfs_quota
21
+
22
+ # @return [String] Sets CPU CFS quota period value.
23
+ attr_accessor :cpu_cfs_quota_period
24
+
25
+ # @return [Integer] The percent of disk usage after which image garbage
26
+ # collection is always run.
27
+ attr_accessor :image_gc_high_threshold
28
+
29
+ # @return [Integer] The percent of disk usage before which image garbage
30
+ # collection is never run.
31
+ attr_accessor :image_gc_low_threshold
32
+
33
+ # @return [String] Topology Manager policy to use.
34
+ attr_accessor :topology_manager_policy
35
+
36
+ # @return [Array<String>] Allowlist of unsafe sysctls or unsafe sysctl
37
+ # patterns (ending in `*`).
38
+ attr_accessor :allowed_unsafe_sysctls
39
+
40
+ # @return [Boolean] If set to true it will make the Kubelet fail to start
41
+ # if swap is enabled on the node.
42
+ attr_accessor :fail_swap_on
43
+
44
+ # @return [Integer] The maximum size (e.g. 10Mi) of container log file
45
+ # before it is rotated.
46
+ attr_accessor :container_log_max_size_mb
47
+
48
+ # @return [Integer] The maximum number of container log files that can be
49
+ # present for a container. The number must be ≥ 2.
50
+ attr_accessor :container_log_max_files
51
+
52
+ # @return [Integer] The maximum number of processes per pod.
53
+ attr_accessor :pod_max_pids
54
+
55
+
56
+ #
57
+ # Mapper for KubeletConfig class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'KubeletConfig',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'KubeletConfig',
68
+ model_properties: {
69
+ cpu_manager_policy: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'cpuManagerPolicy',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ cpu_cfs_quota: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'cpuCfsQuota',
81
+ type: {
82
+ name: 'Boolean'
83
+ }
84
+ },
85
+ cpu_cfs_quota_period: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'cpuCfsQuotaPeriod',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ image_gc_high_threshold: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'imageGcHighThreshold',
97
+ type: {
98
+ name: 'Number'
99
+ }
100
+ },
101
+ image_gc_low_threshold: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'imageGcLowThreshold',
105
+ type: {
106
+ name: 'Number'
107
+ }
108
+ },
109
+ topology_manager_policy: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'topologyManagerPolicy',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ allowed_unsafe_sysctls: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'allowedUnsafeSysctls',
121
+ type: {
122
+ name: 'Sequence',
123
+ element: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'StringElementType',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ }
131
+ }
132
+ },
133
+ fail_swap_on: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'failSwapOn',
137
+ type: {
138
+ name: 'Boolean'
139
+ }
140
+ },
141
+ container_log_max_size_mb: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ serialized_name: 'containerLogMaxSizeMB',
145
+ type: {
146
+ name: 'Number'
147
+ }
148
+ },
149
+ container_log_max_files: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ serialized_name: 'containerLogMaxFiles',
153
+ constraints: {
154
+ InclusiveMinimum: 2
155
+ },
156
+ type: {
157
+ name: 'Number'
158
+ }
159
+ },
160
+ pod_max_pids: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ serialized_name: 'podMaxPids',
164
+ type: {
165
+ name: 'Number'
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ end
172
+ end
173
+ end
174
+ end
@@ -0,0 +1,15 @@
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
+ # Defines values for KubeletDiskType
10
+ #
11
+ module KubeletDiskType
12
+ OS = "OS"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,16 @@
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
+ # Defines values for LicenseType
10
+ #
11
+ module LicenseType
12
+ None = "None"
13
+ WindowsServer = "Windows_Server"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,81 @@
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
+ # OS configurations of Linux agent nodes.
10
+ #
11
+ class LinuxOSConfig
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SysctlConfig] Sysctl settings for Linux agent nodes.
16
+ attr_accessor :sysctls
17
+
18
+ # @return [String] Transparent Huge Page enabled configuration.
19
+ attr_accessor :transparent_huge_page_enabled
20
+
21
+ # @return [String] Transparent Huge Page defrag configuration.
22
+ attr_accessor :transparent_huge_page_defrag
23
+
24
+ # @return [Integer] SwapFileSizeMB specifies size in MB of a swap file
25
+ # will be created on each node.
26
+ attr_accessor :swap_file_size_mb
27
+
28
+
29
+ #
30
+ # Mapper for LinuxOSConfig class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'LinuxOSConfig',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'LinuxOSConfig',
41
+ model_properties: {
42
+ sysctls: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'sysctls',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'SysctlConfig'
49
+ }
50
+ },
51
+ transparent_huge_page_enabled: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'transparentHugePageEnabled',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ transparent_huge_page_defrag: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'transparentHugePageDefrag',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ swap_file_size_mb: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'swapFileSizeMB',
71
+ type: {
72
+ name: 'Number'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,16 @@
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
+ # Defines values for LoadBalancerSku
10
+ #
11
+ module LoadBalancerSku
12
+ Standard = "standard"
13
+ Basic = "basic"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,115 @@
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
+ # maintenance configuration.
10
+ #
11
+ class MaintenanceConfiguration < SubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SystemData] The system meta data relating to this resource.
16
+ attr_accessor :system_data
17
+
18
+ # @return [Array<TimeInWeek>] Weekday time slots allowed to upgrade.
19
+ attr_accessor :time_in_week
20
+
21
+ # @return [Array<TimeSpan>] Time slots on which upgrade is not allowed.
22
+ attr_accessor :not_allowed_time
23
+
24
+
25
+ #
26
+ # Mapper for MaintenanceConfiguration class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'MaintenanceConfiguration',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'MaintenanceConfiguration',
37
+ model_properties: {
38
+ id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ system_data: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'systemData',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'SystemData'
73
+ }
74
+ },
75
+ time_in_week: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'properties.timeInWeek',
79
+ type: {
80
+ name: 'Sequence',
81
+ element: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'TimeInWeekElementType',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'TimeInWeek'
88
+ }
89
+ }
90
+ }
91
+ },
92
+ not_allowed_time: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'properties.notAllowedTime',
96
+ type: {
97
+ name: 'Sequence',
98
+ element: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'TimeSpanElementType',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'TimeSpan'
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ end
113
+ end
114
+ end
115
+ end