Sha256: ae91acce386ae08759fefc79015d9b738dda46835c730c36cae1c4af3535111a
Contents?: true
Size: 1.73 KB
Versions: 1
Compression:
Stored size: 1.73 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::IotHub 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() { required: false, serialized_name: 'IpFilterRule', type: { name: 'Composite', class_name: 'IpFilterRule', model_properties: { filter_name: { required: true, serialized_name: 'filterName', type: { name: 'String' } }, action: { required: true, serialized_name: 'action', type: { name: 'Enum', module: 'IpFilterActionType' } }, ip_mask: { required: true, serialized_name: 'ipMask', type: { name: 'String' } } } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_iot_hub-0.10.0 | lib/generated/azure_mgmt_iot_hub/models/ip_filter_rule.rb |