azure_mgmt_iot_central 0.19.3 → 0.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f30182115c5a4b1acc17eaf7cf1f893812beb6e7d3c60e0e679fea6bff96c6a8
4
- data.tar.gz: 84fe6364b63aace09048a3181d09f153a5d42cbbe63e4d37924b9cab2f8ebd42
3
+ metadata.gz: 7d9b93e7a1a1bb24adec527f9d6d0dccb31982668732bc8365db8c14f54a8f9c
4
+ data.tar.gz: fba199148cf0d13aa6536599e1048c3bc43844bf706558eaf720694eb5f29696
5
5
  SHA512:
6
- metadata.gz: 7e8579b00b4bc201d6b5a9ae4bd1933674ca48d479b1952f40cc9fa293598b22c4014049719313b2119cd765a87e6b36541d6a9b07e05124425723f13a14d85a
7
- data.tar.gz: a01befee4f4b1fdbea5e63d8224cf0b5274418c328dc03f3fe86e848df1b200e96d42c02e28c8f1d045a768e501ae22dfde551a129400eeb3f3a73afbd58da29
6
+ metadata.gz: d770f128aac868b03ad6f2d3fb683d653135344db91a9ceef2d02aed2de22eda52b98a8e05c5135cdc3c271b5352a5b028c127ac1271942f7d67a8ae6ac5df7f
7
+ data.tar.gz: 526d070cd91f8ea458ca352c491c8bfe5dceab8481a0ab7d5f052030ce8f0abbbb430410883ab09d525a5df33fbe71e23a2363627c1b88bf3b1841a4dde2e1ba
@@ -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.19.3"
131
+ sdk_information = "#{sdk_information}/0.19.4"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -25,17 +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'
29
28
  autoload :OperationDisplay, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb'
30
- autoload :AppTemplatesResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.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 :CloudErrorBody, '2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_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 :AppSkuInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb'
33
+ autoload :CloudErrorBody, '2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_body.rb'
36
34
  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'
37
36
  autoload :AppAvailabilityInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_availability_info.rb'
38
37
  autoload :Resource, '2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb'
38
+ autoload :AppTemplateLocations, '2018-09-01/generated/azure_mgmt_iot_central/models/app_template_locations.rb'
39
+ autoload :AppTemplatesResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb'
39
40
  autoload :AppTemplate, '2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb'
40
41
  autoload :App, '2018-09-01/generated/azure_mgmt_iot_central/models/app.rb'
41
42
  autoload :AppSku, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb'
@@ -79,7 +79,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
79
79
  # Set Headers
80
80
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
81
81
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
82
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
82
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
83
83
 
84
84
  request_url = @base_url || @client.base_url
85
85
 
@@ -308,7 +308,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
308
308
  # Set Headers
309
309
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
310
310
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
311
- path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/IoTApps'
311
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/iotApps'
312
312
 
313
313
  request_url = @base_url || @client.base_url
314
314
 
@@ -401,7 +401,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
401
401
  # Set Headers
402
402
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
403
403
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
404
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps'
404
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps'
405
405
 
406
406
  request_url = @base_url || @client.base_url
407
407
 
@@ -812,7 +812,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
812
812
  request_content = @client.serialize(request_mapper, app)
813
813
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
814
814
 
815
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
815
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
816
816
 
817
817
  request_url = @base_url || @client.base_url
818
818
 
@@ -936,7 +936,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
936
936
  request_content = @client.serialize(request_mapper, app_patch)
937
937
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
938
938
 
939
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
939
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
940
940
 
941
941
  request_url = @base_url || @client.base_url
942
942
 
@@ -1036,7 +1036,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
1036
1036
  # Set Headers
1037
1037
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1038
1038
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1039
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
1039
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
1040
1040
 
1041
1041
  request_url = @base_url || @client.base_url
1042
1042
 
@@ -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.19.3"
131
+ sdk_information = "#{sdk_information}/0.19.4"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -30,6 +30,13 @@ module Azure::IotCentral::Mgmt::V2018_09_01
30
30
  # @return [String] The description of the template.
31
31
  attr_accessor :description
