| Package | Description |
|---|---|
| com.huaweicloud.sdk.cce.v3 | |
| com.huaweicloud.sdk.cce.v3.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<CreateClusterRequest,CreateClusterResponse> |
CceMeta.createCluster |
| Modifier and Type | Method and Description |
|---|---|
CreateClusterResponse |
CceClient.createCluster(CreateClusterRequest request)
创建集群
该API用于创建一个空集群(即只有控制节点Master,没有工作节点Node)。请在调用本接口完成集群创建之后,通过[创建节点](cce_02_0242.xml)添加节点。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
> - 调用该接口创建集群时,默认不安装ICAgent,若需安装ICAgent,可在请求Body参数的annotations中加入\"cluster.install.addons.external/install\": \"[{\"addonTemplateName\":\"icagent\"}]\"的集群注解,将在创建集群时自动安装ICAgent。ICAgent是应用性能管理APM的采集代理,运行在应用所在的服务器上,用于实时采集探针所获取的数据,安装ICAgent是使用应用性能管理APM的前提。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CreateClusterResponse> |
CceAsyncClient.createClusterAsync(CreateClusterRequest request)
创建集群
该API用于创建一个空集群(即只有控制节点Master,没有工作节点Node)。请在调用本接口完成集群创建之后,通过[创建节点](cce_02_0242.xml)添加节点。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
> - 调用该接口创建集群时,默认不安装ICAgent,若需安装ICAgent,可在请求Body参数的annotations中加入\"cluster.install.addons.external/install\": \"[{\"addonTemplateName\":\"icagent\"}]\"的集群注解,将在创建集群时自动安装ICAgent。ICAgent是应用性能管理APM的采集代理,运行在应用所在的服务器上,用于实时采集探针所获取的数据,安装ICAgent是使用应用性能管理APM的前提。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<CreateClusterRequest,CreateClusterResponse> |
CceAsyncClient.createClusterAsyncInvoker(CreateClusterRequest request)
创建集群
该API用于创建一个空集群(即只有控制节点Master,没有工作节点Node)。请在调用本接口完成集群创建之后,通过[创建节点](cce_02_0242.xml)添加节点。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
> - 调用该接口创建集群时,默认不安装ICAgent,若需安装ICAgent,可在请求Body参数的annotations中加入\"cluster.install.addons.external/install\": \"[{\"addonTemplateName\":\"icagent\"}]\"的集群注解,将在创建集群时自动安装ICAgent。ICAgent是应用性能管理APM的采集代理,运行在应用所在的服务器上,用于实时采集探针所获取的数据,安装ICAgent是使用应用性能管理APM的前提。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<CreateClusterRequest,CreateClusterResponse> |
CceClient.createClusterInvoker(CreateClusterRequest request)
创建集群
该API用于创建一个空集群(即只有控制节点Master,没有工作节点Node)。请在调用本接口完成集群创建之后,通过[创建节点](cce_02_0242.xml)添加节点。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
> - 调用该接口创建集群时,默认不安装ICAgent,若需安装ICAgent,可在请求Body参数的annotations中加入\"cluster.install.addons.external/install\": \"[{\"addonTemplateName\":\"icagent\"}]\"的集群注解,将在创建集群时自动安装ICAgent。ICAgent是应用性能管理APM的采集代理,运行在应用所在的服务器上,用于实时采集探针所获取的数据,安装ICAgent是使用应用性能管理APM的前提。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CreateClusterResponse |
CreateClusterResponse.withApiVersion(String apiVersion) |
CreateClusterResponse |
CreateClusterResponse.withKind(String kind) |
CreateClusterResponse |
CreateClusterResponse.withMetadata(ClusterMetadata metadata) |
CreateClusterResponse |
CreateClusterResponse.withMetadata(java.util.function.Consumer<ClusterMetadata> metadataSetter) |
CreateClusterResponse |
CreateClusterResponse.withSpec(ClusterSpec spec) |
CreateClusterResponse |
CreateClusterResponse.withSpec(java.util.function.Consumer<ClusterSpec> specSetter) |
CreateClusterResponse |
CreateClusterResponse.withStatus(ClusterStatus status) |
CreateClusterResponse |
CreateClusterResponse.withStatus(java.util.function.Consumer<ClusterStatus> statusSetter) |
Copyright © 2022. All rights reserved.