Class: Azure::Web::Mgmt::V2016_08_01::Models::HybridConnection

Inherits:
ProxyOnlyResource show all
Includes:
MsRestAzure
Defined in:
lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb

Overview

Hybrid Connection contract. This is used to configure a Hybrid Connection.

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #kind, #name, #type

Class Method Summary collapse

Instance Attribute Details

#hostnameString



26
27
28
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 26

def hostname
  @hostname
end

#portInteger



29
30
31
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 29

def port
  @port
end

#relay_arm_uriString



23
24
25
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 23

def relay_arm_uri
  @relay_arm_uri
end

#relay_nameString



20
21
22
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 20

def relay_name
  @relay_name
end

#send_key_nameString

permissions. This is used to authenticate to Service Bus.



33
34
35
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 33

def send_key_name
  @send_key_name
end

#send_key_valueString

authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.



38
39
40
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 38

def send_key_value
  @send_key_value
end

#service_bus_namespaceString



17
18
19
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 17

def service_bus_namespace
  @service_bus_namespace
end

#service_bus_suffixString

this is .servicebus.windows.net



42
43
44
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 42

def service_bus_suffix
  @service_bus_suffix
end

Class Method Details

.mapperObject

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



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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HybridConnection',
    type: {
      name: 'Composite',
      class_name: 'HybridConnection',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        service_bus_namespace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceBusNamespace',
          type: {
            name: 'String'
          }
        },
        relay_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.relayName',
          type: {
            name: 'String'
          }
        },
        relay_arm_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.relayArmUri',
          type: {
            name: 'String'
          }
        },
        hostname: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hostname',
          type: {
            name: 'String'
          }
        },
        port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.port',
          type: {
            name: 'Number'
          }
        },
        send_key_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sendKeyName',
          type: {
            name: 'String'
          }
        },
        send_key_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sendKeyValue',
          type: {
            name: 'String'
          }
        },
        service_bus_suffix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serviceBusSuffix',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end