Elastacloud.AzureManagement.Fluent.Commands.VirtualMachines.AddLinuxVirtualMachineToDeploymentCommand.AddLinuxVirtualMachineToDeploymentCommand C# (CSharp) Méthode

AddLinuxVirtualMachineToDeploymentCommand() private méthode

Used to construct the command to create a virtual machine deployment including the creation of a role
private AddLinuxVirtualMachineToDeploymentCommand ( LinuxVirtualMachineProperties properties, string cloudServiceName ) : System.Collections.Generic
properties Elastacloud.AzureManagement.Fluent.VirtualMachines.Classes.LinuxVirtualMachineProperties
cloudServiceName string
Résultat System.Collections.Generic
        internal AddLinuxVirtualMachineToDeploymentCommand(LinuxVirtualMachineProperties properties, string cloudServiceName)
        {
            AdditionalHeaders["x-ms-version"] = "2012-03-01";
            OperationId = "hostedservices";
            ServiceType = "services";
            Properties = properties;
            HttpCommand = (CloudServiceName = cloudServiceName) + "/deployments/" + properties.DeploymentName + "/roles";
        }