Sha256: e61fd2e2636fbf0a5225f50839b1448704aee58b116acce29063243a8be8a6fe

Contents?: true

Size: 1.52 KB

Versions: 29

Compression:

Stored size: 1.52 KB

Contents

# 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::V2018_08_01
  module Models
    #
    # A web application firewall rule.
    #
    class ApplicationGatewayFirewallRule

      include MsRestAzure

      # @return [Integer] The identifier of the web application firewall rule.
      attr_accessor :rule_id

      # @return [String] The description of the web application firewall rule.
      attr_accessor :description


      #
      # Mapper for ApplicationGatewayFirewallRule class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationGatewayFirewallRule',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayFirewallRule',
            model_properties: {
              rule_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ruleId',
                type: {
                  name: 'Number'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.18.5 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.18.4 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.18.3 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.18.2 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.18.1 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.18.0 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.17.4 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb
azure_mgmt_network-0.17.3 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb