Class: Azure::Network::Mgmt::V2019_12_01::Models::TopologyAssociation

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

Overview

Resources that have an association with the parent resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#association_typeAssociationType

the parent resource. Possible values include: ‘Associated’, ‘Contains’

Returns:



25
26
27
# File 'lib/2019-12-01/generated/azure_mgmt_network/models/topology_association.rb', line 25

def association_type
  @association_type
end

#nameString

parent resource.

Returns:

  • (String)

    The name of the resource that is associated with the



17
18
19
# File 'lib/2019-12-01/generated/azure_mgmt_network/models/topology_association.rb', line 17

def name
  @name
end

#resource_idString

parent resource.

Returns:

  • (String)

    The ID of the resource that is associated with the



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

def resource_id
  @resource_id
end

Class Method Details

.mapperObject

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



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-12-01/generated/azure_mgmt_network/models/topology_association.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TopologyAssociation',
    type: {
      name: 'Composite',
      class_name: 'TopologyAssociation',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resourceId',
          type: {
            name: 'String'
          }
        },
        association_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'associationType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end