Class: Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceIpConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb

Overview

The ip configuration for a container network interface.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#etagString

resource is updated.

Returns:

  • (String)

    A unique read-only string that changes whenever the


27
28
29
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb', line 27

def etag
  @etag
end

#nameString

access the resource.

Returns:

  • (String)

    The name of the resource. This name can be used to


20
21
22
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb', line 20

def name
  @name
end

#provisioning_stateString

Returns The provisioning state of the resource.

Returns:

  • (String)

    The provisioning state of the resource.


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb', line 16

def provisioning_state
  @provisioning_state
end

#typeString

Returns Sub Resource type.

Returns:

  • (String)

    Sub Resource type.


23
24
25
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb', line 23

def type
  @type
end

Class Method Details

.mapperObject

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


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
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/container_network_interface_ip_configuration.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerNetworkInterfaceIpConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ContainerNetworkInterfaceIpConfiguration',
      model_properties: {
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end