C# Class Elastacloud.AzureManagement.Fluent.Commands.VirtualMachines.StartVirtualMachineCommand

Creates a deployment for a virtual machine and allows some preconfigured defaults from the image gallery
Inheritance: Elastacloud.AzureManagement.Fluent.Commands.Services.ServiceCommand
Show file Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

returns the name of the command

Protected Methods

Method Description
CreatePayload ( ) : string

Creates a deployment payload for a predefined template

Private Methods

Method Description
StartVirtualMachineCommand ( VirtualMachineProperties properties ) : System.Xml.Linq

Used to construct the command to create a virtual machine deployment including the creation of a role

Method Details

CreatePayload() protected method

Creates a deployment payload for a predefined template
protected CreatePayload ( ) : string
return string

ToString() public method

returns the name of the command
public ToString ( ) : string
return string