azure_mgmt_iot_central 0.18.0 → 0.19.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 +0 -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 +0 -0
  21. data/lib/2018-09-01/generated/azure_mgmt_iot_central.rb +5 -6
  22. data/lib/2018-09-01/generated/azure_mgmt_iot_central/apps.rb +12 -12
  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 -6
  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 -6
  28. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb +0 -0
  29. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb +0 -0
  30. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb +0 -0
  31. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb +0 -0
  32. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/{error_response_body.rb → cloud_error_body.rb} +8 -8
  33. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb +0 -0
  34. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb +0 -0
  35. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb +0 -3
  36. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb +0 -0
  37. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb +0 -0
  38. data/lib/2018-09-01/generated/azure_mgmt_iot_central/module_definition.rb +0 -0
  39. data/lib/2018-09-01/generated/azure_mgmt_iot_central/operations.rb +2 -2
  40. data/lib/azure_mgmt_iot_central.rb +1 -1
  41. data/lib/module_definition.rb +8 -8
  42. data/lib/profiles/latest/iotcentral_latest_profile_client.rb +40 -40
  43. data/lib/profiles/latest/iotcentral_module_definition.rb +8 -8
  44. data/lib/profiles/latest/modules/iotcentral_profile_module.rb +17 -21
  45. data/lib/version.rb +1 -1
  46. metadata +4 -5
  47. data/lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb +0 -92
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 298c58de0bef90fdae4fda33bc7453e7ebcb548f
4
- data.tar.gz: 9dee5e92fa47c5cab11c3b4e5d676797e0412557
2
+ SHA256:
3
+ metadata.gz: ec672f4df6ed28612b75608cb25a28454f4c1c87afe2ac183c71ef37b167770e
4
+ data.tar.gz: 6dd7d3cefad899c21f4654c73f6d1b37700f18aae3f2390dc37454bc8247c1d8
5
5
  SHA512:
6
- metadata.gz: 72e1889fdaaf25779b0b7d9f3f7a23ac90218d980952e86fc0a0e706b1d204e15ae0ccb291314278fe4094535315501e513eaaa9c0e27cac455fa68f2e2ce03f
7
- data.tar.gz: e442a58205eef5c710095bc8fc4e72727621fdbbfc8f34bb862eeba4a014d604da07becdd65b6a20202d5a27e0cd0c1d2b2d800f357dd2dff3d6768ea783659c
6
+ metadata.gz: 79902682683eb6950e9db5aa29887481e1ce52d708864426ccfc1e23c66e56b7b2af6fe2873db76f7b4f3bfe078f8c2e44d2610396f79f2b77ce6a8ef761d625
7
+ data.tar.gz: 91a07a3aa72b8183c4a34248f37bf2190c98420c682f3d8ee04538665d4d9e2938721de92713611965597421f48fdacd407ee908553246a35fa0add5fc0147b4
@@ -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.
@@ -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.18.0"
131
+ sdk_information = "#{sdk_information}/0.19.0"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -25,19 +25,18 @@ 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'
28
29
  autoload :OperationDisplay, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb'
29
- autoload :AppSkuInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb'
30
- autoload :Operation, '2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb'
30
+ autoload :AppTemplatesResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb'
31
31
  autoload :AppPatch, '2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb'
32
+ autoload :Operation, '2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb'
33
+ autoload :CloudErrorBody, '2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_body.rb'
32
34
  autoload :OperationListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb'
33
- autoload :ErrorResponseBody, '2018-09-01/generated/azure_mgmt_iot_central/models/error_response_body.rb'
35
+ autoload :AppSkuInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb'
34
36
  autoload :OperationInputs, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb'
35
- autoload :AppListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb'
36
37
  autoload :AppAvailabilityInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_availability_info.rb'
37
38
  autoload :Resource, '2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb'
38
39
  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'
41
40
  autoload :App, '2018-09-01/generated/azure_mgmt_iot_central/models/app.rb'
42
41
  autoload :AppSku, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb'