32
32
 
33
+ # @return [String] The industry of the template.
34
+ attr_accessor :industry
35
+
36
+ # @return [Array<AppTemplateLocations>] A list of locations that support
37
+ # the template.
38
+ attr_accessor :locations
39
+
33
40
 
34
41
  #
35
42
  # Mapper for AppTemplate class as Ruby Hash.
@@ -97,6 +104,33 @@ module Azure::IotCentral::Mgmt::V2018_09_01
97
104
  type: {
98
105
  name: 'String'
99
106
  }
107
+ },
108
+ industry: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'industry',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ locations: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ read_only: true,
121
+ serialized_name: 'locations',
122
+ type: {
123
+ name: 'Sequence',
124
+ element: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ serialized_name: 'AppTemplateLocationsElementType',
128
+ type: {
129
+ name: 'Composite',
130
+ class_name: 'AppTemplateLocations'
131
+ }
132
+ }
133
+ }
100
134
  }
101
135
  }
102
136
  }
@@ -0,0 +1,59 @@
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 Locations.
10
+ #
11
+ class AppTemplateLocations
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ID of the location.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The display name of the location.
19
+ attr_accessor :display_name
20
+
21
+
22
+ #
23
+ # Mapper for AppTemplateLocations class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'AppTemplateLocations',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'AppTemplateLocations',
34
+ model_properties: {
35
+ id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ display_name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'displayName',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -19,6 +19,12 @@ module Azure::IotCentral::Mgmt::V2018_09_01
19
19
  # @return [OperationDisplay] The object that represents the operation.
20
20
  attr_accessor :display
21
21
 
22
+ # @return [String] The intended executor of the operation.
23
+ attr_accessor :origin
24
+
25
+ # @return Additional descriptions for the operation.
26
+ attr_accessor :properties
27
+
22
28
 
23
29
  #
24
30
  # Mapper for Operation class as Ruby Hash.
@@ -50,6 +56,24 @@ module Azure::IotCentral::Mgmt::V2018_09_01
50
56
  name: 'Composite',
51
57
  class_name: 'OperationDisplay'
52
58
  }
59
+ },
60
+ origin: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'origin',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ properties: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'properties',
74
+ type: {
75
+ name: 'Object'
76
+ }
53
77
  }
54
78
  }
55
79
  }
@@ -10,17 +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
14
13
  OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
15
- AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
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
- CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
16
+ AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
19
17
  OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
20
- AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
18
+ CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
21
19
  OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
20
+ AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
22
21
  AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
23
22
  Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
23
+ AppTemplateLocations = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplateLocations
24
+ AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
24
25
  AppTemplate = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
25
26
  App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
26
27
  AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
@@ -72,39 +73,42 @@ module Azure::IotCentral::Profiles::Latest
72
73
  end
73
74
 
74
75
  class ModelClasses
75
- def app_list_result
76
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
77
- end
78
76
  def operation_display
79
77
  Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
80
78
  end
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
79
+ def app_sku_info
80
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
86
81
  end
87
82
  def operation
88
83
  Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
89
84
  end
90
- def cloud_error_body
91
- Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
85
+ def app_patch
86
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
92
87
  end
93
88
  def operation_list_result
94
89
  Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
95
90
  end
96
- def app_sku_info
97
- Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
91
+ def cloud_error_body
92
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
98
93
  end
99
94
  def operation_inputs
100
95
  Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
101
96
  end
97
+ def app_list_result
98
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
99
+ end
102
100
  def app_availability_info
103
101
  Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
104
102
  end
105
103
  def resource
106
104
  Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
107
105
  end
106
+ def app_template_locations
107
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplateLocations
108
+ end
109
+ def app_templates_result
110
+ Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
111
+ end
108
112
  def app_template
109
113
  Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
110
114
  end
data/lib/version.rb CHANGED
@@ -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.19.3'
6
+ VERSION = '0.19.4'
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.19.3
4
+ version: 0.19.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-04 00:00:00.000000000 Z
11
+ date: 2021-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -115,6 +115,7 @@ files:
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
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_template_locations.rb
118
119
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb
119
120
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_body.rb
120
121
  - lib/2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb