C# Класс Microsoft.Azure.Commands.ResourceManager.Cmdlets.Utilities.TemplateUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
GetTemplateParametersFromFile ( string templateFilePath, Hashtable templateParameterObject, string templateParameterFilePath, string staticParameters ) : RuntimeDefinedParameterDictionary

Gets the parameters for a given template file.

ParseTemplateParameterContent ( string templateParameterContent ) : TemplateFileParameterV1>.Dictionary
ParseTemplateParameterFileContents ( string templateParameterFilePath ) : TemplateFileParameterV1>.Dictionary

Приватные методы

Метод Описание
ConstructDynamicParameter ( string staticParameters, TemplateFileParameterV1>.KeyValuePair parameter ) : System.Management.Automation.RuntimeDefinedParameter
GetParameterType ( string resourceParameterType ) : Type
ParseTemplateAndExtractParameters ( string templateContent, Hashtable templateParameterObject, string templateParameterFilePath, string staticParameters ) : RuntimeDefinedParameterDictionary
UpdateParametersWithObject ( RuntimeDefinedParameterDictionary dynamicParameters, Hashtable templateParameterObject ) : void

Описание методов

GetTemplateParametersFromFile() публичный статический Метод

Gets the parameters for a given template file.
public static GetTemplateParametersFromFile ( string templateFilePath, Hashtable templateParameterObject, string templateParameterFilePath, string staticParameters ) : RuntimeDefinedParameterDictionary
templateFilePath string The gallery template path (local or remote)
templateParameterObject System.Collections.Hashtable Existing template parameter object
templateParameterFilePath string Path to the template parameter file if present
staticParameters string The existing PowerShell cmdlet parameters
Результат RuntimeDefinedParameterDictionary

ParseTemplateParameterContent() публичный статический Метод

public static ParseTemplateParameterContent ( string templateParameterContent ) : TemplateFileParameterV1>.Dictionary
templateParameterContent string
Результат TemplateFileParameterV1>.Dictionary

ParseTemplateParameterFileContents() публичный статический Метод

public static ParseTemplateParameterFileContents ( string templateParameterFilePath ) : TemplateFileParameterV1>.Dictionary
templateParameterFilePath string
Результат TemplateFileParameterV1>.Dictionary