Class: Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-08-01/generated/azure_mgmt_analysis_services/models/ipv4firewall_rule.rb

Overview

The detail of firewall rule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#firewall_rule_nameString

Returns The rule name.

Returns:

  • (String)

    The rule name.



16
17
18
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/ipv4firewall_rule.rb', line 16

def firewall_rule_name
  @firewall_rule_name
end

#range_endString

Returns The end range of IPv4.

Returns:

  • (String)

    The end range of IPv4.



22
23
24
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/ipv4firewall_rule.rb', line 22

def range_end
  @range_end
end

#range_startString

Returns The start range of IPv4.

Returns:

  • (String)

    The start range of IPv4.



19
20
21
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/ipv4firewall_rule.rb', line 19

def range_start
  @range_start
end

Class Method Details

.mapperObject

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



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
57
58
59
60
61
62
63
64
65
# File 'lib/2017-08-01/generated/azure_mgmt_analysis_services/models/ipv4firewall_rule.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IPv4FirewallRule',
    type: {
      name: 'Composite',
      class_name: 'IPv4FirewallRule',
      model_properties: {
        firewall_rule_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'firewallRuleName',
          type: {
            name: 'String'
          }
        },
        range_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rangeStart',
          type: {
            name: 'String'
          }
        },
        range_end: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rangeEnd',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end