Sha256: 0ddadd7ee6ceca3a02ddcea7bc023a53260d0d984f3b20949a8dda274563e334

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 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::V2019_10_01
  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()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TemplateLink',
          type: {
            name: 'Composite',
            class_name: 'TemplateLink',
            model_properties: {
              uri: {
                client_side_validation: true,
                required: true,
                serialized_name: 'uri',
                type: {
                  name: 'String'
                }
              },
              content_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'contentVersion',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb
azure_mgmt_resources2-0.18.2 lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb
azure_mgmt_resources-0.18.2 lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb
azure_mgmt_resources-0.18.1 lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb