class Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters

The parameters used to create a new firewall rule while creating a new Data Lake Analytics account.

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.

name[RW]

@return [String] The unique name of the firewall rule to create.

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 CreateFirewallRuleWithAccountParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CreateFirewallRuleWithAccountParameters',
    type: {
      name: 'Composite',
      class_name: 'CreateFirewallRuleWithAccountParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        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