Sha256: ccc08ce3d6d70185a5abf55b3e257534c451423f0c6d6d502e41778cd7340499

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 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::Resources::Mgmt::V2017_05_10
  module Models
    #
    # Entity representing the reference to the template.
    #
    class TemplateLink

      include MsRestAzure

      # @return [String] The URI of the template to deploy.
      attr_accessor :uri

      # @return [String] If included, must match the ContentVersion in the
      # template.
      attr_accessor :content_version


      #
      # Mapper for TemplateLink class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'TemplateLink',
          type: {
            name: 'Composite',
            class_name: 'TemplateLink',
            model_properties: {
              uri: {
                required: true,
                serialized_name: 'uri',
                type: {
                  name: 'String'
                }
              },
              content_version: {
                required: false,
                serialized_name: 'contentVersion',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources-0.15.1 lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb
azure_mgmt_resources-0.15.0 lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb