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,132 @@
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
+ #
8
+ # The Container Service Client.
9
+ #
10
+ class PrivateLinkResources
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the PrivateLinkResources class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ContainerServiceClient] reference to the ContainerServiceClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets a list of private link resources in the specified managed cluster.
26
+ #
27
+ # Gets a list of private link resources in the specified managed cluster. The
28
+ # operation returns properties of each private link resource.
29
+ #
30
+ # @param resource_group_name [String] The name of the resource group.
31
+ # @param resource_name [String] The name of the managed cluster resource.
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
+ #
35
+ # @return [PrivateLinkResourcesListResult] operation results.
36
+ #
37
+ def list(resource_group_name, resource_name, custom_headers:nil)
38
+ response = list_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
39
+ response.body unless response.nil?
40
+ end
41
+
42
+ #
43
+ # Gets a list of private link resources in the specified managed cluster.
44
+ #
45
+ # Gets a list of private link resources in the specified managed cluster. The
46
+ # operation returns properties of each private link resource.
47
+ #
48
+ # @param resource_group_name [String] The name of the resource group.
49
+ # @param resource_name [String] The name of the managed cluster resource.
50
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
51
+ # will be added to the HTTP request.
52
+ #
53
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
+ #
55
+ def list_with_http_info(resource_group_name, resource_name, custom_headers:nil)
56
+ list_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
57
+ end
58
+
59
+ #
60
+ # Gets a list of private link resources in the specified managed cluster.
61
+ #
62
+ # Gets a list of private link resources in the specified managed cluster. The
63
+ # operation returns properties of each private link resource.
64
+ #
65
+ # @param resource_group_name [String] The name of the resource group.
66
+ # @param resource_name [String] The name of the managed cluster resource.
67
+ # @param [Hash{String => String}] A hash of custom headers that will be added
68
+ # to the HTTP request.
69
+ #
70
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
+ #
72
+ def list_async(resource_group_name, resource_name, custom_headers:nil)
73
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
74
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
75
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
76
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
77
+ fail ArgumentError, 'resource_name is nil' if resource_name.nil?
78
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
79
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
80
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
81
+
82
+
83
+ request_headers = {}
84
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
85
+
86
+ # Set Headers
87
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
88
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
89
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateLinkResources'
90
+
91
+ request_url = @base_url || @client.base_url
92
+
93
+ options = {
94
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
95
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
96
+ query_params: {'api-version' => @client.api_version},
97
+ headers: request_headers.merge(custom_headers || {}),
98
+ base_url: request_url
99
+ }
100
+ promise = @client.make_request_async(:get, path_template, options)
101
+
102
+ promise = promise.then do |result|
103
+ http_response = result.response
104
+ status_code = http_response.status
105
+ response_content = http_response.body
106
+ unless status_code == 200
107
+ error_model = JSON.load(response_content)
108
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
109
+ end
110
+
111
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
112
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
113
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
114
+ # Deserialize Response
115
+ if status_code == 200
116
+ begin
117
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
118
+ result_mapper = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResourcesListResult.mapper()
119
+ result.body = @client.deserialize(result_mapper, parsed_response)
120
+ rescue Exception => e
121
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
122
+ end
123
+ end
124
+
125
+ result
126
+ end
127
+
128
+ promise.execute
129
+ end
130
+
131
+ end
132
+ end
@@ -0,0 +1,143 @@
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
+ #
8
+ # The Container Service Client.
9
+ #
10
+ class ResolvePrivateLinkServiceId
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ResolvePrivateLinkServiceId class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [ContainerServiceClient] reference to the ContainerServiceClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets the private link service ID for the specified managed cluster.
26
+ #
27
+ # Gets the private link service ID the specified managed cluster.
28
+ #
29
+ # @param resource_group_name [String] The name of the resource group.
30
+ # @param resource_name [String] The name of the managed cluster resource.
31
+ # @param parameters [PrivateLinkResource] Parameters (name, groupId) supplied
32
+ # in order to resolve a private link service ID.
33
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
34
+ # will be added to the HTTP request.
35
+ #
36
+ # @return [PrivateLinkResource] operation results.
37
+ #
38
+ def post(resource_group_name, resource_name, parameters, custom_headers:nil)
39
+ response = post_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
40
+ response.body unless response.nil?
41
+ end
42
+
43
+ #
44
+ # Gets the private link service ID for the specified managed cluster.
45
+ #
46
+ # Gets the private link service ID the specified managed cluster.
47
+ #
48
+ # @param resource_group_name [String] The name of the resource group.
49
+ # @param resource_name [String] The name of the managed cluster resource.
50
+ # @param parameters [PrivateLinkResource] Parameters (name, groupId) supplied
51
+ # in order to resolve a private link service ID.
52
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
53
+ # will be added to the HTTP request.
54
+ #
55
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
56
+ #
57
+ def post_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
58
+ post_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
59
+ end
60
+
61
+ #
62
+ # Gets the private link service ID for the specified managed cluster.
63
+ #
64
+ # Gets the private link service ID the specified managed cluster.
65
+ #
66
+ # @param resource_group_name [String] The name of the resource group.
67
+ # @param resource_name [String] The name of the managed cluster resource.
68
+ # @param parameters [PrivateLinkResource] Parameters (name, groupId) supplied
69
+ # in order to resolve a private link service ID.
70
+ # @param [Hash{String => String}] A hash of custom headers that will be added
71
+ # to the HTTP request.
72
+ #
73
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
+ #
75
+ def post_async(resource_group_name, resource_name, parameters, custom_headers:nil)
76
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
78
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
79
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
80
+ fail ArgumentError, 'resource_name is nil' if resource_name.nil?
81
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
82
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
83
+ fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
84
+ fail ArgumentError, 'parameters is nil' if parameters.nil?
85
+
86
+
87
+ request_headers = {}
88
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
89
+
90
+ # Set Headers
91
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
92
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
93
+
94
+ # Serialize Request
95
+ request_mapper = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResource.mapper()
96
+ request_content = @client.serialize(request_mapper, parameters)
97
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
98
+
99
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId'
100
+
101
+ request_url = @base_url || @client.base_url
102
+
103
+ options = {
104
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
105
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'resourceName' => resource_name},
106
+ query_params: {'api-version' => @client.api_version},
107
+ body: request_content,
108
+ headers: request_headers.merge(custom_headers || {}),
109
+ base_url: request_url
110
+ }
111
+ promise = @client.make_request_async(:post, path_template, options)
112
+
113
+ promise = promise.then do |result|
114
+ http_response = result.response
115
+ status_code = http_response.status
116
+ response_content = http_response.body
117
+ unless status_code == 200
118
+ error_model = JSON.load(response_content)
119
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
120
+ end
121
+
122
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
123
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
124
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
125
+ # Deserialize Response
126
+ if status_code == 200
127
+ begin
128
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
129
+ result_mapper = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResource.mapper()
130
+ result.body = @client.deserialize(result_mapper, parsed_response)
131
+ rescue Exception => e
132
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
133
+ end
134
+ end
135
+
136
+ result
137
+ end
138
+
139
+ promise.execute
140
+ end
141
+
142
+ end
143
+ end
@@ -16,6 +16,7 @@ require '2018-03-31/generated/azure_mgmt_container_service'
16
16
  require '2019-08-01/generated/azure_mgmt_container_service'
