azure_mgmt_iot_hub 0.14.0 → 0.15.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.rb +67 -0
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_client.rb +129 -0
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3048 -0
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/access_rights.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/capabilities.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/error_details.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +1 -1
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +100 -0
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/export_devices_request.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/feedback_properties.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/import_devices_request.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_description.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +1 -1
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +210 -0
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_sku.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/ip_filter_rule.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/job_response.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/job_response_list_result.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/job_status.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/job_type.rb +1 -1
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +73 -0
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/operation_inputs.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +1 -1
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +53 -0
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/registry_statistics.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/resource.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +1 -1
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +1 -1
- data/lib/2016-02-03/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/{generated → 2016-02-03/generated}/azure_mgmt_iot_hub/version.rb +2 -2
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub.rb +75 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_client.rb +129 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/iot_hub_resource.rb +3048 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +73 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/error_details.rb +78 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +71 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +96 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/event_hub_properties.rb +100 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +56 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/fallback_route_properties.rb +95 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +73 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +55 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +84 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +138 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +96 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +69 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_properties.rb +221 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +67 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +97 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +18 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +67 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +97 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +69 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +16 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +67 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/job_response.rb +128 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +95 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
- data/lib/{generated → 2017-01-19/generated}/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +1 -1
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +44 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
- data/lib/{generated → 2017-01-19/generated}/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +1 -1
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +69 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/resource.rb +97 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/route_properties.rb +109 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb +97 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +82 -0
- data/lib/{generated → 2017-01-19/generated}/azure_mgmt_iot_hub/models/routing_properties.rb +1 -1
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +85 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +85 -0
- data/lib/{generated → 2017-01-19/generated}/azure_mgmt_iot_hub/models/routing_source.rb +1 -1
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +84 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +99 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +69 -0
- data/lib/2017-01-19/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/{generated/azure_mgmt_iot_hub/module_definition.rb → 2017-01-19/generated/azure_mgmt_iot_hub/version.rb} +3 -3
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub.rb +88 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/certificates.rb +9 -9
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/iot_hub_client.rb +3 -3
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/iot_hub_resource.rb +34 -34
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/access_rights.rb +29 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/capabilities.rb +16 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_body_description.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_description.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_list_description.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_properties.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_properties_with_nonce.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_verification_description.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/certificate_with_nonce_description.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/cloud_to_device_properties.rb +73 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/error_details.rb +78 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_group_info.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/event_hub_consumer_groups_list_result.rb +96 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/event_hub_properties.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/export_devices_request.rb +56 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/fallback_route_properties.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/feedback_properties.rb +73 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/import_devices_request.rb +55 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_capacity.rb +84 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_description.rb +138 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_description_list_result.rb +96 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_availability_info.rb +69 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_name_unavailability_reason.rb +16 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/iot_hub_properties.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb +67 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info_list_result.rb +97 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_scale_type.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku.rb +18 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description.rb +67 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_description_list_result.rb +97 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_info.rb +69 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_sku_tier.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/ip_filter_action_type.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb +67 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/job_response.rb +128 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/job_response_list_result.rb +95 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/job_status.rb +20 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/job_type.rb +24 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/messaging_endpoint_properties.rb +73 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/operation.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/operation_display.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/operation_inputs.rb +44 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/operation_list_result.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/operation_monitoring_level.rb +18 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/operations_monitoring_properties.rb +55 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/registry_statistics.rb +69 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/resource.rb +97 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/route_properties.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/routing_endpoints.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_properties.rb +83 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb +1 -1
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/routing_service_bus_topic_endpoint_properties.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_source.rb +18 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/models/routing_storage_container_properties.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule.rb +84 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/shared_access_signature_authorization_rule_list_result.rb +99 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/models/storage_endpoint_properties.rb +69 -0
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/module_definition.rb +9 -0
- data/lib/{generated → 2017-07-01/generated}/azure_mgmt_iot_hub/operations.rb +3 -3
- data/lib/2017-07-01/generated/azure_mgmt_iot_hub/version.rb +8 -0
- data/lib/azure_mgmt_iot_hub.rb +4 -1
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/iothub_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/iothub_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/iothub_profile_module.rb +278 -0
- data/lib/version.rb +7 -0
- metadata +170 -67
- data/lib/generated/azure_mgmt_iot_hub.rb +0 -88
@@ -0,0 +1,109 @@
|
|
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::V2017_01_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The properties of a routing rule that your IoT hub uses to route messages
|
10
|
+
# to endpoints.
|
11
|
+
#
|
12
|
+
class RouteProperties
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The name of the route. The name can only include
|
17
|
+
# alphanumeric characters, periods, underscores, hyphens, has a maximum
|
18
|
+
# length of 64 characters, and must be unique.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [RoutingSource] The source that the routing rule is to be
|
22
|
+
# applied to, such as DeviceMessages. Possible values include:
|
23
|
+
# 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents',
|
24
|
+
# 'DeviceJobLifecycleEvents'
|
25
|
+
attr_accessor :source
|
26
|
+
|
27
|
+
# @return [String] The condition that is evaluated to apply the routing
|
28
|
+
# rule. If no condition is provided, it evaluates to true by default. For
|
29
|
+
# grammar, See:
|
30
|
+
# https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language
|
31
|
+
attr_accessor :condition
|
32
|
+
|
33
|
+
# @return [Array<String>] The list of endpoints to which messages that
|
34
|
+
# satisfy the condition are routed. Currently only one endpoint is
|
35
|
+
# allowed.
|
36
|
+
attr_accessor :endpoint_names
|
37
|
+
|
38
|
+
# @return [Boolean] Used to specify whether a route is enabled.
|
39
|
+
attr_accessor :is_enabled
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for RouteProperties class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'RouteProperties',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'RouteProperties',
|
53
|
+
model_properties: {
|
54
|
+
name: {
|
55
|
+
required: true,
|
56
|
+
serialized_name: 'name',
|
57
|
+
constraints: {
|
58
|
+
Pattern: '^[A-Za-z0-9-._]{1,64}$'
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
source: {
|
65
|
+
required: true,
|
66
|
+
serialized_name: 'source',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
condition: {
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'condition',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
endpoint_names: {
|
79
|
+
required: true,
|
80
|
+
serialized_name: 'endpointNames',
|
81
|
+
constraints: {
|
82
|
+
MaxItems: 1,
|
83
|
+
MinItems: 1
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
name: 'Sequence',
|
87
|
+
element: {
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'StringElementType',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
},
|
96
|
+
is_enabled: {
|
97
|
+
required: true,
|
98
|
+
serialized_name: 'isEnabled',
|
99
|
+
type: {
|
100
|
+
name: 'Boolean'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
@@ -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::IotHub::Mgmt::V2017_01_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The properties related to the custom endpoints to which your IoT hub
|
10
|
+
# routes messages based on the routing rules. A maximum of 10 custom
|
11
|
+
# endpoints are allowed across all endpoint types for paid hubs and only 1
|
12
|
+
# custom endpoint is allowed across all endpoint types for free hubs.
|
13
|
+
#
|
14
|
+
class RoutingEndpoints
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [Array<RoutingServiceBusQueueEndpointProperties>] The list of
|
19
|
+
# Service Bus queue endpoints that IoT hub routes the messages to, based
|
20
|
+
# on the routing rules.
|
21
|
+
attr_accessor :service_bus_queues
|
22
|
+
|
23
|
+
# @return [Array<RoutingServiceBusTopicEndpointProperties>] The list of
|
24
|
+
# Service Bus topic endpoints that the IoT hub routes the messages to,
|
25
|
+
# based on the routing rules.
|
26
|
+
attr_accessor :service_bus_topics
|
27
|
+
|
28
|
+
# @return [Array<RoutingEventHubProperties>] The list of Event Hubs
|
29
|
+
# endpoints that IoT hub routes messages to, based on the routing rules.
|
30
|
+
# This list does not include the built-in Event Hubs endpoint.
|
31
|
+
attr_accessor :event_hubs
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for RoutingEndpoints class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'RoutingEndpoints',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'RoutingEndpoints',
|
45
|
+
model_properties: {
|
46
|
+
service_bus_queues: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'serviceBusQueues',
|
49
|
+
type: {
|
50
|
+
name: 'Sequence',
|
51
|
+
element: {
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'RoutingServiceBusQueueEndpointPropertiesElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'RoutingServiceBusQueueEndpointProperties'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
service_bus_topics: {
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'serviceBusTopics',
|
64
|
+
type: {
|
65
|
+
name: 'Sequence',
|
66
|
+
element: {
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'RoutingServiceBusTopicEndpointPropertiesElementType',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'RoutingServiceBusTopicEndpointProperties'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
event_hubs: {
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'eventHubs',
|
79
|
+
type: {
|
80
|
+
name: 'Sequence',
|
81
|
+
element: {
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'RoutingEventHubPropertiesElementType',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'RoutingEventHubProperties'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,82 @@
|
|
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::V2017_01_19
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The properties related to an event hub endpoint.
|
10
|
+
#
|
11
|
+
class RoutingEventHubProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The connection string of the event hub endpoint.
|
16
|
+
attr_accessor :connection_string
|
17
|
+
|
18
|
+
# @return [String] The name of the event hub endpoint. The name can only
|
19
|
+
# include alphanumeric characters, periods, underscores, hyphens and has
|
20
|
+
# a maximum length of 64 characters. The following names are reserved;
|
21
|
+
# events, operationsMonitoringEvents, fileNotifications, $default.
|
22
|
+
# Endpoint names must be unique across endpoint types.
|
23
|
+
attr_accessor :name
|
24
|
+
|
25
|
+
# @return [String] The subscription identifier of the event hub endpoint.
|
26
|
+
attr_accessor :subscription_id
|
27
|
+
|
28
|
+
# @return [String] The name of the resource group of the event hub
|
29
|
+
# endpoint.
|
30
|
+
attr_accessor :resource_group
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for RoutingEventHubProperties class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'RoutingEventHubProperties',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'RoutingEventHubProperties',
|
44
|
+
model_properties: {
|
45
|
+
connection_string: {
|
46
|
+
required: true,
|
47
|
+
serialized_name: 'connectionString',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
name: {
|
53
|
+
required: true,
|
54
|
+
serialized_name: 'name',
|
55
|
+
constraints: {
|
56
|
+
Pattern: '^[A-Za-z0-9-._]{1,64}$'
|
57
|
+
},
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
subscription_id: {
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'subscriptionId',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
resource_group: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'resourceGroup',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,85 @@
|
|
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::V2017_01_19
|
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 of the service bus queue endpoint. The name
|
20
|
+
# can only include alphanumeric characters, periods, underscores, hyphens
|
21
|
+
# and 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
|
+
required: false,
|
43
|
+
serialized_name: 'RoutingServiceBusQueueEndpointProperties',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'RoutingServiceBusQueueEndpointProperties',
|
47
|
+
model_properties: {
|
48
|
+
connection_string: {
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'connectionString',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
name: {
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'name',
|
58
|
+
constraints: {
|
59
|
+
Pattern: '^[A-Za-z0-9-._]{1,64}$'
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
subscription_id: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'subscriptionId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
resource_group: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'resourceGroup',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,85 @@
|
|
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::V2017_01_19
|
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 of the service bus topic endpoint. The name
|
20
|
+
# can only include alphanumeric characters, periods, underscores, hyphens
|
21
|
+
# and 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
|
+
required: false,
|
43
|
+
serialized_name: 'RoutingServiceBusTopicEndpointProperties',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'RoutingServiceBusTopicEndpointProperties',
|
47
|
+
model_properties: {
|
48
|
+
connection_string: {
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'connectionString',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
name: {
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'name',
|
58
|
+
constraints: {
|
59
|
+
Pattern: '^[A-Za-z0-9-._]{1,64}$'
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
subscription_id: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'subscriptionId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
resource_group: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'resourceGroup',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|