Class: Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb

Overview

Entity representing the reference to the template.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#content_versionString

template.

Returns:

  • (String)

    If included, must match the ContentVersion in the



20
21
22
# File 'lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb', line 20

def content_version
  @content_version
end

#uriString

Returns The URI of the template to deploy.

Returns:

  • (String)

    The URI of the template to deploy.



16
17
18
# File 'lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb', line 16

def uri
  @uri
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb', line 27

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