Class: Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb
Overview
The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.
Instance Attribute Summary collapse
-
#event_hubs ⇒ Array<RoutingEventHubProperties>
endpoints that IoT hub routes messages to, based on the routing rules.
-
#service_bus_queues ⇒ Array<RoutingServiceBusQueueEndpointProperties>
Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.
-
#service_bus_topics ⇒ Array<RoutingServiceBusTopicEndpointProperties>
Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.
-
#storage_containers ⇒ Array<RoutingStorageContainerProperties>
container endpoints that IoT hub routes messages to, based on the routing rules.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RoutingEndpoints class as Ruby Hash.
Instance Attribute Details
#event_hubs ⇒ Array<RoutingEventHubProperties>
endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.
31 32 33 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 31 def event_hubs @event_hubs end |
#service_bus_queues ⇒ Array<RoutingServiceBusQueueEndpointProperties>
Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.
21 22 23 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 21 def service_bus_queues @service_bus_queues end |
#service_bus_topics ⇒ Array<RoutingServiceBusTopicEndpointProperties>
Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.
26 27 28 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 26 def service_bus_topics @service_bus_topics end |
#storage_containers ⇒ Array<RoutingStorageContainerProperties>
container endpoints that IoT hub routes messages to, based on the routing rules.
36 37 38 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 36 def storage_containers @storage_containers end |
Class Method Details
.mapper ⇒ Object
Mapper for RoutingEndpoints class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RoutingEndpoints', type: { name: 'Composite', class_name: 'RoutingEndpoints', model_properties: { service_bus_queues: { client_side_validation: true, required: false, serialized_name: 'serviceBusQueues', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RoutingServiceBusQueueEndpointPropertiesElementType', type: { name: 'Composite', class_name: 'RoutingServiceBusQueueEndpointProperties' } } } }, service_bus_topics: { client_side_validation: true, required: false, serialized_name: 'serviceBusTopics', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RoutingServiceBusTopicEndpointPropertiesElementType', type: { name: 'Composite', class_name: 'RoutingServiceBusTopicEndpointProperties' } } } }, event_hubs: { client_side_validation: true, required: false, serialized_name: 'eventHubs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RoutingEventHubPropertiesElementType', type: { name: 'Composite', class_name: 'RoutingEventHubProperties' } } } }, storage_containers: { client_side_validation: true, required: false, serialized_name: 'storageContainers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RoutingStorageContainerPropertiesElementType', type: { name: 'Composite', class_name: 'RoutingStorageContainerProperties' } } } } } } } end |