Class: Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb

Overview

AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#address_prefixesArray<String>

virtual network in CIDR notation.

Returns:

  • (Array<String>)

    A list of address blocks reserved for this


18
19
20
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb', line 18

def address_prefixes
  @address_prefixes
end

Class Method Details

.mapperObject

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


25
26
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
# File 'lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AddressSpace',
    type: {
      name: 'Composite',
      class_name: 'AddressSpace',
      model_properties: {
        address_prefixes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'addressPrefixes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end