Class: Azure::Network::Mgmt::V2020_03_01::Models::ApplicationGatewayHttpListener

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb

Overview

Http listener of an application gateway.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#custom_error_configurationsArray<ApplicationGatewayCustomError>

configurations of the HTTP listener.

Returns:


44
45
46
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 44

def custom_error_configurations
  @custom_error_configurations
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


59
60
61
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 59

def etag
  @etag
end

#firewall_policySubResource

Returns Reference to the FirewallPolicy resource.

Returns:

  • (SubResource)

    Reference to the FirewallPolicy resource.


47
48
49
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 47

def firewall_policy
  @firewall_policy
end

#frontend_ipconfigurationSubResource

application gateway.

Returns:

  • (SubResource)

    Frontend IP configuration resource of an


17
18
19
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 17

def frontend_ipconfiguration
  @frontend_ipconfiguration
end

#frontend_portSubResource

Returns Frontend port resource of an application gateway.

Returns:

  • (SubResource)

    Frontend port resource of an application gateway.


20
21
22
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 20

def frontend_port
  @frontend_port
end

#host_nameString

Returns Host name of HTTP listener.

Returns:

  • (String)

    Host name of HTTP listener.


27
28
29
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 27

def host_name
  @host_name
end

#host_namesArray<String>

allows special wildcard characters as well.

Returns:

  • (Array<String>)

    List of Host names for HTTP Listener that


51
52
53
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 51

def host_names
  @host_names
end

#nameString

Application Gateway.

Returns:

  • (String)

    Name of the HTTP listener that is unique within an


55
56
57
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 55

def name
  @name
end

#protocolApplicationGatewayProtocol

Possible values include: 'Http', 'Https'

Returns:


24
25
26
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 24

def protocol
  @protocol
end

#provisioning_stateProvisioningState

resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Returns:


40
41
42
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 40

def provisioning_state
  @provisioning_state
end

#require_server_name_indicationBoolean

multi-hosting.

Returns:

  • (Boolean)

    Applicable only if protocol is https. Enables SNI for


35
36
37
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 35

def require_server_name_indication
  @require_server_name_indication
end

#ssl_certificateSubResource

gateway.

Returns:

  • (SubResource)

    SSL certificate resource of an application


31
32
33
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 31

def ssl_certificate
  @ssl_certificate
end

#typeString

Returns Type of the resource.

Returns:

  • (String)

    Type of the resource.


62
63
64
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 62

def type
  @type
end

Class Method Details

.mapperObject

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


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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb', line 69

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayHttpListener',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayHttpListener',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        frontend_ipconfiguration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.frontendIPConfiguration',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        frontend_port: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.frontendPort',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        protocol: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.protocol',
          type: {
            name: 'String'
          }
        },
        host_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hostName',
          type: {
            name: 'String'
          }
        },
        ssl_certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sslCertificate',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        require_server_name_indication: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.requireServerNameIndication',
          type: {
            name: 'Boolean'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        custom_error_configurations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customErrorConfigurations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationGatewayCustomErrorElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ApplicationGatewayCustomError'
                }
            }
          }
        },
        firewall_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.firewallPolicy',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        host_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hostNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end