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

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
  */
@@ -698,6 +698,10 @@ export interface CreateUHostInstanceRequest {
698
698
  * 【若绑定EIP,此参数必填】弹性IP的线路。枚举值: 国际: International BGP: Bgp 各地域允许的线路参数如下: cn-sh1: Bgp cn-sh2: Bgp cn-gd: Bgp cn-bj1: Bgp cn-bj2: Bgp hk: International us-ca: International th-bkk: International kr-seoul:International us-ws:International ge-fra:International sg:International tw-kh:International.其他海外线路均为 International
699
699
  */
700
700
  OperatorName?: string;
701
+ /**
702
+ * 指定EIP Id进行绑定
703
+ */
704
+ ExistEIPId?: string;
701
705
  /**
702
706
  * 当前EIP代金券id。请通过DescribeCoupon接口查询,或登录用户中心查看。
703
707
  */
@@ -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
  *