C# Класс DeploymentTracker.Services.Tasks.CloudDeploymentTasks

Contains all cloud deployment tasks
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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