Sha256: d3a86aa9e7e1b395c63d5c2b52b7b77f5f59fa51d2a59703e5068c08b6d7291e

Contents?: true

Size: 1.96 KB

Versions: 29

Compression:

Stored size: 1.96 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
    #
    # Allows to disable rules within a rule group or an entire rule group.
    #
    class ApplicationGatewayFirewallDisabledRuleGroup

      include MsRestAzure

      # @return [String] The name of the rule group that will be disabled.
      attr_accessor :rule_group_name

      # @return [Array<Integer>] The list of rules that will be disabled. If
      # null, all rules of the rule group will be disabled.
      attr_accessor :rules


      #
      # Mapper for ApplicationGatewayFirewallDisabledRuleGroup class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup',
          type: {
            name: 'Composite',
            class_name: 'ApplicationGatewayFirewallDisabledRuleGroup',
            model_properties: {
              rule_group_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ruleGroupName',
                type: {
                  name: 'String'
                }
              },
              rules: {
                client_side_validation: true,
                required: false,
                serialized_name: 'rules',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'NumberElementType',
                      type: {
                        name: 'Number'
                      }
                  }
                }
              }
            }
          }
        }
      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_disabled_rule_group.rb
azure_mgmt_network-0.18.5 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.18.4 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.18.3 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.18.2 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.18.1 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.18.0 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.17.4 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb
azure_mgmt_network-0.17.3 lib/2018-08-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb