azure_mgmt_iot_hub 0.13.0 → 0.14.0

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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_iot_hub.rb +27 -18
  3. data/lib/generated/azure_mgmt_iot_hub/certificates.rb +704 -0
  4. data/lib/generated/azure_mgmt_iot_hub/iot_hub_client.rb +4 -0
  5. data/lib/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +34 -23
  6. data/lib/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +45 -0
  7. data/lib/generated/azure_mgmt_iot_hub/models/certificate_description.rb +89 -0
  8. data/lib/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +53 -0
  9. data/lib/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +100 -0
  10. data/lib/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +113 -0
  11. data/lib/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +45 -0
  12. data/lib/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +89 -0
  13. data/lib/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +0 -1
  14. data/lib/generated/azure_mgmt_iot_hub/models/error_details.rb +0 -1
  15. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +0 -1
  16. data/lib/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +2 -3
  17. data/lib/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +0 -1
  18. data/lib/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +0 -1
  19. data/lib/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +0 -1
  20. data/lib/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +0 -1
  21. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +0 -1
  22. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +1 -2
  23. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +0 -1
  24. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +0 -1
  25. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +0 -1
  26. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +0 -1
  27. data/lib/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +0 -1
  28. data/lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +0 -1
  29. data/lib/generated/azure_mgmt_iot_hub/models/job_response.rb +0 -1
  30. data/lib/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +0 -1
  31. data/lib/generated/azure_mgmt_iot_hub/models/operation.rb +0 -1
  32. data/lib/generated/azure_mgmt_iot_hub/models/operation_display.rb +0 -1
  33. data/lib/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +0 -1
  34. data/lib/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +0 -1
  35. data/lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +0 -1
  36. data/lib/generated/azure_mgmt_iot_hub/models/resource.rb +97 -0
  37. data/lib/generated/azure_mgmt_iot_hub/models/route_properties.rb +0 -1
  38. data/lib/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +0 -1
  39. data/lib/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +0 -1
  40. data/lib/generated/azure_mgmt_iot_hub/models/routing_properties.rb +0 -1
  41. data/lib/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +0 -1
  42. data/lib/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +0 -1
  43. data/lib/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +0 -1
  44. data/lib/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +0 -1
  45. data/lib/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +0 -1
  46. data/lib/generated/azure_mgmt_iot_hub/version.rb +1 -1
  47. metadata +11 -2
@@ -16,7 +16,6 @@ module Azure::ARM::IotHub
16
16
 
17
17
  include MsRestAzure
18
18
 
19
- include MsRest::JSONable
20
19
  # @return [Hash{String => OperationMonitoringLevel}]
21
20
  attr_accessor :events
22
21
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The total count of devices in the identity registry.
17
16
  attr_accessor :total_device_count
18
17
 
@@ -0,0 +1,97 @@
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::ARM::IotHub
7
+ module Models
8
+ #
9
+ # The common properties of an Azure resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource identifier.
16
+ attr_accessor :id
17
+
18
+ # @return [String] The resource name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] The resource type.
22
+ attr_accessor :type
23
+
24
+ # @return [String] The resource location.
25
+ attr_accessor :location
26
+
27
+ # @return [Hash{String => String}] The resource tags.
28
+ attr_accessor :tags
29
+
30
+
31
+ #
32
+ # Mapper for Resource class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'Resource',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Resource',
42
+ model_properties: {
43
+ id: {
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'id',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ name: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ constraints: {
56
+ Pattern: '^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$'
57
+ },
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'type',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ location: {
71
+ required: true,
72
+ serialized_name: 'location',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ tags: {
78
+ required: false,
79
+ serialized_name: 'tags',
80
+ type: {
81
+ name: 'Dictionary',
82
+ value: {
83
+ required: false,
84
+ serialized_name: 'StringElementType',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -13,7 +13,6 @@ module Azure::ARM::IotHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The name of the route. The name can only include
18
17
  # alphanumeric characters, periods, underscores, hyphens, has a maximum
19
18
  # length of 64 characters, and must be unique.
@@ -15,7 +15,6 @@ module Azure::ARM::IotHub
15
15
 
16
16
  include MsRestAzure
17
17
 
18
- include MsRest::JSONable
19
18
  # @return [Array<RoutingServiceBusQueueEndpointProperties>] The list of
20
19
  # Service Bus queue endpoints that IoT hub routes the messages to, based
21
20
  # on the routing rules.
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The connection string of the event hub endpoint.
17
16
  attr_accessor :connection_string
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::IotHub
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [RoutingEndpoints]
18
17
  attr_accessor :endpoints
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The connection string of the service bus queue
17
16
  # endpoint.
18
17
  attr_accessor :connection_string
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The connection string of the service bus topic
17
16
  # endpoint.
18
17
  attr_accessor :connection_string
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The connection string of the storage account.
17
16
  attr_accessor :connection_string
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the shared access policy.
17
16
  attr_accessor :key_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::IotHub
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Duration] The period of time for which the the SAS URI
17
16
  # generated by IoT Hub for file upload is valid. See:
18
17
  # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options.
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::IotHub
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_iot_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -89,10 +89,18 @@ files:
89
89
  - LICENSE.txt
90
90
  - lib/azure_mgmt_iot_hub.rb
91
91
  - lib/generated/azure_mgmt_iot_hub.rb
92
+ - lib/generated/azure_mgmt_iot_hub/certificates.rb
92
93
  - lib/generated/azure_mgmt_iot_hub/iot_hub_client.rb
93
94
  - lib/generated/azure_mgmt_iot_hub/iot_hub_resource.rb
94
95
  - lib/generated/azure_mgmt_iot_hub/models/access_rights.rb
95
96
  - lib/generated/azure_mgmt_iot_hub/models/capabilities.rb
97
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb
98
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_description.rb
99
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb
100
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_properties.rb
101
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb
102
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb
103
+ - lib/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb
96
104
  - lib/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb
97
105
  - lib/generated/azure_mgmt_iot_hub/models/error_details.rb
98
106
  - lib/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb
@@ -130,6 +138,7 @@ files:
130
138
  - lib/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb
131
139
  - lib/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb
132
140
  - lib/generated/azure_mgmt_iot_hub/models/registry_statistics.rb
141
+ - lib/generated/azure_mgmt_iot_hub/models/resource.rb
133
142
  - lib/generated/azure_mgmt_iot_hub/models/route_properties.rb
134
143
  - lib/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb
135
144
  - lib/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb