ArmResourcesDeploymentStacksModelFactory.DeploymentStacksTemplateLink Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Resources.DeploymentStacks.Models.DeploymentStacksTemplateLink DeploymentStacksTemplateLink(Uri uri = default, string id = default, string relativePath = default, string queryString = default, string contentVersion = default);
static member DeploymentStacksTemplateLink : Uri * string * string * string * string -> Azure.ResourceManager.Resources.DeploymentStacks.Models.DeploymentStacksTemplateLink
Public Shared Function DeploymentStacksTemplateLink (Optional uri As Uri = Nothing, Optional id As String = Nothing, Optional relativePath As String = Nothing, Optional queryString As String = Nothing, Optional contentVersion As String = Nothing) As DeploymentStacksTemplateLink
Parameters
- uri
- Uri
The URI of the template to deploy. Use either the uri or id property, but not both.
- id
- String
The resourceId of a Template Spec. Use either the id or uri property, but not both.
- relativePath
- String
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.
- queryString
- String
The query string (for example, a SAS token) to be used with the templateLink URI.
- contentVersion
- String
If included, must match the ContentVersion in the template.
Returns
A new DeploymentStacksTemplateLink instance for mocking.