17
17
  require '2020-02-01/generated/azure_mgmt_container_service'
18
18
  require '2019-10-01/generated/azure_mgmt_container_service'
19
+ require '2020-12-01/generated/azure_mgmt_container_service'
19
20
  require '2017-09-30/generated/azure_mgmt_container_service'
20
21
  require '2017-08-31/generated/azure_mgmt_container_service'
21
22
  require '2020-09-01/generated/azure_mgmt_container_service'
@@ -8,12 +8,13 @@ module Azure::ContainerService::Profiles::Latest
8
8
  module Mgmt
9
9
  OpenShiftManagedClusters = Azure::ContainerService::Mgmt::V2019_04_30::OpenShiftManagedClusters
10
10
  ContainerServices = Azure::ContainerService::Mgmt::V2019_08_01::ContainerServices
11
- Operations = Azure::ContainerService::Mgmt::V2020_09_01::Operations
12
- ManagedClusters = Azure::ContainerService::Mgmt::V2020_09_01::ManagedClusters
13
- AgentPools = Azure::ContainerService::Mgmt::V2020_09_01::AgentPools
14
- PrivateEndpointConnections = Azure::ContainerService::Mgmt::V2020_09_01::PrivateEndpointConnections
15
- PrivateLinkResources = Azure::ContainerService::Mgmt::V2020_09_01::PrivateLinkResources
16
- ResolvePrivateLinkServiceId = Azure::ContainerService::Mgmt::V2020_09_01::ResolvePrivateLinkServiceId
11
+ Operations = Azure::ContainerService::Mgmt::V2020_12_01::Operations
12
+ ManagedClusters = Azure::ContainerService::Mgmt::V2020_12_01::ManagedClusters
13
+ MaintenanceConfigurations = Azure::ContainerService::Mgmt::V2020_12_01::MaintenanceConfigurations
14
+ AgentPools = Azure::ContainerService::Mgmt::V2020_12_01::AgentPools
15
+ PrivateEndpointConnections = Azure::ContainerService::Mgmt::V2020_12_01::PrivateEndpointConnections
16
+ PrivateLinkResources = Azure::ContainerService::Mgmt::V2020_12_01::PrivateLinkResources
17
+ ResolvePrivateLinkServiceId = Azure::ContainerService::Mgmt::V2020_12_01::ResolvePrivateLinkServiceId
17
18
 
