Class: Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters

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

Overview

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

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



25
26
27
# File 'lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb', line 25

def end_ip_address
  @end_ip_address
end

#nameString

Returns The unique name of the firewall rule to create.

Returns:

  • (String)

    The unique name of the firewall rule to create.



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

def name
  @name
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



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

def start_ip_address
  @start_ip_address
end

Class Method Details

.mapperObject

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



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
57
58
59
60
61
62
63
64
65
66
67
68
# 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