C# 클래스 Microsoft.WindowsAzure.Commands.ScenarioTest.Common.ServiceManagementTestEnvironmentFactory

상속: Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironmentFactory
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

공개 메소드들

메소드 설명
GetTestEnvironmentFromPublishSettingsFile ( string filePath ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

Get the test environment from a publish settings file

보호된 메소드들

메소드 설명
GetCertificateTestEnvironment ( ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

Get certificate test credentials and target management URI from environment variables

GetCertificateTestEnvironmentFromConnectionString ( string testConnectionString ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

Get the test environment from a connection string specifying a certificate

GetTestEnvironmentFromContext ( ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

Create a Certificate based on current environment variables

비공개 메소드들

메소드 설명
GetCertificateFromBase64String ( string base64String ) : X509Certificate2

Create a certificate from a base-64 encoded string

GetCertificateFromReference ( string thumbprint ) : X509Certificate2

Given a thumbprint string, retrieve the associated certificate

IsCertificateReference ( string potentialReference ) : bool

Determine if a given management certificate setting is a base-64 encoded certificate or a thumbprint certificate reference

메소드 상세

GetCertificateTestEnvironment() 보호된 메소드

Get certificate test credentials and target management URI from environment variables
protected GetCertificateTestEnvironment ( ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment
리턴 Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

GetCertificateTestEnvironmentFromConnectionString() 보호된 메소드

Get the test environment from a connection string specifying a certificate
protected GetCertificateTestEnvironmentFromConnectionString ( string testConnectionString ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment
testConnectionString string The connection string to parse
리턴 Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

GetTestEnvironmentFromContext() 보호된 메소드

Create a Certificate based on current environment variables
protected GetTestEnvironmentFromContext ( ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment
리턴 Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment

GetTestEnvironmentFromPublishSettingsFile() 공개 정적인 메소드

Get the test environment from a publish settings file
public static GetTestEnvironmentFromPublishSettingsFile ( string filePath ) : Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment
filePath string The full path to the publish settings file
리턴 Microsoft.WindowsAzure.Commands.ScenarioTest.Common.TestEnvironment