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,55 @@
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
+ # A list of private link resources
10
+ #
11
+ class PrivateLinkResourcesListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<PrivateLinkResource>] The collection value.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for PrivateLinkResourcesListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'PrivateLinkResourcesListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'PrivateLinkResourcesListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'PrivateLinkResourceElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'PrivateLinkResource'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ 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::V2020_12_01
7
+ module Models
8
+ #
9
+ # The state of a private link service connection.
10
+ #
11
+ class PrivateLinkServiceConnectionState
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ConnectionStatus] The private link service connection status.
16
+ # Possible values include: 'Pending', 'Approved', 'Rejected',
17
+ # 'Disconnected'
18
+ attr_accessor :status
19
+
20
+ # @return [String] The private link service connection description.
21
+ attr_accessor :description
22
+
23
+
24
+ #
25
+ # Mapper for PrivateLinkServiceConnectionState 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: 'PrivateLinkServiceConnectionState',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'PrivateLinkServiceConnectionState',
36
+ model_properties: {
37
+ status: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'status',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ description: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'description',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,110 @@
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 Resource model definition.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Id
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+ # @return [String] Resource location
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] Resource tags
28
+ attr_accessor :tags
29
+
30
+
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
40
+ #
41
+ # Mapper for Resource class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'Resource',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'Resource',
52
+ model_properties: {
53
+ id: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'id',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ name: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'name',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ type: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'type',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ location: {
81
+ client_side_validation: true,
82
+ required: true,
83
+ serialized_name: 'location',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ tags: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'tags',
92
+ type: {
93
+ name: 'Dictionary',
94
+ value: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'StringElementType',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,17 @@
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 ResourceIdentityType
10
+ #
11
+ module ResourceIdentityType
12
+ SystemAssigned = "SystemAssigned"
13
+ UserAssigned = "UserAssigned"
14
+ None = "None"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,46 @@
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
+ # A reference to an Azure resource.
10
+ #
11
+ class ResourceReference
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The fully qualified Azure resource id.
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for ResourceReference class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ResourceReference',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ResourceReference',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'id',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ 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 ScaleSetEvictionPolicy
10
+ #
11
+ module ScaleSetEvictionPolicy
12
+ Delete = "Delete"
13
+ Deallocate = "Deallocate"
14
+ end
15
+ end
16
+ 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 ScaleSetPriority
10
+ #
11
+ module ScaleSetPriority
12
+ Spot = "Spot"
13
+ Regular = "Regular"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,72 @@
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
+ # Reference to another subresource.
10
+ #
11
+ class SubResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The name of the resource that is unique within a
19
+ # resource group. This name can be used to access the resource.
20
+ attr_accessor :name
21
+
22
+ # @return [String] Resource type
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for SubResource class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'SubResource',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'SubResource',
38
+ model_properties: {
39
+ id: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'id',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ name: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'name',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'type',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,343 @@
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
+ # Sysctl settings for Linux agent nodes.
10
+ #
11
+ class SysctlConfig
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Sysctl setting net.core.somaxconn.
16
+ attr_accessor :net_core_somaxconn
17
+
18
+ # @return [Integer] Sysctl setting net.core.netdev_max_backlog.
19
+ attr_accessor :net_core_netdev_max_backlog
20
+
21
+ # @return [Integer] Sysctl setting net.core.rmem_default.
22
+ attr_accessor :net_core_rmem_default
23
+
24
+ # @return [Integer] Sysctl setting net.core.rmem_max.
25
+ attr_accessor :net_core_rmem_max
26
+
27
+ # @return [Integer] Sysctl setting net.core.wmem_default.
28
+ attr_accessor :net_core_wmem_default
29
+
30
+ # @return [Integer] Sysctl setting net.core.wmem_max.
31
+ attr_accessor :net_core_wmem_max
32
+
33
+ # @return [Integer] Sysctl setting net.core.optmem_max.
34
+ attr_accessor :net_core_optmem_max
35
+
36
+ # @return [Integer] Sysctl setting net.ipv4.tcp_max_syn_backlog.
37
+ attr_accessor :net_ipv4tcp_max_syn_backlog
38
+
39
+ # @return [Integer] Sysctl setting net.ipv4.tcp_max_tw_buckets.
40
+ attr_accessor :net_ipv4tcp_max_tw_buckets
41
+
42
+ # @return [Integer] Sysctl setting net.ipv4.tcp_fin_timeout.
43
+ attr_accessor :net_ipv4tcp_fin_timeout
44
+
45
+ # @return [Integer] Sysctl setting net.ipv4.tcp_keepalive_time.
46
+ attr_accessor :net_ipv4tcp_keepalive_time
47
+
48
+ # @return [Integer] Sysctl setting net.ipv4.tcp_keepalive_probes.
49
+ attr_accessor :net_ipv4tcp_keepalive_probes
50
+
51
+ # @return [Integer] Sysctl setting net.ipv4.tcp_keepalive_intvl.
52
+ attr_accessor :net_ipv4tcpkeepalive_intvl
53
+
54
+ # @return [Boolean] Sysctl setting net.ipv4.tcp_tw_reuse.
55
+ attr_accessor :net_ipv4tcp_tw_reuse
56
+
57
+ # @return [String] Sysctl setting net.ipv4.ip_local_port_range.
58
+ attr_accessor :net_ipv4ip_local_port_range
59
+
60
+ # @return [Integer] Sysctl setting net.ipv4.neigh.default.gc_thresh1.
61
+ attr_accessor :net_ipv4neigh_default_gc_thresh1
62
+
63
+ # @return [Integer] Sysctl setting net.ipv4.neigh.default.gc_thresh2.
64
+ attr_accessor :net_ipv4neigh_default_gc_thresh2
65
+
66
+ # @return [Integer] Sysctl setting net.ipv4.neigh.default.gc_thresh3.
67
+ attr_accessor :net_ipv4neigh_default_gc_thresh3
68
+
69
+ # @return [Integer] Sysctl setting net.netfilter.nf_conntrack_max.
70
+ attr_accessor :net_netfilter_nf_conntrack_max
71
+
72
+ # @return [Integer] Sysctl setting net.netfilter.nf_conntrack_buckets.
73
+ attr_accessor :net_netfilter_nf_conntrack_buckets
74
+
75
+ # @return [Integer] Sysctl setting fs.inotify.max_user_watches.
76
+ attr_accessor :fs_inotify_max_user_watches
77
+
78
+ # @return [Integer] Sysctl setting fs.file-max.
79
+ attr_accessor :fs_file_max
80
+
81
+ # @return [Integer] Sysctl setting fs.aio-max-nr.
82
+ attr_accessor :fs_aio_max_nr
83
+
84
+ # @return [Integer] Sysctl setting fs.nr_open.
85
+ attr_accessor :fs_nr_open
86
+
87
+ # @return [Integer] Sysctl setting kernel.threads-max.
88
+ attr_accessor :kernel_threads_max
89
+
90
+ # @return [Integer] Sysctl setting vm.max_map_count.
91
+ attr_accessor :vm_max_map_count
92
+
93
+ # @return [Integer] Sysctl setting vm.swappiness.
94
+ attr_accessor :vm_swappiness
95
+
96
+ # @return [Integer] Sysctl setting vm.vfs_cache_pressure.
97
+ attr_accessor :vm_vfs_cache_pressure
98
+
99
+
100
+ #
101
+ # Mapper for SysctlConfig class as Ruby Hash.
102
+ # This will be used for serialization/deserialization.
103
+ #
104
+ def self.mapper()
105
+ {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'SysctlConfig',
109
+ type: {
110
+ name: 'Composite',
111
+ class_name: 'SysctlConfig',
112
+ model_properties: {
113
+ net_core_somaxconn: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ serialized_name: 'netCoreSomaxconn',
117
+ type: {
118
+ name: 'Number'
119
+ }
120
+ },
121
+ net_core_netdev_max_backlog: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ serialized_name: 'netCoreNetdevMaxBacklog',
125
+ type: {
126
+ name: 'Number'
127
+ }
128
+ },
129
+ net_core_rmem_default: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'netCoreRmemDefault',
133
+ type: {
134
+ name: 'Number'
135
+ }
136
+ },
137
+ net_core_rmem_max: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'netCoreRmemMax',
141
+ type: {
142
+ name: 'Number'
143
+ }
144
+ },
145
+ net_core_wmem_default: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ serialized_name: 'netCoreWmemDefault',
149
+ type: {
150
+ name: 'Number'
151
+ }
152
+ },
153
+ net_core_wmem_max: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'netCoreWmemMax',
157
+ type: {
158
+ name: 'Number'
159
+ }
160
+ },
161
+ net_core_optmem_max: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'netCoreOptmemMax',
165
+ type: {
166
+ name: 'Number'
167
+ }
168
+ },
169
+ net_ipv4tcp_max_syn_backlog: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'netIpv4TcpMaxSynBacklog',
173
+ type: {
174
+ name: 'Number'
175
+ }
176
+ },
177
+ net_ipv4tcp_max_tw_buckets: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ serialized_name: 'netIpv4TcpMaxTwBuckets',
181
+ type: {
182
+ name: 'Number'
183
+ }
184
+ },
185
+ net_ipv4tcp_fin_timeout: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ serialized_name: 'netIpv4TcpFinTimeout',
189
+ type: {
190
+ name: 'Number'
191
+ }
192
+ },
193
+ net_ipv4tcp_keepalive_time: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'netIpv4TcpKeepaliveTime',
197
+ type: {
198
+ name: 'Number'
199
+ }
200
+ },
201
+ net_ipv4tcp_keepalive_probes: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ serialized_name: 'netIpv4TcpKeepaliveProbes',
205
+ type: {
206
+ name: 'Number'
207
+ }
208
+ },
209
+ net_ipv4tcpkeepalive_intvl: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'netIpv4TcpkeepaliveIntvl',
213
+ type: {
214
+ name: 'Number'
215
+ }
216
+ },
217
+ net_ipv4tcp_tw_reuse: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'netIpv4TcpTwReuse',
221
+ type: {
222
+ name: 'Boolean'
223
+ }
224
+ },
225
+ net_ipv4ip_local_port_range: {
226
+ client_side_validation: true,
227
+ required: false,
228
+ serialized_name: 'netIpv4IpLocalPortRange',
229
+ type: {
230
+ name: 'String'
231
+ }
232
+ },
233
+ net_ipv4neigh_default_gc_thresh1: {
234
+ client_side_validation: true,
235
+ required: false,
236
+ serialized_name: 'netIpv4NeighDefaultGcThresh1',
237
+ type: {
238
+ name: 'Number'
239
+ }
240
+ },
241
+ net_ipv4neigh_default_gc_thresh2: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ serialized_name: 'netIpv4NeighDefaultGcThresh2',
245
+ type: {
246
+ name: 'Number'
247
+ }
248
+ },
249
+ net_ipv4neigh_default_gc_thresh3: {
250
+ client_side_validation: true,
251
+ required: false,
252
+ serialized_name: 'netIpv4NeighDefaultGcThresh3',
253
+ type: {
254
+ name: 'Number'
255
+ }
256
+ },
257
+ net_netfilter_nf_conntrack_max: {
258
+ client_side_validation: true,
259
+ required: false,
260
+ serialized_name: 'netNetfilterNfConntrackMax',
261
+ type: {
262
+ name: 'Number'
263
+ }
264
+ },
265
+ net_netfilter_nf_conntrack_buckets: {
266
+ client_side_validation: true,
267
+ required: false,
268
+ serialized_name: 'netNetfilterNfConntrackBuckets',
269
+ type: {
270
+ name: 'Number'
271
+ }
272
+ },
273
+ fs_inotify_max_user_watches: {
274
+ client_side_validation: true,
275
+ required: false,
276
+ serialized_name: 'fsInotifyMaxUserWatches',
277
+ type: {
278
+ name: 'Number'
279
+ }
280
+ },
281
+ fs_file_max: {
282
+ client_side_validation: true,
283
+ required: false,
284
+ serialized_name: 'fsFileMax',
285
+ type: {
286
+ name: 'Number'
287
+ }
288
+ },
289
+ fs_aio_max_nr: {
290
+ client_side_validation: true,
291
+ required: false,
292
+ serialized_name: 'fsAioMaxNr',
293
+ type: {
294
+ name: 'Number'
295
+ }
296
+ },
297
+ fs_nr_open: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'fsNrOpen',
301
+ type: {
302
+ name: 'Number'
303
+ }
304
+ },
305
+ kernel_threads_max: {
306
+ client_side_validation: true,
307
+ required: false,
308
+ serialized_name: 'kernelThreadsMax',
309
+ type: {
310
+ name: 'Number'
311
+ }
312
+ },
313
+ vm_max_map_count: {
314
+ client_side_validation: true,
315
+ required: false,
316
+ serialized_name: 'vmMaxMapCount',
317
+ type: {
318
+ name: 'Number'
319
+ }
320
+ },
321
+ vm_swappiness: {
322
+ client_side_validation: true,
323
+ required: false,
324
+ serialized_name: 'vmSwappiness',
325
+ type: {
326
+ name: 'Number'
327
+ }
328
+ },
329
+ vm_vfs_cache_pressure: {
330
+ client_side_validation: true,
331
+ required: false,
332
+ serialized_name: 'vmVfsCachePressure',
333
+ type: {
334
+ name: 'Number'
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ end
341
+ end
342
+ end
343
+ end