18
19
  module Models
19
20
  ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceWindowsProfile
@@ -41,87 +42,105 @@ module Azure::ContainerService::Profiles::Latest
41
42
  OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfile
42
43
  OrchestratorProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorProfile
43
44
  OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
44
- ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAADProfile
45
- OperationValue = Azure::ContainerService::Mgmt::V2020_09_01::Models::OperationValue
46
- ManagedClusterPropertiesAutoScalerProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPropertiesAutoScalerProfile
47
- Resource = Azure::ContainerService::Mgmt::V2020_09_01::Models::Resource
48
- ManagedClusterAPIServerAccessProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAPIServerAccessProfile
49
- TagsObject = Azure::ContainerService::Mgmt::V2020_09_01::Models::TagsObject
50
- SubResource = Azure::ContainerService::Mgmt::V2020_09_01::Models::SubResource
51
- ManagedClusterServicePrincipalProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterServicePrincipalProfile
52
- AgentPoolUpgradeSettings = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeSettings
53
- PrivateLinkResourcesListResult = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkResourcesListResult
54
- ManagedClusterAgentPoolProfileProperties = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAgentPoolProfileProperties
55
- ManagedClusterIdentityUserAssignedIdentitiesValue = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterIdentityUserAssignedIdentitiesValue
56
- PrivateEndpoint = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpoint
57
- AgentPoolListResult = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolListResult
58
- PrivateLinkServiceConnectionState = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkServiceConnectionState
59
- ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceSshPublicKey
60
- ManagedClusterIdentity = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterIdentity
61
- ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceLinuxProfile
62
- ManagedClusterSKU = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKU
63
- ResourceReference = Azure::ContainerService::Mgmt::V2020_09_01::Models::ResourceReference
64
- PrivateLinkResource = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkResource
65
- ManagedClusterLoadBalancerProfileOutboundIPs = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
66
- ManagedClusterListResult = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterListResult
67
- ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceNetworkProfile
68
- UserAssignedIdentity = Azure::ContainerService::Mgmt::V2020_09_01::Models::UserAssignedIdentity
69
- ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceDiagnosticsProfile
70
- PrivateEndpointConnectionListResult = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnectionListResult
71
- ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAddonProfile
72
- ManagedClusterPoolUpgradeProfileUpgradesItem = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
73
- ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceMasterProfile
74
- ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPoolUpgradeProfile
75
- ManagedClusterWindowsProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterWindowsProfile
76
- ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterUpgradeProfile
77
- ManagedClusterLoadBalancerProfileManagedOutboundIPs = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
78
- AgentPoolUpgradeProfilePropertiesUpgradesItem = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
79
- ManagedClusterLoadBalancerProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfile
80
- AgentPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfile
81
- PrivateEndpointConnection = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnection
82
- AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
83
- PowerState = Azure::ContainerService::Mgmt::V2020_09_01::Models::PowerState
84
- AgentPoolAvailableVersions = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolAvailableVersions
85
- ManagedClusterLoadBalancerProfileOutboundIPPrefixes = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
86
- CredentialResult = Azure::ContainerService::Mgmt::V2020_09_01::Models::CredentialResult
87
- OperationListResult = Azure::ContainerService::Mgmt::V2020_09_01::Models::OperationListResult
88
- CredentialResults = Azure::ContainerService::Mgmt::V2020_09_01::Models::CredentialResults
89
- ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceVMDiagnostics
90
- ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceSshConfiguration
91
- ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAgentPoolProfile
92
- AgentPool = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPool
93
- ManagedClusterAddonProfileIdentity = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAddonProfileIdentity
94
- ManagedClusterPropertiesIdentityProfileValue = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPropertiesIdentityProfileValue
95
- ManagedCluster = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedCluster
96
- ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAccessProfile
97
- ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceStorageProfileTypes
98
- ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceVMSizeTypes
99
- OSDiskType = Azure::ContainerService::Mgmt::V2020_09_01::Models::OSDiskType
100
- OSType = Azure::ContainerService::Mgmt::V2020_09_01::Models::OSType
101
- AgentPoolType = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolType
102
- AgentPoolMode = Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolMode
103
- Code = Azure::ContainerService::Mgmt::V2020_09_01::Models::Code
104
- ScaleSetPriority = Azure::ContainerService::Mgmt::V2020_09_01::Models::ScaleSetPriority
105
- ScaleSetEvictionPolicy = Azure::ContainerService::Mgmt::V2020_09_01::Models::ScaleSetEvictionPolicy
106
- LicenseType = Azure::ContainerService::Mgmt::V2020_09_01::Models::LicenseType
107
- NetworkPlugin = Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkPlugin
108
- NetworkPolicy = Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkPolicy
109
- NetworkMode = Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkMode
110
- OutboundType = Azure::ContainerService::Mgmt::V2020_09_01::Models::OutboundType
111
- LoadBalancerSku = Azure::ContainerService::Mgmt::V2020_09_01::Models::LoadBalancerSku
112
- Expander = Azure::ContainerService::Mgmt::V2020_09_01::Models::Expander
113
- ResourceIdentityType = Azure::ContainerService::Mgmt::V2020_09_01::Models::ResourceIdentityType
114
- ManagedClusterSKUName = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKUName
115
- ManagedClusterSKUTier = Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKUTier
116
- PrivateEndpointConnectionProvisioningState = Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnectionProvisioningState
117
- ConnectionStatus = Azure::ContainerService::Mgmt::V2020_09_01::Models::ConnectionStatus
45
+ ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceVMDiagnostics
46
+ ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceDiagnosticsProfile
47
+ OperationListResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::OperationListResult
48
+ PrivateLinkResourcesListResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResourcesListResult
49
+ SubResource = Azure::ContainerService::Mgmt::V2020_12_01::Models::SubResource
50
+ ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAddonProfile
51
+ ManagedClusterServicePrincipalProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterServicePrincipalProfile
52
+ UserAssignedIdentity = Azure::ContainerService::Mgmt::V2020_12_01::Models::UserAssignedIdentity
53
+ AgentPoolUpgradeSettings = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolUpgradeSettings
54
+ KubeletConfig = Azure::ContainerService::Mgmt::V2020_12_01::Models::KubeletConfig
55
+ LinuxOSConfig = Azure::ContainerService::Mgmt::V2020_12_01::Models::LinuxOSConfig
56
+ ManagedClusterPodIdentityProvisioningInfo = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityProvisioningInfo
57
+ ManagedClusterAgentPoolProfileProperties = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAgentPoolProfileProperties
58
+ PrivateLinkServiceConnectionState = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkServiceConnectionState
59
+ CredentialResults = Azure::ContainerService::Mgmt::V2020_12_01::Models::CredentialResults
60
+ ManagedClusterWindowsProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterWindowsProfile
61
+ ManagedClusterPodIdentity = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentity
62
+ ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceSshConfiguration
63
+ ManagedClusterPodIdentityException = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityException
64
+ ManagedClusterLoadBalancerProfileManagedOutboundIPs = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
65
+ ManagedClusterPodIdentityProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityProfile
66
+ ManagedClusterLoadBalancerProfileOutboundIPPrefixes = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
67
+ ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAADProfile
68
+ ManagedClusterLoadBalancerProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfile
69
+ ManagedClusterAutoUpgradeProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAutoUpgradeProfile
70
+ SystemData = Azure::ContainerService::Mgmt::V2020_12_01::Models::SystemData
71
+ ManagedClusterPropertiesAutoScalerProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPropertiesAutoScalerProfile
72
+ TimeSpan = Azure::ContainerService::Mgmt::V2020_12_01::Models::TimeSpan
73
+ ManagedClusterAPIServerAccessProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAPIServerAccessProfile
74
+ MaintenanceConfigurationListResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::MaintenanceConfigurationListResult
75
+ PrivateLinkResource = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResource
76
+ Resource = Azure::ContainerService::Mgmt::V2020_12_01::Models::Resource
77
+ ManagedClusterIdentityUserAssignedIdentitiesValue = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterIdentityUserAssignedIdentitiesValue
78
+ ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceMasterProfile
79
+ ManagedClusterIdentity = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterIdentity
80
+ SysctlConfig = Azure::ContainerService::Mgmt::V2020_12_01::Models::SysctlConfig
81
+ ManagedClusterSKU = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterSKU
82
+ ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceSshPublicKey
83
+ PrivateEndpointConnectionListResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpointConnectionListResult
84
+ ResourceReference = Azure::ContainerService::Mgmt::V2020_12_01::Models::ResourceReference
85
+ ManagedClusterListResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterListResult
86
+ ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceNetworkProfile
87
+ PrivateEndpointConnection = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpointConnection
88
+ PrivateEndpoint = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpoint
89
+ ManagedClusterPoolUpgradeProfileUpgradesItem = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
90
+ TagsObject = Azure::ContainerService::Mgmt::V2020_12_01::Models::TagsObject
91
+ ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPoolUpgradeProfile
92
+ AgentPoolListResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolListResult
93
+ ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterUpgradeProfile
94
+ ManagedClusterLoadBalancerProfileOutboundIPs = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
95
+ AgentPoolUpgradeProfilePropertiesUpgradesItem = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
96
+ OperationValue = Azure::ContainerService::Mgmt::V2020_12_01::Models::OperationValue
97
+ AgentPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolUpgradeProfile
98
+ ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceLinuxProfile
99
+ AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
100
+ PowerState = Azure::ContainerService::Mgmt::V2020_12_01::Models::PowerState
101
+ AgentPoolAvailableVersions = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolAvailableVersions
102
+ TimeInWeek = Azure::ContainerService::Mgmt::V2020_12_01::Models::TimeInWeek
103
+ CredentialResult = Azure::ContainerService::Mgmt::V2020_12_01::Models::CredentialResult
104
+ ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAgentPoolProfile
105
+ AgentPool = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPool
106
+ MaintenanceConfiguration = Azure::ContainerService::Mgmt::V2020_12_01::Models::MaintenanceConfiguration
107
+ ManagedClusterAddonProfileIdentity = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAddonProfileIdentity
108
+ ManagedClusterPropertiesIdentityProfileValue = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPropertiesIdentityProfileValue
109
+ ManagedCluster = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedCluster
110
+ ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAccessProfile
111
+ ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceStorageProfileTypes
112
+ ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceVMSizeTypes
113
+ OSDiskType = Azure::ContainerService::Mgmt::V2020_12_01::Models::OSDiskType
114
+ KubeletDiskType = Azure::ContainerService::Mgmt::V2020_12_01::Models::KubeletDiskType
115
+ OSType = Azure::ContainerService::Mgmt::V2020_12_01::Models::OSType
116
+ AgentPoolType = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolType
117
+ AgentPoolMode = Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolMode
118
+ Code = Azure::ContainerService::Mgmt::V2020_12_01::Models::Code
119
+ ScaleSetPriority = Azure::ContainerService::Mgmt::V2020_12_01::Models::ScaleSetPriority
120
+ ScaleSetEvictionPolicy = Azure::ContainerService::Mgmt::V2020_12_01::Models::ScaleSetEvictionPolicy
121
+ LicenseType = Azure::ContainerService::Mgmt::V2020_12_01::Models::LicenseType
122
+ NetworkPlugin = Azure::ContainerService::Mgmt::V2020_12_01::Models::NetworkPlugin
123
+ NetworkPolicy = Azure::ContainerService::Mgmt::V2020_12_01::Models::NetworkPolicy
124
+ NetworkMode = Azure::ContainerService::Mgmt::V2020_12_01::Models::NetworkMode
125
+ OutboundType = Azure::ContainerService::Mgmt::V2020_12_01::Models::OutboundType
126
+ LoadBalancerSku = Azure::ContainerService::Mgmt::V2020_12_01::Models::LoadBalancerSku
127
+ CreatedByType = Azure::ContainerService::Mgmt::V2020_12_01::Models::CreatedByType
128
+ WeekDay = Azure::ContainerService::Mgmt::V2020_12_01::Models::WeekDay
129
+ ManagedClusterPodIdentityProvisioningState = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityProvisioningState
130
+ UpgradeChannel = Azure::ContainerService::Mgmt::V2020_12_01::Models::UpgradeChannel
131
+ Expander = Azure::ContainerService::Mgmt::V2020_12_01::Models::Expander
132
+ ResourceIdentityType = Azure::ContainerService::Mgmt::V2020_12_01::Models::ResourceIdentityType
133
+ ManagedClusterSKUName = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterSKUName
134
+ ManagedClusterSKUTier = Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterSKUTier
135
+ PrivateEndpointConnectionProvisioningState = Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpointConnectionProvisioningState
136
+ ConnectionStatus = Azure::ContainerService::Mgmt::V2020_12_01::Models::ConnectionStatus
118
137
  end
