azure_mgmt_iot_hub 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
  3. data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
  4. data/lib/2017-07-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
  5. data/lib/2018-01-22/generated/azure_mgmt_iot_hub.rb +89 -0
  6. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/certificates.rb +711 -0
  7. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_client.rb +139 -0
  8. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3242 -0
  9. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  10. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  11. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  12. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  13. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  14. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +107 -0
  15. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +121 -0
  16. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  17. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  18. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  19. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  20. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  21. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  22. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  23. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  24. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  25. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  26. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  27. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  28. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  29. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  30. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  31. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  32. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
  33. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  34. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  35. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  36. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +18 -0
  37. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  38. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  39. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  40. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +16 -0
  41. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  42. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  43. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  44. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  45. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  46. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  47. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  48. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  49. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
  50. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  51. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  52. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
  53. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
  54. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  55. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/resource.rb +104 -0
  56. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  57. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  58. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  59. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
  60. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  61. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  62. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_source.rb +18 -0
  63. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
  64. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  65. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  66. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  67. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  68. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  69. data/lib/2018-01-22/generated/azure_mgmt_iot_hub/operations.rb +215 -0
  70. data/lib/2018-04-01/generated/azure_mgmt_iot_hub.rb +108 -0
  71. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb +711 -0
  72. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +143 -0
  73. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3676 -0
  74. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
  75. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
  76. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
  77. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
  78. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
  79. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
  80. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
  81. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
  82. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
  83. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
  84. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +58 -0
  85. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
  86. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
  87. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
  88. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
  89. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
  90. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
  91. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
  92. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
  93. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
  94. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
  95. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
  96. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
  97. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
  98. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
  99. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
  100. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
  101. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
  102. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
  103. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
  104. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
  105. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
  106. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
  107. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
  108. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
  109. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
  110. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
  111. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
  112. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
  113. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
  114. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
  115. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
  116. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
  117. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
  118. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
  119. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
  120. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
  121. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
  122. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
  123. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
  124. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
  125. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/resource.rb +104 -0
  126. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
  127. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
  128. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
  129. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
  130. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
  131. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
  132. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
  133. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
  134. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
  135. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
  136. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
  137. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
  138. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
  139. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
  140. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
  141. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
  142. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
  143. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +60 -0
  144. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
  145. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
  146. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_input.rb +59 -0
  147. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
  148. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
  149. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
  150. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
  151. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
  152. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/operations.rb +215 -0
  153. data/lib/2018-04-01/generated/azure_mgmt_iot_hub/resource_provider_common.rb +115 -0
  154. data/lib/azure_mgmt_iot_hub.rb +3 -1
  155. data/lib/profiles/latest/modules/iothub_profile_module.rb +240 -162
  156. data/lib/version.rb +1 -1
  157. metadata +154 -5
