Sha256: 5cfb894458ef13f0f6f4609c104097f1820ac11a0609a62168f034bcf77087c9

Contents?: true

Size: 1.45 KB

Versions: 31

Compression:

Stored size: 1.45 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_07_01
  module Models
    #
    # Matched rule.
    #
    class MatchedRule

      include MsRestAzure

      # @return [String] Name of the matched network security rule.
      attr_accessor :rule_name

      # @return [String] The network traffic is allowed or denied. Possible
      # values are 'Allow' and 'Deny'.
      attr_accessor :action


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

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
azure_mgmt_network2-0.27.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network2-0.26.1 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.26.1 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.26.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.25.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.24.1 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.24.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.23.4 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.23.3 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.23.2 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.23.1 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.23.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.22.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.21.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.20.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.19.1 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.19.0 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.18.9 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.18.8 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb
azure_mgmt_network-0.18.7 lib/2018-07-01/generated/azure_mgmt_network/models/matched_rule.rb