C# Class CloudInit.Modules.PowershellIncludeModule

Powershell module that downloads a list of scripts and executes each one in order
Inheritance: CloudInit.Modules.Core.PowershellModuleBase
Afficher le fichier Open project: bwight/CloudInit.NET

Méthodes publiques

Méthode Description
Execute ( String input ) : String

Executes the script

Méthodes protégées

Méthode Description
DownloadFile ( String url ) : Byte[]

Downloads a file from an http endpoint

ReadContent ( Byte content ) : String

Reads the contents of the file.

Method Details

DownloadFile() protected méthode

Downloads a file from an http endpoint
protected DownloadFile ( String url ) : Byte[]
url String Location of the file to be downloaded
Résultat Byte[]

Execute() public méthode

Executes the script
public Execute ( String input ) : String
input String Input file to execute
Résultat String

ReadContent() protected méthode

Reads the contents of the file.
protected ReadContent ( Byte content ) : String
content Byte The content of the file downloaded
Résultat String