ArmResourcesModelFactory.DeploymentStackTemplateDefinition Method

Definition

Initializes a new instance of DeploymentStackTemplateDefinition.

public static Azure.ResourceManager.Resources.Models.DeploymentStackTemplateDefinition DeploymentStackTemplateDefinition (BinaryData template = default, Azure.ResourceManager.Resources.Models.DeploymentStacksTemplateLink templateLink = default);
static member DeploymentStackTemplateDefinition : BinaryData * Azure.ResourceManager.Resources.Models.DeploymentStacksTemplateLink -> Azure.ResourceManager.Resources.Models.DeploymentStackTemplateDefinition
Public Shared Function DeploymentStackTemplateDefinition (Optional template As BinaryData = Nothing, Optional templateLink As DeploymentStacksTemplateLink = Nothing) As DeploymentStackTemplateDefinition

Parameters

template
BinaryData

The template content. Use this element to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.

templateLink
DeploymentStacksTemplateLink

The URI of the template. Use either the templateLink property or the template property, but not both.

Returns

A new DeploymentStackTemplateDefinition instance for mocking.

Applies to