azure_mgmt_signalr 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/resource.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/operations.rb +4 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb +22 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_signalr/usages.rb +4 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/dimension.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/key_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/metric_specification.rb +139 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/name_availability_parameters.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation.rb +84 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_display.rb +79 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_list.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/operation_properties.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/provisioning_state.rb +23 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/regenerate_key_parameters.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/resource_sku.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/service_specification.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcors_settings.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_or_update_properties.rb +92 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rcreate_parameters.rb +85 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rfeature.rb +87 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rkeys.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource.rb +232 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rresource_list.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rsku_tier.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rupdate_parameters.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage.rb +95 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_list.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/signal_rusage_name.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/models/tracked_resource.rb +94 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/module_definition.rb +9 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/operations.rb +225 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_r.rb +1488 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/signal_rmanagement_client.rb +141 -0
- data/lib/2018-10-01/generated/azure_mgmt_signalr/usages.rb +226 -0
- data/lib/azure_mgmt_signalr.rb +1 -0
- data/lib/profiles/latest/modules/signalr_profile_module.rb +71 -63
- data/lib/version.rb +1 -1
- metadata +38 -5
@@ -0,0 +1,141 @@
|
|
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::Signalr::Mgmt::V2018_10_01
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class SignalRManagementClient < 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] Client Api Version.
|
21
|
+
attr_reader :api_version
|
22
|
+
|
23
|
+
# @return [String] Gets subscription Id which uniquely identify the
|
24
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
25
|
+
# for every service call.
|
26
|
+
attr_accessor :subscription_id
|
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 [Operations] operations
|
41
|
+
attr_reader :operations
|
42
|
+
|
43
|
+
# @return [SignalR] signal_r
|
44
|
+
attr_reader :signal_r
|
45
|
+
|
46
|
+
# @return [Usages] usages
|
47
|
+
attr_reader :usages
|
48
|
+
|
49
|
+
#
|
50
|
+
# Creates initializes a new instance of the SignalRManagementClient class.
|
51
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
52
|
+
# @param base_url [String] the base URI of the service.
|
53
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
54
|
+
#
|
55
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
56
|
+
super(credentials, options)
|
57
|
+
@base_url = base_url || 'https://management.azure.com'
|
58
|
+
|
59
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
60
|
+
@credentials = credentials
|
61
|
+
|
62
|
+
@operations = Operations.new(self)
|
63
|
+
@signal_r = SignalR.new(self)
|
64
|
+
@usages = Usages.new(self)
|
65
|
+
@api_version = '2018-10-01'
|
66
|
+
@accept_language = 'en-US'
|
67
|
+
@long_running_operation_retry_timeout = 30
|
68
|
+
@generate_client_request_id = true
|
69
|
+
add_telemetry
|
70
|
+
end
|
71
|
+
|
72
|
+
#
|
73
|
+
# Makes a request and returns the body of the response.
|
74
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
75
|
+
# @param path [String] the path, relative to {base_url}.
|
76
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
77
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
78
|
+
# Example:
|
79
|
+
#
|
80
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
81
|
+
# path = "/path"
|
82
|
+
# options = {
|
83
|
+
# body: request_content,
|
84
|
+
# query_params: {'api-version' => '2016-02-01'}
|
85
|
+
# }
|
86
|
+
# result = @client.make_request(:put, path, options)
|
87
|
+
#
|
88
|
+
def make_request(method, path, options = {})
|
89
|
+
result = make_request_with_http_info(method, path, options)
|
90
|
+
result.body unless result.nil?
|
91
|
+
end
|
92
|
+
|
93
|
+
#
|
94
|
+
# Makes a request and returns the operation response.
|
95
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
96
|
+
# @param path [String] the path, relative to {base_url}.
|
97
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
98
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
99
|
+
#
|
100
|
+
def make_request_with_http_info(method, path, options = {})
|
101
|
+
result = make_request_async(method, path, options).value!
|
102
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
103
|
+
result
|
104
|
+
end
|
105
|
+
|
106
|
+
#
|
107
|
+
# Makes a request asynchronously.
|
108
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
109
|
+
# @param path [String] the path, relative to {base_url}.
|
110
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
111
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
112
|
+
#
|
113
|
+
def make_request_async(method, path, options = {})
|
114
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
115
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
116
|
+
|
117
|
+
request_url = options[:base_url] || @base_url
|
118
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
119
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
120
|
+
end
|
121
|
+
|
122
|
+
request_headers = @request_headers
|
123
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
124
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
125
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
126
|
+
|
127
|
+
super(request_url, method, path, options)
|
128
|
+
end
|
129
|
+
|
130
|
+
|
131
|
+
private
|
132
|
+
#
|
133
|
+
# Adds telemetry information.
|
134
|
+
#
|
135
|
+
def add_telemetry
|
136
|
+
sdk_information = 'azure_mgmt_signalr'
|
137
|
+
sdk_information = "#{sdk_information}/0.17.4"
|
138
|
+
add_user_agent_information(sdk_information)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
@@ -0,0 +1,226 @@
|
|
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::Signalr::Mgmt::V2018_10_01
|
7
|
+
#
|
8
|
+
# REST API for Azure SignalR Service
|
9
|
+
#
|
10
|
+
class Usages
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Usages class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [SignalRManagementClient] reference to the SignalRManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# List usage quotas for Azure SignalR service by location.
|
26
|
+
#
|
27
|
+
# @param location [String] the location like "eastus"
|
28
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
29
|
+
# will be added to the HTTP request.
|
30
|
+
#
|
31
|
+
# @return [Array<SignalRUsage>] operation results.
|
32
|
+
#
|
33
|
+
def list(location, custom_headers:nil)
|
34
|
+
first_page = list_as_lazy(location, custom_headers:custom_headers)
|
35
|
+
first_page.get_all_items
|
36
|
+
end
|
37
|
+
|
38
|
+
#
|
39
|
+
# List usage quotas for Azure SignalR service by location.
|
40
|
+
#
|
41
|
+
# @param location [String] the location like "eastus"
|
42
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
43
|
+
# will be added to the HTTP request.
|
44
|
+
#
|
45
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
46
|
+
#
|
47
|
+
def list_with_http_info(location, custom_headers:nil)
|
48
|
+
list_async(location, custom_headers:custom_headers).value!
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# List usage quotas for Azure SignalR service by location.
|
53
|
+
#
|
54
|
+
# @param location [String] the location like "eastus"
|
55
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
56
|
+
# to the HTTP request.
|
57
|
+
#
|
58
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
59
|
+
#
|
60
|
+
def list_async(location, custom_headers:nil)
|
61
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
62
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
63
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
64
|
+
|
65
|
+
|
66
|
+
request_headers = {}
|
67
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
68
|
+
|
69
|
+
# Set Headers
|
70
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
71
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
72
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/usages'
|
73
|
+
|
74
|
+
request_url = @base_url || @client.base_url
|
75
|
+
|
76
|
+
options = {
|
77
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
78
|
+
path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
|
79
|
+
query_params: {'api-version' => @client.api_version},
|
80
|
+
headers: request_headers.merge(custom_headers || {}),
|
81
|
+
base_url: request_url
|
82
|
+
}
|
83
|
+
promise = @client.make_request_async(:get, path_template, options)
|
84
|
+
|
85
|
+
promise = promise.then do |result|
|
86
|
+
http_response = result.response
|
87
|
+
status_code = http_response.status
|
88
|
+
response_content = http_response.body
|
89
|
+
unless status_code == 200
|
90
|
+
error_model = JSON.load(response_content)
|
91
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
92
|
+
end
|
93
|
+
|
94
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
95
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
96
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
97
|
+
# Deserialize Response
|
98
|
+
if status_code == 200
|
99
|
+
begin
|
100
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
101
|
+
result_mapper = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsageList.mapper()
|
102
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
103
|
+
rescue Exception => e
|
104
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
result
|
109
|
+
end
|
110
|
+
|
111
|
+
promise.execute
|
112
|
+
end
|
113
|
+
|
114
|
+
#
|
115
|
+
# List usage quotas for Azure SignalR service by location.
|
116
|
+
#
|
117
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
118
|
+
# to List operation.
|
119
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
120
|
+
# will be added to the HTTP request.
|
121
|
+
#
|
122
|
+
# @return [SignalRUsageList] operation results.
|
123
|
+
#
|
124
|
+
def list_next(next_page_link, custom_headers:nil)
|
125
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
126
|
+
response.body unless response.nil?
|
127
|
+
end
|
128
|
+
|
129
|
+
#
|
130
|
+
# List usage quotas for Azure SignalR service by location.
|
131
|
+
#
|
132
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
133
|
+
# to List operation.
|
134
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
135
|
+
# will be added to the HTTP request.
|
136
|
+
#
|
137
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
138
|
+
#
|
139
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
140
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
141
|
+
end
|
142
|
+
|
143
|
+
#
|
144
|
+
# List usage quotas for Azure SignalR service by location.
|
145
|
+
#
|
146
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
147
|
+
# to List operation.
|
148
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
149
|
+
# to the HTTP request.
|
150
|
+
#
|
151
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
152
|
+
#
|
153
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
154
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
155
|
+
|
156
|
+
|
157
|
+
request_headers = {}
|
158
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
159
|
+
|
160
|
+
# Set Headers
|
161
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
162
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
163
|
+
path_template = '{nextLink}'
|
164
|
+
|
165
|
+
request_url = @base_url || @client.base_url
|
166
|
+
|
167
|
+
options = {
|
168
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
169
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
170
|
+
headers: request_headers.merge(custom_headers || {}),
|
171
|
+
base_url: request_url
|
172
|
+
}
|
173
|
+
promise = @client.make_request_async(:get, path_template, options)
|
174
|
+
|
175
|
+
promise = promise.then do |result|
|
176
|
+
http_response = result.response
|
177
|
+
status_code = http_response.status
|
178
|
+
response_content = http_response.body
|
179
|
+
unless status_code == 200
|
180
|
+
error_model = JSON.load(response_content)
|
181
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
182
|
+
end
|
183
|
+
|
184
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
185
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
186
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
187
|
+
# Deserialize Response
|
188
|
+
if status_code == 200
|
189
|
+
begin
|
190
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
191
|
+
result_mapper = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsageList.mapper()
|
192
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
193
|
+
rescue Exception => e
|
194
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
result
|
199
|
+
end
|
200
|
+
|
201
|
+
promise.execute
|
202
|
+
end
|
203
|
+
|
204
|
+
#
|
205
|
+
# List usage quotas for Azure SignalR service by location.
|
206
|
+
#
|
207
|
+
# @param location [String] the location like "eastus"
|
208
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
209
|
+
# will be added to the HTTP request.
|
210
|
+
#
|
211
|
+
# @return [SignalRUsageList] which provide lazy access to pages of the
|
212
|
+
# response.
|
213
|
+
#
|
214
|
+
def list_as_lazy(location, custom_headers:nil)
|
215
|
+
response = list_async(location, custom_headers:custom_headers).value!
|
216
|
+
unless response.nil?
|
217
|
+
page = response.body
|
218
|
+
page.next_method = Proc.new do |next_page_link|
|
219
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
220
|
+
end
|
221
|
+
page
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
end
|
226
|
+
end
|
data/lib/azure_mgmt_signalr.rb
CHANGED
@@ -6,36 +6,38 @@ require 'azure_mgmt_signalr'
|
|
6
6
|
|
7
7
|
module Azure::Signalr::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
-
Operations = Azure::Signalr::Mgmt::
|
10
|
-
SignalR = Azure::Signalr::Mgmt::
|
11
|
-
Usages = Azure::Signalr::Mgmt::
|
9
|
+
Operations = Azure::Signalr::Mgmt::V2018_10_01::Operations
|
10
|
+
SignalR = Azure::Signalr::Mgmt::V2018_10_01::SignalR
|
11
|
+
Usages = Azure::Signalr::Mgmt::V2018_10_01::Usages
|
12
12
|
|
13
13
|
module Models
|
14
|
-
SignalRResourceList = Azure::Signalr::Mgmt::
|
15
|
-
|
16
|
-
|
17
|
-
ServiceSpecification = Azure::Signalr::Mgmt::
|
18
|
-
|
19
|
-
Operation = Azure::Signalr::Mgmt::
|
20
|
-
|
21
|
-
NameAvailabilityParameters = Azure::Signalr::Mgmt::
|
22
|
-
|
23
|
-
ResourceSku = Azure::Signalr::Mgmt::
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
14
|
+
SignalRResourceList = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRResourceList
|
15
|
+
Dimension = Azure::Signalr::Mgmt::V2018_10_01::Models::Dimension
|
16
|
+
SignalRUsageList = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsageList
|
17
|
+
ServiceSpecification = Azure::Signalr::Mgmt::V2018_10_01::Models::ServiceSpecification
|
18
|
+
Resource = Azure::Signalr::Mgmt::V2018_10_01::Models::Resource
|
19
|
+
Operation = Azure::Signalr::Mgmt::V2018_10_01::Models::Operation
|
20
|
+
SignalRFeature = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRFeature
|
21
|
+
NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_10_01::Models::NameAvailabilityParameters
|
22
|
+
SignalRCorsSettings = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCorsSettings
|
23
|
+
ResourceSku = Azure::Signalr::Mgmt::V2018_10_01::Models::ResourceSku
|
24
|
+
SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCreateOrUpdateProperties
|
25
|
+
MetricSpecification = Azure::Signalr::Mgmt::V2018_10_01::Models::MetricSpecification
|
26
|
+
SignalRKeys = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRKeys
|
27
|
+
OperationList = Azure::Signalr::Mgmt::V2018_10_01::Models::OperationList
|
28
|
+
RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_10_01::Models::RegenerateKeyParameters
|
29
|
+
OperationDisplay = Azure::Signalr::Mgmt::V2018_10_01::Models::OperationDisplay
|
30
|
+
SignalRUsage = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsage
|
31
|
+
NameAvailability = Azure::Signalr::Mgmt::V2018_10_01::Models::NameAvailability
|
32
|
+
SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUpdateParameters
|
33
|
+
OperationProperties = Azure::Signalr::Mgmt::V2018_10_01::Models::OperationProperties
|
34
|
+
SignalRUsageName = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsageName
|
35
|
+
TrackedResource = Azure::Signalr::Mgmt::V2018_10_01::Models::TrackedResource
|
36
|
+
SignalRResource = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRResource
|
37
|
+
SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCreateParameters
|
38
|
+
SignalRSkuTier = Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRSkuTier
|
39
|
+
ProvisioningState = Azure::Signalr::Mgmt::V2018_10_01::Models::ProvisioningState
|
40
|
+
KeyType = Azure::Signalr::Mgmt::V2018_10_01::Models::KeyType
|
39
41
|
end
|
40
42
|
|
41
43
|
#
|
@@ -57,7 +59,7 @@ module Azure::Signalr::Profiles::Latest
|
|
57
59
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
58
60
|
@options = options[:options].nil? ? nil:options[:options]
|
59
61
|
|
60
|
-
@client_0 = Azure::Signalr::Mgmt::
|
62
|
+
@client_0 = Azure::Signalr::Mgmt::V2018_10_01::SignalRManagementClient.new(configurable.credentials, base_url, options)
|
61
63
|
if(@client_0.respond_to?(:subscription_id))
|
62
64
|
@client_0.subscription_id = configurable.subscription_id
|
63
65
|
end
|
@@ -86,79 +88,85 @@ module Azure::Signalr::Profiles::Latest
|
|
86
88
|
|
87
89
|
class ModelClasses
|
88
90
|
def signal_rresource_list
|
89
|
-
Azure::Signalr::Mgmt::
|
90
|
-
end
|
91
|
-
def operation_display
|
92
|
-
Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
91
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRResourceList
|
93
92
|
end
|
94
93
|
def dimension
|
95
|
-
Azure::Signalr::Mgmt::
|
94
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::Dimension
|
95
|
+
end
|
96
|
+
def signal_rusage_list
|
97
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsageList
|
96
98
|
end
|
97
99
|
def service_specification
|
98
|
-
Azure::Signalr::Mgmt::
|
100
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::ServiceSpecification
|
99
101
|
end
|
100
|
-
def
|
101
|
-
Azure::Signalr::Mgmt::
|
102
|
+
def resource
|
103
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::Resource
|
102
104
|
end
|
103
105
|
def operation
|
104
|
-
Azure::Signalr::Mgmt::
|
106
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::Operation
|
105
107
|
end
|
106
|
-
def
|
107
|
-
Azure::Signalr::Mgmt::
|
108
|
+
def signal_rfeature
|
109
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRFeature
|
108
110
|
end
|
109
111
|
def name_availability_parameters
|
110
|
-
Azure::Signalr::Mgmt::
|
112
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::NameAvailabilityParameters
|
111
113
|
end
|
112
|
-
def
|
113
|
-
Azure::Signalr::Mgmt::
|
114
|
+
def signal_rcors_settings
|
115
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCorsSettings
|
114
116
|
end
|
115
117
|
def resource_sku
|
116
|
-
Azure::Signalr::Mgmt::
|
118
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::ResourceSku
|
119
|
+
end
|
120
|
+
def signal_rcreate_or_update_properties
|
121
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCreateOrUpdateProperties
|
122
|
+
end
|
123
|
+
def metric_specification
|
124
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::MetricSpecification
|
117
125
|
end
|
118
126
|
def signal_rkeys
|
119
|
-
Azure::Signalr::Mgmt::
|
127
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRKeys
|
120
128
|
end
|
121
|
-
def
|
122
|
-
Azure::Signalr::Mgmt::
|
129
|
+
def operation_list
|
130
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::OperationList
|
123
131
|
end
|
124
132
|
def regenerate_key_parameters
|
125
|
-
Azure::Signalr::Mgmt::
|
133
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::RegenerateKeyParameters
|
126
134
|
end
|
127
|
-
def
|
128
|
-
Azure::Signalr::Mgmt::
|
135
|
+
def operation_display
|
136
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::OperationDisplay
|
129
137
|
end
|
130
138
|
def signal_rusage
|
131
|
-
Azure::Signalr::Mgmt::
|
139
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsage
|
132
140
|
end
|
133
|
-
def
|
134
|
-
Azure::Signalr::Mgmt::
|
141
|
+
def name_availability
|
142
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::NameAvailability
|
135
143
|
end
|
136
144
|
def signal_rupdate_parameters
|
137
|
-
Azure::Signalr::Mgmt::
|
145
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUpdateParameters
|
138
146
|
end
|
139
|
-
def
|
140
|
-
Azure::Signalr::Mgmt::
|
147
|
+
def operation_properties
|
148
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::OperationProperties
|
141
149
|
end
|
142
150
|
def signal_rusage_name
|
143
|
-
Azure::Signalr::Mgmt::
|
151
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRUsageName
|
144
152
|
end
|
145
153
|
def tracked_resource
|
146
|
-
Azure::Signalr::Mgmt::
|
154
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::TrackedResource
|
147
155
|
end
|
148
156
|
def signal_rresource
|
149
|
-
Azure::Signalr::Mgmt::
|
157
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRResource
|
150
158
|
end
|
151
159
|
def signal_rcreate_parameters
|
152
|
-
Azure::Signalr::Mgmt::
|
160
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRCreateParameters
|
153
161
|
end
|
154
162
|
def signal_rsku_tier
|
155
|
-
Azure::Signalr::Mgmt::
|
163
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::SignalRSkuTier
|
156
164
|
end
|
157
165
|
def provisioning_state
|
158
|
-
Azure::Signalr::Mgmt::
|
166
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::ProvisioningState
|
159
167
|
end
|
160
168
|
def key_type
|
161
|
-
Azure::Signalr::Mgmt::
|
169
|
+
Azure::Signalr::Mgmt::V2018_10_01::Models::KeyType
|
162
170
|
end
|
163
171
|
end
|
164
172
|
end
|