class Azure::Network::Mgmt::V2018_06_01::Models::TopologyAssociation

Resources that have an association with the parent resource.

Attributes

association_type[RW]

@return [AssociationType] The association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'

name[RW]

@return [String] The name of the resource that is associated with the parent resource.

resource_id[RW]

@return [String] The ID of the resource that is associated with the parent resource.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-06-01/generated/azure_mgmt_network/models/topology_association.rb, line 31
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