azure_mgmt_iot_central 0.17.3 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central.rb +0 -0
  4. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb +18 -0
  5. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/iot_central_client.rb +1 -1
  6. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app.rb +0 -0
  7. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_list_result.rb +0 -0
  8. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_name_availability_info.rb +0 -0
  9. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_name_unavailability_reason.rb +0 -0
  10. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_patch.rb +0 -0
  11. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_sku.rb +0 -0
  12. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app_sku_info.rb +0 -0
  13. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/error_details.rb +0 -0
  14. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/operation.rb +0 -0
  15. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/operation_display.rb +0 -0
  16. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/operation_inputs.rb +0 -0
  17. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/operation_list_result.rb +0 -0
  18. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/resource.rb +0 -0
  19. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/module_definition.rb +0 -0
  20. data/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/operations.rb +4 -0
  21. data/lib/2018-09-01/generated/azure_mgmt_iot_central.rb +8 -6
  22. data/lib/2018-09-01/generated/azure_mgmt_iot_central/apps.rb +216 -0
  23. data/lib/2018-09-01/generated/azure_mgmt_iot_central/iot_central_client.rb +1 -1
  24. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app.rb +0 -0
  25. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_availability_info.rb +0 -0
  26. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb +0 -0
  27. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb +0 -0
  28. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb +3 -0
  29. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb +1 -1
  30. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb +107 -0
  31. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb +101 -0
  32. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb +0 -0
  33. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_response_body.rb +0 -0
  34. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb +0 -0
  35. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb +0 -0
  36. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb +0 -0
  37. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb +0 -0
  38. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb +0 -0
  39. data/lib/2018-09-01/generated/azure_mgmt_iot_central/module_definition.rb +0 -0
  40. data/lib/2018-09-01/generated/azure_mgmt_iot_central/operations.rb +4 -0
  41. data/lib/azure_mgmt_iot_central.rb +1 -1
  42. data/lib/module_definition.rb +8 -8
  43. data/lib/profiles/latest/iotcentral_latest_profile_client.rb +40 -40
  44. data/lib/profiles/latest/iotcentral_module_definition.rb +8 -8
  45. data/lib/profiles/latest/modules/iotcentral_profile_module.rb +26 -18
  46. data/lib/version.rb +1 -1
  47. metadata +7 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 1093fd902fdb4846a7b86d81eac2fb419731506f6e27e448b650c786de067148
4
- data.tar.gz: 2bbb50a6e8e5da75514f65c0005e739d604acf1b74081b3aca07b0bb2e2952ed
2
+ SHA1:
3
+ metadata.gz: 298c58de0bef90fdae4fda33bc7453e7ebcb548f
4
+ data.tar.gz: 9dee5e92fa47c5cab11c3b4e5d676797e0412557
5
5
  SHA512:
6
- metadata.gz: ebfbae4b03629d3800dba42e40e4b2414bb1d0f4aefe987f511d563c666154774cf854ea77a384bdc5f07a610b8b8de9e11b3fd61968b417995f2812a1e2c798
7
- data.tar.gz: 20db88d2e6cab126d2d4e65eaf6edb1a32a5cccc15e734eef5b65a80b333fd1764f3e83a02e8a82cd0bb9b10642a82d1e3e54e3c0ee22b83371dd21a3f11747c
6
+ metadata.gz: 72e1889fdaaf25779b0b7d9f3f7a23ac90218d980952e86fc0a0e706b1d204e15ae0ccb291314278fe4094535315501e513eaaa9c0e27cac455fa68f2e2ce03f
7
+ data.tar.gz: e442a58205eef5c710095bc8fc4e72727621fdbbfc8f34bb862eeba4a014d604da07becdd65b6a20202d5a27e0cd0c1d2b2d800f357dd2dff3d6768ea783659c
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Microsoft Corporation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
@@ -102,6 +102,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -329,6 +331,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
329
331
  end
330
332
 
331
333
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
334
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
335
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
332
336
  # Deserialize Response
333
337
  if status_code == 200
334
338
  begin
