示例#1
0
        public void CreateEntAppEnv(EnvPolicyListElement environmentPolicy, SnapshotStatus snapshot, string environmentNewName = null, string projectFilter = "", string blueprintFilter = "", string environmentPolicyDurationFilter = "")
        {
            var Params = new Dictionary <string, string> {
                { "EnvironmentPolicyId", environmentPolicy.EnvironmentPolicyId }, { "SnapshotId", snapshot.SnapshotId }, { "ProjectFilter", projectFilter }, { "BlueprintFilter", blueprintFilter }, { "EnvironmentPolicyDurationFilter", environmentPolicyDurationFilter }, { "EnvironmentNewName", environmentNewName }
            };

            _api.CallCSAPI("env", "CreateEntAppEnv", Params);
        }
示例#2
0
 public void CreateEntAppEnv(EnvPolicyListElement environmentPolicy, SnapshotStatus snapshot, string environmentNewName = null, string projectFilter = "", string blueprintFilter = "", string environmentPolicyDurationFilter = "")
 {
     var Params = new Dictionary<string, string> { { "EnvironmentPolicyId", environmentPolicy.EnvironmentPolicyId }, { "SnapshotId", snapshot.SnapshotId }, { "ProjectFilter", projectFilter }, { "BlueprintFilter", blueprintFilter }, { "EnvironmentPolicyDurationFilter", environmentPolicyDurationFilter }, { "EnvironmentNewName", environmentNewName } };
     _api.CallCSAPI("env", "CreateEntAppEnv", Params);
 }