C# Class Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestCredentialHelper

Show file Open project: AzureRT/azure-sdk-tools Class Usage Examples

Public Properties

Property Type Description
CredentialBlobUriFormat string
DefaultCredentialFile string
EnvironmentPathFormat string
EnvironmentVariableFile string
PowerShellVariableFile string
StorageAccountKeyVariable string
StorageAccountVariable string
TestEnvironmentVariable string

Public Methods

Method Description
AddEnvironmentVariables ( string environmentPath ) : void
AddPowerShellVariables ( string powerShellVariablePath ) : void
DownloadTestCredentials ( string testEnvironment, string downloadDirectoryPath, string blobUri, string storageAccount, string storageKey ) : void
SetupPowerShellEnvironment ( PowerShell powerShell ) : void
SetupPowerShellEnvironment ( PowerShell powerShell, string credentials ) : void
TestCredentialHelper ( string downloadPath ) : System

Private Methods

Method Description
LoadYmlSettingsFile ( string filePath, string>.Action settingAction ) : void

Method Details

AddEnvironmentVariables() public method

public AddEnvironmentVariables ( string environmentPath ) : void
environmentPath string
return void

AddPowerShellVariables() public method

public AddPowerShellVariables ( string powerShellVariablePath ) : void
powerShellVariablePath string
return void

DownloadTestCredentials() public static method

public static DownloadTestCredentials ( string testEnvironment, string downloadDirectoryPath, string blobUri, string storageAccount, string storageKey ) : void
testEnvironment string
downloadDirectoryPath string
blobUri string
storageAccount string
storageKey string
return void

SetupPowerShellEnvironment() public method

public SetupPowerShellEnvironment ( PowerShell powerShell ) : void
powerShell PowerShell
return void

SetupPowerShellEnvironment() public method

public SetupPowerShellEnvironment ( PowerShell powerShell, string credentials ) : void
powerShell PowerShell
credentials string
return void

TestCredentialHelper() public method

public TestCredentialHelper ( string downloadPath ) : System
downloadPath string
return System

Property Details

CredentialBlobUriFormat public static property

public static string CredentialBlobUriFormat
return string

DefaultCredentialFile public static property

public static string DefaultCredentialFile
return string

EnvironmentPathFormat public static property

public static string EnvironmentPathFormat
return string

EnvironmentVariableFile public static property

public static string EnvironmentVariableFile
return string

PowerShellVariableFile public static property

public static string PowerShellVariableFile
return string

StorageAccountKeyVariable public static property

public static string StorageAccountKeyVariable
return string

StorageAccountVariable public static property

public static string StorageAccountVariable
return string

TestEnvironmentVariable public static property

public static string TestEnvironmentVariable
return string