Beispiel #1
0
        public void EntAppTakeSnapshotToExistingBlueprint(EnvsListElement env, string snapshotName, BlueprintInfo otherBlueprint, string description = "", bool setAsDefault = true)
        {
            var envStateParams = new Dictionary <string, string> {
                { "EnvId", env.envId }, { "SnapshotName", snapshotName }, { "OtherBlueprintId", otherBlueprint.ApiId }, { "Description", description }, { "SetAsDefault", setAsDefault ? "true" : "false" },
            };

            _api.CallCSAPI("env", "EntAppTakeSnapshotToExistingBlueprint", envStateParams);
        }
Beispiel #2
0
 public void EntAppTakeSnapshotToExistingBlueprint(EnvsListElement env, string snapshotName, BlueprintInfo otherBlueprint, string description = "", bool setAsDefault = true)
 {
     var envStateParams = new Dictionary<string, string> { { "EnvId", env.envId }, { "SnapshotName", snapshotName }, { "OtherBlueprintId", otherBlueprint.ApiId }, { "Description", description }, { "SetAsDefault", setAsDefault ? "true" : "false" }, };
     _api.CallCSAPI("env", "EntAppTakeSnapshotToExistingBlueprint", envStateParams);
 }