C# Class Microsoft.WindowsAzure.Management.CloudService.Cmdlet.PublishAzureServiceProjectCommand

Inheritance: DeploymentServiceManagementCmdletBase
Datei anzeigen Open project: OctopusDeploy/azure-sdk-tools

Private Properties

Property Type Description
AddCertificates void
CanGenerateUrlForDeploymentSlot bool
CreateHostedService void
CreateNewDeployment void
CreatePackage void
CreateStorageAccount void
ExecuteCmdlet void
GetConfiguration string
GetSettingsLocation LocationName
InitializeSettingsAndCreatePackage bool
LaunchService void
PrepareRuntimeDeploymentInfo bool
PublishService void
ServiceExists bool
StorageAccountExists bool
UpgradeDeployment void
UploadPackage System.Uri
VerifyDeployment void
WaitForCertificateToBeAdded void
WaitForDeploymentToStart void

Public Methods

Method Description
PublishAzureServiceProjectCommand ( ) : System

Initializes a new instance of the PublishAzureServiceCommand class.

PublishAzureServiceProjectCommand ( IServiceManagement channel ) : System

Initializes a new instance of the PublishAzureServiceCommand class.

Private Methods

Method Description
AddCertificates ( CertificateList uploadedCertificates ) : void
CanGenerateUrlForDeploymentSlot ( ) : bool

Gets a value indicating whether we'll be able to automatically get the deployment URL for the given deployment slot.

CreateHostedService ( ) : void

Create a hosted Azure service.

CreateNewDeployment ( ) : void

Create a new deployment for the service.

CreatePackage ( ) : void
CreateStorageAccount ( string name, string label, string location, string affinityGroup ) : void

Create an Azure storage account that we can use to upload our package when creating and deploying a service.

ExecuteCmdlet ( ) : void
GetConfiguration ( ) : string

Get the configuration.

GetSettingsLocation ( ServiceSettings settings ) : LocationName
InitializeSettingsAndCreatePackage ( string rootPath, string manifest = null ) : bool

Initialize our model of the AzureService located at the given path along with its DeploymentSettings and SubscriptionId.

LaunchService ( ) : void
PrepareRuntimeDeploymentInfo ( AzureService service, ServiceSettings settings, string manifest = null ) : bool

Set up runtime deployment info for each role in the service - after this method is called, each role will have its startup configured with the URI of a runtime package to install at role start

PublishService ( string serviceRootPath ) : void
ServiceExists ( ) : bool

Determine if a service already exists.

Service names are unique across Azure.

StorageAccountExists ( string name ) : bool

Check if the service's storage account already exists.

UpgradeDeployment ( ) : void

Upgrade the deployment for the service.

UploadPackage ( ) : Uri

Upload the package to our blob storage account.

VerifyDeployment ( ) : void

Verify a deployment exists

WaitForCertificateToBeAdded ( ServiceConfigurationSchema certificate ) : void

Wait until a certificate has been added to a hosted service.

WaitForDeploymentToStart ( ) : void

Wait until a deployment has started.

Method Details

PublishAzureServiceProjectCommand() public method

Initializes a new instance of the PublishAzureServiceCommand class.
public PublishAzureServiceProjectCommand ( ) : System
return System

PublishAzureServiceProjectCommand() public method

Initializes a new instance of the PublishAzureServiceCommand class.
public PublishAzureServiceProjectCommand ( IServiceManagement channel ) : System
channel IServiceManagement /// Channel used for communication with Azure's service management APIs. ///
return System