Class: Azure::IotHub::Mgmt::V2017_01_19::Models::RoutingEventHubProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb

Overview

The properties related to an event hub endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_stringString

Returns The connection string of the event hub endpoint.

Returns:

  • (String)

    The connection string of the event hub endpoint.



16
17
18
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 16

def connection_string
  @connection_string
end

#nameString

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.

Returns:

  • (String)

    The name of the event hub endpoint. The name can only



23
24
25
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 23

def name
  @name
end

#resource_groupString

endpoint.

Returns:

  • (String)

    The name of the resource group of the event hub



30
31
32
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_event_hub_properties.rb', line 30

def resource_group
  @resource_group
end

#subscription_idString

Returns The subscription identifier of the event hub endpoint.

Returns:

  • (String)

    The subscription identifier of the event hub endpoint.



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

def subscription_id
  @subscription_id
end

Class Method Details

.mapperObject

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



37
38
39
40
41
42
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
# File 'lib/2017-01-19/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