@@ -420,6 +424,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
420
424
  end
421
425
 
422
426
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
427
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
428
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
423
429
  # Deserialize Response
424
430
  if status_code == 200
425
431
  begin
@@ -521,6 +527,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
521
527
  end
522
528
 
523
529
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
530
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
531
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
524
532
  # Deserialize Response
525
533
  if status_code == 200
526
534
  begin
@@ -639,6 +647,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
639
647
  end
640
648
 
641
649
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
650
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
651
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
642
652
  # Deserialize Response
643
653
  if status_code == 200
644
654
  begin
@@ -761,6 +771,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
761
771
  end
762
772
 
763
773
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
774
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
775
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
764
776
  # Deserialize Response
765
777
  if status_code == 200
766
778
  begin
@@ -858,6 +870,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
858
870
  end
859
871
 
860
872
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
873
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
874
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
861
875
 
862
876
  result
863
877
  end
@@ -936,6 +950,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
936
950
  end
937
951
 
938
952
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
953
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
954
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
939
955
  # Deserialize Response
940
956
  if status_code == 200
941
957
  begin
@@ -1024,6 +1040,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
1024
1040
  end
1025
1041
 
1026
1042
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1043
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1044
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1027
1045
  # Deserialize Response
1028
1046
  if status_code == 200
1029
1047
  begin
@@ -128,7 +128,7 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_iot_central'
131
- sdk_information = "#{sdk_information}/0.17.3"
131
+ sdk_information = "#{sdk_information}/0.18.0"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -86,6 +86,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin
@@ -25,17 +25,19 @@ module Azure::IotCentral::Mgmt::V2018_09_01
25
25
  autoload :IotCentralClient, '2018-09-01/generated/azure_mgmt_iot_central/iot_central_client.rb'
26
26
 
27
27
  module Models
28
- autoload :AppListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb'
29
- autoload :AppSkuInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb'
30
28
  autoload :OperationDisplay, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb'
31
- autoload :AppPatch, '2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb'
29
+ autoload :AppSkuInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb'
32
30
  autoload :Operation, '2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb'
33
- autoload :ErrorResponseBody, '2018-09-01/generated/azure_mgmt_iot_central/models/error_response_body.rb'
31
+ autoload :AppPatch, '2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb'
34
32
  autoload :OperationListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb'
35
- autoload :Resource, '2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb'
33
+ autoload :ErrorResponseBody, '2018-09-01/generated/azure_mgmt_iot_central/models/error_response_body.rb'
36
34
  autoload :OperationInputs, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb'
37
- autoload :ErrorDetails, '2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb'
35
+ autoload :AppListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb'
38
36
  autoload :AppAvailabilityInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_availability_info.rb'
37
+ autoload :Resource, '2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb'
38
+ autoload :AppTemplate, '2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb'
39
+ autoload :ErrorDetails, '2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb'
40
+ autoload :AppTemplatesResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb'
39
41
  autoload :App, '2018-09-01/generated/azure_mgmt_iot_central/models/app.rb'
40
42
  autoload :AppSku, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb'
41
43
  end
@@ -102,6 +102,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
106
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
105
107
  # Deserialize Response
106
108
  if status_code == 200
107
109
  begin
@@ -329,6 +331,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
329
331
  end
330
332
 
331
333
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
334
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
335
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
332
336
  # Deserialize Response
333
337
  if status_code == 200
334
338
  begin
@@ -420,6 +424,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
420
424
  end
421
425
 
422
426
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
427
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
428
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
423
429
  # Deserialize Response
424
430
  if status_code == 200
425
431
  begin
@@ -521,6 +527,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
521
527
  end
522
528
 
523
529
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
530
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
531
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
524
532
  # Deserialize Response
525
533
  if status_code == 200
526
534
  begin
@@ -622,6 +630,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
622
630
  end
623
631
 
624
632
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
633
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
634
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
625
635
  # Deserialize Response
626
636
  if status_code == 200
627
637
  begin
@@ -639,6 +649,92 @@ module Azure::IotCentral::Mgmt::V2018_09_01
639
649
  promise.execute
