Creates a new configuration from the default template and exports it as JSON.
Creates a configuration from a registered configuration ID and exports it as JSON.
Creates a configuration from a JSON definition string and exports it as JSON.
Gets information about all registered configuration versions as a JSON string.
Gets information about all registered configuration versions as a JSON string.
Gets the currently active default configuration ID.
Registers a new configuration version and returns the assigned configuration ID.
OptionalconfigComment: stringRegisters a new configuration version and returns the assigned configuration ID.
OptionalconfigComment: stringAtomically replaces the default configuration ID (optimistic locking).
Atomically replaces the default configuration ID (optimistic locking).
const configMgr = env.getConfigManager();
const currentId = configMgr.getDefaultConfigId();
const configDef = configMgr.createConfig();
const newId = configMgr.registerConfig(configDef, "updated config");
configMgr.replaceDefaultConfigId(currentId, newId);
Registers and activates a configuration in one operation, returning the assigned ID.
OptionalconfigComment: stringRegisters and activates a configuration in one operation, returning the assigned ID.
OptionalconfigComment: stringSets the active configuration by ID.
Creates a new configuration from the default template and exports it as JSON.