119
138
 
120
139
  #
121
140
  # ContainerServiceManagementClass
122
141
  #
123
142
  class ContainerServiceManagementClass
124
- attr_reader :open_shift_managed_clusters, :container_services, :operations, :managed_clusters, :agent_pools, :private_endpoint_connections, :private_link_resources, :resolve_private_link_service_id, :configurable, :base_url, :options, :model_classes
143
+ attr_reader :open_shift_managed_clusters, :container_services, :operations, :managed_clusters, :maintenance_configurations, :agent_pools, :private_endpoint_connections, :private_link_resources, :resolve_private_link_service_id, :configurable, :base_url, :options, :model_classes
125
144
 
126
145
  def initialize(options = {})
127
146
  if options.is_a?(Hash) && options.length == 0
@@ -156,13 +175,14 @@ module Azure::ContainerService::Profiles::Latest
156
175
  add_telemetry(@client_2)
157
176
  @container_services = @client_2.container_services
158
177
 
159
- @client_3 = Azure::ContainerService::Mgmt::V2020_09_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
178
+ @client_3 = Azure::ContainerService::Mgmt::V2020_12_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
160
179
  if(@client_3.respond_to?(:subscription_id))
161
180
  @client_3.subscription_id = configurable.subscription_id
162
181
  end
