C# 클래스 DeploymentTracker.Services.Tasks.CloudDeploymentTasks

Contains all cloud deployment tasks
상속: IDisposable
파일 보기 프로젝트 열기: RyanTBerry/WindowsAzureDeploymentTracker

공개 메소드들

메소드 설명
AddCertificateToCloud ( string pfxPath, string password ) : void

Adds the certificate to cloud.

CloudDeploymentTasks ( CloudArgs cloudArgs ) : System

Initializes a new instance of the CloudDeploymentTasks class.

CopyCspkg ( string storagePrimaryKey ) : void

Copies the CSPKG.

DeployPackageInCloud ( ) : void

Deploys the package in cloud.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetStoragePrimaryKey ( ) : string

Gets the storage primary key.

InitHostedService ( ) : void

Inits the hosted service.

InitStorageAccount ( ) : string

Inits the storage account.

ListHostedServicesForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : List

Lists the hosted services for subscriptions.

ListLocationsForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : string>.Dictionary

Lists the locations for subscription.

ListStorageAccountsForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : List

Lists the hosted services for subscriptions.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources The bulk of the clean-up code is implemented in Dispose(bool)

비공개 메소드들

메소드 설명
AddCertificate ( string pfxPath, string password ) : string

Adds the certificate.

CreateHostedService ( ) : string

Creates the hosted service.

CreateStorageAccount ( ) : string

Creates the storage account.

DeployPackage ( ) : string

Deploys the package.

WaitForOperationCompletion ( string requestId ) : void

Waits for operation completion.

메소드 상세

AddCertificateToCloud() 공개 메소드

Adds the certificate to cloud.
public AddCertificateToCloud ( string pfxPath, string password ) : void
pfxPath string The PFX path.
password string The password.
리턴 void

CloudDeploymentTasks() 공개 메소드

Initializes a new instance of the CloudDeploymentTasks class.
public CloudDeploymentTasks ( CloudArgs cloudArgs ) : System
cloudArgs DeploymentTracker.Services.Entities.CloudArgs The cloud args.
리턴 System

CopyCspkg() 공개 메소드

Copies the CSPKG.
public CopyCspkg ( string storagePrimaryKey ) : void
storagePrimaryKey string The storage primary key.
리턴 void

DeployPackageInCloud() 공개 메소드

Deploys the package in cloud.
public DeployPackageInCloud ( ) : void
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources The bulk of the clean-up code is implemented in Dispose(bool)
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

GetStoragePrimaryKey() 공개 메소드

Gets the storage primary key.
public GetStoragePrimaryKey ( ) : string
리턴 string

InitHostedService() 공개 메소드

Inits the hosted service.
public InitHostedService ( ) : void
리턴 void

InitStorageAccount() 공개 메소드

Inits the storage account.
public InitStorageAccount ( ) : string
리턴 string

ListHostedServicesForSubscription() 공개 정적인 메소드

Lists the hosted services for subscriptions.
public static ListHostedServicesForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : List
subscriptionId string The subscription id.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
version string The version.
리턴 List

ListLocationsForSubscription() 공개 정적인 메소드

Lists the locations for subscription.
public static ListLocationsForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : string>.Dictionary
subscriptionId string The subscription id.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
version string The version.
리턴 string>.Dictionary

ListStorageAccountsForSubscription() 공개 정적인 메소드

Lists the hosted services for subscriptions.
public static ListStorageAccountsForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : List
subscriptionId string The subscription id.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
version string The version.
리턴 List