共用方式為


DeploymentStacksTemplateLink Class

Definition

Entity representing the reference to the template.

public class DeploymentStacksTemplateLink : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.DeploymentStacksTemplateLink>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.DeploymentStacksTemplateLink>
type DeploymentStacksTemplateLink = class
    interface IJsonModel<DeploymentStacksTemplateLink>
    interface IPersistableModel<DeploymentStacksTemplateLink>
Public Class DeploymentStacksTemplateLink
Implements IJsonModel(Of DeploymentStacksTemplateLink), IPersistableModel(Of DeploymentStacksTemplateLink)
Inheritance
DeploymentStacksTemplateLink
Implements

Constructors

DeploymentStacksTemplateLink()

Initializes a new instance of DeploymentStacksTemplateLink.

Properties

ContentVersion

If included, must match the ContentVersion in the template.

Id

The resourceId of a Template Spec. Use either the id or uri property, but not both.

QueryString

The query string (for example, a SAS token) to be used with the templateLink URI.

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.

Uri

The URI of the template to deploy. Use either the uri or id property, but not both.

Explicit Interface Implementations

IJsonModel<DeploymentStacksTemplateLink>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DeploymentStacksTemplateLink>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeploymentStacksTemplateLink>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeploymentStacksTemplateLink>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DeploymentStacksTemplateLink>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to