C# Class Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools.CsPack

Package services for deployment to Azure.
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Private Methods

Méthode Description
CreatePackage ( ServiceDefinition definition, CloudProjectPathInfo paths, DevEnv type, string azureSdkBinDirectory, string &standardOutput, string &standardError ) : void
GetLogDirectories ( string path ) : string[]

Get the paths for any iisnode log directories under a given path.

GetOrCreateCleanPath ( string root, string name, string>.Dictionary tempDirectories, DevEnv type ) : string>.KeyValuePair

Get or create a path to the role. This is used to sanitize the contents of a role before it's packaged if it contains files that shouldn't be packaged. We copy the contents to a temp directory, delete the offending files, and use the temp directory for packaging. The temp directories are collected in the tempDirectories list so they can be cleaned up when packaging is complete.

This is a temporary workaround to prevent node logging information from being packaged and deployed with production applications. This method should be removed when we have a proper fix to bug https://github.com/WindowsAzure/azure-sdk-tools/issues/111

GetRightError ( string standardOutput, string standardError, int processExitCode ) : string