class Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEventHubProperties

The properties related to an event hub endpoint.

Attributes

connection_string[RW]

@return [String] The connection string of the event hub endpoint.

name[RW]

@return [String] The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types.

resource_group[RW]

@return [String] The name of the resource group of the event hub endpoint.

subscription_id[RW]

@return [String] The subscription identifier of the event hub endpoint.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-07-01/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoutingEventHubProperties',
    type: {
      name: 'Composite',
      class_name: 'RoutingEventHubProperties',
      model_properties: {
        connection_string: {
          client_side_validation: true,
          required: true,
          serialized_name: 'connectionString',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          constraints: {
            Pattern: '^[A-Za-z0-9-._]{1,64}$'
          },
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'subscriptionId',
          type: {
            name: 'String'
          }
        },
        resource_group: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceGroup',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end