Class: Azure::Resources::Mgmt::V2020_06_01::Models::TemplateLink
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2020_06_01::Models::TemplateLink
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb
Overview
Entity representing the reference to the template.
Instance Attribute Summary collapse
-
#content_version ⇒ String
template.
-
#id ⇒ String
or uri property, but not both.
-
#relative_path ⇒ String
Template Spec.
-
#uri ⇒ String
or id property, but not both.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TemplateLink class as Ruby Hash.
Instance Attribute Details
#content_version ⇒ String
template.
30 31 32 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb', line 30 def content_version @content_version end |
#id ⇒ String
or uri property, but not both.
21 22 23 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb', line 21 def id @id end |
#relative_path ⇒ String
Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path.
26 27 28 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb', line 26 def relative_path @relative_path end |
#uri ⇒ String
or id property, but not both.
17 18 19 |
# File 'lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb', line 17 def uri @uri end |
Class Method Details
.mapper ⇒ Object
Mapper for TemplateLink class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# 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 |