class Azure::IotHub::Mgmt::V2019_03_22_preview::Models::RoutingEndpoints

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.

Attributes

event_hubs[RW]

@return [Array<RoutingEventHubProperties>] The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint.

service_bus_queues[RW]

@return [Array<RoutingServiceBusQueueEndpointProperties>] The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules.

service_bus_topics[RW]

@return [Array<RoutingServiceBusTopicEndpointProperties>] The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules.

storage_containers[RW]

@return [Array<RoutingStorageContainerProperties>] The list of storage container endpoints that IoT hub routes messages to, based on the routing rules.

Private Class Methods

mapper() click to toggle source

Mapper for RoutingEndpoints class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-03-22-preview/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