class Azure::Resources::Mgmt::V2020_06_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.

id[RW]

@return [String] The resource id of a Template Spec. Use either the id or uri property, but not both.

relative_path[RW]

@return [String] Applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path.

uri[RW]

@return [String] The URI of the template to deploy. Use either the uri or id property, but not both.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb, line 37
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: false,
          serialized_name: 'uri',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        relative_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'relativePath',
          type: {
            name: 'String'
          }
        },
        content_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end