class Azure::Network::Mgmt::V2019_08_01::Models::ApplicationGatewayCustomError

Customer error of an application gateway.

Attributes

custom_error_page_url[RW]

@return [String] Error page URL of the application gateway customer error.

status_code[RW]

@return [ApplicationGatewayCustomErrorStatusCode] Status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-08-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