43
42
  end
@@ -98,7 +98,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
98
98
  response_content = http_response.body
99
99
  unless status_code == 200
100
100
  error_model = JSON.load(response_content)
101
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
101
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
102
102
  end
103
103
 
104
104
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -327,7 +327,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
327
327
  response_content = http_response.body
328
328
  unless status_code == 200
329
329
  error_model = JSON.load(response_content)
330
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
330
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
331
331
  end
332
332
 
333
333
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -420,7 +420,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
420
420
  response_content = http_response.body
421
421
  unless status_code == 200
422
422
  error_model = JSON.load(response_content)
423
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
423
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
424
424
  end
425
425
 
426
426
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -523,7 +523,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
523
523
  response_content = http_response.body
524
524
  unless status_code == 200
525
525
  error_model = JSON.load(response_content)
526
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
526
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
527
527
  end
528
528
 
529
529
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -626,7 +626,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
626
626
  response_content = http_response.body
627
627
  unless status_code == 200
628
628
  error_model = JSON.load(response_content)
629
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
629
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
630
630
  end
631
631
 
632
632
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -712,7 +712,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
712
712
  response_content = http_response.body
713
713
  unless status_code == 200
714
714
  error_model = JSON.load(response_content)
715
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
715
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
716
716
  end
717
717
 
718
718
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -832,7 +832,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
832
832
  response_content = http_response.body
833
833
  unless status_code == 200 || status_code == 201 || status_code == 202
834
834
  error_model = JSON.load(response_content)
835
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
835
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
836
836
  end
837
837
 
838
838
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -956,7 +956,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
956
956
  response_content = http_response.body
957
957
  unless status_code == 200 || status_code == 202
958
958
  error_model = JSON.load(response_content)
959
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
959
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
960
960
  end
961
961
 
962
962
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -1055,7 +1055,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1055
1055
  response_content = http_response.body
1056
1056
  unless status_code == 200 || status_code == 202 || status_code == 204
1057
1057
  error_model = JSON.load(response_content)
1058
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1058
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1059
1059
  end
1060
1060
 
1061
1061
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -1135,7 +1135,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1135
1135
  response_content = http_response.body
1136
1136
  unless status_code == 200
1137
1137
  error_model = JSON.load(response_content)
1138
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1138
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1139
1139
  end
1140
1140
 
1141
1141
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -1225,7 +1225,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1225
1225
  response_content = http_response.body
1226
1226
  unless status_code == 200
1227
1227
  error_model = JSON.load(response_content)
1228
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1228
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1229
1229
  end
1230
1230
 
1231
1231
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -1315,7 +1315,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1315
1315
  response_content = http_response.body
1316
1316
  unless status_code == 200
1317
1317
  error_model = JSON.load(response_content)
1318
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
1318
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
1319
1319
  end
1320
1320
 
1321
1321
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -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.18.0"
131
+ sdk_information = "#{sdk_information}/0.19.0"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -111,9 +111,6 @@ module Azure::IotCentral::Mgmt::V2018_09_01
111
111
  client_side_validation: true,
112
112
  required: false,
113
113
  serialized_name: 'properties.displayName',
114
- constraints: {
115
- Pattern: '^.{1,200}$'
116
- },
117
114
  type: {
118
115
  name: 'String'
119
116
  }
@@ -122,9 +119,6 @@ module Azure::IotCentral::Mgmt::V2018_09_01
122
119
  client_side_validation: true,
123
120
  required: false,
124
121
  serialized_name: 'properties.subdomain',
125
- constraints: {
126
- Pattern: '^[a-z0-9-]{1,63}$'
127
- },
128
122
  type: {
129
123
  name: 'String'
130
124
  }
@@ -73,9 +73,6 @@ module Azure::IotCentral::Mgmt::V2018_09_01
73
73
  client_side_validation: true,
74
74
  required: false,
75
75
  serialized_name: 'properties.displayName',
