tencentcloud-sdk-nodejs-tcb 4.1.239 → 4.1.241
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.
package/package.json
CHANGED
|
@@ -432,8 +432,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
432
432
|
*/
|
|
433
433
|
DescribeMySQLClusterDetail(req: DescribeMySQLClusterDetailRequest, cb?: (error: string, rep: DescribeMySQLClusterDetailResponse) => void): Promise<DescribeMySQLClusterDetailResponse>;
|
|
434
434
|
/**
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
* 获取云开发环境的计费相关信息。
|
|
436
|
+
包括环境的 状态、当前套餐、购买时间、到期时间 等。
|
|
437
|
+
*/
|
|
437
438
|
DescribeBillingInfo(req: DescribeBillingInfoRequest, cb?: (error: string, rep: DescribeBillingInfoResponse) => void): Promise<DescribeBillingInfoResponse>;
|
|
438
439
|
/**
|
|
439
440
|
* 本接口用于云开发环境套餐续费。
|
|
@@ -602,8 +602,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
602
602
|
return this.request("DescribeMySQLClusterDetail", req, cb);
|
|
603
603
|
}
|
|
604
604
|
/**
|
|
605
|
-
|
|
606
|
-
|
|
605
|
+
* 获取云开发环境的计费相关信息。
|
|
606
|
+
包括环境的 状态、当前套餐、购买时间、到期时间 等。
|
|
607
|
+
*/
|
|
607
608
|
async DescribeBillingInfo(req, cb) {
|
|
608
609
|
return this.request("DescribeBillingInfo", req, cb);
|
|
609
610
|
}
|
|
@@ -2283,9 +2283,13 @@ export interface LocalizedTemplate {
|
|
|
2283
2283
|
*/
|
|
2284
2284
|
export interface DescribeBillingInfoResponse {
|
|
2285
2285
|
/**
|
|
2286
|
-
*
|
|
2286
|
+
* <p>环境计费信息列表</p>
|
|
2287
2287
|
*/
|
|
2288
2288
|
EnvBillingInfoList?: Array<EnvBillingInfoItem>;
|
|
2289
|
+
/**
|
|
2290
|
+
* <p>总个数</p>
|
|
2291
|
+
*/
|
|
2292
|
+
Total?: number;
|
|
2289
2293
|
/**
|
|
2290
2294
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2291
2295
|
*/
|
|
@@ -2622,9 +2626,21 @@ export interface ListPGUserMigrationsResponse {
|
|
|
2622
2626
|
*/
|
|
2623
2627
|
export interface DescribeBillingInfoRequest {
|
|
2624
2628
|
/**
|
|
2625
|
-
*
|
|
2629
|
+
* <p>环境ID</p>
|
|
2626
2630
|
*/
|
|
2627
2631
|
EnvId?: string;
|
|
2632
|
+
/**
|
|
2633
|
+
* <p>环境列表,当环境列表不为空时,查询的环境以该参数为准</p>
|
|
2634
|
+
*/
|
|
2635
|
+
EnvIds?: Array<string>;
|
|
2636
|
+
/**
|
|
2637
|
+
* <p>每页条数(用于拉取列表时分页)</p>
|
|
2638
|
+
*/
|
|
2639
|
+
Limit?: number;
|
|
2640
|
+
/**
|
|
2641
|
+
* <p>偏移</p>
|
|
2642
|
+
*/
|
|
2643
|
+
Offset?: number;
|
|
2628
2644
|
}
|
|
2629
2645
|
/**
|
|
2630
2646
|
* 扩缩容策略
|
|
@@ -3195,78 +3211,71 @@ export interface DestroyMySQLRequest {
|
|
|
3195
3211
|
*/
|
|
3196
3212
|
export interface EnvBillingInfoItem {
|
|
3197
3213
|
/**
|
|
3198
|
-
*
|
|
3214
|
+
* <p>环境ID</p>
|
|
3199
3215
|
*/
|
|
3200
3216
|
EnvId?: string;
|
|
3201
3217
|
/**
|
|
3202
|
-
* tcb产品套餐ID,参考DescribePackages
|
|
3218
|
+
* <p>tcb产品套餐ID,参考DescribePackages接口的返回值。</p>
|
|
3203
3219
|
*/
|
|
3204
3220
|
PackageId?: string;
|
|
3205
3221
|
/**
|
|
3206
|
-
*
|
|
3222
|
+
* <p>自动续费标记</p>
|
|
3207
3223
|
*/
|
|
3208
3224
|
IsAutoRenew?: boolean;
|
|
3209
3225
|
/**
|
|
3210
|
-
*
|
|
3211
|
-
<li> 空字符串:初始化中</li>
|
|
3212
|
-
<li> NORMAL:正常</li>
|
|
3213
|
-
<li> ISOLATE:隔离</li>
|
|
3226
|
+
* <p>状态。包含以下取值:</p><li> 空字符串:初始化中</li><li> NORMAL:正常</li><li> ISOLATE:隔离</li>
|
|
3214
3227
|
*/
|
|
3215
3228
|
Status?: string;
|
|
3216
3229
|
/**
|
|
3217
|
-
*
|
|
3218
|
-
<li> PREPAYMENT:预付费</li>
|
|
3219
|
-
<li> POSTPAID:后付费</li>
|
|
3230
|
+
* <p>支付方式。包含以下取值:</p><li> PREPAYMENT:预付费</li><li> POSTPAID:后付费</li>
|
|
3220
3231
|
*/
|
|
3221
3232
|
PayMode?: string;
|
|
3222
3233
|
/**
|
|
3223
|
-
*
|
|
3234
|
+
* <p>隔离时间,最近一次隔离的时间</p>
|
|
3224
3235
|
*/
|
|
3225
3236
|
IsolatedTime?: string;
|
|
3226
3237
|
/**
|
|
3227
|
-
*
|
|
3238
|
+
* <p>过期时间,套餐即将到期的时间</p>
|
|
3228
3239
|
*/
|
|
3229
3240
|
ExpireTime?: string;
|
|
3230
3241
|
/**
|
|
3231
|
-
*
|
|
3242
|
+
* <p>创建时间,第一次接入计费方案的时间。</p>
|
|
3232
3243
|
*/
|
|
3233
3244
|
CreateTime?: string;
|
|
3234
3245
|
/**
|
|
3235
|
-
*
|
|
3246
|
+
* <p>更新时间,计费信息最近一次更新的时间。</p>
|
|
3236
3247
|
*/
|
|
3237
3248
|
UpdateTime?: string;
|
|
3238
3249
|
/**
|
|
3239
|
-
* true
|
|
3250
|
+
* <p>true表示从未升级过付费版。</p>
|
|
3240
3251
|
*/
|
|
3241
3252
|
IsAlwaysFree?: boolean;
|
|
3242
3253
|
/**
|
|
3243
|
-
*
|
|
3244
|
-
<li> miniapp:小程序</li>
|
|
3245
|
-
<li> qcloud:腾讯云</li>
|
|
3254
|
+
* <p>付费渠道。</p><li> miniapp:小程序</li><li> qcloud:腾讯云</li>
|
|
3246
3255
|
*/
|
|
3247
3256
|
PaymentChannel?: string;
|
|
3248
3257
|
/**
|
|
3249
|
-
*
|
|
3258
|
+
* <p>最新的订单信息</p>
|
|
3250
3259
|
*/
|
|
3251
3260
|
OrderInfo?: OrderInfo;
|
|
3252
3261
|
/**
|
|
3253
|
-
*
|
|
3262
|
+
* <p>免费配额信息。</p>
|
|
3254
3263
|
*/
|
|
3255
3264
|
FreeQuota?: string;
|
|
3256
3265
|
/**
|
|
3257
|
-
*
|
|
3266
|
+
* <p>是否开启 <code>超过套餐额度部分转按量付费</code></p>
|
|
3258
3267
|
*/
|
|
3259
3268
|
EnableOverrun?: boolean;
|
|
3260
3269
|
/**
|
|
3261
|
-
*
|
|
3270
|
+
* <p>环境套餐类型</p>
|
|
3262
3271
|
*/
|
|
3263
3272
|
ExtPackageType?: string;
|
|
3264
3273
|
/**
|
|
3265
|
-
*
|
|
3274
|
+
* <p>是否付费期环境,可取值:yes/no。</p>
|
|
3266
3275
|
*/
|
|
3267
3276
|
EnvCharged?: string;
|
|
3268
3277
|
/**
|
|
3269
|
-
*
|
|
3278
|
+
* <p>是否已激活,可取值:yes/no。</p>
|
|
3270
3279
|
*/
|
|
3271
3280
|
EnvActivated?: string;
|
|
3272
3281
|
}
|