Class: Azure::IotHub::Mgmt::V2017_01_19::Models::RoutingServiceBusQueueEndpointProperties

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

Overview

The properties related to service bus queue endpoint types.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#connection_stringString

endpoint.

Returns:

  • (String)

    The connection string of the service bus queue



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

def connection_string
  @connection_string
end

#nameString

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. The name need not be the same as the actual queue name.

Returns:

  • (String)

    The name of the service bus queue endpoint. The name



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

def name
  @name
end

#resource_groupString

queue endpoint.

Returns:

  • (String)

    The name of the resource group of the service bus



33
34
35
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb', line 33

def resource_group
  @resource_group
end

#subscription_idString

endpoint.

Returns:

  • (String)

    The subscription identifier of the service bus queue



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

def subscription_id
  @subscription_id
end

Class Method Details

.mapperObject

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



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
85
86
87
# File 'lib/2017-01-19/generated/azure_mgmt_iot_hub/models/routing_service_bus_queue_endpoint_properties.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoutingServiceBusQueueEndpointProperties',
    type: {
      name: 'Composite',
      class_name: 'RoutingServiceBusQueueEndpointProperties',
      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