class Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule

A rule governing the accessibility from a specific ip address or ip range.

Attributes

value[RW]

@return [String] An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78).

Private Class Methods

mapper() click to toggle source

Mapper for IpRule class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IpRule',
    type: {
      name: 'Composite',
      class_name: 'IpRule',
      model_properties: {
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end