163
182
  add_telemetry(@client_3)
164
183
  @operations = @client_3.operations
165
184
  @managed_clusters = @client_3.managed_clusters
185
+ @maintenance_configurations = @client_3.maintenance_configurations
166
186
  @agent_pools = @client_3.agent_pools
167
187
  @private_endpoint_connections = @client_3.private_endpoint_connections
168
188
  @private_link_resources = @client_3.private_link_resources
@@ -268,227 +288,281 @@ module Azure::ContainerService::Profiles::Latest
268
288
  def orchestrator_version_profile_list_result
269
289
  Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
270
290
  end
271
- def managed_cluster_aadprofile
272
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAADProfile
273
- end
274
- def operation_value
275
- Azure::ContainerService::Mgmt::V2020_09_01::Models::OperationValue
276
- end
277
- def managed_cluster_properties_auto_scaler_profile
278
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPropertiesAutoScalerProfile
291
+ def container_service_vmdiagnostics
292
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceVMDiagnostics
279
293
  end
280
- def resource
281
- Azure::ContainerService::Mgmt::V2020_09_01::Models::Resource
294
+ def container_service_diagnostics_profile
295
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceDiagnosticsProfile
282
296
  end
283
- def managed_cluster_apiserver_access_profile
284
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAPIServerAccessProfile
297
+ def operation_list_result
298
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::OperationListResult
285
299
  end
