Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::IpAddress

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb

Overview

IP address for the container group.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dns_name_labelString

Returns The Dns name label for the IP.

Returns:

  • (String)

    The Dns name label for the IP.



27
28
29
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb', line 27

def dns_name_label
  @dns_name_label
end

#fqdnString

Returns The FQDN for the IP.

Returns:

  • (String)

    The FQDN for the IP.



30
31
32
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb', line 30

def fqdn
  @fqdn
end

#ipString

Returns The IP exposed to the public internet.

Returns:

  • (String)

    The IP exposed to the public internet.



24
25
26
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb', line 24

def ip
  @ip
end

#portsArray<Port>

Returns The list of ports exposed on the container group.

Returns:

  • (Array<Port>)

    The list of ports exposed on the container group.



16
17
18
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb', line 16

def ports
  @ports
end

#typeContainerGroupIpAddressType

the public internet or private VNET. Possible values include: ‘Public’, ‘Private’

Returns:



21
22
23
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb', line 21

def type
  @type
end

Class Method Details

.mapperObject

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



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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/ip_address.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IpAddress',
    type: {
      name: 'Composite',
      class_name: 'IpAddress',
      model_properties: {
        ports: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ports',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PortElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Port'
                }
            }
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        ip: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ip',
          type: {
            name: 'String'
          }
        },
        dns_name_label: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dnsNameLabel',
          type: {
            name: 'String'
          }
        },
        fqdn: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'fqdn',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end