tencentcloud-sdk-nodejs-ga2 4.1.200 → 4.1.206

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.
@@ -3,6 +3,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
3
3
  constructor(clientConfig) {
4
4
  super("ga2.tencentcloudapi.com", "2025-01-15", clientConfig);
5
5
  }
6
+ async CreateGlobalAccelerator(req, cb) {
7
+ return this.request("CreateGlobalAccelerator", req, cb);
8
+ }
6
9
  async DescribeCrossBorderSettlement(req, cb) {
7
10
  return this.request("DescribeCrossBorderSettlement", req, cb);
8
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ga2",
3
- "version": "4.1.200",
3
+ "version": "4.1.206",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,11 +1,15 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeCrossBorderSettlementRequest, DescribeCrossBorderSettlementResponse } from "./ga2_models";
2
+ import { CreateGlobalAcceleratorResponse, CreateGlobalAcceleratorRequest, DescribeCrossBorderSettlementRequest, DescribeCrossBorderSettlementResponse } from "./ga2_models";
3
3
  /**
4
4
  * ga2 client
5
5
  * @class
6
6
  */
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
+ /**
10
+ * 创建全球加速实例
11
+ */
12
+ CreateGlobalAccelerator(req: CreateGlobalAcceleratorRequest, cb?: (error: string, rep: CreateGlobalAcceleratorResponse) => void): Promise<CreateGlobalAcceleratorResponse>;
9
13
  /**
10
14
  * 查询跨境账单
11
15
  */
@@ -28,6 +28,12 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  constructor(clientConfig) {
29
29
  super("ga2.tencentcloudapi.com", "2025-01-15", clientConfig);
30
30
  }
31
+ /**
32
+ * 创建全球加速实例
33
+ */
34
+ async CreateGlobalAccelerator(req, cb) {
35
+ return this.request("CreateGlobalAccelerator", req, cb);
36
+ }
31
37
  /**
32
38
  * 查询跨境账单
33
39
  */
@@ -1,3 +1,62 @@
1
+ /**
2
+ * CreateGlobalAccelerator返回参数结构体
3
+ */
4
+ export interface CreateGlobalAcceleratorResponse {
5
+ /**
6
+ * <p>任务ID。</p>
7
+ */
8
+ TaskId?: string;
9
+ /**
10
+ * <p>全球加速实例ID。</p>
11
+ */
12
+ GlobalAcceleratorId?: string;
13
+ /**
14
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15
+ */
16
+ RequestId?: string;
17
+ }
18
+ /**
19
+ * 标签键值对
20
+ */
21
+ export interface Tag {
22
+ /**
23
+ * 标签键
24
+ */
25
+ Key: string;
26
+ /**
27
+ * 标签值
28
+ */
29
+ Value: string;
30
+ }
31
+ /**
32
+ * CreateGlobalAccelerator请求参数结构体
33
+ */
34
+ export interface CreateGlobalAcceleratorRequest {
35
+ /**
36
+ * <p>名称,最大长度不能超过60个字节。</p>
37
+ */
38
+ Name: string;
39
+ /**
40
+ * <p>计费模式,PREPAID:表示预付费,即包年包月,POSTPAID:表示后付费,即按量计费。默认:POSTPAID。当前仅支持后付费。</p>
41
+ */
42
+ InstanceChargeType?: string;
43
+ /**
44
+ * <p>描述信息,最大长度不能超过100个字节。</p>
45
+ */
46
+ Description?: string;
47
+ /**
48
+ * <p>跨境类型;HighQuality:精品BGP-IP跨境;Unicom:联通专线跨境。</p>
49
+ */
50
+ CrossBorderType?: string;
51
+ /**
52
+ * <p>此Flag代表签署跨境服务承诺书。当使用跨境服务时候,此字段必传。True:代表签署。</p>
53
+ */
54
+ CrossBorderPromiseFlag?: boolean;
55
+ /**
56
+ * <p>标签信息</p>
57
+ */
58
+ Tags?: Array<Tag>;
59
+ }
1
60
  /**
2
61
  * DescribeCrossBorderSettlement请求参数结构体
3
62
  */