C# Class DeploymentTracker.Services.Tasks.CloudDeploymentTasks

Contains all cloud deployment tasks
Inheritance: IDisposable
Afficher le fichier Open project: RyanTBerry/WindowsAzureDeploymentTracker

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
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.

Method Details

AddCertificateToCloud() public méthode

Adds the certificate to cloud.
public AddCertificateToCloud ( string pfxPath, string password ) : void
pfxPath string The PFX path.
password string The password.
Résultat void

CloudDeploymentTasks() public méthode

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

CopyCspkg() public méthode

Copies the CSPKG.
public CopyCspkg ( string storagePrimaryKey ) : void
storagePrimaryKey string The storage primary key.
Résultat void

DeployPackageInCloud() public méthode

Deploys the package in cloud.
public DeployPackageInCloud ( ) : void
Résultat void

Dispose() public méthode

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

Dispose() protected méthode

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.
Résultat void

GetStoragePrimaryKey() public méthode

Gets the storage primary key.
public GetStoragePrimaryKey ( ) : string
Résultat string

InitHostedService() public méthode

Inits the hosted service.
public InitHostedService ( ) : void
Résultat void

InitStorageAccount() public méthode

Inits the storage account.
public InitStorageAccount ( ) : string
Résultat string

ListHostedServicesForSubscription() public static méthode

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.
Résultat List

ListLocationsForSubscription() public static méthode

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.
Résultat string>.Dictionary

ListStorageAccountsForSubscription() public static méthode

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.
Résultat List