Class: Azure::Network::Mgmt::V2018_12_01::Models::ApplicationGatewayCustomError

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

Overview

Customer error of an application gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#custom_error_page_urlString

error.

Returns:

  • (String)

    Error page URL of the application gateway customer


22
23
24
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb', line 22

def custom_error_page_url
  @custom_error_page_url
end

#status_codeApplicationGatewayCustomErrorStatusCode

application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'

Returns:


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

def status_code
  @status_code
end

Class Method Details

.mapperObject

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


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
55
56
57
# File 'lib/2018-12-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewayCustomError',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewayCustomError',
      model_properties: {
        status_code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'statusCode',
          type: {
            name: 'String'
          }
        },
        custom_error_page_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customErrorPageUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end