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.
- checksums.yaml +4 -4
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +7 -6
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub.rb +89 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/certificates.rb +711 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_client.rb +139 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3242 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +107 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +121 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +18 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/resource.rb +104 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_source.rb +18 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/2018-01-22/generated/azure_mgmt_iot_hub/operations.rb +215 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub.rb +108 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb +711 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_client.rb +143 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3676 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_body_description.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_description.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_list_description.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties.rb +118 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +133 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_verification_description.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +95 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_data_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/endpoint_health_status.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/error_details.rb +83 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +107 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +114 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +252 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +21 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +101 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response.rb +137 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +99 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/matched_route.rb +47 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +77 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/name.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_display.rb +71 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +46 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_list_result.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +58 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/resource.rb +104 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb +70 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_position.rb +57 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_range.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_error_severity.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_properties.rb +116 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +126 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +87 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_message.rb +84 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_properties.rb +88 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +90 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +90 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_source.rb +19 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +156 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +89 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +103 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +73 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/tags_resource.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb +60 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_all_routes_result.rb +55 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_result_status.rb +17 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_input.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb +59 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result_details.rb +56 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb +102 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota_list_result.rb +67 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/operations.rb +215 -0
- data/lib/2018-04-01/generated/azure_mgmt_iot_hub/resource_provider_common.rb +115 -0
- data/lib/azure_mgmt_iot_hub.rb +3 -1
- data/lib/profiles/latest/modules/iothub_profile_module.rb +240 -162
- data/lib/version.rb +1 -1
- 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
|
data/lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb
ADDED
@@ -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
|