azure_mgmt_traffic_manager 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-11-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2017-03-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2017-05-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2017-09-01-preview/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +6 -5
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager.rb +50 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb +493 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +110 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb +188 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +124 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile.rb +172 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +63 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/region.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/resource.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/models/traffic_view_enrollment_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/profiles.rb +720 -0
- data/lib/2018-02-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +141 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/endpoints.rb +493 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +110 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/heat_map.rb +137 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +47 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb +76 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb +206 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_custom_headers_item.rb +57 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb +125 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +165 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_config_custom_headers_item.rb +57 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_config_expected_status_code_ranges_item.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile.rb +169 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +55 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +60 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/query_experience.rb +70 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/region.rb +79 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/resource.rb +70 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +89 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb +92 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +73 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +93 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +18 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/models/traffic_view_enrollment_status.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/module_definition.rb +9 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/profiles.rb +720 -0
- data/lib/2018-03-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +145 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager.rb +61 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/endpoints.rb +493 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb +110 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/heat_map.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/check_traffic_manager_relative_dns_name_availability_parameters.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/delete_operation_result.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/dns_config.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint.rb +232 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_monitor_status.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_custom_headers_item.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_properties_subnets_item.rb +69 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/endpoint_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_endpoint.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/heat_map_model.rb +128 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_config.rb +165 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_config_custom_headers_item.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_config_expected_status_code_ranges_item.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/monitor_protocol.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile.rb +184 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile_list_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile_monitor_status.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/profile_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/proxy_resource.rb +63 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/query_experience.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/region.rb +79 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/resource.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/tracked_resource.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_flow.rb +92 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_geographic_hierarchy.rb +76 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb +93 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_routing_method.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/traffic_view_enrollment_status.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/models/user_metrics_model.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/profiles.rb +720 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/traffic_manager_management_client.rb +149 -0
- data/lib/2018-04-01/generated/azure_mgmt_traffic_manager/traffic_manager_user_metrics_keys.rb +280 -0
- data/lib/azure_mgmt_traffic_manager.rb +4 -1
- data/lib/profiles/latest/modules/trafficmanager_profile_module.rb +98 -86
- data/lib/version.rb +1 -1
- metadata +102 -5
@@ -0,0 +1,149 @@
|
|
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::TrafficManager::Mgmt::V2018_04_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class TrafficManagerManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Gets subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client Api Version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] The preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
32
|
+
# Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
34
|
+
|
35
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
36
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
37
|
+
# generated and included in each request. Default is true.
|
38
|
+
attr_accessor :generate_client_request_id
|
39
|
+
|
40
|
+
# @return [Endpoints] endpoints
|
41
|
+
attr_reader :endpoints
|
42
|
+
|
43
|
+
# @return [Profiles] profiles
|
44
|
+
attr_reader :profiles
|
45
|
+
|
46
|
+
# @return [GeographicHierarchies] geographic_hierarchies
|
47
|
+
attr_reader :geographic_hierarchies
|
48
|
+
|
49
|
+
# @return [HeatMap] heat_map
|
50
|
+
attr_reader :heat_map
|
51
|
+
|
52
|
+
# @return [TrafficManagerUserMetricsKeys] traffic_manager_user_metrics_keys
|
53
|
+
attr_reader :traffic_manager_user_metrics_keys
|
54
|
+
|
55
|
+
#
|
56
|
+
# Creates initializes a new instance of the TrafficManagerManagementClient class.
|
57
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
58
|
+
# @param base_url [String] the base URI of the service.
|
59
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
60
|
+
#
|
61
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
62
|
+
super(credentials, options)
|
63
|
+
@base_url = base_url || 'https://management.azure.com'
|
64
|
+
|
65
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
66
|
+
@credentials = credentials
|
67
|
+
|
68
|
+
@endpoints = Endpoints.new(self)
|
69
|
+
@profiles = Profiles.new(self)
|
70
|
+
@geographic_hierarchies = GeographicHierarchies.new(self)
|
71
|
+
@heat_map = HeatMap.new(self)
|
72
|
+
@traffic_manager_user_metrics_keys = TrafficManagerUserMetricsKeys.new(self)
|
73
|
+
@api_version = '2018-04-01'
|
74
|
+
@accept_language = 'en-US'
|
75
|
+
@long_running_operation_retry_timeout = 30
|
76
|
+
@generate_client_request_id = true
|
77
|
+
add_telemetry
|
78
|
+
end
|
79
|
+
|
80
|
+
#
|
81
|
+
# Makes a request and returns the body of the response.
|
82
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
83
|
+
# @param path [String] the path, relative to {base_url}.
|
84
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
85
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
86
|
+
# Example:
|
87
|
+
#
|
88
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
89
|
+
# path = "/path"
|
90
|
+
# options = {
|
91
|
+
# body: request_content,
|
92
|
+
# query_params: {'api-version' => '2016-02-01'}
|
93
|
+
# }
|
94
|
+
# result = @client.make_request(:put, path, options)
|
95
|
+
#
|
96
|
+
def make_request(method, path, options = {})
|
97
|
+
result = make_request_with_http_info(method, path, options)
|
98
|
+
result.body unless result.nil?
|
99
|
+
end
|
100
|
+
|
101
|
+
#
|
102
|
+
# Makes a request and returns the operation response.
|
103
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
104
|
+
# @param path [String] the path, relative to {base_url}.
|
105
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
106
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
107
|
+
#
|
108
|
+
def make_request_with_http_info(method, path, options = {})
|
109
|
+
result = make_request_async(method, path, options).value!
|
110
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
111
|
+
result
|
112
|
+
end
|
113
|
+
|
114
|
+
#
|
115
|
+
# Makes a request asynchronously.
|
116
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
117
|
+
# @param path [String] the path, relative to {base_url}.
|
118
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
119
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
120
|
+
#
|
121
|
+
def make_request_async(method, path, options = {})
|
122
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
123
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
124
|
+
|
125
|
+
request_url = options[:base_url] || @base_url
|
126
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
127
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
128
|
+
end
|
129
|
+
|
130
|
+
request_headers = @request_headers
|
131
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
132
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
133
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
134
|
+
|
135
|
+
super(request_url, method, path, options)
|
136
|
+
end
|
137
|
+
|
138
|
+
|
139
|
+
private
|
140
|
+
#
|
141
|
+
# Adds telemetry information.
|
142
|
+
#
|
143
|
+
def add_telemetry
|
144
|
+
sdk_information = 'azure_mgmt_traffic_manager'
|
145
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
146
|
+
add_user_agent_information(sdk_information)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
@@ -0,0 +1,280 @@
|
|
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::TrafficManager::Mgmt::V2018_04_01
|
7
|
+
#
|
8
|
+
# TrafficManagerUserMetricsKeys
|
9
|
+
#
|
10
|
+
class TrafficManagerUserMetricsKeys
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the TrafficManagerUserMetricsKeys class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [TrafficManagerManagementClient] reference to the TrafficManagerManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Get the subscription-level key used for Real User Metrics collection.
|
26
|
+
#
|
27
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
28
|
+
# will be added to the HTTP request.
|
29
|
+
#
|
30
|
+
# @return [UserMetricsModel] operation results.
|
31
|
+
#
|
32
|
+
def get(custom_headers:nil)
|
33
|
+
response = get_async(custom_headers:custom_headers).value!
|
34
|
+
response.body unless response.nil?
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Get the subscription-level key used for Real User Metrics collection.
|
39
|
+
#
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
|
+
# will be added to the HTTP request.
|
42
|
+
#
|
43
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
44
|
+
#
|
45
|
+
def get_with_http_info(custom_headers:nil)
|
46
|
+
get_async(custom_headers:custom_headers).value!
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Get the subscription-level key used for Real User Metrics collection.
|
51
|
+
#
|
52
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
53
|
+
# to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
|
+
#
|
57
|
+
def get_async(custom_headers:nil)
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
60
|
+
|
61
|
+
|
62
|
+
request_headers = {}
|
63
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
64
|
+
|
65
|
+
# Set Headers
|
66
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
67
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
68
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default'
|
69
|
+
|
70
|
+
request_url = @base_url || @client.base_url
|
71
|
+
|
72
|
+
options = {
|
73
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
74
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
75
|
+
query_params: {'api-version' => @client.api_version},
|
76
|
+
headers: request_headers.merge(custom_headers || {}),
|
77
|
+
base_url: request_url
|
78
|
+
}
|
79
|
+
promise = @client.make_request_async(:get, path_template, options)
|
80
|
+
|
81
|
+
promise = promise.then do |result|
|
82
|
+
http_response = result.response
|
83
|
+
status_code = http_response.status
|
84
|
+
response_content = http_response.body
|
85
|
+
unless status_code == 200
|
86
|
+
error_model = JSON.load(response_content)
|
87
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
88
|
+
end
|
89
|
+
|
90
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
91
|
+
# Deserialize Response
|
92
|
+
if status_code == 200
|
93
|
+
begin
|
94
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
95
|
+
result_mapper = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel.mapper()
|
96
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
97
|
+
rescue Exception => e
|
98
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
result
|
103
|
+
end
|
104
|
+
|
105
|
+
promise.execute
|
106
|
+
end
|
107
|
+
|
108
|
+
#
|
109
|
+
# Create or update a subscription-level key used for Real User Metrics
|
110
|
+
# collection.
|
111
|
+
#
|
112
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
113
|
+
# will be added to the HTTP request.
|
114
|
+
#
|
115
|
+
# @return [UserMetricsModel] operation results.
|
116
|
+
#
|
117
|
+
def create_or_update(custom_headers:nil)
|
118
|
+
response = create_or_update_async(custom_headers:custom_headers).value!
|
119
|
+
response.body unless response.nil?
|
120
|
+
end
|
121
|
+
|
122
|
+
#
|
123
|
+
# Create or update a subscription-level key used for Real User Metrics
|
124
|
+
# collection.
|
125
|
+
#
|
126
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
127
|
+
# will be added to the HTTP request.
|
128
|
+
#
|
129
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
130
|
+
#
|
131
|
+
def create_or_update_with_http_info(custom_headers:nil)
|
132
|
+
create_or_update_async(custom_headers:custom_headers).value!
|
133
|
+
end
|
134
|
+
|
135
|
+
#
|
136
|
+
# Create or update a subscription-level key used for Real User Metrics
|
137
|
+
# collection.
|
138
|
+
#
|
139
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
140
|
+
# to the HTTP request.
|
141
|
+
#
|
142
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
143
|
+
#
|
144
|
+
def create_or_update_async(custom_headers:nil)
|
145
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
146
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
147
|
+
|
148
|
+
|
149
|
+
request_headers = {}
|
150
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
151
|
+
|
152
|
+
# Set Headers
|
153
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
154
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
155
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default'
|
156
|
+
|
157
|
+
request_url = @base_url || @client.base_url
|
158
|
+
|
159
|
+
options = {
|
160
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
161
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
162
|
+
query_params: {'api-version' => @client.api_version},
|
163
|
+
headers: request_headers.merge(custom_headers || {}),
|
164
|
+
base_url: request_url
|
165
|
+
}
|
166
|
+
promise = @client.make_request_async(:put, path_template, options)
|
167
|
+
|
168
|
+
promise = promise.then do |result|
|
169
|
+
http_response = result.response
|
170
|
+
status_code = http_response.status
|
171
|
+
response_content = http_response.body
|
172
|
+
unless status_code == 201
|
173
|
+
error_model = JSON.load(response_content)
|
174
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
175
|
+
end
|
176
|
+
|
177
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
178
|
+
# Deserialize Response
|
179
|
+
if status_code == 201
|
180
|
+
begin
|
181
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
182
|
+
result_mapper = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel.mapper()
|
183
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
184
|
+
rescue Exception => e
|
185
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
result
|
190
|
+
end
|
191
|
+
|
192
|
+
promise.execute
|
193
|
+
end
|
194
|
+
|
195
|
+
#
|
196
|
+
# Delete a subscription-level key used for Real User Metrics collection.
|
197
|
+
#
|
198
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
199
|
+
# will be added to the HTTP request.
|
200
|
+
#
|
201
|
+
# @return [DeleteOperationResult] operation results.
|
202
|
+
#
|
203
|
+
def delete(custom_headers:nil)
|
204
|
+
response = delete_async(custom_headers:custom_headers).value!
|
205
|
+
response.body unless response.nil?
|
206
|
+
end
|
207
|
+
|
208
|
+
#
|
209
|
+
# Delete a subscription-level key used for Real User Metrics collection.
|
210
|
+
#
|
211
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
212
|
+
# will be added to the HTTP request.
|
213
|
+
#
|
214
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
215
|
+
#
|
216
|
+
def delete_with_http_info(custom_headers:nil)
|
217
|
+
delete_async(custom_headers:custom_headers).value!
|
218
|
+
end
|
219
|
+
|
220
|
+
#
|
221
|
+
# Delete a subscription-level key used for Real User Metrics collection.
|
222
|
+
#
|
223
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
224
|
+
# to the HTTP request.
|
225
|
+
#
|
226
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
227
|
+
#
|
228
|
+
def delete_async(custom_headers:nil)
|
229
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
230
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
231
|
+
|
232
|
+
|
233
|
+
request_headers = {}
|
234
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
235
|
+
|
236
|
+
# Set Headers
|
237
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
238
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
239
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default'
|
240
|
+
|
241
|
+
request_url = @base_url || @client.base_url
|
242
|
+
|
243
|
+
options = {
|
244
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
245
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
246
|
+
query_params: {'api-version' => @client.api_version},
|
247
|
+
headers: request_headers.merge(custom_headers || {}),
|
248
|
+
base_url: request_url
|
249
|
+
}
|
250
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
251
|
+
|
252
|
+
promise = promise.then do |result|
|
253
|
+
http_response = result.response
|
254
|
+
status_code = http_response.status
|
255
|
+
response_content = http_response.body
|
256
|
+
unless status_code == 200
|
257
|
+
error_model = JSON.load(response_content)
|
258
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
259
|
+
end
|
260
|
+
|
261
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
262
|
+
# Deserialize Response
|
263
|
+
if status_code == 200
|
264
|
+
begin
|
265
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
266
|
+
result_mapper = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult.mapper()
|
267
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
268
|
+
rescue Exception => e
|
269
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
result
|
274
|
+
end
|
275
|
+
|
276
|
+
promise.execute
|
277
|
+
end
|
278
|
+
|
279
|
+
end
|
280
|
+
end
|
@@ -2,8 +2,11 @@
|
|
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 '2017-05-01/generated/azure_mgmt_traffic_manager'
|
5
6
|
require '2015-11-01/generated/azure_mgmt_traffic_manager'
|
7
|
+
require '2018-02-01/generated/azure_mgmt_traffic_manager'
|
8
|
+
require '2018-03-01/generated/azure_mgmt_traffic_manager'
|
9
|
+
require '2018-04-01/generated/azure_mgmt_traffic_manager'
|
6
10
|
require '2017-03-01/generated/azure_mgmt_traffic_manager'
|
7
|
-
require '2017-05-01/generated/azure_mgmt_traffic_manager'
|
8
11
|
require '2017-09-01-preview/generated/azure_mgmt_traffic_manager'
|
9
12
|
require 'profiles/latest/trafficmanager_latest_profile_client'
|
@@ -6,37 +6,42 @@ require 'azure_mgmt_traffic_manager'
|
|
6
6
|
|
7
7
|
module Azure::TrafficManager::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
-
Endpoints = Azure::TrafficManager::Mgmt::
|
10
|
-
Profiles = Azure::TrafficManager::Mgmt::
|
11
|
-
GeographicHierarchies = Azure::TrafficManager::Mgmt::
|
12
|
-
HeatMap = Azure::TrafficManager::Mgmt::
|
13
|
-
TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::
|
9
|
+
Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints
|
10
|
+
Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles
|
11
|
+
GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies
|
12
|
+
HeatMap = Azure::TrafficManager::Mgmt::V2018_04_01::HeatMap
|
13
|
+
TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys
|
14
14
|
|
15
15
|
module Models
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
16
|
+
MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem
|
17
|
+
MonitorConfigExpectedStatusCodeRangesItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem
|
18
|
+
EndpointPropertiesSubnetsItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
|
19
|
+
MonitorConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig
|
20
|
+
HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapEndpoint
|
21
|
+
EndpointPropertiesCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesCustomHeadersItem
|
22
|
+
QueryExperience = Azure::TrafficManager::Mgmt::V2018_04_01::Models::QueryExperience
|
23
|
+
DeleteOperationResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult
|
24
|
+
TrafficFlow = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
|
25
|
+
Region = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region
|
26
|
+
DnsConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig
|
27
|
+
CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
|
28
|
+
ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult
|
29
|
+
Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource
|
30
|
+
TrafficManagerNameAvailability = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability
|
31
|
+
HeatMapModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel
|
32
|
+
UserMetricsModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel
|
33
|
+
Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint
|
34
|
+
TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource
|
35
|
+
Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile
|
36
|
+
ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource
|
37
|
+
TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy
|
38
|
+
EndpointStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus
|
39
|
+
EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus
|
40
|
+
ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus
|
41
|
+
MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol
|
42
|
+
ProfileStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus
|
43
|
+
TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod
|
44
|
+
TrafficViewEnrollmentStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus
|
40
45
|
end
|
41
46
|
|
42
47
|
#
|
@@ -58,7 +63,7 @@ module Azure::TrafficManager::Profiles::Latest
|
|
58
63
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
59
64
|
@options = options[:options].nil? ? nil:options[:options]
|
60
65
|
|
61
|
-
@client_0 = Azure::TrafficManager::Mgmt::
|
66
|
+
@client_0 = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerManagementClient.new(configurable.credentials, base_url, options)
|
62
67
|
if(@client_0.respond_to?(:subscription_id))
|
63
68
|
@client_0.subscription_id = configurable.subscription_id
|
64
69
|
end
|
@@ -66,14 +71,8 @@ module Azure::TrafficManager::Profiles::Latest
|
|
66
71
|
@endpoints = @client_0.endpoints
|
67
72
|
@profiles = @client_0.profiles
|
68
73
|
@geographic_hierarchies = @client_0.geographic_hierarchies
|
69
|
-
|
70
|
-
@
|
71
|
-
if(@client_1.respond_to?(:subscription_id))
|
72
|
-
@client_1.subscription_id = configurable.subscription_id
|
73
|
-
end
|
74
|
-
add_telemetry(@client_1)
|
75
|
-
@heat_map = @client_1.heat_map
|
76
|
-
@traffic_manager_user_metrics_keys = @client_1.traffic_manager_user_metrics_keys
|
74
|
+
@heat_map = @client_0.heat_map
|
75
|
+
@traffic_manager_user_metrics_keys = @client_0.traffic_manager_user_metrics_keys
|
77
76
|
|
78
77
|
@model_classes = ModelClasses.new
|
79
78
|
end
|
@@ -84,9 +83,7 @@ module Azure::TrafficManager::Profiles::Latest
|
|
84
83
|
end
|
85
84
|
|
86
85
|
def method_missing(method, *args)
|
87
|
-
if @
|
88
|
-
@client_1.send(method, *args)
|
89
|
-
elsif @client_0.respond_to?method
|
86
|
+
if @client_0.respond_to?method
|
90
87
|
@client_0.send(method, *args)
|
91
88
|
else
|
92
89
|
super
|
@@ -96,77 +93,92 @@ module Azure::TrafficManager::Profiles::Latest
|
|
96
93
|
end
|
97
94
|
|
98
95
|
class ModelClasses
|
99
|
-
def
|
100
|
-
Azure::TrafficManager::Mgmt::
|
96
|
+
def monitor_config_custom_headers_item
|
97
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem
|
101
98
|
end
|
102
|
-
def
|
103
|
-
Azure::TrafficManager::Mgmt::
|
99
|
+
def monitor_config_expected_status_code_ranges_item
|
100
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem
|
104
101
|
end
|
105
|
-
def
|
106
|
-
Azure::TrafficManager::Mgmt::
|
102
|
+
def endpoint_properties_subnets_item
|
103
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem
|
104
|
+
end
|
105
|
+
def monitor_config
|
106
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig
|
107
|
+
end
|
108
|
+
def heat_map_endpoint
|
109
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapEndpoint
|
110
|
+
end
|
111
|
+
def endpoint_properties_custom_headers_item
|
112
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesCustomHeadersItem
|
113
|
+
end
|
114
|
+
def query_experience
|
115
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::QueryExperience
|
116
|
+
end
|
117
|
+
def delete_operation_result
|
118
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::DeleteOperationResult
|
119
|
+
end
|
120
|
+
def traffic_flow
|
121
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow
|
122
|
+
end
|
123
|
+
def region
|
124
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region
|
107
125
|
end
|
108
126
|
def dns_config
|
109
|
-
Azure::TrafficManager::Mgmt::
|
127
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig
|
110
128
|
end
|
111
|
-
def
|
112
|
-
Azure::TrafficManager::Mgmt::
|
129
|
+
def check_traffic_manager_relative_dns_name_availability_parameters
|
130
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters
|
113
131
|
end
|
114
132
|
def profile_list_result
|
115
|
-
Azure::TrafficManager::Mgmt::
|
133
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult
|
134
|
+
end
|
135
|
+
def resource
|
136
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource
|
137
|
+
end
|
138
|
+
def traffic_manager_name_availability
|
139
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability
|
140
|
+
end
|
141
|
+
def heat_map_model
|
142
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel
|
143
|
+
end
|
144
|
+
def user_metrics_model
|
145
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel
|
116
146
|
end
|
117
147
|
def endpoint
|
118
|
-
Azure::TrafficManager::Mgmt::
|
148
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint
|
149
|
+
end
|
150
|
+
def tracked_resource
|
151
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource
|
119
152
|
end
|
120
153
|
def profile
|
121
|
-
Azure::TrafficManager::Mgmt::
|
154
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile
|
155
|
+
end
|
156
|
+
def proxy_resource
|
157
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource
|
122
158
|
end
|
123
159
|
def traffic_manager_geographic_hierarchy
|
124
|
-
Azure::TrafficManager::Mgmt::
|
160
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy
|
125
161
|
end
|
126
162
|
def endpoint_status
|
127
|
-
Azure::TrafficManager::Mgmt::
|
163
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus
|
128
164
|
end
|
129
165
|
def endpoint_monitor_status
|
130
|
-
Azure::TrafficManager::Mgmt::
|
166
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus
|
131
167
|
end
|
132
168
|
def profile_monitor_status
|
133
|
-
Azure::TrafficManager::Mgmt::
|
169
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus
|
134
170
|
end
|
135
171
|
def monitor_protocol
|
136
|
-
Azure::TrafficManager::Mgmt::
|
172
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol
|
137
173
|
end
|
138
174
|
def profile_status
|
139
|
-
Azure::TrafficManager::Mgmt::
|
175
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus
|
140
176
|
end
|
141
177
|
def traffic_routing_method
|
142
|
-
Azure::TrafficManager::Mgmt::
|
143
|
-
end
|
144
|
-
def delete_operation_result
|
145
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult
|
146
|
-
end
|
147
|
-
def heat_map_endpoint
|
148
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint
|
149
|
-
end
|
150
|
-
def resource
|
151
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource
|
152
|
-
end
|
153
|
-
def traffic_flow
|
154
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow
|
155
|
-
end
|
156
|
-
def query_experience
|
157
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience
|
158
|
-
end
|
159
|
-
def tracked_resource
|
160
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource
|
161
|
-
end
|
162
|
-
def proxy_resource
|
163
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource
|
164
|
-
end
|
165
|
-
def heat_map_model
|
166
|
-
Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel
|
178
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod
|
167
179
|
end
|
168
|
-
def
|
169
|
-
Azure::TrafficManager::Mgmt::
|
180
|
+
def traffic_view_enrollment_status
|
181
|
+
Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus
|
170
182
|
end
|
171
183
|
end
|
172
184
|
end
|