Class: Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCustomError
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCustomError
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb
Overview
Customer error of an application gateway.
Instance Attribute Summary collapse
-
#custom_error_page_url ⇒ String
error.
-
#status_code ⇒ ApplicationGatewayCustomErrorStatusCode
application gateway customer error.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationGatewayCustomError class as Ruby Hash.
Instance Attribute Details
#custom_error_page_url ⇒ String
error.
22 23 24 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb', line 22 def custom_error_page_url @custom_error_page_url end |
#status_code ⇒ ApplicationGatewayCustomErrorStatusCode
application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'
18 19 20 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_custom_error.rb', line 18 def status_code @status_code end |
Class Method Details
.mapper ⇒ Object
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-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 |