Class: Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings

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

Overview

Backend address pool settings of an application gateway.

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

Possible values are: 'Enabled' and 'Disabled'. Possible values include: 'Enabled', 'Disabled'

Returns:


25
26
27
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 25

def cookie_based_affinity
  @cookie_based_affinity
end

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


45
46
47
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 45

def etag
  @etag
end

#nameString

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

Returns:

  • (String)

    Name of the resource that is unique within a resource


41
42
43
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 41

def name
  @name
end

#portInteger

Returns Port.

Returns:

  • (Integer)

    Port


16
17
18
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 16

def port
  @port
end

#probeSubResource

Returns Probe resource of an application gateway.

Returns:

  • (SubResource)

    Probe resource of an application gateway.


33
34
35
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 33

def probe
  @probe
end

#protocolApplicationGatewayProtocol

'Http' and 'Https'. Possible values include: 'Http', 'Https'

Returns:


20
21
22
# File 'lib/2015-06-15/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


37
38
39
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 37

def provisioning_state
  @provisioning_state
end

#request_timeoutInteger

fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds.

Returns:

  • (Integer)

    Request timeout in seconds. Application Gateway will


30
31
32
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 30

def request_timeout
  @request_timeout
end

Class Method Details

.mapperObject

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


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
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb', line 52

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