Microsoft.WindowsAzure.Management.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo.SetAzureDeploymentCmdletInfo.SetAzureDeploymentUpgradeCmdletInfo C# (CSharp) 메소드

SetAzureDeploymentUpgradeCmdletInfo() 공개 정적인 메소드

public static SetAzureDeploymentUpgradeCmdletInfo ( string serviceName, string slot, string mode, string packagePath, string configPath ) : SetAzureDeploymentCmdletInfo
serviceName string
slot string
mode string
packagePath string
configPath string
리턴 SetAzureDeploymentCmdletInfo
        public static SetAzureDeploymentCmdletInfo SetAzureDeploymentUpgradeCmdletInfo(string serviceName, string slot, string mode, string packagePath, string configPath)
        {
            SetAzureDeploymentCmdletInfo result = new SetAzureDeploymentCmdletInfo(serviceName, slot);

            result.cmdletParams.Add(new CmdletParam("Upgrade"));

            result.cmdletParams.Add(new CmdletParam("Mode", mode));
            result.cmdletParams.Add(new CmdletParam("Package", packagePath));
            result.cmdletParams.Add(new CmdletParam("Configuration", configPath));

            return result;
        }