Class: Azure::Network::Mgmt::V2015_05_01_preview::Models::ApplicationGatewayBackendHttpSettings

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb

Overview

Backend address pool settings of application gateway

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

affinity. Possible values include: ‘Enabled’, ‘Disabled’

Returns:



24
25
26
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 24

def cookie_based_affinity
  @cookie_based_affinity
end

#etagString

resource is updated

Returns:

  • (String)

    A unique read-only string that changes whenever the



36
37
38
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 36

def etag
  @etag
end

#nameString

resource group. This name can be used to access the resource

Returns:

  • (String)

    Gets name of the resource that is unique within a



32
33
34
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 32

def name
  @name
end

#portInteger

Returns Gets or sets the port.

Returns:

  • (Integer)

    Gets or sets the port



16
17
18
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 16

def port
  @port
end

#protocolApplicationGatewayProtocol

Possible values include: ‘Http’, ‘Https’

Returns:



20
21
22
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 20

def protocol
  @protocol
end

#provisioning_stateString

settings resource Updating/Deleting/Failed

Returns:

  • (String)

    Gets or sets Provisioning state of the backend http



28
29
30
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 28

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 43

def self.mapper()
  {
    required: false,
    serialized_name: 'ApplicationGatewayBackendHttpSettings',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayBackendHttpSettings',
      model_properties: {
        id: {
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        port: {
          required: false,
          serialized_name: 'properties.port',
          type: {
            name: 'Number'
          }
        },
        protocol: {
          required: false,
          serialized_name: 'properties.protocol',
          type: {
            name: 'String'
          }
        },
        cookie_based_affinity: {
          required: false,
          serialized_name: 'properties.cookieBasedAffinity',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        etag: {
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end