C# Class Microsoft.WindowsAzure.Commands.Common.Extensions.DSC.Publish.DscExtensionPublishCmdletCommonBase

Inheritance: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
Exibir arquivo Open project: Azure/azure-powershell

Public Methods

Method Description
CreateConfigurationArchive ( String configurationPath, String configurationDataPath, String additionalPath, String configurationArchivePath, System.Boolean force, System.Boolean skipDependencyDetection, String parameterSetName ) : string
DeleteTemporaryFiles ( ) : void
PublishConfiguration ( String configurationPath, String configurationDataPath, String additionalPath, String outputArchivePath, String storageEndpointSuffix, String containerName, String parameterSetName, System.Boolean force, System.Boolean skipDependencyDetection, Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, System.Boolean passThru = true ) : void

Publish the configuration and its modules

ValidateConfigurationDataPath ( String configurationDataPath ) : void
ValidateConfigurationPath ( String configurationPath, String paramaterSetName ) : void
ValidatePsVersion ( ) : void

Protected Methods

Method Description
ThrowInvalidArgumentError ( String format ) : void

Private Methods

Method Description
CopyAdditionalContent ( String additionalPath, String tempZipFolder, List additionalContentMetadata ) : void
CopyDirectory ( String destDirPath, DirectoryInfo dir ) : void
CopyFileToZipFolder ( String source, string destination ) : void
CopyRequiredModules ( String configurationPath, String tempZipFolder ) : List
DeleteDirectory ( string path ) : void
DeleteFile ( string path ) : void
DeleteReadOnlyDirectory ( string path ) : void

Recursively turns off the ReadOnly attribute from the given directory and then attemps to delete it

DeleteReadOnlyFile ( string path ) : void

Turns off the ReadOnly attribute from the given file and then attempts to delete it

GetBlobReference ( Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, String storageEndpointSuffix, String containerName, String archivePath ) : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob
GetRequiredModules ( String configurationPath ) : string>.Dictionary
PathIsAFile ( String path ) : System.Boolean
UploadConfigurationArchive ( Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, String storageEndpointSuffix, String containerName, String archivePath, System.Boolean force, System.Boolean passThru ) : void

Method Details

CreateConfigurationArchive() public method

public CreateConfigurationArchive ( String configurationPath, String configurationDataPath, String additionalPath, String configurationArchivePath, System.Boolean force, System.Boolean skipDependencyDetection, String parameterSetName ) : string
configurationPath String
configurationDataPath String
additionalPath String
configurationArchivePath String
force System.Boolean
skipDependencyDetection System.Boolean
parameterSetName String
return string

DeleteTemporaryFiles() public method

public DeleteTemporaryFiles ( ) : void
return void

PublishConfiguration() public method

Publish the configuration and its modules
public PublishConfiguration ( String configurationPath, String configurationDataPath, String additionalPath, String outputArchivePath, String storageEndpointSuffix, String containerName, String parameterSetName, System.Boolean force, System.Boolean skipDependencyDetection, Microsoft.WindowsAzure.Storage.Auth.StorageCredentials storageCredentials, System.Boolean passThru = true ) : void
configurationPath String
configurationDataPath String
additionalPath String
outputArchivePath String
storageEndpointSuffix String
containerName String
parameterSetName String
force System.Boolean
skipDependencyDetection System.Boolean
storageCredentials Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
passThru System.Boolean
return void

ThrowInvalidArgumentError() protected method

protected ThrowInvalidArgumentError ( String format ) : void
format String
return void

ValidateConfigurationDataPath() public method

public ValidateConfigurationDataPath ( String configurationDataPath ) : void
configurationDataPath String
return void

ValidateConfigurationPath() public method

public ValidateConfigurationPath ( String configurationPath, String paramaterSetName ) : void
configurationPath String
paramaterSetName String
return void

ValidatePsVersion() public method

public ValidatePsVersion ( ) : void
return void