Class: Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb

Overview

The parameters used to create a new firewall rule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#end_ip_addressString

either ipv4 or ipv6. Start and End should be in the same protocol.

Returns:

  • (String)

    The end IP address for the firewall rule. This can be



21
22
23
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb', line 21

def end_ip_address
  @end_ip_address
end

#start_ip_addressString

be either ipv4 or ipv6. Start and End should be in the same protocol.

Returns:

  • (String)

    The start IP address for the firewall rule. This can



17
18
19
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb', line 17

def start_ip_address
  @start_ip_address
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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