640
650
  end
641
651
 
652
+ #
653
+ # Get all available application templates.
654
+ #
655
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
656
+ # will be added to the HTTP request.
657
+ #
658
+ # @return [Array<AppTemplate>] operation results.
659
+ #
660
+ def list_templates(custom_headers:nil)
661
+ first_page = list_templates_as_lazy(custom_headers:custom_headers)
662
+ first_page.get_all_items
663
+ end
664
+
665
+ #
666
+ # Get all available application templates.
667
+ #
668
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
669
+ # will be added to the HTTP request.
670
+ #
671
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
672
+ #
673
+ def list_templates_with_http_info(custom_headers:nil)
674
+ list_templates_async(custom_headers:custom_headers).value!
675
+ end
676
+
677
+ #
678
+ # Get all available application templates.
679
+ #
680
+ # @param [Hash{String => String}] A hash of custom headers that will be added
681
+ # to the HTTP request.
682
+ #
683
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
684
+ #
685
+ def list_templates_async(custom_headers:nil)
686
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
687
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
688
+
689
+
690
+ request_headers = {}
691
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
692
+
693
+ # Set Headers
694
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
695
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
696
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/appTemplates'
697
+
698
+ request_url = @base_url || @client.base_url
699
+
700
+ options = {
701
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
702
+ path_params: {'subscriptionId' => @client.subscription_id},
703
+ query_params: {'api-version' => @client.api_version},
704
+ headers: request_headers.merge(custom_headers || {}),
705
+ base_url: request_url
706
+ }
707
+ promise = @client.make_request_async(:post, path_template, options)
708
+
709
+ promise = promise.then do |result|
710
+ http_response = result.response
711
+ status_code = http_response.status
712
+ response_content = http_response.body
713
+ unless status_code == 200
714
+ error_model = JSON.load(response_content)
715
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
716
+ end
717
+
718
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
719
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
720
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
721
+ # Deserialize Response
722
+ if status_code == 200
723
+ begin
724
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
725
+ result_mapper = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult.mapper()
726
+ result.body = @client.deserialize(result_mapper, parsed_response)
727
+ rescue Exception => e
728
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
729
+ end
730
+ end
731
+
732
+ result
733
+ end
734
+
735
+ promise.execute
736
+ end
737
+
642
738
  #
643
739
  # Create or update the metadata of an IoT Central application. The usual
644
740
  # pattern to modify a property is to retrieve the IoT Central application
@@ -740,6 +836,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
740
836
  end
741
837
 
742
838
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
839
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
840
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
743
841
  # Deserialize Response
744
842
  if status_code == 200
745
843
  begin
@@ -862,6 +960,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
862
960
  end
863
961
 
864
962
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
963
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
964
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
865
965
  # Deserialize Response
866
966
  if status_code == 200
867
967
  begin
@@ -959,6 +1059,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
959
1059
  end
960
1060
 
961
1061
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1062
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1063
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
962
1064
 
963
1065
  result
964
1066
  end
@@ -1037,6 +1139,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1037
1139
  end
1038
1140
 
1039
1141
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1142
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1143
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1040
1144
  # Deserialize Response
1041
1145
  if status_code == 200
1042
1146
  begin
@@ -1125,6 +1229,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1125
1229
  end
1126
1230
 
1127
1231
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1232
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1233
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1128
1234
  # Deserialize Response
1129
1235
  if status_code == 200
1130
1236
  begin
@@ -1142,6 +1248,96 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1142
1248
  promise.execute
1143
1249
  end
1144
1250
 