286
- def tags_object
287
- Azure::ContainerService::Mgmt::V2020_09_01::Models::TagsObject
300
+ def private_link_resources_list_result
301
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResourcesListResult
288
302
  end
289
303
  def sub_resource
290
- Azure::ContainerService::Mgmt::V2020_09_01::Models::SubResource
304
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::SubResource
305
+ end
306
+ def managed_cluster_addon_profile
307
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAddonProfile
291
308
  end
292
309
  def managed_cluster_service_principal_profile
293
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterServicePrincipalProfile
310
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterServicePrincipalProfile
311
+ end
312
+ def user_assigned_identity
313
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::UserAssignedIdentity
294
314
  end
295
315
  def agent_pool_upgrade_settings
296
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeSettings
316
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolUpgradeSettings
297
317
  end
298
- def private_link_resources_list_result
299
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkResourcesListResult
318
+ def kubelet_config
319
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::KubeletConfig
320
+ end
321
+ def linux_osconfig
322
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::LinuxOSConfig
323
+ end
324
+ def managed_cluster_pod_identity_provisioning_info
325
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityProvisioningInfo
300
326
  end
301
327
  def managed_cluster_agent_pool_profile_properties
302
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAgentPoolProfileProperties
328
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAgentPoolProfileProperties
303
329
  end
304
- def managed_cluster_identity_user_assigned_identities_value
305
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterIdentityUserAssignedIdentitiesValue
330
+ def private_link_service_connection_state
331
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkServiceConnectionState
306
332
  end
307
- def private_endpoint
308
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpoint
333
+ def credential_results
334
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::CredentialResults
309
335
  end
310
- def agent_pool_list_result
311
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolListResult
336
+ def managed_cluster_windows_profile
337
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterWindowsProfile
312
338
  end
313
- def private_link_service_connection_state
314
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkServiceConnectionState
339
+ def managed_cluster_pod_identity
340
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentity
315
341
  end
316
- def container_service_ssh_public_key
317
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceSshPublicKey
342
+ def container_service_ssh_configuration
343
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceSshConfiguration
318
344
  end
319
- def managed_cluster_identity
320
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterIdentity
345
+ def managed_cluster_pod_identity_exception
346
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityException
321
347
  end
322
- def container_service_linux_profile
323
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceLinuxProfile
348
+ def managed_cluster_load_balancer_profile_managed_outbound_ips
349
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
324
350
  end
