C# Class Microsoft.WindowsAzure.Management.CloudService.Model.GetDeploymentStatus

Gets the status for a specified deployment. This class is candidate for being cmdlet so it has this name which similar to cmdlets.
Inheritance: ServiceManagementBaseCmdlet
Show file Open project: OctopusDeploy/azure-sdk-tools Class Usage Examples

Private Properties

Property Type Description
InitializeArguments void

Public Methods

Method Description
DeploymentExists ( string rootPath, string inServiceName, string inSlot, string subscription ) : bool
GetDeploymentStatus ( ICommandRuntime commandRuntime ) : System
GetDeploymentStatus ( IServiceManagement channel, ICommandRuntime commandRuntime ) : System
GetDeploymentStatusProcess ( string rootPath, string inServiceName, string inSlot, string subscription ) : string
GetStatus ( string serviceName, string slot ) : string
WaitForState ( string state, string rootPath, string inServiceName, string inSlot, string subscription ) : void

This method waits until the deployment reaches a specified state. Remark: Caller for this method should handle any thrown exception

Protected Methods

Method Description
ProcessRecord ( ) : void

Private Methods

Method Description
InitializeArguments ( string rootPath, string inServiceName, string inSlot, string subscription, string &serviceName, string &slot ) : void

Method Details

DeploymentExists() public method

public DeploymentExists ( string rootPath, string inServiceName, string inSlot, string subscription ) : bool
rootPath string
inServiceName string
inSlot string
subscription string
return bool

GetDeploymentStatus() public method

public GetDeploymentStatus ( ICommandRuntime commandRuntime ) : System
commandRuntime ICommandRuntime
return System

GetDeploymentStatus() public method

public GetDeploymentStatus ( IServiceManagement channel, ICommandRuntime commandRuntime ) : System
channel IServiceManagement
commandRuntime ICommandRuntime
return System

GetDeploymentStatusProcess() public method

public GetDeploymentStatusProcess ( string rootPath, string inServiceName, string inSlot, string subscription ) : string
rootPath string
inServiceName string
inSlot string
subscription string
return string

GetStatus() public method

public GetStatus ( string serviceName, string slot ) : string
serviceName string
slot string
return string

ProcessRecord() protected method

protected ProcessRecord ( ) : void
return void

WaitForState() public method

This method waits until the deployment reaches a specified state. Remark: Caller for this method should handle any thrown exception
public WaitForState ( string state, string rootPath, string inServiceName, string inSlot, string subscription ) : void
state string The state which method will wait on
rootPath string The service root path name (can be null)
inServiceName string Service that has the deployment to use (can be null)
inSlot string Type of the slot for deployment which method will wait on
subscription string Subscription name which has the service
return void