tencentcloud-sdk-nodejs-tsf 4.0.582 → 4.0.583

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.
@@ -76,10 +76,10 @@ class Client extends TencentCloudCommon.AbstractClient {
76
76
  return this.request("DescribePodInstances", req, cb);
77
77
  }
78
78
  /**
79
- * 查询可用于被导入的命名空间列表
79
+ * 创建配置项,返回详细信息
80
80
  */
81
- async DescribeUsableUnitNamespaces(req, cb) {
82
- return this.request("DescribeUsableUnitNamespaces", req, cb);
81
+ async CreateConfigWithDetailResp(req, cb) {
82
+ return this.request("CreateConfigWithDetailResp", req, cb);
83
83
  }
84
84
  /**
85
85
  * 创建命名空间
@@ -130,10 +130,10 @@ class Client extends TencentCloudCommon.AbstractClient {
130
130
  return this.request("DescribeGroupAttribute", req, cb);
131
131
  }
132
132
  /**
133
- * 查询配置项列表
133
+ * 创建文件配置项,返回详细信息
134
134
  */
135
- async DescribeConfigs(req, cb) {
136
- return this.request("DescribeConfigs", req, cb);
135
+ async CreateFileConfigWithDetailResp(req, cb) {
136
+ return this.request("CreateFileConfigWithDetailResp", req, cb);
137
137
  }
138
138
  /**
139
139
  * 创建参数模板
@@ -238,10 +238,10 @@ class Client extends TencentCloudCommon.AbstractClient {
238
238
  return this.request("RevokeFileConfig", req, cb);
239
239
  }
240
240
  /**
241
- * (已废弃,请使用 CreateGroup 和 DeployContainerGroup 创建和部署容器部署组)创建容器部署组
241
+ * 获取单个投递项配置信息
242
242
  */
243
- async CreateContainGroup(req, cb) {
244
- return this.request("CreateContainGroup", req, cb);
243
+ async DescribeDeliveryConfig(req, cb) {
244
+ return this.request("DescribeDeliveryConfig", req, cb);
245
245
  }
246
246
  /**
247
247
  * 查询某个插件下绑定或未绑定的API分组
@@ -352,6 +352,12 @@ class Client extends TencentCloudCommon.AbstractClient {
352
352
  async UpdateRepository(req, cb) {
353
353
  return this.request("UpdateRepository", req, cb);
354
354
  }
355
+ /**
356
+ * 查询可用于被导入的命名空间列表
357
+ */
358
+ async DescribeUsableUnitNamespaces(req, cb) {
359
+ return this.request("DescribeUsableUnitNamespaces", req, cb);
360
+ }
355
361
  /**
356
362
  * 查询网关分组监控明细数据
357
363
  */
@@ -622,6 +628,12 @@ class Client extends TencentCloudCommon.AbstractClient {
622
628
  async DescribeSimpleGroups(req, cb) {
623
629
  return this.request("DescribeSimpleGroups", req, cb);
624
630
  }
631
+ /**
632
+ * 查询配置项列表
633
+ */
634
+ async DescribeConfigs(req, cb) {
635
+ return this.request("DescribeConfigs", req, cb);
636
+ }
625
637
  /**
626
638
  * 服务统计页面:接口和服务维度
627
639
  */
@@ -1171,10 +1183,10 @@ class Client extends TencentCloudCommon.AbstractClient {
1171
1183
  return this.request("ModifyGroup", req, cb);
1172
1184
  }
1173
1185
  /**
1174
- * 获取单个投递项配置信息
1186
+ * (已废弃,请使用 CreateGroup 和 DeployContainerGroup 创建和部署容器部署组)创建容器部署组
1175
1187
  */
1176
- async DescribeDeliveryConfig(req, cb) {
1177
- return this.request("DescribeDeliveryConfig", req, cb);
1188
+ async CreateContainGroup(req, cb) {
1189
+ return this.request("CreateContainGroup", req, cb);
1178
1190
  }
1179
1191
  /**
1180
1192
  * 查询生效的单元化规则
@@ -2109,6 +2109,55 @@ export interface CreateMicroserviceResponse {
2109
2109
  */
2110
2110
  RequestId?: string;
2111
2111
  }
2112
+ /**
2113
+ * CreateFileConfigWithDetailResp请求参数结构体
2114
+ */
2115
+ export interface CreateFileConfigWithDetailRespRequest {
2116
+ /**
2117
+ * 配置项名称
2118
+ */
2119
+ ConfigName: string;
2120
+ /**
2121
+ * 配置项版本
2122
+ */
2123
+ ConfigVersion: string;
2124
+ /**
2125
+ * 配置项文件名
2126
+ */
2127
+ ConfigFileName: string;
2128
+ /**
2129
+ * 配置项文件内容(原始内容编码需要 utf-8 格式,如果 ConfigFileCode 为 gbk,后台会进行转换)
2130
+ */
2131
+ ConfigFileValue: string;
2132
+ /**
2133
+ * 配置项关联应用ID
2134
+ */
2135
+ ApplicationId: string;
2136
+ /**
2137
+ * 发布路径
2138
+ */
2139
+ ConfigFilePath: string;
2140
+ /**
2141
+ * 配置项版本描述
2142
+ */
2143
+ ConfigVersionDesc?: string;
2144
+ /**
2145
+ * 配置项文件编码,utf-8 或 gbk。注:如果选择 gbk,需要新版本 tsf-consul-template (公有云虚拟机需要使用 1.32 tsf-agent,容器需要从文档中获取最新的 tsf-consul-template-docker.tar.gz)的支持
2146
+ */
2147
+ ConfigFileCode?: string;
2148
+ /**
2149
+ * 后置命令
2150
+ */
2151
+ ConfigPostCmd?: string;
2152
+ /**
2153
+ * Base64编码的配置项
2154
+ */
2155
+ EncodeWithBase64?: boolean;
2156
+ /**
2157
+ * 无
2158
+ */
2159
+ ProgramIdList?: Array<string>;
2160
+ }
2112
2161
  /**
2113
2162
  * 部署javaagent的类型、版本信息
2114
2163
  */
@@ -2122,6 +2171,19 @@ export interface AgentProfile {
2122
2171
  */
2123
2172
  AgentVersion?: string;
2124
2173
  }
2174
+ /**
2175
+ * ModifyContainerReplicas返回参数结构体
2176
+ */
2177
+ export interface ModifyContainerReplicasResponse {
2178
+ /**
2179
+ * 结果true:成功;false:失败;
2180
+ */
2181
+ Result?: boolean;
2182
+ /**
2183
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2184
+ */
2185
+ RequestId?: string;
2186
+ }
2125
2187
  /**
2126
2188
  * StopGroup请求参数结构体
2127
2189
  */
@@ -3628,6 +3690,20 @@ export interface ContainGroup {
3628
3690
  */
3629
3691
  UpdatedTime?: string;
3630
3692
  }
3693
+ /**
3694
+ * CreateConfigWithDetailResp返回参数结构体
3695
+ */
3696
+ export interface CreateConfigWithDetailRespResponse {
3697
+ /**
3698
+ * 配置项
3699
+ 注意:此字段可能返回 null,表示取不到有效值。
3700
+ */
3701
+ Result?: Config;
3702
+ /**
3703
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3704
+ */
3705
+ RequestId?: string;
3706
+ }
3631
3707
  /**
3632
3708
  * DescribeGroupBusinessLogConfigs返回参数结构体
3633
3709
  */
@@ -4444,6 +4520,43 @@ export interface CreatePublicConfigWithDetailRespResponse {
4444
4520
  */
4445
4521
  RequestId?: string;
4446
4522
  }
4523
+ /**
4524
+ * CreateConfigWithDetailResp请求参数结构体
4525
+ */
4526
+ export interface CreateConfigWithDetailRespRequest {
4527
+ /**
4528
+ * 配置项名称
4529
+ */
4530
+ ConfigName: string;
4531
+ /**
4532
+ * 配置项版本
4533
+ */
4534
+ ConfigVersion: string;
4535
+ /**
4536
+ * 配置项值
4537
+ */
4538
+ ConfigValue: string;
4539
+ /**
4540
+ * 应用ID
4541
+ */
4542
+ ApplicationId: string;
4543
+ /**
4544
+ * 配置项版本描述
4545
+ */
4546
+ ConfigVersionDesc?: string;
4547
+ /**
4548
+ * 配置项值类型
4549
+ */
4550
+ ConfigType?: string;
4551
+ /**
4552
+ * Base64编码的配置项
4553
+ */
4554
+ EncodeWithBase64?: boolean;
4555
+ /**
4556
+ * 无
4557
+ */
4558
+ ProgramIdList?: Array<string>;
4559
+ }
4447
4560
  /**
4448
4561
  * RemoveInstances返回参数结构体
4449
4562
  */
@@ -7190,13 +7303,14 @@ export interface CreateTaskFlowRequest {
7190
7303
  ProgramIdList?: Array<string>;
7191
7304
  }
7192
7305
  /**
7193
- * ModifyContainerReplicas返回参数结构体
7306
+ * CreateFileConfigWithDetailResp返回参数结构体
7194
7307
  */
7195
- export interface ModifyContainerReplicasResponse {
7308
+ export interface CreateFileConfigWithDetailRespResponse {
7196
7309
  /**
7197
- * 结果true:成功;false:失败;
7198
- */
7199
- Result?: boolean;
7310
+ * 文件配置项
7311
+ 注意:此字段可能返回 null,表示取不到有效值。
7312
+ */
7313
+ Result?: FileConfig;
7200
7314
  /**
7201
7315
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7202
7316
  */