/
ArmDeploymentTemplateLink.cs
46 lines (40 loc) · 2.74 KB
/
ArmDeploymentTemplateLink.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Resources.Models
{
/// <summary> Entity representing the reference to the template. </summary>
public partial class ArmDeploymentTemplateLink
{
/// <summary> Initializes a new instance of ArmDeploymentTemplateLink. </summary>
public ArmDeploymentTemplateLink()
{
}
/// <summary> Initializes a new instance of ArmDeploymentTemplateLink. </summary>
/// <param name="uri"> The URI of the template to deploy. Use either the uri or id property, but not both. </param>
/// <param name="id"> The resource id of a Template Spec. Use either the id or uri property, but not both. </param>
/// <param name="relativePath"> The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs. </param>
/// <param name="contentVersion"> If included, must match the ContentVersion in the template. </param>
/// <param name="queryString"> The query string (for example, a SAS token) to be used with the templateLink URI. </param>
internal ArmDeploymentTemplateLink(Uri uri, string id, string relativePath, string contentVersion, string queryString)
{
Uri = uri;
Id = id;
RelativePath = relativePath;
ContentVersion = contentVersion;
QueryString = queryString;
}
/// <summary> The URI of the template to deploy. Use either the uri or id property, but not both. </summary>
public Uri Uri { get; set; }
/// <summary> The resource id of a Template Spec. Use either the id or uri property, but not both. </summary>
public string Id { get; set; }
/// <summary> The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs. </summary>
public string RelativePath { get; set; }
/// <summary> If included, must match the ContentVersion in the template. </summary>
public string ContentVersion { get; set; }
/// <summary> The query string (for example, a SAS token) to be used with the templateLink URI. </summary>
public string QueryString { get; set; }
}
}