Sha256: 82f9c4b565d9705cc1588b1bd5db1c1cb9672896f0d52a07e1349ce85e5c3490

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 KB

Contents

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

module Azure::ARM::Resources
  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.9.0 lib/generated/azure_mgmt_resources/models/template_link.rb
azure_mgmt_resources-0.8.0 lib/generated/azure_mgmt_resources/models/template_link.rb