Class: Azure::Network::Mgmt::V2019_11_01::Models::HubIPAddresses

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb

Overview

IP addresses associated with azure firewall.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#private_ipaddressString

Returns Private IP Address associated with azure firewall.

Returns:

  • (String)

    Private IP Address associated with azure firewall.


20
21
22
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb', line 20

def private_ipaddress
  @private_ipaddress
end

#public_ipaddressesArray<AzureFirewallPublicIPAddress>

addresses associated with azure firewall.

Returns:


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb', line 17

def public_ipaddresses
  @public_ipaddresses
end

Class Method Details

.mapperObject

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


27
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
57
58
59
60
61
62
63
64
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/hub_ipaddresses.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HubIPAddresses',
    type: {
      name: 'Composite',
      class_name: 'HubIPAddresses',
      model_properties: {
        public_ipaddresses: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicIPAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AzureFirewallPublicIPAddressElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AzureFirewallPublicIPAddress'
                }
            }
          }
        },
        private_ipaddress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateIPAddress',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end