tencentcloud-sdk-nodejs 4.1.176 → 4.1.177
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/es/common/sdk_version.js +1 -1
- package/es/services/billing/v20180709/billing_client.js +3 -0
- package/es/services/tke/v20180525/tke_client.js +3 -0
- package/es/services/wedata/v20250806/wedata_client.js +9 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +200 -3
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +7 -1
- package/tencentcloud/services/billing/v20180709/billing_client.js +8 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +151 -28
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +2 -2
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +8 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +8 -10
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +75 -23
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +30 -0
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +13 -9
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +13 -1
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +18 -0
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +458 -103
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.177";
|
|
@@ -3,6 +3,9 @@ export class Client extends AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("billing.tencentcloudapi.com", "2018-07-09", clientConfig);
|
|
5
5
|
}
|
|
6
|
+
async DescribeRenewInstances(req, cb) {
|
|
7
|
+
return this.request("DescribeRenewInstances", req, cb);
|
|
8
|
+
}
|
|
6
9
|
async DescribeBillDetailForOrganization(req, cb) {
|
|
7
10
|
return this.request("DescribeBillDetailForOrganization", req, cb);
|
|
8
11
|
}
|
|
@@ -441,6 +441,9 @@ export class Client extends AbstractClient {
|
|
|
441
441
|
async CreateClusterRoute(req, cb) {
|
|
442
442
|
return this.request("CreateClusterRoute", req, cb);
|
|
443
443
|
}
|
|
444
|
+
async EnableEksEventPersistence(req, cb) {
|
|
445
|
+
return this.request("EnableEksEventPersistence", req, cb);
|
|
446
|
+
}
|
|
444
447
|
async CancelUpgradePlan(req, cb) {
|
|
445
448
|
return this.request("CancelUpgradePlan", req, cb);
|
|
446
449
|
}
|
|
@@ -339,6 +339,9 @@ export class Client extends AbstractClient {
|
|
|
339
339
|
async UpdateDataSource(req, cb) {
|
|
340
340
|
return this.request("UpdateDataSource", req, cb);
|
|
341
341
|
}
|
|
342
|
+
async RevokePrivileges(req, cb) {
|
|
343
|
+
return this.request("RevokePrivileges", req, cb);
|
|
344
|
+
}
|
|
342
345
|
async UpdateResourceGroup(req, cb) {
|
|
343
346
|
return this.request("UpdateResourceGroup", req, cb);
|
|
344
347
|
}
|
|
@@ -507,6 +510,9 @@ export class Client extends AbstractClient {
|
|
|
507
510
|
async CreateResourceGroup(req, cb) {
|
|
508
511
|
return this.request("CreateResourceGroup", req, cb);
|
|
509
512
|
}
|
|
513
|
+
async AuthorizePrivileges(req, cb) {
|
|
514
|
+
return this.request("AuthorizePrivileges", req, cb);
|
|
515
|
+
}
|
|
510
516
|
async DeleteResourceFile(req, cb) {
|
|
511
517
|
return this.request("DeleteResourceFile", req, cb);
|
|
512
518
|
}
|
|
@@ -525,6 +531,9 @@ export class Client extends AbstractClient {
|
|
|
525
531
|
async CreateTriggerWorkflow(req, cb) {
|
|
526
532
|
return this.request("CreateTriggerWorkflow", req, cb);
|
|
527
533
|
}
|
|
534
|
+
async ListPermissions(req, cb) {
|
|
535
|
+
return this.request("ListPermissions", req, cb);
|
|
536
|
+
}
|
|
528
537
|
async GetDataSource(req, cb) {
|
|
529
538
|
return this.request("GetDataSource", req, cb);
|
|
530
539
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.177";
|
|
@@ -2166,6 +2166,26 @@ export interface DescribeChangePwdTaskResponse {
|
|
|
2166
2166
|
* 系统安全设置
|
|
2167
2167
|
*/
|
|
2168
2168
|
export interface SecuritySetting {
|
|
2169
|
+
/**
|
|
2170
|
+
* 认证方式设置
|
|
2171
|
+
*/
|
|
2172
|
+
AuthMode?: AuthModeSetting;
|
|
2173
|
+
/**
|
|
2174
|
+
* 密码安全设置
|
|
2175
|
+
*/
|
|
2176
|
+
Password?: PasswordSetting;
|
|
2177
|
+
/**
|
|
2178
|
+
* 登录安全设置
|
|
2179
|
+
*/
|
|
2180
|
+
Login?: LoginSetting;
|
|
2181
|
+
/**
|
|
2182
|
+
* LDAP配置信息
|
|
2183
|
+
*/
|
|
2184
|
+
LDAP?: LDAPSetting;
|
|
2185
|
+
/**
|
|
2186
|
+
* OAuth配置信息
|
|
2187
|
+
*/
|
|
2188
|
+
OAuth?: OAuthSetting;
|
|
2169
2189
|
/**
|
|
2170
2190
|
* 国密认证方式设置
|
|
2171
2191
|
*/
|
|
@@ -2545,6 +2565,27 @@ export interface SearchAuditLogRequest {
|
|
|
2545
2565
|
*/
|
|
2546
2566
|
Limit?: number;
|
|
2547
2567
|
}
|
|
2568
|
+
/**
|
|
2569
|
+
* 密码要求设置。
|
|
2570
|
+
*/
|
|
2571
|
+
export interface PasswordSetting {
|
|
2572
|
+
/**
|
|
2573
|
+
* 密码最小长度,8-20,默认8。
|
|
2574
|
+
*/
|
|
2575
|
+
MinLength?: number;
|
|
2576
|
+
/**
|
|
2577
|
+
* 密码复杂度,0不限制,1包含字母和数字,2至少包括大写字母、小写字母、数字、特殊符号,默认2。
|
|
2578
|
+
*/
|
|
2579
|
+
Complexity?: number;
|
|
2580
|
+
/**
|
|
2581
|
+
* 密码有效期,0不限制,30天,90天,180天。
|
|
2582
|
+
*/
|
|
2583
|
+
ValidTerm?: number;
|
|
2584
|
+
/**
|
|
2585
|
+
* 检查最近n次密码设置是否存在相同密码,2-10,默认5。
|
|
2586
|
+
*/
|
|
2587
|
+
CheckHistory?: number;
|
|
2588
|
+
}
|
|
2548
2589
|
/**
|
|
2549
2590
|
* CreateResource返回参数结构体
|
|
2550
2591
|
*/
|
|
@@ -3252,6 +3293,27 @@ export interface DescribeOperationTaskRequest {
|
|
|
3252
3293
|
*/
|
|
3253
3294
|
Limit?: number;
|
|
3254
3295
|
}
|
|
3296
|
+
/**
|
|
3297
|
+
* 登录安全设置
|
|
3298
|
+
*/
|
|
3299
|
+
export interface LoginSetting {
|
|
3300
|
+
/**
|
|
3301
|
+
* 登录会话超时,10分钟,20分钟,30分钟,默认20分钟
|
|
3302
|
+
*/
|
|
3303
|
+
TimeOut: number;
|
|
3304
|
+
/**
|
|
3305
|
+
* 连续密码错误次数,超过锁定账号,3-5
|
|
3306
|
+
*/
|
|
3307
|
+
LockThreshold: number;
|
|
3308
|
+
/**
|
|
3309
|
+
* 账号锁定时长,10分钟,20分钟,30分钟
|
|
3310
|
+
*/
|
|
3311
|
+
LockTime: number;
|
|
3312
|
+
/**
|
|
3313
|
+
* 用户多少天不活跃,账号自动锁定
|
|
3314
|
+
*/
|
|
3315
|
+
InactiveUserLock?: number;
|
|
3316
|
+
}
|
|
3255
3317
|
/**
|
|
3256
3318
|
* DescribeLDAPUnitSet返回参数结构体
|
|
3257
3319
|
*/
|
|
@@ -4101,11 +4163,18 @@ export interface SearchFileBySidResponse {
|
|
|
4101
4163
|
*/
|
|
4102
4164
|
export interface ModifyAuthModeSettingRequest {
|
|
4103
4165
|
/**
|
|
4104
|
-
* 双因子认证,0
|
|
4166
|
+
* 双因子认证,0-不开启(暂停使用),1-OTP,2-短信,3-USB Key(只有ResourceType=1且AuthModeGM不传时有效,其他情况不能为3)
|
|
4167
|
+
备注:AuthMode和AuthModeGM至少有一个有效传参
|
|
4105
4168
|
*/
|
|
4106
|
-
AuthMode
|
|
4169
|
+
AuthMode?: number;
|
|
4107
4170
|
/**
|
|
4108
|
-
*
|
|
4171
|
+
* 国密双因子认证,0-不开启(暂停使用),1-OTP,2-短信,3-USB Key
|
|
4172
|
+
备注:AuthMode和AuthModeGM至少有一个有效传参,AuthModeGM优先级高于ResourceType
|
|
4173
|
+
*/
|
|
4174
|
+
AuthModeGM?: number;
|
|
4175
|
+
/**
|
|
4176
|
+
* 资源类型,0:普通(暂停使用,由AuthMode和AuthModeGM传参决定) 1:国密
|
|
4177
|
+
|
|
4109
4178
|
*/
|
|
4110
4179
|
ResourceType?: number;
|
|
4111
4180
|
}
|
|
@@ -4162,6 +4231,93 @@ export interface DescribeOperationEventRequest {
|
|
|
4162
4231
|
* SetLDAPSyncFlag请求参数结构体
|
|
4163
4232
|
*/
|
|
4164
4233
|
export type SetLDAPSyncFlagRequest = null;
|
|
4234
|
+
/**
|
|
4235
|
+
* LDAP配置信息
|
|
4236
|
+
*/
|
|
4237
|
+
export interface LDAPSetting {
|
|
4238
|
+
/**
|
|
4239
|
+
* 是否开启LDAP认证,false-不开启,true-开启
|
|
4240
|
+
*/
|
|
4241
|
+
Enable?: boolean;
|
|
4242
|
+
/**
|
|
4243
|
+
* 服务器地址
|
|
4244
|
+
*/
|
|
4245
|
+
Ip?: string;
|
|
4246
|
+
/**
|
|
4247
|
+
* 备用服务器地址
|
|
4248
|
+
*/
|
|
4249
|
+
IpBackup?: string;
|
|
4250
|
+
/**
|
|
4251
|
+
* 服务端口
|
|
4252
|
+
*/
|
|
4253
|
+
Port?: number;
|
|
4254
|
+
/**
|
|
4255
|
+
* 是否开启SSL,false-不开启,true-开启
|
|
4256
|
+
*/
|
|
4257
|
+
EnableSSL?: boolean;
|
|
4258
|
+
/**
|
|
4259
|
+
* Base DN
|
|
4260
|
+
*/
|
|
4261
|
+
BaseDN?: string;
|
|
4262
|
+
/**
|
|
4263
|
+
* 管理员账号
|
|
4264
|
+
*/
|
|
4265
|
+
AdminAccount?: string;
|
|
4266
|
+
/**
|
|
4267
|
+
* 用户属性
|
|
4268
|
+
*/
|
|
4269
|
+
AttributeUser?: string;
|
|
4270
|
+
/**
|
|
4271
|
+
* 用户名属性
|
|
4272
|
+
*/
|
|
4273
|
+
AttributeUserName?: string;
|
|
4274
|
+
/**
|
|
4275
|
+
* 自动同步,false-不开启,true-开启
|
|
4276
|
+
*/
|
|
4277
|
+
AutoSync?: boolean;
|
|
4278
|
+
/**
|
|
4279
|
+
* 覆盖用户信息,false-不开启,true-开启
|
|
4280
|
+
*/
|
|
4281
|
+
Overwrite?: boolean;
|
|
4282
|
+
/**
|
|
4283
|
+
* 同步周期,30~60000之间的整数
|
|
4284
|
+
*/
|
|
4285
|
+
SyncPeriod?: number;
|
|
4286
|
+
/**
|
|
4287
|
+
* 是否同步全部,false-不开启,true-开启
|
|
4288
|
+
*/
|
|
4289
|
+
SyncAll?: boolean;
|
|
4290
|
+
/**
|
|
4291
|
+
* 同步OU列表
|
|
4292
|
+
*/
|
|
4293
|
+
SyncUnitSet?: Array<string>;
|
|
4294
|
+
/**
|
|
4295
|
+
* 组织单元属性
|
|
4296
|
+
*/
|
|
4297
|
+
AttributeUnit?: string;
|
|
4298
|
+
/**
|
|
4299
|
+
* 用户姓名属性
|
|
4300
|
+
*/
|
|
4301
|
+
AttributeRealName?: string;
|
|
4302
|
+
/**
|
|
4303
|
+
* 手机号属性
|
|
4304
|
+
*/
|
|
4305
|
+
AttributePhone?: string;
|
|
4306
|
+
/**
|
|
4307
|
+
* 邮箱属性
|
|
4308
|
+
*/
|
|
4309
|
+
AttributeEmail?: string;
|
|
4310
|
+
/**
|
|
4311
|
+
* 请求LDAP服务的堡垒机实例
|
|
4312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4313
|
+
*/
|
|
4314
|
+
ResourceId?: string;
|
|
4315
|
+
/**
|
|
4316
|
+
* 网络域Id
|
|
4317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4318
|
+
*/
|
|
4319
|
+
DomainId?: string;
|
|
4320
|
+
}
|
|
4165
4321
|
/**
|
|
4166
4322
|
* ModifyDevice返回参数结构体
|
|
4167
4323
|
*/
|
|
@@ -4684,6 +4840,39 @@ export interface LoginEvent {
|
|
|
4684
4840
|
*/
|
|
4685
4841
|
Result?: number;
|
|
4686
4842
|
}
|
|
4843
|
+
/**
|
|
4844
|
+
* OAuth认证配置
|
|
4845
|
+
*/
|
|
4846
|
+
export interface OAuthSetting {
|
|
4847
|
+
/**
|
|
4848
|
+
* 是否开启OAuth认证
|
|
4849
|
+
*/
|
|
4850
|
+
Enable?: boolean;
|
|
4851
|
+
/**
|
|
4852
|
+
* OAuth认证方式。
|
|
4853
|
+
*/
|
|
4854
|
+
AuthMethod?: string;
|
|
4855
|
+
/**
|
|
4856
|
+
* OAuth认证客户端Id。
|
|
4857
|
+
*/
|
|
4858
|
+
ClientId?: string;
|
|
4859
|
+
/**
|
|
4860
|
+
* 获取OAuth认证授权码URL。
|
|
4861
|
+
*/
|
|
4862
|
+
CodeUrl?: string;
|
|
4863
|
+
/**
|
|
4864
|
+
* 获取OAuth令牌URL。
|
|
4865
|
+
*/
|
|
4866
|
+
TokenUrl?: string;
|
|
4867
|
+
/**
|
|
4868
|
+
* 获取OAuth用户信息URL。
|
|
4869
|
+
*/
|
|
4870
|
+
UserInfoUrl?: string;
|
|
4871
|
+
/**
|
|
4872
|
+
* 使用Okta认证时指定范围。
|
|
4873
|
+
*/
|
|
4874
|
+
Scopes?: Array<string>;
|
|
4875
|
+
}
|
|
4687
4876
|
/**
|
|
4688
4877
|
* 运维资产重连次数
|
|
4689
4878
|
*/
|
|
@@ -5936,6 +6125,10 @@ export interface DescribeDeviceGroupMembersRequest {
|
|
|
5936
6125
|
* 资产名或资产IP,模糊查询
|
|
5937
6126
|
*/
|
|
5938
6127
|
Name?: string;
|
|
6128
|
+
/**
|
|
6129
|
+
* 主机绑定的堡垒机服务ID集合 未绑定的通过Filters进行传递
|
|
6130
|
+
*/
|
|
6131
|
+
ResourceIdSet?: Array<string>;
|
|
5939
6132
|
/**
|
|
5940
6133
|
* 分页偏移位置,默认值为0
|
|
5941
6134
|
*/
|
|
@@ -5956,6 +6149,10 @@ export interface DescribeDeviceGroupMembersRequest {
|
|
|
5956
6149
|
* 所属部门ID
|
|
5957
6150
|
*/
|
|
5958
6151
|
DepartmentId?: string;
|
|
6152
|
+
/**
|
|
6153
|
+
* 过滤条件,支持 BindingStatus|VpcId |InstanceId |DeviceAccount |ManageDimension|DomainId|Ip|Name
|
|
6154
|
+
*/
|
|
6155
|
+
Filters?: Array<Filter>;
|
|
5959
6156
|
/**
|
|
5960
6157
|
* 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
|
|
5961
6158
|
*/
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateAllocationUnitRequest, DescribeBillAdjustInfoResponse, DescribeCostSummaryByProductRequest, DescribeBudgetResponse, DescribeCostExplorerSummaryResponse, ModifyGatherRuleRequest, ModifyAllocationRuleRequest, DeleteAllocationRuleRequest, CreateAllocationRuleResponse, CreateInstanceResponse, DescribeBudgetRequest, DescribeCostExplorerSummaryRequest, DescribeCostSummaryByProductResponse, DescribeAllocationTreeResponse, DescribeBillDetailForOrganizationResponse, DescribeCostSummaryByResourceResponse, DescribeBillSummaryByRegionRequest, CreateBudgetRequest, DescribeBillListResponse, DescribeAllocateConditionsRequest, CreateAllocationRuleRequest, DeleteBudgetResponse, DescribeBillSummaryRequest, DescribeBillResourceSummaryResponse, DescribeGatherRuleDetailRequest, DescribeAllocationOverviewResponse, DescribeDosageCosDetailByDateRequest, DeleteAllocationTagRequest, DescribeCostSummaryByTagRequest, DescribeBillSummaryByProductRequest, DescribeDosageDetailListResponse, DescribeAllocationBillDetailRequest, DescribeBillListRequest, DescribeAllocationTrendByMonthRequest, DescribeVoucherUsageDetailsResponse, DescribeAccountBalanceResponse, DescribeGatherResourceResponse, DescribeAllocationSummaryByResourceRequest, DescribeCostDetailResponse, DescribeAllocationMonthOverviewResponse, DescribeAllocationSummaryByItemResponse, DescribeDosageDetailByDateRequest, ModifyBudgetResponse, DescribeGatherResourceRequest, DescribeCostSummaryByProjectResponse, DescribeBillSummaryByTagResponse, ModifyAllocationRuleResponse, DescribeAllocationUnitDetailResponse, DescribeAllocationSummaryByBusinessResponse, DescribeAllocationSummaryByItemRequest, DescribeBillSummaryByTagRequest, DescribeAllocationRuleSummaryResponse, DescribeBillSummaryByProjectRequest, CreateGatherRuleRequest, DescribeBillResourceSummaryForOrganizationRequest, DescribeDosageDetailByDateResponse, DescribeBudgetRemindRecordListRequest, DescribeCostSummaryByRegionRequest, DescribeBillDownloadUrlRequest, DescribeAllocationOverviewRequest, DescribeAllocationSummaryByBusinessRequest, CreateBudgetResponse, DescribeBillSummaryByPayModeRequest, DeleteGatherRuleResponse, DescribeAllocationBillConditionsRequest, DescribeAllocationRuleDetailRequest, PayDealsResponse, DescribeCostSummaryByProjectRequest, DescribeBillDetailResponse, DescribeDealsByCondResponse, DescribeBillSummaryByProjectResponse, DescribeBillAdjustInfoRequest, DeleteAllocationRuleResponse, PayDealsRequest, DescribeAllocationBillConditionsResponse, RenewInstanceResponse, DescribeAllocationMonthOverviewRequest, DescribeBillSummaryResponse, RefundInstanceRequest, DescribeBudgetOperationLogResponse, DescribeAllocationUnitDetailRequest, DescribeBillSummaryForOrganizationRequest, CreateInstanceRequest, ModifyBudgetRequest, DescribeBillDetailForOrganizationRequest, DescribeVoucherUsageDetailsRequest, DescribeBillResourceSummaryRequest, DescribeCostSummaryByRegionResponse, DescribeCostDetailRequest, RenewInstanceRequest, DescribeBillSummaryForOrganizationResponse, DescribeTagListRequest, DescribeBillResourceSummaryForOrganizationResponse, DescribeAllocationTreeRequest, DescribeCostSummaryByResourceRequest, CreateAllocationTagRequest, DescribeAllocationRuleDetailResponse, DescribeBillSummaryByPayModeResponse, DeleteAllocationTagResponse, DescribeBudgetOperationLogRequest, DescribeBillSummaryByProductResponse, DescribeAllocationRuleSummaryRequest, CreateAllocationTagResponse,
|
|
3
|
+
import { CreateAllocationUnitRequest, DescribeBillAdjustInfoResponse, DescribeCostSummaryByProductRequest, DescribeBudgetResponse, DescribeCostExplorerSummaryResponse, ModifyGatherRuleRequest, ModifyAllocationRuleRequest, DeleteAllocationRuleRequest, CreateAllocationRuleResponse, CreateInstanceResponse, DescribeBudgetRequest, DescribeCostExplorerSummaryRequest, DescribeCostSummaryByProductResponse, DescribeAllocationTreeResponse, DescribeBillDetailForOrganizationResponse, DescribeCostSummaryByResourceResponse, DescribeBillSummaryByRegionRequest, CreateBudgetRequest, DescribeBillListResponse, DescribeAllocateConditionsRequest, CreateAllocationRuleRequest, DeleteBudgetResponse, DescribeBillSummaryRequest, DescribeBillResourceSummaryResponse, DescribeGatherRuleDetailRequest, DescribeAllocationOverviewResponse, DescribeDosageCosDetailByDateRequest, DeleteAllocationTagRequest, DescribeCostSummaryByTagRequest, DescribeBillSummaryByProductRequest, DescribeDosageDetailListResponse, DescribeAllocationBillDetailRequest, DescribeBillListRequest, DescribeAllocationTrendByMonthRequest, DescribeVoucherUsageDetailsResponse, DescribeAccountBalanceResponse, DescribeGatherResourceResponse, DescribeAllocationSummaryByResourceRequest, DescribeCostDetailResponse, DescribeAllocationMonthOverviewResponse, DescribeAllocationSummaryByItemResponse, DescribeDosageDetailByDateRequest, ModifyBudgetResponse, DescribeGatherResourceRequest, DescribeCostSummaryByProjectResponse, DescribeBillSummaryByTagResponse, ModifyAllocationRuleResponse, DescribeAllocationUnitDetailResponse, DescribeAllocationSummaryByBusinessResponse, DescribeAllocationSummaryByItemRequest, DescribeBillSummaryByTagRequest, DescribeAllocationRuleSummaryResponse, DescribeBillSummaryByProjectRequest, CreateGatherRuleRequest, DescribeBillResourceSummaryForOrganizationRequest, DescribeDosageDetailByDateResponse, DescribeBudgetRemindRecordListRequest, DescribeCostSummaryByRegionRequest, DescribeBillDownloadUrlRequest, DescribeAllocationOverviewRequest, DescribeAllocationSummaryByBusinessRequest, CreateBudgetResponse, DescribeBillSummaryByPayModeRequest, DeleteGatherRuleResponse, DescribeAllocationBillConditionsRequest, DescribeAllocationRuleDetailRequest, PayDealsResponse, DescribeCostSummaryByProjectRequest, ModifyAllocationUnitRequest, DescribeBillDetailResponse, DescribeDealsByCondResponse, DescribeBillSummaryByProjectResponse, DescribeBillAdjustInfoRequest, DeleteAllocationRuleResponse, DescribeRenewInstancesRequest, PayDealsRequest, DescribeAllocationBillConditionsResponse, RenewInstanceResponse, DescribeAllocationMonthOverviewRequest, DescribeBillSummaryResponse, RefundInstanceRequest, DescribeBudgetOperationLogResponse, DescribeAllocationUnitDetailRequest, DescribeBillSummaryForOrganizationRequest, CreateInstanceRequest, ModifyBudgetRequest, DescribeBillDetailForOrganizationRequest, DescribeVoucherUsageDetailsRequest, DescribeBillResourceSummaryRequest, DescribeRenewInstancesResponse, DescribeCostSummaryByRegionResponse, DescribeCostDetailRequest, RenewInstanceRequest, DescribeBillSummaryForOrganizationResponse, DescribeTagListRequest, DescribeBillResourceSummaryForOrganizationResponse, DescribeAllocationTreeRequest, DescribeCostSummaryByResourceRequest, CreateAllocationTagRequest, DescribeAllocationRuleDetailResponse, DescribeBillSummaryByPayModeResponse, DeleteAllocationTagResponse, DescribeBudgetOperationLogRequest, DescribeBillSummaryByProductResponse, DescribeAllocationRuleSummaryRequest, CreateAllocationTagResponse, DescribeBillDownloadUrlResponse, ModifyGatherRuleResponse, DescribeAccountBalanceRequest, DescribeBillDetailRequest, DescribeCostSummaryByTagResponse, DescribeSavingPlanResourceInfoRequest, DescribeVoucherInfoResponse, DeleteGatherRuleRequest, DescribeAllocationBillDetailResponse, CreateGatherRuleResponse, DescribeAllocateConditionsResponse, DescribeVoucherInfoRequest, DescribeDosageDetailListRequest, DescribeBudgetRemindRecordListResponse, DescribeBillSummaryByRegionResponse, DeleteBudgetRequest, DescribeSavingPlanResourceInfoResponse, DescribeDealsByCondRequest, DescribeAllocationSummaryByResourceResponse, CreateAllocationUnitResponse, DescribeDosageCosDetailByDateResponse, DeleteAllocationUnitRequest, RefundInstanceResponse, DeleteAllocationUnitResponse, DescribeTagListResponse, DescribeAllocationTrendByMonthResponse, ModifyAllocationUnitResponse, DescribeGatherRuleDetailResponse } from "./billing_models";
|
|
4
4
|
/**
|
|
5
5
|
* billing client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 注意事项:
|
|
12
|
+
1、本接口支持查询已接入续费管理页的包年包月实例,包括运行中、已隔离(部分产品不支持)
|
|
13
|
+
2、子用户使用该接口时,应具备QcloudFinanceRenewManageFullAccess权限策略。
|
|
14
|
+
*/
|
|
15
|
+
DescribeRenewInstances(req: DescribeRenewInstancesRequest, cb?: (error: string, rep: DescribeRenewInstancesResponse) => void): Promise<DescribeRenewInstancesResponse>;
|
|
10
16
|
/**
|
|
11
17
|
* 成员账号获取管理账号代付账单(费用明细)。
|
|
12
18
|
注意事项:在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
|
|
@@ -27,6 +27,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("billing.tencentcloudapi.com", "2018-07-09", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 注意事项:
|
|
32
|
+
1、本接口支持查询已接入续费管理页的包年包月实例,包括运行中、已隔离(部分产品不支持)
|
|
33
|
+
2、子用户使用该接口时,应具备QcloudFinanceRenewManageFullAccess权限策略。
|
|
34
|
+
*/
|
|
35
|
+
async DescribeRenewInstances(req, cb) {
|
|
36
|
+
return this.request("DescribeRenewInstances", req, cb);
|
|
37
|
+
}
|
|
30
38
|
/**
|
|
31
39
|
* 成员账号获取管理账号代付账单(费用明细)。
|
|
32
40
|
注意事项:在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
|
|
@@ -3114,6 +3114,73 @@ export interface BillDays {
|
|
|
3114
3114
|
*/
|
|
3115
3115
|
BillDay: string;
|
|
3116
3116
|
}
|
|
3117
|
+
/**
|
|
3118
|
+
* 资源实例信息
|
|
3119
|
+
*/
|
|
3120
|
+
export interface RenewInstance {
|
|
3121
|
+
/**
|
|
3122
|
+
* 实例ID
|
|
3123
|
+
*/
|
|
3124
|
+
InstanceId?: string;
|
|
3125
|
+
/**
|
|
3126
|
+
* 产品编码
|
|
3127
|
+
*/
|
|
3128
|
+
ProductCode?: string;
|
|
3129
|
+
/**
|
|
3130
|
+
* 子产品编码
|
|
3131
|
+
*/
|
|
3132
|
+
SubProductCode?: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* 地域编码
|
|
3135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3136
|
+
*/
|
|
3137
|
+
RegionCode?: string;
|
|
3138
|
+
/**
|
|
3139
|
+
* 实例状态:
|
|
3140
|
+
NORMAL 正常,
|
|
3141
|
+
ISOLATED 已隔离
|
|
3142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3143
|
+
*/
|
|
3144
|
+
Status?: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* 续费标识:
|
|
3147
|
+
NOTIFY_AND_MANUAL_RENEW 手动续费,
|
|
3148
|
+
NOTIFY_AND_AUTO_RENEW 自动续费,
|
|
3149
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW 到期不续
|
|
3150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3151
|
+
*/
|
|
3152
|
+
RenewFlag?: string;
|
|
3153
|
+
/**
|
|
3154
|
+
* 实例到期时间
|
|
3155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3156
|
+
*/
|
|
3157
|
+
ExpireTime?: string;
|
|
3158
|
+
/**
|
|
3159
|
+
* 实例别名:用户在控制台为实例设置的名称,如果未设置,则默认为空
|
|
3160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3161
|
+
*/
|
|
3162
|
+
InstanceName?: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
|
3165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3166
|
+
*/
|
|
3167
|
+
ProductName?: string;
|
|
3168
|
+
/**
|
|
3169
|
+
* 项目名称:实例归属的项目,用户在控制台给实例自主分配项目,未分配则是默认项目
|
|
3170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3171
|
+
*/
|
|
3172
|
+
ProjectName?: string;
|
|
3173
|
+
/**
|
|
3174
|
+
* 自动续费周期长度
|
|
3175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3176
|
+
*/
|
|
3177
|
+
RenewPeriod?: number;
|
|
3178
|
+
/**
|
|
3179
|
+
* 自动续费周期单位:y 年,m 月
|
|
3180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3181
|
+
*/
|
|
3182
|
+
RenewPeriodUnit?: string;
|
|
3183
|
+
}
|
|
3117
3184
|
/**
|
|
3118
3185
|
* DescribeAllocationRuleSummary返回参数结构体
|
|
3119
3186
|
*/
|
|
@@ -3968,6 +4035,35 @@ export interface DescribeCostSummaryByProjectRequest {
|
|
|
3968
4035
|
*/
|
|
3969
4036
|
NeedRecordNum?: number;
|
|
3970
4037
|
}
|
|
4038
|
+
/**
|
|
4039
|
+
* ModifyAllocationUnit请求参数结构体
|
|
4040
|
+
*/
|
|
4041
|
+
export interface ModifyAllocationUnitRequest {
|
|
4042
|
+
/**
|
|
4043
|
+
* 所修改分账单元ID
|
|
4044
|
+
*/
|
|
4045
|
+
Id: number;
|
|
4046
|
+
/**
|
|
4047
|
+
* 修改后分账单元名称
|
|
4048
|
+
*/
|
|
4049
|
+
Name?: string;
|
|
4050
|
+
/**
|
|
4051
|
+
* 修改后分账单元源组织名称
|
|
4052
|
+
*/
|
|
4053
|
+
SourceName?: string;
|
|
4054
|
+
/**
|
|
4055
|
+
* 修改后分账单元源组织ID
|
|
4056
|
+
*/
|
|
4057
|
+
SourceId?: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* 分账单元备注说明
|
|
4060
|
+
*/
|
|
4061
|
+
Remark?: string;
|
|
4062
|
+
/**
|
|
4063
|
+
* 月份,不传默认当前月
|
|
4064
|
+
*/
|
|
4065
|
+
Month?: string;
|
|
4066
|
+
}
|
|
3971
4067
|
/**
|
|
3972
4068
|
* 明细账单关联单据信息
|
|
3973
4069
|
*/
|
|
@@ -4405,6 +4501,44 @@ export interface TagDataInfo {
|
|
|
4405
4501
|
*/
|
|
4406
4502
|
UpdateTime?: string;
|
|
4407
4503
|
}
|
|
4504
|
+
/**
|
|
4505
|
+
* DescribeRenewInstances请求参数结构体
|
|
4506
|
+
*/
|
|
4507
|
+
export interface DescribeRenewInstancesRequest {
|
|
4508
|
+
/**
|
|
4509
|
+
* 每页的最大实例条数。 取值范围:1~100。
|
|
4510
|
+
*/
|
|
4511
|
+
MaxResults: number;
|
|
4512
|
+
/**
|
|
4513
|
+
* 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。
|
|
4514
|
+
*/
|
|
4515
|
+
NextToken?: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* 获取实例的排序方向。枚举值如下:
|
|
4518
|
+
false=正序(默认)
|
|
4519
|
+
true=倒序
|
|
4520
|
+
*/
|
|
4521
|
+
Reverse?: boolean;
|
|
4522
|
+
/**
|
|
4523
|
+
* 续费标识。多个值用英文逗号分隔。枚举值如下:
|
|
4524
|
+
NOTIFY_AND_MANUAL_RENEW:手动续费
|
|
4525
|
+
NOTIFY_AND_AUTO_RENEW:自动续费
|
|
4526
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续
|
|
4527
|
+
*/
|
|
4528
|
+
RenewFlagList?: Array<string>;
|
|
4529
|
+
/**
|
|
4530
|
+
* 实例ID。多个ID用英文逗号分隔,最多不超过100个。
|
|
4531
|
+
*/
|
|
4532
|
+
InstanceIdList?: Array<string>;
|
|
4533
|
+
/**
|
|
4534
|
+
* 到期时间段起,格式为yyyy-MM-dd HH:mm:ss。
|
|
4535
|
+
*/
|
|
4536
|
+
ExpireTimeStart?: string;
|
|
4537
|
+
/**
|
|
4538
|
+
* 到期时间段止,格式为yyyy-MM-dd HH:mm:ss。
|
|
4539
|
+
*/
|
|
4540
|
+
ExpireTimeEnd?: string;
|
|
4541
|
+
}
|
|
4408
4542
|
/**
|
|
4409
4543
|
* PayDeals请求参数结构体
|
|
4410
4544
|
*/
|
|
@@ -6008,21 +6142,22 @@ export interface DescribeBillResourceSummaryRequest {
|
|
|
6008
6142
|
TagValue?: string;
|
|
6009
6143
|
}
|
|
6010
6144
|
/**
|
|
6011
|
-
*
|
|
6145
|
+
* DescribeRenewInstances返回参数结构体
|
|
6012
6146
|
*/
|
|
6013
|
-
export interface
|
|
6147
|
+
export interface DescribeRenewInstancesResponse {
|
|
6014
6148
|
/**
|
|
6015
|
-
*
|
|
6149
|
+
* 实例汇总列表。
|
|
6016
6150
|
*/
|
|
6017
|
-
|
|
6151
|
+
InstanceList?: Array<RenewInstance>;
|
|
6018
6152
|
/**
|
|
6019
|
-
*
|
|
6153
|
+
* 查询返回结果下一页的令牌。
|
|
6154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6020
6155
|
*/
|
|
6021
|
-
|
|
6156
|
+
NextToken?: string;
|
|
6022
6157
|
/**
|
|
6023
|
-
*
|
|
6158
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6024
6159
|
*/
|
|
6025
|
-
|
|
6160
|
+
RequestId?: string;
|
|
6026
6161
|
}
|
|
6027
6162
|
/**
|
|
6028
6163
|
* 账单明细组件对象
|
|
@@ -6982,33 +7117,21 @@ export interface CreateAllocationTagResponse {
|
|
|
6982
7117
|
RequestId?: string;
|
|
6983
7118
|
}
|
|
6984
7119
|
/**
|
|
6985
|
-
*
|
|
7120
|
+
* 由域名和使用明细组成的数据结构
|
|
6986
7121
|
*/
|
|
6987
|
-
export interface
|
|
6988
|
-
/**
|
|
6989
|
-
* 所修改分账单元ID
|
|
6990
|
-
*/
|
|
6991
|
-
Id: number;
|
|
6992
|
-
/**
|
|
6993
|
-
* 修改后分账单元名称
|
|
6994
|
-
*/
|
|
6995
|
-
Name?: string;
|
|
6996
|
-
/**
|
|
6997
|
-
* 修改后分账单元源组织名称
|
|
6998
|
-
*/
|
|
6999
|
-
SourceName?: string;
|
|
7122
|
+
export interface DetailSet {
|
|
7000
7123
|
/**
|
|
7001
|
-
*
|
|
7124
|
+
* 域名
|
|
7002
7125
|
*/
|
|
7003
|
-
|
|
7126
|
+
Domain?: string;
|
|
7004
7127
|
/**
|
|
7005
|
-
*
|
|
7128
|
+
* 使用数据明细
|
|
7006
7129
|
*/
|
|
7007
|
-
|
|
7130
|
+
DetailPoints?: Array<DetailPoint>;
|
|
7008
7131
|
/**
|
|
7009
|
-
*
|
|
7132
|
+
* 实例ID
|
|
7010
7133
|
*/
|
|
7011
|
-
|
|
7134
|
+
InstanceID?: string;
|
|
7012
7135
|
}
|
|
7013
7136
|
/**
|
|
7014
7137
|
* DescribeBillDownloadUrl返回参数结构体
|
|
@@ -378,7 +378,7 @@ export interface CreateSiteResponse {
|
|
|
378
378
|
*/
|
|
379
379
|
export interface DescribeDedicatedSupportedZonesResponse {
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* <p>支持的可用区列表</p>
|
|
382
382
|
*/
|
|
383
383
|
ZoneSet?: Array<RegionZoneInfo>;
|
|
384
384
|
/**
|
|
@@ -624,7 +624,7 @@ export interface CreateSiteRequest {
|
|
|
624
624
|
*/
|
|
625
625
|
export interface DescribeDedicatedSupportedZonesRequest {
|
|
626
626
|
/**
|
|
627
|
-
*
|
|
627
|
+
* <p>传入region列表</p>
|
|
628
628
|
*/
|
|
629
629
|
Regions?: Array<number | bigint>;
|
|
630
630
|
}
|