示例#1
0
        IAzureEnvironment GetDefaultEnvironment()
        {
            var env = new AzureEnvironment(AzureEnvironment.PublicEnvironments[EnvironmentName.AzureGermanCloud]);

            env.Name = "CustomEnvironment1";
            env.SetProperty("FirstProperty", "FirstValue1", "FirstValue2");
            env.SetProperty("SecondProperty", "SecondValue");
            return(env);
        }