@@ -0,0 +1,84 @@
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::IotHub::Mgmt::V2018_04_01
7
+ module Models
8
+ #
9
+ # Routing message
10
+ #
11
+ class RoutingMessage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Body of routing message
16
+ attr_accessor :body
17
+
18
+ # @return [Hash{String => String}] App properties
19
+ attr_accessor :app_properties
20
+
21
+ # @return [Hash{String => String}] System properties
22
+ attr_accessor :system_properties
23
+
24
+
25
+ #
26
+ # Mapper for RoutingMessage class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'RoutingMessage',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'RoutingMessage',
37
+ model_properties: {
38
+ body: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'body',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ app_properties: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'appProperties',
50
+ type: {
51
+ name: 'Dictionary',
52
+ value: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ serialized_name: 'StringElementType',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ },
62
+ system_properties: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'systemProperties',
66
+ type: {
67
+ name: 'Dictionary',
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'StringElementType',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,88 @@
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::IotHub::Mgmt::V2018_04_01
7
+ module Models
8
+ #
9
+ # The routing related properties of the IoT hub. See:
10
+ # https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging
11
+ #
12
+ class RoutingProperties
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [RoutingEndpoints]
17
+ attr_accessor :endpoints
18
+
19
+ # @return [Array<RouteProperties>] The list of user-provided routing
20
+ # rules that the IoT hub uses to route messages to built-in and custom
21
+ # endpoints. A maximum of 100 routing rules are allowed for paid hubs and
22
+ # a maximum of 5 routing rules are allowed for free hubs.
23
+ attr_accessor :routes
24
+
25
+ # @return [FallbackRouteProperties] The properties of the route that is
26
+ # used as a fall-back route when none of the conditions specified in the
27
+ # 'routes' section are met. This is an optional parameter. When this
28
+ # property is not set, the messages which do not meet any of the
29
+ # conditions specified in the 'routes' section get routed to the built-in
30
+ # eventhub endpoint.
31
+ attr_accessor :fallback_route
32
+
33
+
34
+ #
35
+ # Mapper for RoutingProperties 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: 'RoutingProperties',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'RoutingProperties',
46
+ model_properties: {
47
+ endpoints: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'endpoints',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'RoutingEndpoints'
54
+ }
55
+ },
56
+ routes: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'routes',
60
+ type: {
61
+ name: 'Sequence',
62
+ element: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'RoutePropertiesElementType',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'RouteProperties'
69
+ }
70
+ }
71
+ }
72
+ },
73
+ fallback_route: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'fallbackRoute',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'FallbackRouteProperties'
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ end
86
+ end
87
+ end
88
+ end
@@ -0,0 +1,90 @@
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::IotHub::Mgmt::V2018_04_01
7
+ module Models
8
+ #
9
+ # The properties related to service bus queue endpoint types.
10
+ #
11
+ class RoutingServiceBusQueueEndpointProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The connection string of the service bus queue
16
+ # endpoint.
17
+ attr_accessor :connection_string
18
+
19
+ # @return [String] The name that identifies this endpoint. The name can
20
+ # only include alphanumeric characters, periods, underscores, hyphens and
21
+ # has a maximum length of 64 characters. The following names are
22
+ # reserved: events, operationsMonitoringEvents, fileNotifications,
23
+ # $default. Endpoint names must be unique across endpoint types. The name
24
+ # need not be the same as the actual queue name.
25
+ attr_accessor :name
26
+
27
+ # @return [String] The subscription identifier of the service bus queue
28
+ # endpoint.
29
+ attr_accessor :subscription_id
30
+
31
+ # @return [String] The name of the resource group of the service bus
32
+ # queue endpoint.
33
+ attr_accessor :resource_group
34
+
35
+
36
+ #
37
+ # Mapper for RoutingServiceBusQueueEndpointProperties class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'RoutingServiceBusQueueEndpointProperties',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'RoutingServiceBusQueueEndpointProperties',
48
+ model_properties: {
49
+ connection_string: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'connectionString',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ name: {
58
+ client_side_validation: true,
59
+ required: true,
60
+ serialized_name: 'name',
61
+ constraints: {
62
+ Pattern: '^[A-Za-z0-9-._]{1,64}$'
63
+ },
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ subscription_id: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'subscriptionId',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ resource_group: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'resourceGroup',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,90 @@
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::IotHub::Mgmt::V2018_04_01
7
+ module Models
8
+ #
9
+ # The properties related to service bus topic endpoint types.
10
+ #
11
+ class RoutingServiceBusTopicEndpointProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The connection string of the service bus topic
16
+ # endpoint.
17
+ attr_accessor :connection_string
18
+
19
+ # @return [String] The name that identifies this endpoint. The name can
20
+ # only include alphanumeric characters, periods, underscores, hyphens and
21
+ # has a maximum length of 64 characters. The following names are
22
+ # reserved: events, operationsMonitoringEvents, fileNotifications,
23
+ # $default. Endpoint names must be unique across endpoint types. The
24
+ # name need not be the same as the actual topic name.
25
+ attr_accessor :name
26
+
27
+ # @return [String] The subscription identifier of the service bus topic
28
+ # endpoint.
29
+ attr_accessor :subscription_id
30
+
31
+ # @return [String] The name of the resource group of the service bus
32
+ # topic endpoint.
33
+ attr_accessor :resource_group
34
+
35
+
36
+ #
37
+ # Mapper for RoutingServiceBusTopicEndpointProperties class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'RoutingServiceBusTopicEndpointProperties',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'RoutingServiceBusTopicEndpointProperties',
48
+ model_properties: {
49
+ connection_string: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'connectionString',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ name: {
58
+ client_side_validation: true,
59
+ required: true,
60
+ serialized_name: 'name',
61
+ constraints: {
62
+ Pattern: '^[A-Za-z0-9-._]{1,64}$'
63
+ },
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ subscription_id: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'subscriptionId',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ resource_group: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'resourceGroup',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ end
88
+ end
89
+ end
90
+ end
@@ -0,0 +1,19 @@
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::IotHub::Mgmt::V2018_04_01
7
+ module Models
8
+ #
9
+ # Defines values for RoutingSource
10
+ #
11
+ module RoutingSource
12
+ Invalid = "Invalid"
13
+ DeviceMessages = "DeviceMessages"
14
+ TwinChangeEvents = "TwinChangeEvents"
15
+ DeviceLifecycleEvents = "DeviceLifecycleEvents"
16
+ DeviceJobLifecycleEvents = "DeviceJobLifecycleEvents"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,156 @@
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::IotHub::Mgmt::V2018_04_01
7
+ module Models
8
+ #
9
+ # The properties related to a storage container endpoint.
10
+ #
11
+ class RoutingStorageContainerProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The connection string of the storage account.
16
+ attr_accessor :connection_string
17
+
18
+ # @return [String] The name that identifies this endpoint. The name can
19
+ # only include alphanumeric characters, periods, underscores, hyphens and
20
+ # has a maximum length of 64 characters. The following names are
21
+ # reserved: events, operationsMonitoringEvents, fileNotifications,
22
+ # $default. Endpoint names must be unique across endpoint types.
23
+ attr_accessor :name
24
+
25
+ # @return [String] The subscription identifier of the storage account.
26
+ attr_accessor :subscription_id
27
+
28
+ # @return [String] The name of the resource group of the storage account.
29
+ attr_accessor :resource_group
30
+
31
+ # @return [String] The name of storage container in the storage account.
32
+ attr_accessor :container_name
33
+
34
+ # @return [String] File name format for the blob. Default format is
35
+ # {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are
36
+ # mandatory but can be reordered.
37
+ attr_accessor :file_name_format
38
+
39
+ # @return [Integer] Time interval at which blobs are written to storage.
40
+ # Value should be between 60 and 720 seconds. Default value is 300
41
+ # seconds.
42
+ attr_accessor :batch_frequency_in_seconds
43
+
44
+ # @return [Integer] Maximum number of bytes for each blob written to
45
+ # storage. Value should be between 10485760(10MB) and 524288000(500MB).
46
+ # Default value is 314572800(300MB).
47
+ attr_accessor :max_chunk_size_in_bytes
48
+
49
+ # @return [String] Encoding that is used to serialize messages to blobs.
50
+ # Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'.
51
+ attr_accessor :encoding
52
+
53
+
54
+ #
55
+ # Mapper for RoutingStorageContainerProperties class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'RoutingStorageContainerProperties',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'RoutingStorageContainerProperties',
66
+ model_properties: {
67
+ connection_string: {
68
+ client_side_validation: true,
69
+ required: true,
70
+ serialized_name: 'connectionString',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ name: {
76
+ client_side_validation: true,
77
+ required: true,
78
+ serialized_name: 'name',
79
+ constraints: {
80
+ Pattern: '^[A-Za-z0-9-._]{1,64}$'
81
+ },
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ subscription_id: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'subscriptionId',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ resource_group: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'resourceGroup',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ container_name: {
103
+ client_side_validation: true,
104
+ required: true,
105
+ serialized_name: 'containerName',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ file_name_format: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ serialized_name: 'fileNameFormat',
114
+ type: {
115
+ name: 'String'
116
+ }
117
+ },
118
+ batch_frequency_in_seconds: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ serialized_name: 'batchFrequencyInSeconds',
122
+ constraints: {
123
+ InclusiveMaximum: 720,
124
+ InclusiveMinimum: 60
125
+ },
126
+ type: {
127
+ name: 'Number'
128
+ }
129
+ },
130
+ max_chunk_size_in_bytes: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'maxChunkSizeInBytes',
134
+ constraints: {
135
+ InclusiveMaximum: 524288000,
136
+ InclusiveMinimum: 10485760
137
+ },
138
+ type: {
139
+ name: 'Number'
140
+ }
141
+ },
142
+ encoding: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'encoding',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ end
154
+ end
155
+ end
156
+ end