@ucloud-sdks/ucloud-sdk-js 0.2.42 → 0.2.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,6 +106,10 @@ export interface CreateSandboxSiteRequest {
106
106
  * 访问码
107
107
  */
108
108
  AccessCode: string;
109
+ /**
110
+ * 站点空间空间模版,格式:site-nc-ng,n为偶数
111
+ */
112
+ TemplateName: string;
109
113
  /**
110
114
  * 环境变量,格式:["key=value"]
111
115
  */
@@ -117,6 +117,12 @@ export default class UK8SClient extends Client {
117
117
  * See also: https://docs.ucloud.cn/api/uk8s-api/list_uk8s_uls_config
118
118
  */
119
119
  listUK8SULSConfig(request?: ListUK8SULSConfigRequest): Promise<ListUK8SULSConfigResponse>;
120
+ /**
121
+ * ModifyUK8SClusterName - 修改k8s集群名称
122
+ *
123
+ * See also: https://docs.ucloud.cn/api/uk8s-api/modify_uk8s_cluster_name
124
+ */
125
+ modifyUK8SClusterName(request?: ModifyUK8SClusterNameRequest): Promise<ModifyUK8SClusterNameResponse>;
120
126
  /**
121
127
  * RemoveUK8SNodeGroup - 删除UK8S节点池
122
128
  *
@@ -3268,6 +3274,24 @@ export interface ListUK8SULSConfigResponse {
3268
3274
  Name?: string;
3269
3275
  }[];
3270
3276
  }
3277
+ /**
3278
+ * ModifyUK8SClusterName - 修改k8s集群名称
3279
+ */
3280
+ export interface ModifyUK8SClusterNameRequest {
3281
+ /**
3282
+ * 集群ID
3283
+ */
3284
+ ClusterId: string;
3285
+ /**
3286
+ * 集群名称
3287
+ */
3288
+ ClusterName: string;
3289
+ }
3290
+ /**
3291
+ * ModifyUK8SClusterName - 修改k8s集群名称
3292
+ */
3293
+ export interface ModifyUK8SClusterNameResponse {
3294
+ }
3271
3295
  /**
3272
3296
  * RemoveUK8SNodeGroup - 删除UK8S节点池
3273
3297
  */
@@ -174,6 +174,15 @@ class UK8SClient extends client_1.default {
174
174
  const args = Object.assign({ Action: 'ListUK8SULSConfig' }, (request || {}));
175
175
  return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
176
176
  }
177
+ /**
178
+ * ModifyUK8SClusterName - 修改k8s集群名称
179
+ *
180
+ * See also: https://docs.ucloud.cn/api/uk8s-api/modify_uk8s_cluster_name
181
+ */
182
+ modifyUK8SClusterName(request) {
183
+ const args = Object.assign({ Action: 'ModifyUK8SClusterName' }, (request || {}));
184
+ return this.invoke(new request_1.default(args)).then((resp) => resp.toObject());
185
+ }
177
186
  /**
178
187
  * RemoveUK8SNodeGroup - 删除UK8S节点池
179
188
  *