Sha256: 99d4d81c7ed410140a77db8b84a27527c1db0c7b6c7b408d9f790a8f41d2b7f4
Contents?: true
Size: 1.92 KB
Versions: 3
Compression:
Stored size: 1.92 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::IotHub::Mgmt::V2019_03_22_preview module Models # # The IP filter rules for the IoT hub. # class IpFilterRule include MsRestAzure # @return [String] The name of the IP filter rule. attr_accessor :filter_name # @return [IpFilterActionType] The desired action for requests captured # by this rule. Possible values include: 'Accept', 'Reject' attr_accessor :action # @return [String] A string that contains the IP address range in CIDR # notation for the rule. attr_accessor :ip_mask # # Mapper for IpFilterRule class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IpFilterRule', type: { name: 'Composite', class_name: 'IpFilterRule', model_properties: { filter_name: { client_side_validation: true, required: true, serialized_name: 'filterName', type: { name: 'String' } }, action: { client_side_validation: true, required: true, serialized_name: 'action', type: { name: 'Enum', module: 'IpFilterActionType' } }, ip_mask: { client_side_validation: true, required: true, serialized_name: 'ipMask', type: { name: 'String' } } } } } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems