C# Class DeploymentTracker.Utilities.CloudDeploymentTasks

TODO: Update summary.
Show file Open project: RyanTBerry/WindowsAzureDeploymentTracker

Public Methods

Method Description
CopyCspkg ( string storageName, string storagePrimaryKey ) : void
DeployPackage ( X509Certificate2 managementCert, string subscriptionId, string storageName, string hostedServiceName, string storagePrimaryKey, string deploymentSlot, bool isUpgrade ) : string
DeployPackageInCloud ( X509Certificate2 managementCert, string subscriptionId, string storageName, string hostedServiceName, string storagePrimaryKey, string deploymentSlot, bool isUpgrade ) : void
GetStoragePrimaryKey ( X509Certificate2 managementCert, string subscriptionId, string storageName ) : string
InitHostedService ( string hostedServiceName, string storageName, X509Certificate2 managementCert, string subscriptionId ) : void
InitStorageAccount ( string storageName, X509Certificate2 managementCert, string subscriptionId ) : string
ListLocationsForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : string>.Dictionary
WaitForOperationCompletion ( X509Certificate2 managementCert, string subscriptionId, string storageName, string requestId ) : void

Private Methods

Method Description
CreateHostedService ( X509Certificate2 managementCert, string subscriptionId, string hostedServiceName ) : string
CreateStorageAccount ( X509Certificate2 managementCert, string subscriptionId, string storageName ) : string

Method Details

CopyCspkg() public method

public CopyCspkg ( string storageName, string storagePrimaryKey ) : void
storageName string
storagePrimaryKey string
return void

DeployPackage() public method

public DeployPackage ( X509Certificate2 managementCert, string subscriptionId, string storageName, string hostedServiceName, string storagePrimaryKey, string deploymentSlot, bool isUpgrade ) : string
managementCert System.Security.Cryptography.X509Certificates.X509Certificate2
subscriptionId string
storageName string
hostedServiceName string
storagePrimaryKey string
deploymentSlot string
isUpgrade bool
return string

DeployPackageInCloud() public method

public DeployPackageInCloud ( X509Certificate2 managementCert, string subscriptionId, string storageName, string hostedServiceName, string storagePrimaryKey, string deploymentSlot, bool isUpgrade ) : void
managementCert System.Security.Cryptography.X509Certificates.X509Certificate2
subscriptionId string
storageName string
hostedServiceName string
storagePrimaryKey string
deploymentSlot string
isUpgrade bool
return void

GetStoragePrimaryKey() public method

public GetStoragePrimaryKey ( X509Certificate2 managementCert, string subscriptionId, string storageName ) : string
managementCert System.Security.Cryptography.X509Certificates.X509Certificate2
subscriptionId string
storageName string
return string

InitHostedService() public method

public InitHostedService ( string hostedServiceName, string storageName, X509Certificate2 managementCert, string subscriptionId ) : void
hostedServiceName string
storageName string
managementCert System.Security.Cryptography.X509Certificates.X509Certificate2
subscriptionId string
return void

InitStorageAccount() public method

public InitStorageAccount ( string storageName, X509Certificate2 managementCert, string subscriptionId ) : string
storageName string
managementCert System.Security.Cryptography.X509Certificates.X509Certificate2
subscriptionId string
return string

ListLocationsForSubscription() public static method

public static ListLocationsForSubscription ( string subscriptionId, X509Certificate2 certificate, string version ) : string>.Dictionary
subscriptionId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
version string
return string>.Dictionary

WaitForOperationCompletion() public method

public WaitForOperationCompletion ( X509Certificate2 managementCert, string subscriptionId, string storageName, string requestId ) : void
managementCert System.Security.Cryptography.X509Certificates.X509Certificate2
subscriptionId string
storageName string
requestId string
return void