Sha256: 2a8340324df2dc172a2b76e2d1d33ade2c786e6370b90f9cb663bf1734c08195

Contents?: true

Size: 1.99 KB

Versions: 31

Compression:

Stored size: 1.99 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Network::Mgmt::V2018_07_01
  module Models
    #
    # Resources that have an association with the parent resource.
    #
    class TopologyAssociation

      include MsRestAzure

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

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

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


      #
      # Mapper for TopologyAssociation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
azure_mgmt_network-0.18.6 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.18.5 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.18.4 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.18.3 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.18.2 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.18.1 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.18.0 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.17.4 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.17.3 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.17.2 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb
azure_mgmt_network-0.17.1 lib/2018-07-01/generated/azure_mgmt_network/models/topology_association.rb