支持的方法示例如下:
//在ECS集群中部署應用
void deployApplication(
String namespace,
String credentialsString,
String group,
String appId,
String targetObject);
void deployApplication(
String namespace,
String credentialsString,
String group,
String appId,
String targetObject,
String versionLabelFormat,
String versionDescriptionFormat,
String batch,
String batchWaitTime,
String releaseType);
//在ECS集群中創(chuàng)建并部署應用
void insertApplication(
String namespace,
String credentialsString,
String applicationName,
String packageType,
String clusterId,
String targetObject,
String ecuInfo);
void insertApplication(
String namespace,
String credentialsString,
String applicationName,
String packageType,
String clusterId,
String targetObject,
String ecuInfo,
String versionLabelFormat,
String versionDescriptionFormat,
String buildPackId,
String healthCheckUrl);
//在容器服務K8s集群中部署應用
void deployK8sApplication(
String namespace,
String credentialsString,
String appId,
String targetObject,
Boolean image);
void deployK8sApplication(
String namespace,
String credentialsString,
String appId,
String targetObject,
Boolean image,
String edasContainerVersion,
String webContainer,
String jdk,
String versionLabelFormat,
String envs,
String startupCommand,
String args,
String cpuLimit,
String memoryLimit,
String cpuRequest,
String memoryRequest,
String replicas,
String postStart,
String preStop,
String readiness,
String liveness,
String updateStrategy);
//在容器服務K8s集群中創(chuàng)建并部署應用
void insertK8sApplication(
String namespace,
String credentialsString,
String applicationName,
String packageType,
String clusterId,
String targetObject,
String k8sNamespace,
String jdk);
void insertK8sApplication(
String namespace,
String credentialsString,
String applicationName,
String packageType,
String clusterId,
String targetObject,
String k8sNamespace,
String jdk,
String descFormat,
String edasContainerVersion,
String webContainer,
String versionLabelFormat,
String envs,
String startupCommand,
String args,
String cpuLimit,
String memoryLimit,
String cpuRequest,
String memoryRequest,
String replicas,
String postStart,
String preStop,
String readiness,
String liveness);