1251
+ #
1252
+ # Get all available application templates.
1253
+ #
1254
+ # @param next_page_link [String] The NextLink from the previous successful call
1255
+ # to List operation.
1256
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1257
+ # will be added to the HTTP request.
1258
+ #
1259
+ # @return [AppTemplatesResult] operation results.
1260
+ #
1261
+ def list_templates_next(next_page_link, custom_headers:nil)
1262
+ response = list_templates_next_async(next_page_link, custom_headers:custom_headers).value!
1263
+ response.body unless response.nil?
1264
+ end
1265
+
1266
+ #
1267
+ # Get all available application templates.
1268
+ #
1269
+ # @param next_page_link [String] The NextLink from the previous successful call
1270
+ # to List operation.
1271
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1272
+ # will be added to the HTTP request.
1273
+ #
1274
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1275
+ #
1276
+ def list_templates_next_with_http_info(next_page_link, custom_headers:nil)
1277
+ list_templates_next_async(next_page_link, custom_headers:custom_headers).value!
1278
+ end
1279
+
1280
+ #
1281
+ # Get all available application templates.
1282
+ #
1283
+ # @param next_page_link [String] The NextLink from the previous successful call
1284
+ # to List operation.
1285
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1286
+ # to the HTTP request.
1287
+ #
1288
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1289
+ #
1290
+ def list_templates_next_async(next_page_link, custom_headers:nil)
1291
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1292
+
1293
+
1294
+ request_headers = {}
1295
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1296
+
1297
+ # Set Headers
1298
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1299
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1300
+ path_template = '{nextLink}'
1301
+
1302
+ request_url = @base_url || @client.base_url
1303
+
1304
+ options = {
1305
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1306
+ skip_encoding_path_params: {'nextLink' => next_page_link},
1307
+ headers: request_headers.merge(custom_headers || {}),
1308
+ base_url: request_url
1309
+ }
1310
+ promise = @client.make_request_async(:post, path_template, options)
1311
+
1312
+ promise = promise.then do |result|
1313
+ http_response = result.response
1314
+ status_code = http_response.status
1315
+ response_content = http_response.body
1316
+ unless status_code == 200
1317
+ error_model = JSON.load(response_content)
1318
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1319
+ end
1320
+
1321
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1322
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1323
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1324
+ # Deserialize Response
1325
+ if status_code == 200
1326
+ begin
1327
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1328
+ result_mapper = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult.mapper()
1329
+ result.body = @client.deserialize(result_mapper, parsed_response)
1330
+ rescue Exception => e
1331
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1332
+ end
1333
+ end
1334
+
1335
+ result
1336
+ end
1337
+
1338
+ promise.execute
1339
+ end
1340
+
1145
1341
  #
1146
1342
  # Get all IoT Central Applications in a subscription.
1147
1343
  #
@@ -1182,5 +1378,25 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1182
1378
  end
1183
1379
  end
1184
1380
 
1381
+ #
1382
+ # Get all available application templates.
1383
+ #
1384
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1385
+ # will be added to the HTTP request.
1386
+ #
1387
+ # @return [AppTemplatesResult] which provide lazy access to pages of the
1388
+ # response.
1389
+ #
1390
+ def list_templates_as_lazy(custom_headers:nil)
1391
+ response = list_templates_async(custom_headers:custom_headers).value!
1392
+ unless response.nil?
1393
+ page = response.body
1394
+ page.next_method = Proc.new do |next_page_link|
1395
+ list_templates_next_async(next_page_link, custom_headers:custom_headers)
1396
+ end
1397
+ page
1398
+ end
1399
+ end
1400
+
1185
1401
  end
1186
1402
  end
@@ -128,7 +128,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_iot_central'
131
- sdk_information = "#{sdk_information}/0.17.3"
131
+ sdk_information = "#{sdk_information}/0.18.0"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -11,6 +11,9 @@ module Azure::IotCentral::Mgmt::V2018_09_01
11
11
  module AppSku
12
12
  F1 = "F1"
13
13
  S1 = "S1"
14
+ ST0 = "ST0"
15
+ ST1 = "ST1"
16
+ ST2 = "ST2"
14
17
  end
15
18
  end
16
19
  end
@@ -13,7 +13,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
13
13
  include MsRestAzure
14
14
 
15
15
  # @return [AppSku] The name of the SKU. Possible values include: 'F1',
16
- # 'S1'
16
+ # 'S1', 'ST0', 'ST1', 'ST2'
17
17
  attr_accessor :name
