# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Network::Mgmt::V2016_03_30 module Models # # Backend address pool settings of application gateway # class ApplicationGatewayBackendHttpSettings < SubResource include MsRestAzure # @return [Integer] Gets or sets the port attr_accessor :port # @return [ApplicationGatewayProtocol] Gets or sets the protocol. # Possible values include: 'Http', 'Https' attr_accessor :protocol # @return [ApplicationGatewayCookieBasedAffinity] Gets or sets the cookie # affinity. Possible values include: 'Enabled', 'Disabled' attr_accessor :cookie_based_affinity # @return [Integer] Gets or sets request timeout attr_accessor :request_timeout # @return [SubResource] Gets or sets probe resource of application # gateway attr_accessor :probe # @return [String] Gets or sets Provisioning state of the backend http # settings resource Updating/Deleting/Failed attr_accessor :provisioning_state # @return [String] Gets name of the resource that is unique within a # resource group. This name can be used to access the resource attr_accessor :name # @return [String] A unique read-only string that changes whenever the # resource is updated attr_accessor :etag # # Mapper for ApplicationGatewayBackendHttpSettings class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end