76
- constraints: {
77
- Pattern: '^.{1,200}$'
78
- },
79
76
  type: {
80
77
  name: 'String'
81
78
  }
@@ -84,9 +81,6 @@ module Azure::IotCentral::Mgmt::V2018_09_01
84
81
  client_side_validation: true,
85
82
  required: false,
86
83
  serialized_name: 'properties.subdomain',
87
- constraints: {
88
- Pattern: '^[a-z0-9-]{1,63}$'
89
- },
90
84
  type: {
91
85
  name: 'String'
92
86
  }
@@ -8,7 +8,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
8
8
  #
9
9
  # Details of error response.
10
10
  #
11
- class ErrorResponseBody
11
+ class CloudErrorBody
12
12
 
13
13
  include MsRestAzure
14
14
 
@@ -21,23 +21,23 @@ module Azure::IotCentral::Mgmt::V2018_09_01
21
21
  # @return [String] The target of the particular error.
22
22
  attr_accessor :target
23
23
 
24
- # @return [Array<ErrorResponseBody>] A list of additional details about
25
- # the error.
24
+ # @return [Array<CloudErrorBody>] A list of additional details about the
25
+ # error.
26
26
  attr_accessor :details
27
27
 
28
28
 
29
29
  #
30
- # Mapper for ErrorResponseBody class as Ruby Hash.
30
+ # Mapper for CloudErrorBody class as Ruby Hash.
31
31
  # This will be used for serialization/deserialization.
32
32
  #
33
33
  def self.mapper()
