Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Ipv6Config

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb

Overview

Details related to the IPv6 address configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#gatewayString

Returns The IPv6 gateway of the network adapter.

Returns:

  • (String)

    The IPv6 gateway of the network adapter.



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb', line 22

def gateway
  @gateway
end

#ip_addressString

Returns The IPv6 address of the network adapter.

Returns:

  • (String)

    The IPv6 address of the network adapter.



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb', line 16

def ip_address
  @ip_address
end

#prefix_lengthInteger

Returns The IPv6 prefix of the network adapter.

Returns:

  • (Integer)

    The IPv6 prefix of the network adapter.



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb', line 19

def prefix_length
  @prefix_length
end

Class Method Details

.mapperObject

Mapper for Ipv6Config 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
66
67
68
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/ipv6config.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Ipv6Config',
    type: {
      name: 'Composite',
      class_name: 'Ipv6Config',
      model_properties: {
        ip_address: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ipAddress',
          type: {
            name: 'String'
          }
        },
        prefix_length: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'prefixLength',
          type: {
            name: 'Number'
          }
        },
        gateway: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'gateway',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end