Share via


TemplateSpecPackagingEngine.Unpack Method

Definition

Unpacks the specified packaged template to the local filesystem.

public static void Unpack (Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.PackagedTemplate packagedTemplate, string targetDirectory, string templateFileName, string uiFormDefinitionFileName);
static member Unpack : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.PackagedTemplate * string * string * string -> unit
Public Shared Sub Unpack (packagedTemplate As PackagedTemplate, targetDirectory As String, templateFileName As String, uiFormDefinitionFileName As String)

Parameters

packagedTemplate
PackagedTemplate

The packaged template to be unpacked

targetDirectory
String

The root directory to unpack the template and its artifacts to

templateFileName
String

The name of the file to use for the root template json

uiFormDefinitionFileName
String

The name of the file to use for the ui form definition json (if any). If set to null, the ui definition won't be unpacked even if present within the packaged template.

Applies to