Files
interfaces/ts/requests/config.ts
T

54 lines
1.6 KiB
TypeScript
Raw Permalink Normal View History

import * as plugins from '../plugins.js';
import * as clusterInterfaces from '../data/cluster.js';
import * as serverInterfaces from '../data/server.js';
import * as userInterfaces from '../data/user.js';
import type { IService } from '../data/service.js';
2026-04-28 12:08:44 +00:00
import type { IPlatformBinding, IPlatformProviderConfig } from '../platform/types.js';
export interface IRequest_Any_Cloudly_GetServerConfig
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Any_Cloudly_GetServerConfig
> {
method: 'getServerConfig';
request: {
identity: userInterfaces.IIdentity;
serverId: string;
};
response: {
configData: serverInterfaces.IServer;
};
}
export interface IRequest_Any_Cloudly_GetClusterConfig
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Any_Cloudly_GetClusterConfig
> {
method: 'getClusterConfig';
request: {
identity: userInterfaces.IIdentity;
};
response: {
configData: clusterInterfaces.ICluster;
services: IService[];
2026-04-28 12:08:44 +00:00
platformProviderConfigs?: IPlatformProviderConfig[];
platformBindings?: IPlatformBinding[];
};
}
export interface IRequest_Cloudly_Coreflow_PushClusterConfig
extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Cloudly_Coreflow_PushClusterConfig
> {
method: 'pushClusterConfig';
request: {
configData: clusterInterfaces.ICluster;
services: IService[];
2026-04-28 12:08:44 +00:00
platformProviderConfigs?: IPlatformProviderConfig[];
platformBindings?: IPlatformBinding[];
};
response: {};
}