325
- def managed_cluster_sku
326
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKU
351
+ def managed_cluster_pod_identity_profile
352
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityProfile
327
353
  end
328
- def resource_reference
329
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ResourceReference
354
+ def managed_cluster_load_balancer_profile_outbound_ipprefixes
355
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
356
+ end
357
+ def managed_cluster_aadprofile
358
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAADProfile
359
+ end
360
+ def managed_cluster_load_balancer_profile
361
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfile
362
+ end
363
+ def managed_cluster_auto_upgrade_profile
364
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAutoUpgradeProfile
365
+ end
366
+ def system_data
367
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::SystemData
368
+ end
369
+ def managed_cluster_properties_auto_scaler_profile
370
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPropertiesAutoScalerProfile
371
+ end
372
+ def time_span
373
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::TimeSpan
374
+ end
375
+ def managed_cluster_apiserver_access_profile
376
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAPIServerAccessProfile
377
+ end
378
+ def maintenance_configuration_list_result
379
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::MaintenanceConfigurationListResult
330
380
  end
331
381
  def private_link_resource
332
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkResource
382
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateLinkResource
333
383
  end
334
- def managed_cluster_load_balancer_profile_outbound_ips
335
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
384
+ def resource
385
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::Resource
336
386
  end
337
- def managed_cluster_list_result
338
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterListResult
387
+ def managed_cluster_identity_user_assigned_identities_value
388
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterIdentityUserAssignedIdentitiesValue
339
389
  end
340
- def container_service_network_profile
341
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceNetworkProfile
390
+ def container_service_master_profile
391
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceMasterProfile
342
392
  end
343
- def user_assigned_identity
344
- Azure::ContainerService::Mgmt::V2020_09_01::Models::UserAssignedIdentity
393
+ def managed_cluster_identity
394
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterIdentity
345
395
  end
346
- def container_service_diagnostics_profile
347
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceDiagnosticsProfile
396
+ def sysctl_config
397
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::SysctlConfig
398
+ end
399
+ def managed_cluster_sku
400
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterSKU
401
+ end
402
+ def container_service_ssh_public_key
403
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceSshPublicKey
348
404
  end
349
405
  def private_endpoint_connection_list_result
350
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnectionListResult
406
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpointConnectionListResult
351
407
  end
352
- def managed_cluster_addon_profile
353
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAddonProfile
408
+ def resource_reference
409
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ResourceReference
410
+ end
411
+ def managed_cluster_list_result
412
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterListResult
413
+ end
414
+ def container_service_network_profile
415
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceNetworkProfile
416
+ end
417
+ def private_endpoint_connection
418
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpointConnection
419
+ end
420
+ def private_endpoint
421
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpoint
354
422
  end
355
423
  def managed_cluster_pool_upgrade_profile_upgrades_item
356
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
424
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
357
425
  end
358
- def container_service_master_profile
359
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceMasterProfile
426
+ def tags_object
427
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::TagsObject
360
428
  end
361
429
  def managed_cluster_pool_upgrade_profile
362
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPoolUpgradeProfile
430
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPoolUpgradeProfile
363
431
  end
364
- def managed_cluster_windows_profile
365
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterWindowsProfile
432
+ def agent_pool_list_result
433
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolListResult
366
434
  end
367
435
  def managed_cluster_upgrade_profile
368
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterUpgradeProfile
436
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterUpgradeProfile
369
437
  end
370
- def managed_cluster_load_balancer_profile_managed_outbound_ips
371
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
438
+ def managed_cluster_load_balancer_profile_outbound_ips
439
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
372
440
  end
373
441
  def agent_pool_upgrade_profile_properties_upgrades_item
374
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
442
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
375
443
  end
376
- def managed_cluster_load_balancer_profile
377
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfile
444
+ def operation_value
445
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::OperationValue
378
446
  end
379
447
  def agent_pool_upgrade_profile
380
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfile
448
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolUpgradeProfile
381
449
  end
382
- def private_endpoint_connection
383
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnection
450
+ def container_service_linux_profile
451
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceLinuxProfile
384
452
  end
385
453
  def agent_pool_available_versions_properties_agent_pool_versions_item
386
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
454
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
387
455
  end
388
456
  def power_state
389
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PowerState
457
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PowerState
390
458
  end
391
459
  def agent_pool_available_versions
392
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolAvailableVersions
460
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolAvailableVersions
393
461
  end
394
- def managed_cluster_load_balancer_profile_outbound_ipprefixes
395
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
462
+ def time_in_week
463
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::TimeInWeek
396
464
  end
397
465
  def credential_result
