Class: Azure::Network::Mgmt::V2018_12_01::Models::ApplicationGatewayHeaderConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb

Overview

Header configuration of the Actions set in Application Gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#header_nameString

Returns Header name of the header configuration.

Returns:

  • (String)

    Header name of the header configuration


16
17
18
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb', line 16

def header_name
  @header_name
end

#header_valueString

Returns Header value of the header configuration.

Returns:

  • (String)

    Header value of the header configuration


19
20
21
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb', line 19

def header_value
  @header_value
end

Class Method Details

.mapperObject

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


26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_header_configuration.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayHeaderConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayHeaderConfiguration',
      model_properties: {
        header_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'headerName',
          type: {
            name: 'String'
          }
        },
        header_value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'headerValue',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end