class Azure::Network::Mgmt::V2020_05_01::Models::ApplicationGatewayHttpListener

Http listener of an application gateway.

Attributes

custom_error_configurations[RW]

@return [Array<ApplicationGatewayCustomError>] Custom error configurations of the HTTP listener.

etag[RW]

@return [String] A unique read-only string that changes whenever the resource is updated.

firewall_policy[RW]

@return [SubResource] Reference to the FirewallPolicy resource.

frontend_ipconfiguration[RW]

@return [SubResource] Frontend IP configuration resource of an application gateway.

frontend_port[RW]

@return [SubResource] Frontend port resource of an application gateway.

host_name[RW]

@return [String] Host name of HTTP listener.

host_names[RW]

@return [Array<String>] List of Host names for HTTP Listener that allows special wildcard characters as well.

name[RW]

@return [String] Name of the HTTP listener that is unique within an Application Gateway.

protocol[RW]

@return [ApplicationGatewayProtocol] Protocol of the HTTP listener. Possible values include: 'Http', 'Https'

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

require_server_name_indication[RW]

@return [Boolean] Applicable only if protocol is https. Enables SNI for multi-hosting.

ssl_certificate[RW]

@return [SubResource] SSL certificate resource of an application gateway.

type[RW]

@return [String] Type of the resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-05-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