C# Class Microsoft.WindowsAzure.Commands.CloudService.Development.SetAzureServiceProjectRoleCommand

Inheritance: CmdletBase
Exibir arquivo Open project: AzureRT/azure-sdk-tools Class Usage Examples

Private Properties

Property Type Description
ExecuteCmdlet void
SetAzureRuntimesProcess RoleSettings

Public Methods

Method Description
SetAzureInstancesProcess ( string roleName, int instances, string rootPath ) : RoleSettings

The code to run if setting azure instances

SetAzureVMSizeProcess ( string roleName, string vmSize, string rootPath ) : RoleSettings

Sets the VM size of the role.

Private Methods

Method Description
ExecuteCmdlet ( ) : void
SetAzureRuntimesProcess ( string roleName, string runtimeType, string runtimeVersion, string rootPath, string manifest = null ) : RoleSettings

Method Details

SetAzureInstancesProcess() public method

The code to run if setting azure instances
public SetAzureInstancesProcess ( string roleName, int instances, string rootPath ) : RoleSettings
roleName string The name of the role to update
instances int The new number of instances for the role
rootPath string The root path to the service containing the role
return RoleSettings

SetAzureVMSizeProcess() public method

Sets the VM size of the role.
public SetAzureVMSizeProcess ( string roleName, string vmSize, string rootPath ) : RoleSettings
roleName string The role name
vmSize string The vm size
rootPath string The service root path
return RoleSettings