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

显示文件 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_oe static_oe property

public static string CredentialBlobUriFormat
return string

DefaultCredentialFile public_oe static_oe property

public static string DefaultCredentialFile
return string

EnvironmentPathFormat public_oe static_oe property

public static string EnvironmentPathFormat
return string

EnvironmentVariableFile public_oe static_oe property

public static string EnvironmentVariableFile
return string

PowerShellVariableFile public_oe static_oe property

public static string PowerShellVariableFile
return string

StorageAccountKeyVariable public_oe static_oe property

public static string StorageAccountKeyVariable
return string

StorageAccountVariable public_oe static_oe property

public static string StorageAccountVariable
return string

TestEnvironmentVariable public_oe static_oe property

public static string TestEnvironmentVariable
return string