azure_mgmt_stream_analytics 0.15.2 → 0.16.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-01/generated/azure_mgmt_stream_analytics.rb +15 -15
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/functions.rb +55 -55
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/inputs.rb +49 -48
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/models/function_retrieve_default_definition_parameters.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/operations.rb +15 -13
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/outputs.rb +49 -48
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/stream_analytics_management_client.rb +4 -1
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/streaming_jobs.rb +82 -78
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/subscriptions.rb +6 -5
- data/lib/2016-03-01/generated/azure_mgmt_stream_analytics/transformations.rb +18 -19
- data/lib/profiles/latest/modules/streamanalytics_profile_module.rb +265 -246
- data/lib/profiles/latest/streamanalytics_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/streamanalytics_module_definition.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9619c270cd3a45f7f24c768b313d49b341ed47bd
|
4
|
+
data.tar.gz: eae2d39b9a337221a24d718e1b1d14cc85cda73e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a8b4dd2f21b7f852d1829f8cef9c1e68183dc1b27b1a8f24c60659483022bcde578fb7b4b1341eacfb8789831b87033eefa4c0eb9071dd7d775a88bd20cb538
|
7
|
+
data.tar.gz: 84d9fa57c0be2f439cc2f79cc4cf7dd5458e46e183a7ffa7b96519be5a49fca67cdb61dad28cc138088d15333af83e6cce0c99f30c3b5c33c9d9c255a9e9abe2
|
@@ -34,7 +34,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
34
34
|
autoload :OperationDisplay, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation_display.rb'
|
35
35
|
autoload :AzureMachineLearningWebServiceInputs, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_inputs.rb'
|
36
36
|
autoload :OperationListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation_list_result.rb'
|
37
|
-
autoload :
|
37
|
+
autoload :ReferenceInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_data_source.rb'
|
38
38
|
autoload :Serialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/serialization.rb'
|
39
39
|
autoload :FunctionBinding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_binding.rb'
|
40
40
|
autoload :Diagnostics, '2016-03-01/generated/azure_mgmt_stream_analytics/models/diagnostics.rb'
|
@@ -44,26 +44,26 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
44
44
|
autoload :OutputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_data_source.rb'
|
45
45
|
autoload :InputProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/input_properties.rb'
|
46
46
|
autoload :FunctionProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_properties.rb'
|
47
|
-
autoload :
|
48
|
-
autoload :
|
47
|
+
autoload :ServiceBusDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/service_bus_data_source_properties.rb'
|
48
|
+
autoload :OutputListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_list_result.rb'
|
49
49
|
autoload :FunctionInput, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_input.rb'
|
50
50
|
autoload :StartStreamingJobParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/start_streaming_job_parameters.rb'
|
51
51
|
autoload :BlobDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_data_source_properties.rb'
|
52
|
-
autoload :OutputListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_list_result.rb'
|
53
|
-
autoload :ReferenceInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/reference_input_data_source.rb'
|
54
|
-
autoload :Operation, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation.rb'
|
55
|
-
autoload :AzureSqlDatabaseDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb'
|
56
|
-
autoload :ErrorResponse, '2016-03-01/generated/azure_mgmt_stream_analytics/models/error_response.rb'
|
57
52
|
autoload :FunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_retrieve_default_definition_parameters.rb'
|
58
|
-
autoload :StreamingJobListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb'
|
59
53
|
autoload :SubResource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/sub_resource.rb'
|
60
|
-
autoload :
|
54
|
+
autoload :Operation, '2016-03-01/generated/azure_mgmt_stream_analytics/models/operation.rb'
|
55
|
+
autoload :StorageAccount, '2016-03-01/generated/azure_mgmt_stream_analytics/models/storage_account.rb'
|
56
|
+
autoload :AzureSqlDatabaseDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_sql_database_data_source_properties.rb'
|
61
57
|
autoload :StreamInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_data_source.rb'
|
62
|
-
autoload :
|
58
|
+
autoload :StreamingJobListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/streaming_job_list_result.rb'
|
63
59
|
autoload :InputListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/input_list_result.rb'
|
60
|
+
autoload :AzureMachineLearningWebServiceOutputColumn, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_output_column.rb'
|
61
|
+
autoload :OAuthBasedDataSourceProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/oauth_based_data_source_properties.rb'
|
62
|
+
autoload :ResourceTestStatus, '2016-03-01/generated/azure_mgmt_stream_analytics/models/resource_test_status.rb'
|
63
|
+
autoload :ErrorResponse, '2016-03-01/generated/azure_mgmt_stream_analytics/models/error_response.rb'
|
64
64
|
autoload :SubscriptionQuotasListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/subscription_quotas_list_result.rb'
|
65
65
|
autoload :Resource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/resource.rb'
|
66
|
-
autoload :
|
66
|
+
autoload :FunctionListResult, '2016-03-01/generated/azure_mgmt_stream_analytics/models/function_list_result.rb'
|
67
67
|
autoload :Input, '2016-03-01/generated/azure_mgmt_stream_analytics/models/input.rb'
|
68
68
|
autoload :Transformation, '2016-03-01/generated/azure_mgmt_stream_analytics/models/transformation.rb'
|
69
69
|
autoload :Output, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output.rb'
|
@@ -72,8 +72,6 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
72
72
|
autoload :JavaScriptFunctionBinding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/java_script_function_binding.rb'
|
73
73
|
autoload :AzureMachineLearningWebServiceFunctionBinding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_binding.rb'
|
74
74
|
autoload :ScalarFunctionProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/scalar_function_properties.rb'
|
75
|
-
autoload :JavaScriptFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/java_script_function_retrieve_default_definition_parameters.rb'
|
76
|
-
autoload :AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_retrieve_default_definition_parameters.rb'
|
77
75
|
autoload :AvroSerialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/avro_serialization.rb'
|
78
76
|
autoload :JsonSerialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/json_serialization.rb'
|
79
77
|
autoload :CsvSerialization, '2016-03-01/generated/azure_mgmt_stream_analytics/models/csv_serialization.rb'
|
@@ -93,14 +91,16 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
93
91
|
autoload :EventHubStreamInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/event_hub_stream_input_data_source.rb'
|
94
92
|
autoload :BlobStreamInputDataSource, '2016-03-01/generated/azure_mgmt_stream_analytics/models/blob_stream_input_data_source.rb'
|
95
93
|
autoload :StreamInputProperties, '2016-03-01/generated/azure_mgmt_stream_analytics/models/stream_input_properties.rb'
|
94
|
+
autoload :AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/azure_machine_learning_web_service_function_retrieve_default_definition_parameters.rb'
|
95
|
+
autoload :JavaScriptFunctionRetrieveDefaultDefinitionParameters, '2016-03-01/generated/azure_mgmt_stream_analytics/models/java_script_function_retrieve_default_definition_parameters.rb'
|
96
96
|
autoload :SubscriptionQuota, '2016-03-01/generated/azure_mgmt_stream_analytics/models/subscription_quota.rb'
|
97
97
|
autoload :SkuName, '2016-03-01/generated/azure_mgmt_stream_analytics/models/sku_name.rb'
|
98
98
|
autoload :OutputStartMode, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_start_mode.rb'
|
99
99
|
autoload :EventsOutOfOrderPolicy, '2016-03-01/generated/azure_mgmt_stream_analytics/models/events_out_of_order_policy.rb'
|
100
100
|
autoload :OutputErrorPolicy, '2016-03-01/generated/azure_mgmt_stream_analytics/models/output_error_policy.rb'
|
101
101
|
autoload :CompatibilityLevel, '2016-03-01/generated/azure_mgmt_stream_analytics/models/compatibility_level.rb'
|
102
|
-
autoload :UdfType, '2016-03-01/generated/azure_mgmt_stream_analytics/models/udf_type.rb'
|
103
102
|
autoload :JsonOutputSerializationFormat, '2016-03-01/generated/azure_mgmt_stream_analytics/models/json_output_serialization_format.rb'
|
104
103
|
autoload :Encoding, '2016-03-01/generated/azure_mgmt_stream_analytics/models/encoding.rb'
|
104
|
+
autoload :UdfType, '2016-03-01/generated/azure_mgmt_stream_analytics/models/udf_type.rb'
|
105
105
|
end
|
106
106
|
end
|
@@ -43,8 +43,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
43
43
|
#
|
44
44
|
# @return [Function] operation results.
|
45
45
|
#
|
46
|
-
def create_or_replace(function, resource_group_name, job_name, function_name, if_match
|
47
|
-
response = create_or_replace_async(function, resource_group_name, job_name, function_name, if_match, if_none_match, custom_headers).value!
|
46
|
+
def create_or_replace(function, resource_group_name, job_name, function_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
47
|
+
response = create_or_replace_async(function, resource_group_name, job_name, function_name, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
48
48
|
response.body unless response.nil?
|
49
49
|
end
|
50
50
|
|
@@ -70,8 +70,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
70
70
|
#
|
71
71
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
72
72
|
#
|
73
|
-
def create_or_replace_with_http_info(function, resource_group_name, job_name, function_name, if_match
|
74
|
-
create_or_replace_async(function, resource_group_name, job_name, function_name, if_match, if_none_match, custom_headers).value!
|
73
|
+
def create_or_replace_with_http_info(function, resource_group_name, job_name, function_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
74
|
+
create_or_replace_async(function, resource_group_name, job_name, function_name, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
75
75
|
end
|
76
76
|
|
77
77
|
#
|
@@ -96,7 +96,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
96
96
|
#
|
97
97
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
98
98
|
#
|
99
|
-
def create_or_replace_async(function, resource_group_name, job_name, function_name, if_match
|
99
|
+
def create_or_replace_async(function, resource_group_name, job_name, function_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
100
100
|
fail ArgumentError, 'function is nil' if function.nil?
|
101
101
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
102
102
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -106,6 +106,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
106
106
|
|
107
107
|
|
108
108
|
request_headers = {}
|
109
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
109
110
|
|
110
111
|
# Set Headers
|
111
112
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -113,8 +114,6 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
113
114
|
request_headers['If-None-Match'] = if_none_match unless if_none_match.nil?
|
114
115
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
115
116
|
|
116
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
117
|
-
|
118
117
|
# Serialize Request
|
119
118
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function.mapper()
|
120
119
|
request_content = @client.serialize(request_mapper, function)
|
@@ -194,8 +193,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
194
193
|
#
|
195
194
|
# @return [Function] operation results.
|
196
195
|
#
|
197
|
-
def update(function, resource_group_name, job_name, function_name, if_match
|
198
|
-
response = update_async(function, resource_group_name, job_name, function_name, if_match, custom_headers).value!
|
196
|
+
def update(function, resource_group_name, job_name, function_name, if_match:nil, custom_headers:nil)
|
197
|
+
response = update_async(function, resource_group_name, job_name, function_name, if_match:if_match, custom_headers:custom_headers).value!
|
199
198
|
response.body unless response.nil?
|
200
199
|
end
|
201
200
|
|
@@ -222,8 +221,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
222
221
|
#
|
223
222
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
224
223
|
#
|
225
|
-
def update_with_http_info(function, resource_group_name, job_name, function_name, if_match
|
226
|
-
update_async(function, resource_group_name, job_name, function_name, if_match, custom_headers).value!
|
224
|
+
def update_with_http_info(function, resource_group_name, job_name, function_name, if_match:nil, custom_headers:nil)
|
225
|
+
update_async(function, resource_group_name, job_name, function_name, if_match:if_match, custom_headers:custom_headers).value!
|
227
226
|
end
|
228
227
|
|
229
228
|
#
|
@@ -249,7 +248,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
249
248
|
#
|
250
249
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
251
250
|
#
|
252
|
-
def update_async(function, resource_group_name, job_name, function_name, if_match
|
251
|
+
def update_async(function, resource_group_name, job_name, function_name, if_match:nil, custom_headers:nil)
|
253
252
|
fail ArgumentError, 'function is nil' if function.nil?
|
254
253
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
255
254
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -259,14 +258,13 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
259
258
|
|
260
259
|
|
261
260
|
request_headers = {}
|
261
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
262
262
|
|
263
263
|
# Set Headers
|
264
264
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
265
265
|
request_headers['If-Match'] = if_match unless if_match.nil?
|
266
266
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
267
267
|
|
268
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
269
|
-
|
270
268
|
# Serialize Request
|
271
269
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function.mapper()
|
272
270
|
request_content = @client.serialize(request_mapper, function)
|
@@ -325,8 +323,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
325
323
|
# will be added to the HTTP request.
|
326
324
|
#
|
327
325
|
#
|
328
|
-
def delete(resource_group_name, job_name, function_name, custom_headers
|
329
|
-
response = delete_async(resource_group_name, job_name, function_name, custom_headers).value!
|
326
|
+
def delete(resource_group_name, job_name, function_name, custom_headers:nil)
|
327
|
+
response = delete_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
330
328
|
nil
|
331
329
|
end
|
332
330
|
|
@@ -343,8 +341,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
343
341
|
#
|
344
342
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
345
343
|
#
|
346
|
-
def delete_with_http_info(resource_group_name, job_name, function_name, custom_headers
|
347
|
-
delete_async(resource_group_name, job_name, function_name, custom_headers).value!
|
344
|
+
def delete_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
|
345
|
+
delete_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
348
346
|
end
|
349
347
|
|
350
348
|
#
|
@@ -360,7 +358,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
360
358
|
#
|
361
359
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
362
360
|
#
|
363
|
-
def delete_async(resource_group_name, job_name, function_name, custom_headers
|
361
|
+
def delete_async(resource_group_name, job_name, function_name, custom_headers:nil)
|
364
362
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
365
363
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
366
364
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -369,6 +367,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
369
367
|
|
370
368
|
|
371
369
|
request_headers = {}
|
370
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
372
371
|
|
373
372
|
# Set Headers
|
374
373
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -416,8 +415,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
416
415
|
#
|
417
416
|
# @return [Function] operation results.
|
418
417
|
#
|
419
|
-
def get(resource_group_name, job_name, function_name, custom_headers
|
420
|
-
response = get_async(resource_group_name, job_name, function_name, custom_headers).value!
|
418
|
+
def get(resource_group_name, job_name, function_name, custom_headers:nil)
|
419
|
+
response = get_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
421
420
|
response.body unless response.nil?
|
422
421
|
end
|
423
422
|
|
@@ -434,8 +433,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
434
433
|
#
|
435
434
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
436
435
|
#
|
437
|
-
def get_with_http_info(resource_group_name, job_name, function_name, custom_headers
|
438
|
-
get_async(resource_group_name, job_name, function_name, custom_headers).value!
|
436
|
+
def get_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
|
437
|
+
get_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
|
439
438
|
end
|
440
439
|
|
441
440
|
#
|
@@ -451,7 +450,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
451
450
|
#
|
452
451
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
453
452
|
#
|
454
|
-
def get_async(resource_group_name, job_name, function_name, custom_headers
|
453
|
+
def get_async(resource_group_name, job_name, function_name, custom_headers:nil)
|
455
454
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
456
455
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
457
456
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -460,6 +459,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
460
459
|
|
461
460
|
|
462
461
|
request_headers = {}
|
462
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
463
463
|
|
464
464
|
# Set Headers
|
465
465
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -520,8 +520,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
520
520
|
#
|
521
521
|
# @return [Array<Function>] operation results.
|
522
522
|
#
|
523
|
-
def list_by_streaming_job(resource_group_name, job_name, select
|
524
|
-
first_page = list_by_streaming_job_as_lazy(resource_group_name, job_name, select, custom_headers)
|
523
|
+
def list_by_streaming_job(resource_group_name, job_name, select:nil, custom_headers:nil)
|
524
|
+
first_page = list_by_streaming_job_as_lazy(resource_group_name, job_name, select:select, custom_headers:custom_headers)
|
525
525
|
first_page.get_all_items
|
526
526
|
end
|
527
527
|
|
@@ -541,8 +541,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
541
541
|
#
|
542
542
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
543
543
|
#
|
544
|
-
def list_by_streaming_job_with_http_info(resource_group_name, job_name, select
|
545
|
-
list_by_streaming_job_async(resource_group_name, job_name, select, custom_headers).value!
|
544
|
+
def list_by_streaming_job_with_http_info(resource_group_name, job_name, select:nil, custom_headers:nil)
|
545
|
+
list_by_streaming_job_async(resource_group_name, job_name, select:select, custom_headers:custom_headers).value!
|
546
546
|
end
|
547
547
|
|
548
548
|
#
|
@@ -561,7 +561,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
561
561
|
#
|
562
562
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
563
563
|
#
|
564
|
-
def list_by_streaming_job_async(resource_group_name, job_name, select
|
564
|
+
def list_by_streaming_job_async(resource_group_name, job_name, select:nil, custom_headers:nil)
|
565
565
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
566
566
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
567
567
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -569,6 +569,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
569
569
|
|
570
570
|
|
571
571
|
request_headers = {}
|
572
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
572
573
|
|
573
574
|
# Set Headers
|
574
575
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -635,8 +636,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
635
636
|
#
|
636
637
|
# @return [ResourceTestStatus] operation results.
|
637
638
|
#
|
638
|
-
def test(resource_group_name, job_name, function_name, function
|
639
|
-
response = test_async(resource_group_name, job_name, function_name, function, custom_headers).value!
|
639
|
+
def test(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
640
|
+
response = test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers).value!
|
640
641
|
response.body unless response.nil?
|
641
642
|
end
|
642
643
|
|
@@ -659,9 +660,9 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
659
660
|
# @return [Concurrent::Promise] promise which provides async access to http
|
660
661
|
# response.
|
661
662
|
#
|
662
|
-
def test_async(resource_group_name, job_name, function_name, function
|
663
|
+
def test_async(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
663
664
|
# Send request
|
664
|
-
promise = begin_test_async(resource_group_name, job_name, function_name, function, custom_headers)
|
665
|
+
promise = begin_test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers)
|
665
666
|
|
666
667
|
promise = promise.then do |response|
|
667
668
|
# Defining deserialization method.
|
@@ -694,8 +695,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
694
695
|
#
|
695
696
|
# @return [Function] operation results.
|
696
697
|
#
|
697
|
-
def retrieve_default_definition(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters
|
698
|
-
response = retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters, custom_headers).value!
|
698
|
+
def retrieve_default_definition(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:nil, custom_headers:nil)
|
699
|
+
response = retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:function_retrieve_default_definition_parameters, custom_headers:custom_headers).value!
|
699
700
|
response.body unless response.nil?
|
700
701
|
end
|
701
702
|
|
@@ -716,8 +717,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
716
717
|
#
|
717
718
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
718
719
|
#
|
719
|
-
def retrieve_default_definition_with_http_info(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters
|
720
|
-
retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters, custom_headers).value!
|
720
|
+
def retrieve_default_definition_with_http_info(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:nil, custom_headers:nil)
|
721
|
+
retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:function_retrieve_default_definition_parameters, custom_headers:custom_headers).value!
|
721
722
|
end
|
722
723
|
|
723
724
|
#
|
@@ -737,7 +738,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
737
738
|
#
|
738
739
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
739
740
|
#
|
740
|
-
def retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters
|
741
|
+
def retrieve_default_definition_async(resource_group_name, job_name, function_name, function_retrieve_default_definition_parameters:nil, custom_headers:nil)
|
741
742
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
742
743
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
743
744
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -746,13 +747,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
746
747
|
|
747
748
|
|
748
749
|
request_headers = {}
|
750
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
749
751
|
|
750
752
|
# Set Headers
|
751
753
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
752
754
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
753
755
|
|
754
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
755
|
-
|
756
756
|
# Serialize Request
|
757
757
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters.mapper()
|
758
758
|
request_content = @client.serialize(request_mapper, function_retrieve_default_definition_parameters)
|
@@ -821,8 +821,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
821
821
|
#
|
822
822
|
# @return [ResourceTestStatus] operation results.
|
823
823
|
#
|
824
|
-
def begin_test(resource_group_name, job_name, function_name, function
|
825
|
-
response = begin_test_async(resource_group_name, job_name, function_name, function, custom_headers).value!
|
824
|
+
def begin_test(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
825
|
+
response = begin_test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers).value!
|
826
826
|
response.body unless response.nil?
|
827
827
|
end
|
828
828
|
|
@@ -848,8 +848,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
848
848
|
#
|
849
849
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
850
850
|
#
|
851
|
-
def begin_test_with_http_info(resource_group_name, job_name, function_name, function
|
852
|
-
begin_test_async(resource_group_name, job_name, function_name, function, custom_headers).value!
|
851
|
+
def begin_test_with_http_info(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
852
|
+
begin_test_async(resource_group_name, job_name, function_name, function:function, custom_headers:custom_headers).value!
|
853
853
|
end
|
854
854
|
|
855
855
|
#
|
@@ -874,7 +874,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
874
874
|
#
|
875
875
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
876
876
|
#
|
877
|
-
def begin_test_async(resource_group_name, job_name, function_name, function
|
877
|
+
def begin_test_async(resource_group_name, job_name, function_name, function:nil, custom_headers:nil)
|
878
878
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
879
879
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
880
880
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -883,13 +883,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
883
883
|
|
884
884
|
|
885
885
|
request_headers = {}
|
886
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
886
887
|
|
887
888
|
# Set Headers
|
888
889
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
889
890
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
890
891
|
|
891
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
892
|
-
|
893
892
|
# Serialize Request
|
894
893
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function.mapper()
|
895
894
|
request_content = @client.serialize(request_mapper, function)
|
@@ -946,8 +945,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
946
945
|
#
|
947
946
|
# @return [FunctionListResult] operation results.
|
948
947
|
#
|
949
|
-
def list_by_streaming_job_next(next_page_link, custom_headers
|
950
|
-
response = list_by_streaming_job_next_async(next_page_link, custom_headers).value!
|
948
|
+
def list_by_streaming_job_next(next_page_link, custom_headers:nil)
|
949
|
+
response = list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
951
950
|
response.body unless response.nil?
|
952
951
|
end
|
953
952
|
|
@@ -961,8 +960,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
961
960
|
#
|
962
961
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
963
962
|
#
|
964
|
-
def list_by_streaming_job_next_with_http_info(next_page_link, custom_headers
|
965
|
-
list_by_streaming_job_next_async(next_page_link, custom_headers).value!
|
963
|
+
def list_by_streaming_job_next_with_http_info(next_page_link, custom_headers:nil)
|
964
|
+
list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
966
965
|
end
|
967
966
|
|
968
967
|
#
|
@@ -975,11 +974,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
975
974
|
#
|
976
975
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
977
976
|
#
|
978
|
-
def list_by_streaming_job_next_async(next_page_link, custom_headers
|
977
|
+
def list_by_streaming_job_next_async(next_page_link, custom_headers:nil)
|
979
978
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
980
979
|
|
981
980
|
|
982
981
|
request_headers = {}
|
982
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
983
983
|
|
984
984
|
# Set Headers
|
985
985
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -1040,12 +1040,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
1040
1040
|
# @return [FunctionListResult] which provide lazy access to pages of the
|
1041
1041
|
# response.
|
1042
1042
|
#
|
1043
|
-
def list_by_streaming_job_as_lazy(resource_group_name, job_name, select
|
1044
|
-
response = list_by_streaming_job_async(resource_group_name, job_name, select, custom_headers).value!
|
1043
|
+
def list_by_streaming_job_as_lazy(resource_group_name, job_name, select:nil, custom_headers:nil)
|
1044
|
+
response = list_by_streaming_job_async(resource_group_name, job_name, select:select, custom_headers:custom_headers).value!
|
1045
1045
|
unless response.nil?
|
1046
1046
|
page = response.body
|
1047
1047
|
page.next_method = Proc.new do |next_page_link|
|
1048
|
-
list_by_streaming_job_next_async(next_page_link, custom_headers)
|
1048
|
+
list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers)
|
1049
1049
|
end
|
1050
1050
|
page
|
1051
1051
|
end
|
@@ -43,8 +43,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
43
43
|
#
|
44
44
|
# @return [Input] operation results.
|
45
45
|
#
|
46
|
-
def create_or_replace(input, resource_group_name, job_name, input_name, if_match
|
47
|
-
response = create_or_replace_async(input, resource_group_name, job_name, input_name, if_match, if_none_match, custom_headers).value!
|
46
|
+
def create_or_replace(input, resource_group_name, job_name, input_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
47
|
+
response = create_or_replace_async(input, resource_group_name, job_name, input_name, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
48
48
|
response.body unless response.nil?
|
49
49
|
end
|
50
50
|
|
@@ -70,8 +70,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
70
70
|
#
|
71
71
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
72
72
|
#
|
73
|
-
def create_or_replace_with_http_info(input, resource_group_name, job_name, input_name, if_match
|
74
|
-
create_or_replace_async(input, resource_group_name, job_name, input_name, if_match, if_none_match, custom_headers).value!
|
73
|
+
def create_or_replace_with_http_info(input, resource_group_name, job_name, input_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
74
|
+
create_or_replace_async(input, resource_group_name, job_name, input_name, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
75
75
|
end
|
76
76
|
|
77
77
|
#
|
@@ -96,7 +96,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
96
96
|
#
|
97
97
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
98
98
|
#
|
99
|
-
def create_or_replace_async(input, resource_group_name, job_name, input_name, if_match
|
99
|
+
def create_or_replace_async(input, resource_group_name, job_name, input_name, if_match:nil, if_none_match:nil, custom_headers:nil)
|
100
100
|
fail ArgumentError, 'input is nil' if input.nil?
|
101
101
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
102
102
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -106,6 +106,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
106
106
|
|
107
107
|
|
108
108
|
request_headers = {}
|
109
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
109
110
|
|
110
111
|
# Set Headers
|
111
112
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -113,8 +114,6 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
113
114
|
request_headers['If-None-Match'] = if_none_match unless if_none_match.nil?
|
114
115
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
115
116
|
|
116
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
117
|
-
|
118
117
|
# Serialize Request
|
119
118
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input.mapper()
|
120
119
|
request_content = @client.serialize(request_mapper, input)
|
@@ -194,8 +193,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
194
193
|
#
|
195
194
|
# @return [Input] operation results.
|
196
195
|
#
|
197
|
-
def update(input, resource_group_name, job_name, input_name, if_match
|
198
|
-
response = update_async(input, resource_group_name, job_name, input_name, if_match, custom_headers).value!
|
196
|
+
def update(input, resource_group_name, job_name, input_name, if_match:nil, custom_headers:nil)
|
197
|
+
response = update_async(input, resource_group_name, job_name, input_name, if_match:if_match, custom_headers:custom_headers).value!
|
199
198
|
response.body unless response.nil?
|
200
199
|
end
|
201
200
|
|
@@ -222,8 +221,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
222
221
|
#
|
223
222
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
224
223
|
#
|
225
|
-
def update_with_http_info(input, resource_group_name, job_name, input_name, if_match
|
226
|
-
update_async(input, resource_group_name, job_name, input_name, if_match, custom_headers).value!
|
224
|
+
def update_with_http_info(input, resource_group_name, job_name, input_name, if_match:nil, custom_headers:nil)
|
225
|
+
update_async(input, resource_group_name, job_name, input_name, if_match:if_match, custom_headers:custom_headers).value!
|
227
226
|
end
|
228
227
|
|
229
228
|
#
|
@@ -249,7 +248,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
249
248
|
#
|
250
249
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
251
250
|
#
|
252
|
-
def update_async(input, resource_group_name, job_name, input_name, if_match
|
251
|
+
def update_async(input, resource_group_name, job_name, input_name, if_match:nil, custom_headers:nil)
|
253
252
|
fail ArgumentError, 'input is nil' if input.nil?
|
254
253
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
255
254
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -259,14 +258,13 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
259
258
|
|
260
259
|
|
261
260
|
request_headers = {}
|
261
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
262
262
|
|
263
263
|
# Set Headers
|
264
264
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
265
265
|
request_headers['If-Match'] = if_match unless if_match.nil?
|
266
266
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
267
267
|
|
268
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
269
|
-
|
270
268
|
# Serialize Request
|
271
269
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input.mapper()
|
272
270
|
request_content = @client.serialize(request_mapper, input)
|
@@ -325,8 +323,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
325
323
|
# will be added to the HTTP request.
|
326
324
|
#
|
327
325
|
#
|
328
|
-
def delete(resource_group_name, job_name, input_name, custom_headers
|
329
|
-
response = delete_async(resource_group_name, job_name, input_name, custom_headers).value!
|
326
|
+
def delete(resource_group_name, job_name, input_name, custom_headers:nil)
|
327
|
+
response = delete_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
|
330
328
|
nil
|
331
329
|
end
|
332
330
|
|
@@ -343,8 +341,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
343
341
|
#
|
344
342
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
345
343
|
#
|
346
|
-
def delete_with_http_info(resource_group_name, job_name, input_name, custom_headers
|
347
|
-
delete_async(resource_group_name, job_name, input_name, custom_headers).value!
|
344
|
+
def delete_with_http_info(resource_group_name, job_name, input_name, custom_headers:nil)
|
345
|
+
delete_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
|
348
346
|
end
|
349
347
|
|
350
348
|
#
|
@@ -360,7 +358,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
360
358
|
#
|
361
359
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
362
360
|
#
|
363
|
-
def delete_async(resource_group_name, job_name, input_name, custom_headers
|
361
|
+
def delete_async(resource_group_name, job_name, input_name, custom_headers:nil)
|
364
362
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
365
363
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
366
364
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -369,6 +367,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
369
367
|
|
370
368
|
|
371
369
|
request_headers = {}
|
370
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
372
371
|
|
373
372
|
# Set Headers
|
374
373
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -416,8 +415,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
416
415
|
#
|
417
416
|
# @return [Input] operation results.
|
418
417
|
#
|
419
|
-
def get(resource_group_name, job_name, input_name, custom_headers
|
420
|
-
response = get_async(resource_group_name, job_name, input_name, custom_headers).value!
|
418
|
+
def get(resource_group_name, job_name, input_name, custom_headers:nil)
|
419
|
+
response = get_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
|
421
420
|
response.body unless response.nil?
|
422
421
|
end
|
423
422
|
|
@@ -434,8 +433,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
434
433
|
#
|
435
434
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
436
435
|
#
|
437
|
-
def get_with_http_info(resource_group_name, job_name, input_name, custom_headers
|
438
|
-
get_async(resource_group_name, job_name, input_name, custom_headers).value!
|
436
|
+
def get_with_http_info(resource_group_name, job_name, input_name, custom_headers:nil)
|
437
|
+
get_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
|
439
438
|
end
|
440
439
|
|
441
440
|
#
|
@@ -451,7 +450,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
451
450
|
#
|
452
451
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
453
452
|
#
|
454
|
-
def get_async(resource_group_name, job_name, input_name, custom_headers
|
453
|
+
def get_async(resource_group_name, job_name, input_name, custom_headers:nil)
|
455
454
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
456
455
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
457
456
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -460,6 +459,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
460
459
|
|
461
460
|
|
462
461
|
request_headers = {}
|
462
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
463
463
|
|
464
464
|
# Set Headers
|
465
465
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -520,8 +520,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
520
520
|
#
|
521
521
|
# @return [Array<Input>] operation results.
|
522
522
|
#
|
523
|
-
def list_by_streaming_job(resource_group_name, job_name, select
|
524
|
-
first_page = list_by_streaming_job_as_lazy(resource_group_name, job_name, select, custom_headers)
|
523
|
+
def list_by_streaming_job(resource_group_name, job_name, select:nil, custom_headers:nil)
|
524
|
+
first_page = list_by_streaming_job_as_lazy(resource_group_name, job_name, select:select, custom_headers:custom_headers)
|
525
525
|
first_page.get_all_items
|
526
526
|
end
|
527
527
|
|
@@ -541,8 +541,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
541
541
|
#
|
542
542
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
543
543
|
#
|
544
|
-
def list_by_streaming_job_with_http_info(resource_group_name, job_name, select
|
545
|
-
list_by_streaming_job_async(resource_group_name, job_name, select, custom_headers).value!
|
544
|
+
def list_by_streaming_job_with_http_info(resource_group_name, job_name, select:nil, custom_headers:nil)
|
545
|
+
list_by_streaming_job_async(resource_group_name, job_name, select:select, custom_headers:custom_headers).value!
|
546
546
|
end
|
547
547
|
|
548
548
|
#
|
@@ -561,7 +561,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
561
561
|
#
|
562
562
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
563
563
|
#
|
564
|
-
def list_by_streaming_job_async(resource_group_name, job_name, select
|
564
|
+
def list_by_streaming_job_async(resource_group_name, job_name, select:nil, custom_headers:nil)
|
565
565
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
566
566
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
567
567
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -569,6 +569,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
569
569
|
|
570
570
|
|
571
571
|
request_headers = {}
|
572
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
572
573
|
|
573
574
|
# Set Headers
|
574
575
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -633,8 +634,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
633
634
|
#
|
634
635
|
# @return [ResourceTestStatus] operation results.
|
635
636
|
#
|
636
|
-
def test(resource_group_name, job_name, input_name, input
|
637
|
-
response = test_async(resource_group_name, job_name, input_name, input, custom_headers).value!
|
637
|
+
def test(resource_group_name, job_name, input_name, input:nil, custom_headers:nil)
|
638
|
+
response = test_async(resource_group_name, job_name, input_name, input:input, custom_headers:custom_headers).value!
|
638
639
|
response.body unless response.nil?
|
639
640
|
end
|
640
641
|
|
@@ -656,9 +657,9 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
656
657
|
# @return [Concurrent::Promise] promise which provides async access to http
|
657
658
|
# response.
|
658
659
|
#
|
659
|
-
def test_async(resource_group_name, job_name, input_name, input
|
660
|
+
def test_async(resource_group_name, job_name, input_name, input:nil, custom_headers:nil)
|
660
661
|
# Send request
|
661
|
-
promise = begin_test_async(resource_group_name, job_name, input_name, input, custom_headers)
|
662
|
+
promise = begin_test_async(resource_group_name, job_name, input_name, input:input, custom_headers:custom_headers)
|
662
663
|
|
663
664
|
promise = promise.then do |response|
|
664
665
|
# Defining deserialization method.
|
@@ -694,8 +695,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
694
695
|
#
|
695
696
|
# @return [ResourceTestStatus] operation results.
|
696
697
|
#
|
697
|
-
def begin_test(resource_group_name, job_name, input_name, input
|
698
|
-
response = begin_test_async(resource_group_name, job_name, input_name, input, custom_headers).value!
|
698
|
+
def begin_test(resource_group_name, job_name, input_name, input:nil, custom_headers:nil)
|
699
|
+
response = begin_test_async(resource_group_name, job_name, input_name, input:input, custom_headers:custom_headers).value!
|
699
700
|
response.body unless response.nil?
|
700
701
|
end
|
701
702
|
|
@@ -719,8 +720,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
719
720
|
#
|
720
721
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
721
722
|
#
|
722
|
-
def begin_test_with_http_info(resource_group_name, job_name, input_name, input
|
723
|
-
begin_test_async(resource_group_name, job_name, input_name, input, custom_headers).value!
|
723
|
+
def begin_test_with_http_info(resource_group_name, job_name, input_name, input:nil, custom_headers:nil)
|
724
|
+
begin_test_async(resource_group_name, job_name, input_name, input:input, custom_headers:custom_headers).value!
|
724
725
|
end
|
725
726
|
|
726
727
|
#
|
@@ -743,7 +744,7 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
743
744
|
#
|
744
745
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
745
746
|
#
|
746
|
-
def begin_test_async(resource_group_name, job_name, input_name, input
|
747
|
+
def begin_test_async(resource_group_name, job_name, input_name, input:nil, custom_headers:nil)
|
747
748
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
748
749
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
749
750
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -752,13 +753,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
752
753
|
|
753
754
|
|
754
755
|
request_headers = {}
|
756
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
755
757
|
|
756
758
|
# Set Headers
|
757
759
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
758
760
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
759
761
|
|
760
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
761
|
-
|
762
762
|
# Serialize Request
|
763
763
|
request_mapper = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input.mapper()
|
764
764
|
request_content = @client.serialize(request_mapper, input)
|
@@ -815,8 +815,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
815
815
|
#
|
816
816
|
# @return [InputListResult] operation results.
|
817
817
|
#
|
818
|
-
def list_by_streaming_job_next(next_page_link, custom_headers
|
819
|
-
response = list_by_streaming_job_next_async(next_page_link, custom_headers).value!
|
818
|
+
def list_by_streaming_job_next(next_page_link, custom_headers:nil)
|
819
|
+
response = list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
820
820
|
response.body unless response.nil?
|
821
821
|
end
|
822
822
|
|
@@ -830,8 +830,8 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
830
830
|
#
|
831
831
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
832
832
|
#
|
833
|
-
def list_by_streaming_job_next_with_http_info(next_page_link, custom_headers
|
834
|
-
list_by_streaming_job_next_async(next_page_link, custom_headers).value!
|
833
|
+
def list_by_streaming_job_next_with_http_info(next_page_link, custom_headers:nil)
|
834
|
+
list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers).value!
|
835
835
|
end
|
836
836
|
|
837
837
|
#
|
@@ -844,11 +844,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
844
844
|
#
|
845
845
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
846
846
|
#
|
847
|
-
def list_by_streaming_job_next_async(next_page_link, custom_headers
|
847
|
+
def list_by_streaming_job_next_async(next_page_link, custom_headers:nil)
|
848
848
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
849
849
|
|
850
850
|
|
851
851
|
request_headers = {}
|
852
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
852
853
|
|
853
854
|
# Set Headers
|
854
855
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -908,12 +909,12 @@ module Azure::StreamAnalytics::Mgmt::V2016_03_01
|
|
908
909
|
#
|
909
910
|
# @return [InputListResult] which provide lazy access to pages of the response.
|
910
911
|
#
|
911
|
-
def list_by_streaming_job_as_lazy(resource_group_name, job_name, select
|
912
|
-
response = list_by_streaming_job_async(resource_group_name, job_name, select, custom_headers).value!
|
912
|
+
def list_by_streaming_job_as_lazy(resource_group_name, job_name, select:nil, custom_headers:nil)
|
913
|
+
response = list_by_streaming_job_async(resource_group_name, job_name, select:select, custom_headers:custom_headers).value!
|
913
914
|
unless response.nil?
|
914
915
|
page = response.body
|
915
916
|
page.next_method = Proc.new do |next_page_link|
|
916
|
-
list_by_streaming_job_next_async(next_page_link, custom_headers)
|
917
|
+
list_by_streaming_job_next_async(next_page_link, custom_headers:custom_headers)
|
917
918
|
end
|
918
919
|
page
|
919
920
|
end
|