ArmResourcesModelFactory.ArmDeploymentTemplateLink 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.Models.ArmDeploymentTemplateLink ArmDeploymentTemplateLink(Uri uri = default, string id = default, string relativePath = default, string contentVersion = default, string queryString = default);
static member ArmDeploymentTemplateLink : Uri * string * string * string * string -> Azure.ResourceManager.Resources.Models.ArmDeploymentTemplateLink
Public Shared Function ArmDeploymentTemplateLink (Optional uri As Uri = Nothing, Optional id As String = Nothing, Optional relativePath As String = Nothing, Optional contentVersion As String = Nothing, Optional queryString As String = Nothing) As ArmDeploymentTemplateLink
Parameters
- uri
- Uri
The URI of the template to deploy. Use either the uri or id property, but not both.
- id
- String
The resource id 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.
- contentVersion
- String
If included, must match the ContentVersion in the template.
- queryString
- String
The query string (for example, a SAS token) to be used with the templateLink URI.
Returns
A new ArmDeploymentTemplateLink instance for mocking.