azure_mgmt_container_service 0.20.4 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2019-10-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
- data/lib/2020-09-01/generated/azure_mgmt_container_service.rb +107 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/agent_pools.rb +1054 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/container_service_client.rb +153 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/managed_clusters.rb +2309 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool.rb +469 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb +93 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_mode.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb +129 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_settings.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/code.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/connection_status.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +179 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/expander.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/license_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +402 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +123 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +80 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +298 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +442 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb +66 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb +132 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb +56 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb +213 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_sku.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_skuname.rb +15 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_skutier.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +84 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/network_mode.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/osdisk_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/outbound_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/power_state.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_endpoint.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_endpoint_connection.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_list_result.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_link_resource.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_link_resources_list_result.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/private_link_service_connection_state.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/resource_reference.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb +69 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/operations.rb +109 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/private_endpoint_connections.rb +515 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/private_link_resources.rb +132 -0
- data/lib/2020-09-01/generated/azure_mgmt_container_service/resolve_private_link_service_id.rb +143 -0
- data/lib/azure_mgmt_container_service.rb +13 -12
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +205 -185
- data/lib/version.rb +1 -1
- metadata +86 -3
@@ -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_09_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_09_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_09_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_09_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_09_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
|
@@ -2,23 +2,24 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
-
require '2019-04-
|
5
|
+
require '2019-04-01/generated/azure_mgmt_container_service'
|
6
|
+
require '2018-09-30-preview/generated/azure_mgmt_container_service'
|
6
7
|
require '2016-03-30/generated/azure_mgmt_container_service'
|
7
|
-
require '
|
8
|
-
require '2019-10-01/generated/azure_mgmt_container_service'
|
9
|
-
require '2017-08-31/generated/azure_mgmt_container_service'
|
8
|
+
require '2020-06-01/generated/azure_mgmt_container_service'
|
10
9
|
require '2018-08-01-preview/generated/azure_mgmt_container_service'
|
11
|
-
require '2017-01-31/generated/azure_mgmt_container_service'
|
12
|
-
require '2016-09-30/generated/azure_mgmt_container_service'
|
13
|
-
require '2018-09-30-preview/generated/azure_mgmt_container_service'
|
14
10
|
require '2019-02-01/generated/azure_mgmt_container_service'
|
15
|
-
require '2017-07-01/generated/azure_mgmt_container_service'
|
16
|
-
require '2020-02-01/generated/azure_mgmt_container_service'
|
17
|
-
require '2019-04-01/generated/azure_mgmt_container_service'
|
18
|
-
require '2017-09-30/generated/azure_mgmt_container_service'
|
19
|
-
require '2020-06-01/generated/azure_mgmt_container_service'
|
20
11
|
require '2019-09-30-preview/generated/azure_mgmt_container_service'
|
21
12
|
require '2019-06-01/generated/azure_mgmt_container_service'
|
13
|
+
require '2017-07-01/generated/azure_mgmt_container_service'
|
14
|
+
require '2017-01-31/generated/azure_mgmt_container_service'
|
15
|
+
require '2018-03-31/generated/azure_mgmt_container_service'
|
22
16
|
require '2019-08-01/generated/azure_mgmt_container_service'
|
17
|
+
require '2020-02-01/generated/azure_mgmt_container_service'
|
18
|
+
require '2019-10-01/generated/azure_mgmt_container_service'
|
19
|
+
require '2017-09-30/generated/azure_mgmt_container_service'
|
20
|
+
require '2017-08-31/generated/azure_mgmt_container_service'
|
21
|
+
require '2020-09-01/generated/azure_mgmt_container_service'
|
22
|
+
require '2016-09-30/generated/azure_mgmt_container_service'
|
23
|
+
require '2019-04-30/generated/azure_mgmt_container_service'
|
23
24
|
require '2020-07-01/generated/azure_mgmt_container_service'
|
24
25
|
require 'profiles/latest/containerservice_latest_profile_client'
|
@@ -8,10 +8,12 @@ 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::
|
12
|
-
ManagedClusters = Azure::ContainerService::Mgmt::
|
13
|
-
AgentPools = Azure::ContainerService::Mgmt::
|
14
|
-
PrivateEndpointConnections = Azure::ContainerService::Mgmt::
|
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
|
15
17
|
|
16
18
|
module Models
|
17
19
|
ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceWindowsProfile
|
@@ -39,81 +41,87 @@ module Azure::ContainerService::Profiles::Latest
|
|
39
41
|
OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfile
|
40
42
|
OrchestratorProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorProfile
|
41
43
|
OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
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
|
110
118
|
end
|
111
119
|
|
112
120
|
#
|
113
121
|
# ContainerServiceManagementClass
|
114
122
|
#
|
115
123
|
class ContainerServiceManagementClass
|
116
|
-
attr_reader :open_shift_managed_clusters, :container_services, :operations, :managed_clusters, :agent_pools, :private_endpoint_connections, :configurable, :base_url, :options, :model_classes
|
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
|
117
125
|
|
118
126
|
def initialize(options = {})
|
119
127
|
if options.is_a?(Hash) && options.length == 0
|
@@ -134,35 +142,31 @@ module Azure::ContainerService::Profiles::Latest
|
|
134
142
|
end
|
135
143
|
add_telemetry(@client_0)
|
136
144
|
|
137
|
-
@client_1 = Azure::ContainerService::Mgmt::
|
145
|
+
@client_1 = Azure::ContainerService::Mgmt::V2019_04_30::ContainerServiceClient.new(configurable.credentials, base_url, options)
|
138
146
|
if(@client_1.respond_to?(:subscription_id))
|
139
147
|
@client_1.subscription_id = configurable.subscription_id
|
140
148
|
end
|
141
149
|
add_telemetry(@client_1)
|
150
|
+
@open_shift_managed_clusters = @client_1.open_shift_managed_clusters
|
142
151
|
|
143
|
-
@client_2 = Azure::ContainerService::Mgmt::
|
152
|
+
@client_2 = Azure::ContainerService::Mgmt::V2019_08_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
|
144
153
|
if(@client_2.respond_to?(:subscription_id))
|
145
154
|
@client_2.subscription_id = configurable.subscription_id
|
146
155
|
end
|
147
156
|
add_telemetry(@client_2)
|
148
|
-
@
|
157
|
+
@container_services = @client_2.container_services
|
149
158
|
|
150
|
-
@client_3 = Azure::ContainerService::Mgmt::
|
159
|
+
@client_3 = Azure::ContainerService::Mgmt::V2020_09_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
|
151
160
|
if(@client_3.respond_to?(:subscription_id))
|
152
161
|
@client_3.subscription_id = configurable.subscription_id
|
153
162
|
end
|
154
163
|
add_telemetry(@client_3)
|
155
|
-
@
|
156
|
-
|
157
|
-
@
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
add_telemetry(@client_4)
|
162
|
-
@operations = @client_4.operations
|
163
|
-
@managed_clusters = @client_4.managed_clusters
|
164
|
-
@agent_pools = @client_4.agent_pools
|
165
|
-
@private_endpoint_connections = @client_4.private_endpoint_connections
|
164
|
+
@operations = @client_3.operations
|
165
|
+
@managed_clusters = @client_3.managed_clusters
|
166
|
+
@agent_pools = @client_3.agent_pools
|
167
|
+
@private_endpoint_connections = @client_3.private_endpoint_connections
|
168
|
+
@private_link_resources = @client_3.private_link_resources
|
169
|
+
@resolve_private_link_service_id = @client_3.resolve_private_link_service_id
|
166
170
|
|
167
171
|
@model_classes = ModelClasses.new
|
168
172
|
end
|
@@ -173,9 +177,7 @@ module Azure::ContainerService::Profiles::Latest
|
|
173
177
|
end
|
174
178
|
|
175
179
|
def method_missing(method, *args)
|
176
|
-
if @
|
177
|
-
@client_4.send(method, *args)
|
178
|
-
elsif @client_3.respond_to?method
|
180
|
+
if @client_3.respond_to?method
|
179
181
|
@client_3.send(method, *args)
|
180
182
|
elsif @client_2.respond_to?method
|
181
183
|
@client_2.send(method, *args)
|
@@ -266,209 +268,227 @@ module Azure::ContainerService::Profiles::Latest
|
|
266
268
|
def orchestrator_version_profile_list_result
|
267
269
|
Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
|
268
270
|
end
|
269
|
-
def managed_cluster_addon_profile
|
270
|
-
Azure::ContainerService::Mgmt::V2020_07_01::Models::ManagedClusterAddonProfile
|
271
|
-
end
|
272
271
|
def managed_cluster_aadprofile
|
273
|
-
Azure::ContainerService::Mgmt::
|
272
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAADProfile
|
274
273
|
end
|
275
|
-
def
|
276
|
-
Azure::ContainerService::Mgmt::
|
274
|
+
def operation_value
|
275
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::OperationValue
|
277
276
|
end
|
278
277
|
def managed_cluster_properties_auto_scaler_profile
|
279
|
-
Azure::ContainerService::Mgmt::
|
278
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPropertiesAutoScalerProfile
|
280
279
|
end
|
281
|
-
def
|
282
|
-
Azure::ContainerService::Mgmt::
|
280
|
+
def resource
|
281
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::Resource
|
283
282
|
end
|
284
283
|
def managed_cluster_apiserver_access_profile
|
285
|
-
Azure::ContainerService::Mgmt::
|
284
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAPIServerAccessProfile
|
285
|
+
end
|
286
|
+
def tags_object
|
287
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::TagsObject
|
288
|
+
end
|
289
|
+
def sub_resource
|
290
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::SubResource
|
286
291
|
end
|
287
292
|
def managed_cluster_service_principal_profile
|
288
|
-
Azure::ContainerService::Mgmt::
|
293
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterServicePrincipalProfile
|
289
294
|
end
|
290
|
-
def
|
291
|
-
Azure::ContainerService::Mgmt::
|
295
|
+
def agent_pool_upgrade_settings
|
296
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeSettings
|
292
297
|
end
|
293
|
-
def
|
294
|
-
Azure::ContainerService::Mgmt::
|
298
|
+
def private_link_resources_list_result
|
299
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkResourcesListResult
|
295
300
|
end
|
296
301
|
def managed_cluster_agent_pool_profile_properties
|
297
|
-
Azure::ContainerService::Mgmt::
|
302
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAgentPoolProfileProperties
|
298
303
|
end
|
299
|
-
def
|
300
|
-
Azure::ContainerService::Mgmt::
|
304
|
+
def managed_cluster_identity_user_assigned_identities_value
|
305
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterIdentityUserAssignedIdentitiesValue
|
306
|
+
end
|
307
|
+
def private_endpoint
|
308
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpoint
|
301
309
|
end
|
302
310
|
def agent_pool_list_result
|
303
|
-
Azure::ContainerService::Mgmt::
|
311
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolListResult
|
312
|
+
end
|
313
|
+
def private_link_service_connection_state
|
314
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkServiceConnectionState
|
304
315
|
end
|
305
316
|
def container_service_ssh_public_key
|
306
|
-
Azure::ContainerService::Mgmt::
|
317
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceSshPublicKey
|
307
318
|
end
|
308
|
-
def
|
309
|
-
Azure::ContainerService::Mgmt::
|
319
|
+
def managed_cluster_identity
|
320
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterIdentity
|
310
321
|
end
|
311
322
|
def container_service_linux_profile
|
312
|
-
Azure::ContainerService::Mgmt::
|
323
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceLinuxProfile
|
313
324
|
end
|
314
|
-
def
|
315
|
-
Azure::ContainerService::Mgmt::
|
325
|
+
def managed_cluster_sku
|
326
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKU
|
316
327
|
end
|
317
328
|
def resource_reference
|
318
|
-
Azure::ContainerService::Mgmt::
|
329
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ResourceReference
|
319
330
|
end
|
320
|
-
def
|
321
|
-
Azure::ContainerService::Mgmt::
|
331
|
+
def private_link_resource
|
332
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateLinkResource
|
322
333
|
end
|
323
334
|
def managed_cluster_load_balancer_profile_outbound_ips
|
324
|
-
Azure::ContainerService::Mgmt::
|
325
|
-
end
|
326
|
-
def private_endpoint_connection
|
327
|
-
Azure::ContainerService::Mgmt::V2020_07_01::Models::PrivateEndpointConnection
|
328
|
-
end
|
329
|
-
def container_service_network_profile
|
330
|
-
Azure::ContainerService::Mgmt::V2020_07_01::Models::ContainerServiceNetworkProfile
|
335
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
|
331
336
|
end
|
332
337
|
def managed_cluster_list_result
|
333
|
-
Azure::ContainerService::Mgmt::
|
338
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterListResult
|
334
339
|
end
|
335
|
-
def
|
336
|
-
Azure::ContainerService::Mgmt::
|
340
|
+
def container_service_network_profile
|
341
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceNetworkProfile
|
337
342
|
end
|
338
343
|
def user_assigned_identity
|
339
|
-
Azure::ContainerService::Mgmt::
|
344
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::UserAssignedIdentity
|
340
345
|
end
|
341
|
-
def
|
342
|
-
Azure::ContainerService::Mgmt::
|
346
|
+
def container_service_diagnostics_profile
|
347
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceDiagnosticsProfile
|
343
348
|
end
|
344
|
-
def
|
345
|
-
Azure::ContainerService::Mgmt::
|
349
|
+
def private_endpoint_connection_list_result
|
350
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnectionListResult
|
346
351
|
end
|
347
|
-
def
|
348
|
-
Azure::ContainerService::Mgmt::
|
352
|
+
def managed_cluster_addon_profile
|
353
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAddonProfile
|
349
354
|
end
|
350
355
|
def managed_cluster_pool_upgrade_profile_upgrades_item
|
351
|
-
Azure::ContainerService::Mgmt::
|
356
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
|
352
357
|
end
|
353
|
-
def
|
354
|
-
Azure::ContainerService::Mgmt::
|
358
|
+
def container_service_master_profile
|
359
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceMasterProfile
|
355
360
|
end
|
356
361
|
def managed_cluster_pool_upgrade_profile
|
357
|
-
Azure::ContainerService::Mgmt::
|
362
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPoolUpgradeProfile
|
358
363
|
end
|
359
|
-
def
|
360
|
-
Azure::ContainerService::Mgmt::
|
364
|
+
def managed_cluster_windows_profile
|
365
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterWindowsProfile
|
361
366
|
end
|
362
367
|
def managed_cluster_upgrade_profile
|
363
|
-
Azure::ContainerService::Mgmt::
|
368
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterUpgradeProfile
|
364
369
|
end
|
365
|
-
def
|
366
|
-
Azure::ContainerService::Mgmt::
|
370
|
+
def managed_cluster_load_balancer_profile_managed_outbound_ips
|
371
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
|
367
372
|
end
|
368
373
|
def agent_pool_upgrade_profile_properties_upgrades_item
|
369
|
-
Azure::ContainerService::Mgmt::
|
374
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
|
370
375
|
end
|
371
|
-
def
|
372
|
-
Azure::ContainerService::Mgmt::
|
376
|
+
def managed_cluster_load_balancer_profile
|
377
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfile
|
373
378
|
end
|
374
379
|
def agent_pool_upgrade_profile
|
375
|
-
Azure::ContainerService::Mgmt::
|
380
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfile
|
376
381
|
end
|
377
|
-
def
|
378
|
-
Azure::ContainerService::Mgmt::
|
382
|
+
def private_endpoint_connection
|
383
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnection
|
379
384
|
end
|
380
385
|
def agent_pool_available_versions_properties_agent_pool_versions_item
|
381
|
-
Azure::ContainerService::Mgmt::
|
386
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
|
382
387
|
end
|
383
|
-
def
|
384
|
-
Azure::ContainerService::Mgmt::
|
388
|
+
def power_state
|
389
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PowerState
|
385
390
|
end
|
386
391
|
def agent_pool_available_versions
|
387
|
-
Azure::ContainerService::Mgmt::
|
392
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolAvailableVersions
|
388
393
|
end
|
389
|
-
def
|
390
|
-
Azure::ContainerService::Mgmt::
|
394
|
+
def managed_cluster_load_balancer_profile_outbound_ipprefixes
|
395
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
|
391
396
|
end
|
392
397
|
def credential_result
|
393
|
-
Azure::ContainerService::Mgmt::
|
398
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::CredentialResult
|
394
399
|
end
|
395
|
-
def
|
396
|
-
Azure::ContainerService::Mgmt::
|
400
|
+
def operation_list_result
|
401
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::OperationListResult
|
397
402
|
end
|
398
403
|
def credential_results
|
399
|
-
Azure::ContainerService::Mgmt::
|
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
|
400
411
|
end
|
401
412
|
def managed_cluster_agent_pool_profile
|
402
|
-
Azure::ContainerService::Mgmt::
|
413
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAgentPoolProfile
|
403
414
|
end
|
404
415
|
def agent_pool
|
405
|
-
Azure::ContainerService::Mgmt::
|
416
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPool
|
406
417
|
end
|
407
418
|
def managed_cluster_addon_profile_identity
|
408
|
-
Azure::ContainerService::Mgmt::
|
419
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAddonProfileIdentity
|
409
420
|
end
|
410
421
|
def managed_cluster_properties_identity_profile_value
|
411
|
-
Azure::ContainerService::Mgmt::
|
422
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterPropertiesIdentityProfileValue
|
412
423
|
end
|
413
424
|
def managed_cluster
|
414
|
-
Azure::ContainerService::Mgmt::
|
425
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedCluster
|
415
426
|
end
|
416
427
|
def managed_cluster_access_profile
|
417
|
-
Azure::ContainerService::Mgmt::
|
428
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterAccessProfile
|
418
429
|
end
|
419
430
|
def container_service_storage_profile_types
|
420
|
-
Azure::ContainerService::Mgmt::
|
431
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceStorageProfileTypes
|
421
432
|
end
|
422
433
|
def container_service_vmsize_types
|
423
|
-
Azure::ContainerService::Mgmt::
|
434
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ContainerServiceVMSizeTypes
|
435
|
+
end
|
436
|
+
def osdisk_type
|
437
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::OSDiskType
|
424
438
|
end
|
425
439
|
def ostype
|
426
|
-
Azure::ContainerService::Mgmt::
|
440
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::OSType
|
427
441
|
end
|
428
442
|
def agent_pool_type
|
429
|
-
Azure::ContainerService::Mgmt::
|
443
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolType
|
430
444
|
end
|
431
445
|
def agent_pool_mode
|
432
|
-
Azure::ContainerService::Mgmt::
|
446
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolMode
|
447
|
+
end
|
448
|
+
def code
|
449
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::Code
|
433
450
|
end
|
434
451
|
def scale_set_priority
|
435
|
-
Azure::ContainerService::Mgmt::
|
452
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ScaleSetPriority
|
436
453
|
end
|
437
454
|
def scale_set_eviction_policy
|
438
|
-
Azure::ContainerService::Mgmt::
|
455
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ScaleSetEvictionPolicy
|
439
456
|
end
|
440
457
|
def license_type
|
441
|
-
Azure::ContainerService::Mgmt::
|
458
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::LicenseType
|
442
459
|
end
|
443
460
|
def network_plugin
|
444
|
-
Azure::ContainerService::Mgmt::
|
461
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkPlugin
|
445
462
|
end
|
446
463
|
def network_policy
|
447
|
-
Azure::ContainerService::Mgmt::
|
464
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkPolicy
|
448
465
|
end
|
449
466
|
def network_mode
|
450
|
-
Azure::ContainerService::Mgmt::
|
467
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::NetworkMode
|
451
468
|
end
|
452
469
|
def outbound_type
|
453
|
-
Azure::ContainerService::Mgmt::
|
470
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::OutboundType
|
454
471
|
end
|
455
472
|
def load_balancer_sku
|
456
|
-
Azure::ContainerService::Mgmt::
|
473
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::LoadBalancerSku
|
474
|
+
end
|
475
|
+
def expander
|
476
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::Expander
|
457
477
|
end
|
458
478
|
def resource_identity_type
|
459
|
-
Azure::ContainerService::Mgmt::
|
479
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ResourceIdentityType
|
460
480
|
end
|
461
481
|
def managed_cluster_skuname
|
462
|
-
Azure::ContainerService::Mgmt::
|
482
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKUName
|
463
483
|
end
|
464
484
|
def managed_cluster_skutier
|
465
|
-
Azure::ContainerService::Mgmt::
|
485
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ManagedClusterSKUTier
|
466
486
|
end
|
467
487
|
def private_endpoint_connection_provisioning_state
|
468
|
-
Azure::ContainerService::Mgmt::
|
488
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::PrivateEndpointConnectionProvisioningState
|
469
489
|
end
|
470
490
|
def connection_status
|
471
|
-
Azure::ContainerService::Mgmt::
|
491
|
+
Azure::ContainerService::Mgmt::V2020_09_01::Models::ConnectionStatus
|
472
492
|
end
|
473
493
|
end
|
474
494
|
end
|