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

Inheritance: CmdletBase
Afficher le fichier Open project: AzureRT/azure-sdk-tools Class Usage Examples

Private Properties

Свойство Type Description
ExecuteCmdlet void
SetAzureRuntimesProcess RoleSettings

Méthodes publiques

Méthode 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

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

Method Details

SetAzureInstancesProcess() public méthode

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
Résultat RoleSettings

SetAzureVMSizeProcess() public méthode

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
Résultat RoleSettings