398
- Azure::ContainerService::Mgmt::V2020_09_01::Models::CredentialResult
399
- end
400
- def operation_list_result
401
- Azure::ContainerService::Mgmt::V2020_09_01::Models::OperationListResult
402
- end
403
- def credential_results
404
- Azure::ContainerService::Mgmt::V2020_09_01::Models::CredentialResults
405
- end
406
- def container_service_vmdiagnostics
407
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceVMDiagnostics
408
- end
409
- def container_service_ssh_configuration
410
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceSshConfiguration
466
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::CredentialResult
411
467
  end
412
468
  def managed_cluster_agent_pool_profile
413
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAgentPoolProfile
469
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAgentPoolProfile
414
470
  end
415
471
  def agent_pool
416
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPool
472
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPool
473
+ end
474
+ def maintenance_configuration
475
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::MaintenanceConfiguration
417
476
  end
418
477
  def managed_cluster_addon_profile_identity
419
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAddonProfileIdentity
478
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAddonProfileIdentity
420
479
  end
421
480
  def managed_cluster_properties_identity_profile_value
422
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPropertiesIdentityProfileValue
481
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPropertiesIdentityProfileValue
423
482
  end
424
483
  def managed_cluster
425
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedCluster
484
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedCluster
426
485
  end
427
486
  def managed_cluster_access_profile
428
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAccessProfile
487
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterAccessProfile
429
488
  end
430
489
  def container_service_storage_profile_types
431
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceStorageProfileTypes
490
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceStorageProfileTypes
432
491
  end
433
492
  def container_service_vmsize_types
434
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceVMSizeTypes
493
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ContainerServiceVMSizeTypes
435
494
  end
436
495
  def osdisk_type
437
- Azure::ContainerService::Mgmt::V2020_09_01::Models::OSDiskType
496
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::OSDiskType
497
+ end
498
+ def kubelet_disk_type
499
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::KubeletDiskType
438
500
  end
439
501
  def ostype
440
- Azure::ContainerService::Mgmt::V2020_09_01::Models::OSType
502
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::OSType
441
503
  end
442
504
  def agent_pool_type
443
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolType
505
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolType
444
506
  end
445
507
  def agent_pool_mode
446
- Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolMode
508
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::AgentPoolMode
447
509
  end
448
510
  def code
449
- Azure::ContainerService::Mgmt::V2020_09_01::Models::Code
511
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::Code
450
512
  end
451
513
  def scale_set_priority
452
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ScaleSetPriority
514
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ScaleSetPriority
453
515
  end
454
516
  def scale_set_eviction_policy
455
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ScaleSetEvictionPolicy
517
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ScaleSetEvictionPolicy
456
518
  end
457
519
  def license_type
458
- Azure::ContainerService::Mgmt::V2020_09_01::Models::LicenseType
520
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::LicenseType
459
521
  end
460
522
  def network_plugin
461
- Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkPlugin
523
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::NetworkPlugin
462
524
  end
463
525
  def network_policy
464
- Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkPolicy
526
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::NetworkPolicy
465
527
  end
466
528
  def network_mode
467
- Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkMode
529
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::NetworkMode
468
530
  end
469
531
  def outbound_type
470
- Azure::ContainerService::Mgmt::V2020_09_01::Models::OutboundType
532
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::OutboundType
471
533
  end
472
534
  def load_balancer_sku
473
- Azure::ContainerService::Mgmt::V2020_09_01::Models::LoadBalancerSku
535
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::LoadBalancerSku
536
+ end
537
+ def created_by_type
538
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::CreatedByType
539
+ end
540
+ def week_day
541
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::WeekDay
542
+ end
543
+ def managed_cluster_pod_identity_provisioning_state
544
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterPodIdentityProvisioningState
545
+ end
546
+ def upgrade_channel
547
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::UpgradeChannel
474
548
  end
475
549
  def expander
476
- Azure::ContainerService::Mgmt::V2020_09_01::Models::Expander
550
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::Expander
477
551
  end
478
552
  def resource_identity_type
479
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ResourceIdentityType
553
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ResourceIdentityType
480
554
  end
481
555
  def managed_cluster_skuname
482
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKUName
556
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterSKUName
483
557
  end
484
558
  def managed_cluster_skutier
485
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKUTier
559
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ManagedClusterSKUTier
486
560
  end
487
561
  def private_endpoint_connection_provisioning_state
488
- Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnectionProvisioningState
562
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::PrivateEndpointConnectionProvisioningState
489
563
  end
490
564
  def connection_status
491
- Azure::ContainerService::Mgmt::V2020_09_01::Models::ConnectionStatus
565
+ Azure::ContainerService::Mgmt::V2020_12_01::Models::ConnectionStatus
492
566
  end
493
567
  end
494
568
  end