Sha256: d6c69fc145b74c015f21b36a354780c0abfb48643dddf22989243660bfe03082

Contents?: true

Size: 1.52 KB

Versions: 2

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::ServiceBus::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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.17.4 lib/2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb
azure_mgmt_service_bus-0.17.3 lib/2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb