@huaweicloud/huaweicloud-sdk-cdn 3.1.118 → 3.1.120

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cdn",
3
- "version": "3.1.118",
3
+ "version": "3.1.120",
4
4
  "description": "Huaweicloud SDK for cdn",
5
5
  "main": "huaweicloud-sdk-cdn.js",
6
6
  "typings": "huaweicloud-sdk-cdn.d.ts",
@@ -14,7 +14,7 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.118"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.120"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^14.14.37",
package/v2/CdnClient.d.ts CHANGED
@@ -600,8 +600,8 @@ export declare class CdnClient {
600
600
  * Please refer to HUAWEI cloud API Explorer for details.
601
601
  *
602
602
  * @summary 查询刷新预热URL记录
603
- * @param {number} [startTime] 起始时间戳(毫秒),默认当天00:00
604
- * @param {number} [endTime] 结束时间戳(毫秒),默认次日00:00
603
+ * @param {number} [startTime] 查询起始时间戳(毫秒),不传默认当天00:00,需与结束时间戳同时指定,时间跨度不能超过24小时。
604
+ * @param {number} [endTime] 查询结束时间戳(毫秒),不传默认次日00:00,需与开始时间戳同时指定,时间跨度不能超过24小时。
605
605
  * @param {number} [offset] 偏移量:特定数据字段与起始数据字段位置的距离,默认为0。
606
606
  * @param {number} [limit] 单次查询数据条数,上限为100,默认为10。
607
607
  * @param {string} [url] 刷新预热url。
package/v2/CdnClient.js CHANGED
@@ -716,8 +716,8 @@ class CdnClient {
716
716
  * Please refer to HUAWEI cloud API Explorer for details.
717
717
  *
718
718
  * @summary 查询刷新预热URL记录
719
- * @param {number} [startTime] 起始时间戳(毫秒),默认当天00:00
720
- * @param {number} [endTime] 结束时间戳(毫秒),默认次日00:00
719
+ * @param {number} [startTime] 查询起始时间戳(毫秒),不传默认当天00:00,需与结束时间戳同时指定,时间跨度不能超过24小时。
720
+ * @param {number} [endTime] 查询结束时间戳(毫秒),不传默认次日00:00,需与开始时间戳同时指定,时间跨度不能超过24小时。
721
721
  * @param {number} [offset] 偏移量:特定数据字段与起始数据字段位置的距离,默认为0。
722
722
  * @param {number} [limit] 单次查询数据条数,上限为100,默认为10。
723
723
  * @param {string} [url] 刷新预热url。
@@ -5,6 +5,8 @@ export declare class SourcesRequestBody {
5
5
  private 'obs_bucket_type'?;
6
6
  private 'active_standby'?;
7
7
  private 'enable_obs_web_hosting'?;
8
+ private 'http_port'?;
9
+ private 'https_port'?;
8
10
  constructor(ipOrDomain?: string, originType?: string, activeStandby?: number);
9
11
  withDomainId(domainId: string): SourcesRequestBody;
10
12
  set domainId(domainId: string | undefined);
@@ -24,6 +26,12 @@ export declare class SourcesRequestBody {
24
26
  withEnableObsWebHosting(enableObsWebHosting: number): SourcesRequestBody;
25
27
  set enableObsWebHosting(enableObsWebHosting: number | undefined);
26
28
  get enableObsWebHosting(): number | undefined;
29
+ withHttpPort(httpPort: number): SourcesRequestBody;
30
+ set httpPort(httpPort: number | undefined);
31
+ get httpPort(): number | undefined;
32
+ withHttpsPort(httpsPort: number): SourcesRequestBody;
33
+ set httpsPort(httpsPort: number | undefined);
34
+ get httpsPort(): number | undefined;
27
35
  }
28
36
  /**
29
37
  * @export
@@ -1 +1 @@
1
- {"version":3,"file":"SourcesRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/SourcesRequestBody.ts"],"names":[],"mappings":"AAEA,qBAAa,kBAAkB;IAC3B,OAAO,CAAC,WAAW,CAAC,CAAS;IAC7B,OAAO,CAAC,cAAc,CAAC,CAAS;IAChC,OAAO,CAAC,aAAa,CAAC,CAA4C;IAClE,OAAO,CAAC,iBAAiB,CAAC,CAAS;IACnC,OAAO,CAAC,gBAAgB,CAAC,CAAS;IAClC,OAAO,CAAC,wBAAwB,CAAC,CAAS;gBACvB,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kB;IAInE,IAAW,aAAa,CAAC,aAAa,EAAE,MAAM,GAAI,SAAS,EAE1D;IACD,IAAW,aAAa,IAAI,MAAM,GAAG,SAAS,CAE7C;IACM,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,kBAAkB;IAI/E,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB;IAIzD,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB;IAI3D,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;CACJ;AAED;;;MAGM;AACN,oBAAY,gCAAgC;IACxC,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,UAAU,eAAe;CAC5B"}
@@ -67,6 +67,26 @@ class SourcesRequestBody {
67
67
  get enableObsWebHosting() {
68
68
  return this['enable_obs_web_hosting'];
69
69
  }
70
+ withHttpPort(httpPort) {
71
+ this['http_port'] = httpPort;
72
+ return this;
73
+ }
74
+ set httpPort(httpPort) {
75
+ this['http_port'] = httpPort;
76
+ }
77
+ get httpPort() {
78
+ return this['http_port'];
79
+ }
80
+ withHttpsPort(httpsPort) {
81
+ this['https_port'] = httpsPort;
82
+ return this;
83
+ }
84
+ set httpsPort(httpsPort) {
85
+ this['https_port'] = httpsPort;
86
+ }
87
+ get httpsPort() {
88
+ return this['https_port'];
89
+ }
70
90
  }
71
91
  exports.SourcesRequestBody = SourcesRequestBody;
72
92
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SourcesRequestBody.js","sourceRoot":"","sources":["../../../../../services/cdn/v2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,IAAI,CAAC,iBAAiB,CAAC,GAAG,aAAa,CAAC;IAC5C,CAAC;IACD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;IACM,iBAAiB,CAAC,aAAqB;QAC1C,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,aAAa,CAAC,aAAkC;QACvD,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;IAC3C,CAAC;IACD,IAAW,aAAa;QACpB,OAAO,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAClC,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,wBAAwB,CAAC,GAAG,mBAAmB,CAAC;QACrD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,wBAAwB,CAAC,GAAG,mBAAmB,CAAC;IACzD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,wBAAwB,CAAC,CAAC;IAC1C,CAAC;CACJ;AAxED,gDAwEC;AAED;;;MAGM;AACN,IAAY,gCAIX;AAJD,WAAY,gCAAgC;IACxC,qDAAiB,CAAA;IACjB,qDAAiB,CAAA;IACjB,6DAAyB,CAAA;AAC7B,CAAC,EAJW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAI3C"}
1
+ {"version":3,"file":"SourcesRequestBody.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/SourcesRequestBody.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;IAS3B,YAAmB,UAAmB,EAAE,UAAmB,EAAE,aAAsB;QAC/E,IAAI,CAAC,cAAc,CAAC,GAAG,UAAU,CAAC;QAClC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,IAAI,CAAC,gBAAgB,CAAC,GAAG,aAAa,CAAC;IAC3C,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