Elastacloud.AzureManagement.Fluent.Commands.VirtualMachines.CreateWindowsVirtualMachineDeploymentCommand.CreateWindowsVirtualMachineDeploymentCommand C# (CSharp) Method

CreateWindowsVirtualMachineDeploymentCommand() private method

Used to construct the command to create a virtual machine deployment including the creation of a role
private CreateWindowsVirtualMachineDeploymentCommand ( WindowsVirtualMachineProperties properties ) : System.Xml.Linq
properties Elastacloud.AzureManagement.Fluent.VirtualMachines.Classes.WindowsVirtualMachineProperties
return System.Xml.Linq
        internal CreateWindowsVirtualMachineDeploymentCommand(WindowsVirtualMachineProperties properties)
        {
            AdditionalHeaders["x-ms-version"] = "2012-03-01";
            OperationId = "hostedservices";
            ServiceType = "services";
            HttpCommand = properties.CloudServiceName + "/deployments";
            VirtualMachineType = properties.VirtualMachineType;
            CloudServiceName = properties.CloudServiceName;
            VhdStorageAccount = properties.StorageAccountName;
            Size = properties.VmSize;
            Properties = properties;
        }