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,123 @@
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
+ # AADProfile specifies attributes for Azure Active Directory integration.
10
+ #
11
+ class ManagedClusterAADProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Whether to enable managed AAD.
16
+ attr_accessor :managed
17
+
18
+ # @return [Boolean] Whether to enable Azure RBAC for Kubernetes
19
+ # authorization.
20
+ attr_accessor :enable_azure_rbac
21
+
22
+ # @return [Array<String>] AAD group object IDs that will have admin role
23
+ # of the cluster.
24
+ attr_accessor :admin_group_object_ids
25
+
26
+ # @return [String] The client AAD application ID.
27
+ attr_accessor :client_app_id
28
+
29
+ # @return [String] The server AAD application ID.
30
+ attr_accessor :server_app_id
31
+
32
+ # @return [String] The server AAD application secret.
33
+ attr_accessor :server_app_secret
34
+
35
+ # @return [String] The AAD tenant ID to use for authentication. If not
36
+ # specified, will use the tenant of the deployment subscription.
37
+ attr_accessor :tenant_id
38
+
39
+
40
+ #
41
+ # Mapper for ManagedClusterAADProfile 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: 'ManagedClusterAADProfile',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'ManagedClusterAADProfile',
52
+ model_properties: {
53
+ managed: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'managed',
57
+ type: {
58
+ name: 'Boolean'
59
+ }
60
+ },
61
+ enable_azure_rbac: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'enableAzureRBAC',
65
+ type: {
66
+ name: 'Boolean'
67
+ }
68
+ },
69
+ admin_group_object_ids: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'adminGroupObjectIDs',
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
+ client_app_id: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'clientAppID',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ server_app_id: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'serverAppID',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ server_app_secret: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'serverAppSecret',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ tenant_id: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'tenantID',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,97 @@
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
+ # Managed cluster Access Profile.
10
+ #
11
+ class ManagedClusterAccessProfile < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Integer>] Base64-encoded Kubernetes configuration file.
16
+ attr_accessor :kube_config
17
+
18
+
19
+ #
20
+ # Mapper for ManagedClusterAccessProfile 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: 'ManagedClusterAccessProfile',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ManagedClusterAccessProfile',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ location: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'location',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ tags: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'tags',
71
+ type: {
72
+ name: 'Dictionary',
73
+ value: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'StringElementType',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ kube_config: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'properties.kubeConfig',
87
+ type: {
88
+ name: 'ByteArray'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,80 @@
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 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
+ # @return [ManagedClusterAddonProfileIdentity] Information of user
23
+ # assigned identity used by this add-on.
24
+ attr_accessor :identity
25
+
26
+
27
+ #
28
+ # Mapper for ManagedClusterAddonProfile class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ManagedClusterAddonProfile',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ManagedClusterAddonProfile',
39
+ model_properties: {
40
+ enabled: {
41
+ client_side_validation: true,
42
+ required: true,
43
+ serialized_name: 'enabled',
44
+ type: {
45
+ name: 'Boolean'
46
+ }
47
+ },
48
+ config: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'config',
52
+ type: {
53
+ name: 'Dictionary',
54
+ value: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'StringElementType',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ }
62
+ }
63
+ },
64
+ identity: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'identity',
69
+ type: {
70
+ name: 'Composite',
71
+ class_name: 'ManagedClusterAddonProfileIdentity'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ 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
+ # Information of user assigned identity used by this add-on.
10
+ #
11
+ class ManagedClusterAddonProfileIdentity < UserAssignedIdentity
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ #
17
+ # Mapper for ManagedClusterAddonProfileIdentity class as Ruby Hash.
18
+ # This will be used for serialization/deserialization.
19
+ #
20
+ def self.mapper()
21
+ {
22
+ client_side_validation: true,
23
+ required: false,
24
+ serialized_name: 'ManagedClusterAddonProfile_identity',
25
+ type: {
26
+ name: 'Composite',
27
+ class_name: 'ManagedClusterAddonProfileIdentity',
28
+ model_properties: {
29
+ resource_id: {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'resourceId',
33
+ type: {
34
+ name: 'String'
35
+ }
36
+ },
37
+ client_id: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'clientId',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ object_id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'objectId',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,340 @@
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
+ # 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: false,
36
+ serialized_name: 'count',
37
+ type: {
38
+ name: 'Number'
39
+ }
40
+ },
41
+ vm_size: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'vmSize',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ os_disk_size_gb: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'osDiskSizeGB',
53
+ type: {
54
+ name: 'Number'
55
+ }
56
+ },
57
+ os_disk_type: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'osDiskType',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ kubelet_disk_type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'kubeletDiskType',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ vnet_subnet_id: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'vnetSubnetID',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ pod_subnet_id: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'podSubnetID',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ max_pods: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'maxPods',
93
+ type: {
94
+ name: 'Number'
95
+ }
96
+ },
97
+ os_type: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'osType',
101
+ default_value: 'Linux',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ max_count: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'maxCount',
110
+ type: {
111
+ name: 'Number'
112
+ }
113
+ },
114
+ min_count: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'minCount',
118
+ type: {
119
+ name: 'Number'
120
+ }
121
+ },
122
+ enable_auto_scaling: {
123
+ client_side_validation: true,
124
+ required: false,
125
+ serialized_name: 'enableAutoScaling',
126
+ type: {
127
+ name: 'Boolean'
128
+ }
129
+ },
130
+ type: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'type',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ mode: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'mode',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ },
146
+ orchestrator_version: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ serialized_name: 'orchestratorVersion',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ node_image_version: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ read_only: true,
158
+ serialized_name: 'nodeImageVersion',
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ },
163
+ upgrade_settings: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'upgradeSettings',
167
+ type: {
168
+ name: 'Composite',
169
+ class_name: 'AgentPoolUpgradeSettings'
170
+ }
171
+ },
172
+ provisioning_state: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ read_only: true,
176
+ serialized_name: 'provisioningState',
177
+ type: {
178
+ name: 'String'
179
+ }
180
+ },
181
+ power_state: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ read_only: true,
185
+ serialized_name: 'powerState',
186
+ type: {
187
+ name: 'Composite',
188
+ class_name: 'PowerState'
189
+ }
190
+ },
191
+ availability_zones: {
192
+ client_side_validation: true,
193
+ required: false,
194
+ serialized_name: 'availabilityZones',
195
+ type: {
196
+ name: 'Sequence',
197
+ element: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'StringElementType',
201
+ type: {
202
+ name: 'String'
203
+ }
204
+ }
205
+ }
206
+ },
207
+ enable_node_public_ip: {
208
+ client_side_validation: true,
209
+ required: false,
210
+ serialized_name: 'enableNodePublicIP',
211
+ type: {
212
+ name: 'Boolean'
213
+ }
214
+ },
215
+ scale_set_priority: {
216
+ client_side_validation: true,
217
+ required: false,
218
+ serialized_name: 'scaleSetPriority',
219
+ default_value: 'Regular',
220
+ type: {
221
+ name: 'String'
222
+ }
223
+ },
224
+ scale_set_eviction_policy: {
225
+ client_side_validation: true,
226
+ required: false,
227
+ serialized_name: 'scaleSetEvictionPolicy',
228
+ default_value: 'Delete',
229
+ type: {
230
+ name: 'String'
231
+ }
232
+ },
233
+ spot_max_price: {
234
+ client_side_validation: true,
235
+ required: false,
236
+ serialized_name: 'spotMaxPrice',
237
+ type: {
238
+ name: 'Double'
239
+ }
240
+ },
241
+ tags: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ serialized_name: 'tags',
245
+ type: {
246
+ name: 'Dictionary',
247
+ value: {
248
+ client_side_validation: true,
249
+ required: false,
250
+ serialized_name: 'StringElementType',
251
+ type: {
252
+ name: 'String'
253
+ }
254
+ }
255
+ }
256
+ },
257
+ node_labels: {
258
+ client_side_validation: true,
259
+ required: false,
260
+ serialized_name: 'nodeLabels',
261
+ type: {
262
+ name: 'Dictionary',
263
+ value: {
264
+ client_side_validation: true,
265
+ required: false,
266
+ serialized_name: 'StringElementType',
267
+ type: {
268
+ name: 'String'
269
+ }
270
+ }
271
+ }
272
+ },
273
+ node_taints: {
274
+ client_side_validation: true,
275
+ required: false,
276
+ serialized_name: 'nodeTaints',
277
+ type: {
278
+ name: 'Sequence',
279
+ element: {
280
+ client_side_validation: true,
281
+ required: false,
282
+ serialized_name: 'StringElementType',
283
+ type: {
284
+ name: 'String'
285
+ }
286
+ }
287
+ }
288
+ },
289
+ proximity_placement_group_id: {
290
+ client_side_validation: true,
291
+ required: false,
292
+ serialized_name: 'proximityPlacementGroupID',
293
+ type: {
294
+ name: 'String'
295
+ }
296
+ },
297
+ kubelet_config: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'kubeletConfig',
301
+ type: {
302
+ name: 'Composite',
303
+ class_name: 'KubeletConfig'
304
+ }
305
+ },
306
+ linux_osconfig: {
307
+ client_side_validation: true,
308
+ required: false,
309
+ serialized_name: 'linuxOSConfig',
310
+ type: {
311
+ name: 'Composite',
312
+ class_name: 'LinuxOSConfig'
313
+ }
314
+ },
315
+ enable_encryption_at_host: {
316
+ client_side_validation: true,
317
+ required: false,
318
+ serialized_name: 'enableEncryptionAtHost',
319
+ type: {
320
+ name: 'Boolean'
321
+ }
322
+ },
323
+ name: {
324
+ client_side_validation: true,
325
+ required: false,
326
+ serialized_name: 'name',
327
+ constraints: {
328
+ Pattern: '^[a-z][a-z0-9]{0,11}$'
329
+ },
330
+ type: {
331
+ name: 'String'
332
+ }
333
+ }
334
+ }
335
+ }
336
+ }
337
+ end
338
+ end
339
+ end
340
+ end