Class: Azure::Network::Mgmt::V2018_08_01::Models::IpTag

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

Overview

Contains the IpTag associated with the object

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ip_tag_typeString

Returns Gets or sets the ipTag type: Example FirstPartyUsage.

Returns:

  • (String)

    Gets or sets the ipTag type: Example FirstPartyUsage.


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

def ip_tag_type
  @ip_tag_type
end

#tagString

public IP. Example SQL, Storage etc

Returns:

  • (String)

    Gets or sets value of the IpTag associated with the


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

def tag
  @tag
end

Class Method Details

.mapperObject

Mapper for IpTag 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
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/ip_tag.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IpTag',
    type: {
      name: 'Composite',
      class_name: 'IpTag',
      model_properties: {
        ip_tag_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ipTagType',
          type: {
            name: 'String'
          }
        },
        tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end