34
34
  {
35
35
  client_side_validation: true,
36
36
  required: false,
37
- serialized_name: 'ErrorResponseBody',
37
+ serialized_name: 'CloudErrorBody',
38
38
  type: {
39
39
  name: 'Composite',
40
- class_name: 'ErrorResponseBody',
40
+ class_name: 'CloudErrorBody',
41
41
  model_properties: {
42
42
  code: {
43
43
  client_side_validation: true,
@@ -75,10 +75,10 @@ module Azure::IotCentral::Mgmt::V2018_09_01
75
75
  element: {
76
76
  client_side_validation: true,
77
77
  required: false,
78
- serialized_name: 'ErrorResponseBodyElementType',
78
+ serialized_name: 'CloudErrorBodyElementType',
79
79
  type: {
80
80
  name: 'Composite',
81
- class_name: 'ErrorResponseBody'
81
+ class_name: 'CloudErrorBody'
82
82
  }
83
83
  }
84
84
  }
@@ -38,9 +38,6 @@ module Azure::IotCentral::Mgmt::V2018_09_01
38
38
  client_side_validation: true,
39
39
  required: true,
40
40
  serialized_name: 'name',
41
- constraints: {
42
- Pattern: '^[a-z0-9-]{1,63}$'
43
- },
44
41
  type: {
45
42
  name: 'String'
46
43
  }
@@ -82,7 +82,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
82
82
  response_content = http_response.body
83
83
  unless status_code == 200
84
84
  error_model = JSON.load(response_content)
85
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
85
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
86
86
  end
87
87
 
88
88
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -172,7 +172,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
172
172
  response_content = http_response.body
173
173
  unless status_code == 200
174
174
  error_model = JSON.load(response_content)
175
- fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
175
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
176
176
  end
177
177
 
178
178
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@@ -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 '2017-07-01-privatepreview/generated/azure_mgmt_iot_central'
6
5
  require '2018-09-01/generated/azure_mgmt_iot_central'
6
+ require '2017-07-01-privatepreview/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,19 +10,18 @@ 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
13
14
  OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
14
- AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
15
- Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
15
+ AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
16
16
  AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
17
+ Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
18
+ CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
17
19
  OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
18
- ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
20
+ AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
19
21
  OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
20
- AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
21
22
  AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
22
23
  Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
23
24
  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
26
25
  App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
27
26
  AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
28
27
  end
@@ -73,30 +72,33 @@ module Azure::IotCentral::Profiles::Latest
73
72
  end
74
73
 
75
74
  class ModelClasses
75
+ def app_list_result
76
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
77
+ end
76
78
  def operation_display
77
79
  Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
78
80
  end
79
- def app_sku_info
80
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
81
+ def app_templates_result
82
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
83
+ end
84
+ def app_patch
85
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
81
86
  end
82
87
  def operation
83
88
  Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
84
89
  end
85
- def app_patch
86
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
90
+ def cloud_error_body
91
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
87
92
  end
88
93
  def operation_list_result
89
94
  Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
90
95
  end
91
- def error_response_body
92
- Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody
96
+ def app_sku_info
97
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
93
98
  end
94
99
  def operation_inputs
95
100
  Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
96
101
  end
97
- def app_list_result
98
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
99
- end
100
102
  def app_availability_info
101
103
  Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
102
104
  end
@@ -106,12 +108,6 @@ module Azure::IotCentral::Profiles::Latest
106
108
  def app_template
107
109
  Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
108
110
  end
109
- def error_details
110
- Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails
111
- end
112
- def app_templates_result
113
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
114
- end
115
111
  def app
116
112
  Azure::IotCentral::Mgmt::V2018_09_01::Models::App
117
113
  end
@@ -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.18.0'
6
+ VERSION = '0.19.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.18.0
4
+ version: 0.19.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-12-12 00:00:00.000000000 Z
11
+ date: 2020-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -116,8 +116,7 @@ files:
116
116
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb
117
117
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb
118
118
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb
119
- - lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_details.rb
120
- - lib/2018-09-01/generated/azure_mgmt_iot_central/models/error_response_body.rb
119
+ - lib/2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_body.rb
121
120
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb
122
121
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb
123
122
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb
@@ -156,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
155
  version: '0'
157
156
  requirements: []
158
157
  rubyforge_project:
159
- rubygems_version: 2.5.2.3
158
+ rubygems_version: 2.7.8
160
159
  signing_key:
161
160
  specification_version: 4
162
161
  summary: Official Ruby client library to consume Microsoft Azure IotCentral Management
@@ -1,92 +0,0 @@
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
- # Error details.
10
- #
11
- class ErrorDetails
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The error code.
16
- attr_accessor :code
17
-
18
- # @return [String] The error message.
19
- attr_accessor :message
20
-
21
- # @return [String] The target of the particular error.
22
- attr_accessor :target
23
-
24
- # @return [Array<ErrorResponseBody>] A list of additional details about
25
- # the error.
26
- attr_accessor :details
27
-
28
-
29
- #
30
- # Mapper for ErrorDetails class as Ruby Hash.
31
- # This will be used for serialization/deserialization.
32
- #
33
- def self.mapper()
34
- {
35
- client_side_validation: true,
36
- required: false,
37
- serialized_name: 'ErrorDetails',
38
- type: {
39
- name: 'Composite',
40
- class_name: 'ErrorDetails',
41
- model_properties: {
42
- code: {
43
- client_side_validation: true,
44
- required: false,
45
- read_only: true,
46
- serialized_name: 'error.code',
47
- type: {
48
- name: 'String'
49
- }
50
- },
51
- message: {
52
- client_side_validation: true,
53
- required: false,
54
- read_only: true,
55
- serialized_name: 'error.message',
56
- type: {
57
- name: 'String'
58
- }
59
- },
60
- target: {
61
- client_side_validation: true,
62
- required: false,
63
- read_only: true,
64
- serialized_name: 'error.target',
65
- type: {
66
- name: 'String'
67
- }
68
- },
69
- details: {
70
- client_side_validation: true,
71
- required: false,
72
- serialized_name: 'error.details',
73
- type: {
74
- name: 'Sequence',
75
- element: {
76
- client_side_validation: true,
77
- required: false,
78
- serialized_name: 'ErrorResponseBodyElementType',
79
- type: {
80
- name: 'Composite',
81
- class_name: 'ErrorResponseBody'
82
- }
83
- }
84
- }
85
- }
86
- }
87
- }
88
- }
89
- end
90
- end
91
- end
92
- end