Class: Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEndpoints

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-07-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

Class Method Summary collapse

Instance Attribute Details

#event_hubsArray<RoutingEventHubProperties>

endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.

Returns:



31
32
33
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 31

def event_hubs
  @event_hubs
end

#service_bus_queuesArray<RoutingServiceBusQueueEndpointProperties>

Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.

Returns:



21
22
23
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 21

def service_bus_queues
  @service_bus_queues
end

#service_bus_topicsArray<RoutingServiceBusTopicEndpointProperties>

Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.

Returns:



26
27
28
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 26

def service_bus_topics
  @service_bus_topics
end

#storage_containersArray<RoutingStorageContainerProperties>

container endpoints that IoT hub routes messages to, based on the routing rules.

Returns:



36
37
38
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_endpoints.rb', line 36

def storage_containers
  @storage_containers
end

Class Method Details

.mapperObject

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/2017-07-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