Sha256: 345a5106f1af07e73f1caa9ec4fc08c527f170b3afdb4061982d9432528be0bf

Contents?: true

Size: 1.51 KB

Versions: 3

Compression:

Stored size: 1.51 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::EventHub::Mgmt::V2017_04_01
  module Models
    #
    # Description of NetWorkRuleSet - IpRules resource.
    #
    class NWRuleSetIpRules

      include MsRestAzure

      # @return [String] IP Mask
      attr_accessor :ip_mask

      # @return [NetworkRuleIPAction] The IP Filter Action. Possible values
      # include: 'Allow'. Default value: 'Allow' .
      attr_accessor :action


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_event_hub-0.18.1 lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb
azure_mgmt_event_hub-0.18.0 lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb
azure_mgmt_event_hub-0.17.3 lib/2017-04-01/generated/azure_mgmt_event_hub/models/nwrule_set_ip_rules.rb