18
18
 
19
19
 
@@ -0,0 +1,107 @@
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::IotCentral::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # IoT Central Application Template.
10
+ #
11
+ class AppTemplate
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ID of the template.
16
+ attr_accessor :manifest_id
17
+
18
+ # @return [String] The version of the template.
19
+ attr_accessor :manifest_version
20
+
21
+ # @return [String] The name of the template.
22
+ attr_accessor :app_template_name
23
+
24
+ # @return [String] The title of the template.
25
+ attr_accessor :title
26
+
27
+ # @return [Float] The order of the template in the templates list.
28
+ attr_accessor :order
29
+
30
+ # @return [String] The description of the template.
31
+ attr_accessor :description
32
+
33
+
34
+ #
35
+ # Mapper for AppTemplate class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'AppTemplate',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'AppTemplate',
46
+ model_properties: {
47
+ manifest_id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'manifestId',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ manifest_version: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'manifestVersion',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ app_template_name: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'appTemplateName',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ title: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'title',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ order: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'order',
88
+ type: {
89
+ name: 'Double'
90
+ }
91
+ },
92
+ description: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'description',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,101 @@
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::IotCentral::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # A list of IoT Central Application Templates with a next link.
10
+ #
11
+ class AppTemplatesResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The link used to get the next page of IoT Central
17
+ # application templates.
18
+ attr_accessor :next_link
19
+
20
+ # @return [Array<AppTemplate>] A list of IoT Central Application
21
+ # Templates.
22
+ attr_accessor :value
23
+
24
+ # return [Proc] with next page method call.
25
+ attr_accessor :next_method
26
+
27
+ #
28
+ # Gets the rest of the items for the request, enabling auto-pagination.
29
+ #
30
+ # @return [Array<AppTemplate>] operation results.
31
+ #
32
+ def get_all_items
33
+ items = @value
34
+ page = self
35
+ while page.next_link != nil && !page.next_link.strip.empty? do
36
+ page = page.get_next_page
37
+ items.concat(page.value)
38
+ end
39
+ items
40
+ end
41
+
42
+ #
43
+ # Gets the next page of results.
44
+ #
45
+ # @return [AppTemplatesResult] with next page content.
46
+ #
47
+ def get_next_page
48
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
49
+ unless response.nil?
50
+ @next_link = response.body.next_link
51
+ @value = response.body.value
52
+ self
53
+ end
54
+ end
55
+
56
+ #
57
+ # Mapper for AppTemplatesResult class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'AppTemplatesResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'AppTemplatesResult',
68
+ model_properties: {
69
+ next_link: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'nextLink',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ value: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'value',
82
+ type: {
83
+ name: 'Sequence',
84
+ element: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'AppTemplateElementType',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'AppTemplate'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -86,6 +86,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
90
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
89
91
  # Deserialize Response
90
92
  if status_code == 200
91
93
  begin
@@ -174,6 +176,8 @@ module Azure::IotCentral::Mgmt::V2018_09_01
174
176
  end
175
177
 
176
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
179
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
180
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
177
181
  # Deserialize Response
178
182
  if status_code == 200
179
183
  begin
@@ -2,6 +2,6 @@
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 '2018-09-01/generated/azure_mgmt_iot_central'
6
5
  require '2017-07-01-privatepreview/generated/azure_mgmt_iot_central'
6
+ require '2018-09-01/generated/azure_mgmt_iot_central'
7
7
  require 'profiles/latest/iotcentral_latest_profile_client'
@@ -1,8 +1,8 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::IotCentral end
7
- module Azure::IotCentral::Mgmt end
8
-
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::IotCentral end
7
+ module Azure::IotCentral::Mgmt end
8
+
@@ -1,40 +1,40 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'profiles/latest/iotcentral_module_definition'
6
- require 'profiles/latest/modules/iotcentral_profile_module'
7
-
8
- module Azure::IotCentral::Profiles::Latest
9
- module Mgmt
10
- #
11
- # Client class for the Latest profile SDK.
12
- #
13
- class Client < IotCentralManagementClass
14
- include MsRestAzure::Common::Configurable
15
-
16
- #
17
- # Initializes a new instance of the Client class.
18
- # @param options [Hash] hash of client options.
19
- # options = {
20
- # tenant_id: 'YOUR TENANT ID',
21
- # client_id: 'YOUR CLIENT ID',
22
- # client_secret: 'YOUR CLIENT SECRET',
23
- # subscription_id: 'YOUR SUBSCRIPTION ID',
24
- # credentials: credentials,
25
- # active_directory_settings: active_directory_settings,
26
- # base_url: 'YOUR BASE URL',
27
- # options: options
28
- # }
29
- # 'credentials' are optional and if not passed in the hash, will be obtained
30
- # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
- #
32
- # Also, base_url, active_directory_settings & options are optional.
33
- #
34
- def initialize(options = {})
35
- super(options)
36
- end
37
-
38
- end
39
- end
40
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/iotcentral_module_definition'
6
+ require 'profiles/latest/modules/iotcentral_profile_module'
7
+
8
+ module Azure::IotCentral::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < IotCentralManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -1,8 +1,8 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::IotCentral end
7
- module Azure::IotCentral::Profiles end
8
- module Azure::IotCentral::Profiles::Latest end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::IotCentral end
7
+ module Azure::IotCentral::Profiles end
8
+ module Azure::IotCentral::Profiles::Latest end
@@ -10,17 +10,19 @@ module Azure::IotCentral::Profiles::Latest
10
10
  Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
11
11
 
12
12
  module Models
13
- AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
14
- AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
15
13
  OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
16
- AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
14
+ AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
17
15
  Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
18
- ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
16
+ AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
19
17
  OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
20
- Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
18
+ ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
21
19
  OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
22
- ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
20
+ AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
23
21
  AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
22
+ Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
23
+ AppTemplate = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
24
+ ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
25
+ AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
24
26
  App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
25
27
  AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
26
28
  end
@@ -71,38 +73,44 @@ module Azure::IotCentral::Profiles::Latest
71
73
  end
72
74
 
73
75
  class ModelClasses
74
- def app_list_result
75
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
76
+ def operation_display
77
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
76
78
  end
77
79
  def app_sku_info
78
80
  Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
79
81
  end
80
- def operation_display
81
- Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
82
+ def operation
83
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
82
84
  end
83
85
  def app_patch
84
86
  Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
85
87
  end
86
- def operation
87
- Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
88
+ def operation_list_result
89
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
88
90
  end
89
91
  def error_response_body
90
92
  Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
91
93
  end
92
- def operation_list_result
93
- Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
94
+ def operation_inputs
95
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
96
+ end
97
+ def app_list_result
98
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
99
+ end
100
+ def app_availability_info
101
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
94
102
  end
95
103
  def resource
96
104
  Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
97
105
  end
98
- def operation_inputs
99
- Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
106
+ def app_template
107
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
100
108
  end
101
109
  def error_details
102
110
  Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
103
111
  end
104
- def app_availability_info
105
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
112
+ def app_templates_result
113
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
106
114
  end
107
115
  def app
108
116
  Azure::IotCentral::Mgmt::V2018_09_01::Models::App
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::IotCentral::Mgmt
6
- VERSION = '0.17.3'
6
+ VERSION = '0.18.0'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_iot_central
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.3
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.11.0
75
+ version: 0.11.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.11.0
82
+ version: 0.11.1
83
83
  description: Microsoft Azure IotCentral Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -114,6 +114,8 @@ files:
114
114
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb
115
115
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb
116
116
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb
117
+ - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb
118
+ - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb
117
119
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb
118
120
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_response_body.rb
119
121
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb
@@ -154,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
156
  version: '0'
155
157
  requirements: []
156
158
  rubyforge_project:
157
- rubygems_version: 2.7.6
159
+ rubygems_version: 2.5.2.3
158
160
  signing_key:
159
161
  specification_version: 4
160
162
  summary: Official Ruby client library to consume Microsoft Azure IotCentral Management