class Azure::Resources::Mgmt::V2018_02_01::Models::TemplateLink

Entity representing the reference to the template.

Attributes

content_version[RW]

@return [String] If included, must match the ContentVersion in the template.

uri[RW]

@return [String] The URI of the template to deploy.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-02-01/generated/azure_mgmt_resources/models/template_link.rb, line 26
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