class Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters

The parameters used to create a new firewall rule.

Attributes

end_ip_address[RW]

@return [String] The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.

start_ip_address[RW]

@return [String] The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CreateOrUpdateFirewallRuleParameters',
    type: {
      name: 'Composite',
      class_name: 'CreateOrUpdateFirewallRuleParameters',
      model_properties: {
        start_ip_address: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.startIpAddress',
          type: {
            name: 'String'
          }
        },
        end_ip_address: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.endIpAddress',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end