tencentcloud-sdk-nodejs-intl-en 3.0.1330 → 3.0.1331
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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1331";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -17191,37 +17191,49 @@ class CreateAccelerationDomainRequest extends AbstractModel {
|
|
|
17191
17191
|
this.OriginInfo = null;
|
|
17192
17192
|
|
|
17193
17193
|
/**
|
|
17194
|
-
* Origin-
|
|
17195
|
-
<
|
|
17196
|
-
<
|
|
17197
|
-
<li
|
|
17198
|
-
<li>Default: `FOLLOW`</li>
|
|
17194
|
+
* Origin-Pull protocol. valid values:.
|
|
17195
|
+
<Li>FOLLOW: follow protocol;</li>.
|
|
17196
|
+
<Li>HTTP: http protocol for origin-pull;</li>.
|
|
17197
|
+
<li>HTTPS: the origin server uses the HTTPS protocol.</li>defaults to FOLLOW if left blank.
|
|
17199
17198
|
* @type {string || null}
|
|
17200
17199
|
*/
|
|
17201
17200
|
this.OriginProtocol = null;
|
|
17202
17201
|
|
|
17203
17202
|
/**
|
|
17204
|
-
*
|
|
17203
|
+
* HTTP origin port. default value 80. value range: 1–65535.
|
|
17204
|
+
This parameter is valid only when OriginProtocol is FOLLOW or HTTP.
|
|
17205
17205
|
* @type {number || null}
|
|
17206
17206
|
*/
|
|
17207
17207
|
this.HttpOriginPort = null;
|
|
17208
17208
|
|
|
17209
17209
|
/**
|
|
17210
|
-
*
|
|
17210
|
+
* HTTPS origin port. default value 443. value range: 1–65535.
|
|
17211
|
+
This parameter is valid only when OriginProtocol is FOLLOW or HTTPS.
|
|
17211
17212
|
* @type {number || null}
|
|
17212
17213
|
*/
|
|
17213
17214
|
this.HttpsOriginPort = null;
|
|
17214
17215
|
|
|
17215
17216
|
/**
|
|
17216
|
-
* IPv6 status.
|
|
17217
|
-
<li
|
|
17218
|
-
<li
|
|
17219
|
-
<li
|
|
17220
|
-
<li>Default: `follow`</li>
|
|
17217
|
+
* IPv6 status. valid values:.
|
|
17218
|
+
<li>follow: adhere to the site IPv6 configuration;</li>.
|
|
17219
|
+
<li>on: enabled status;</li>.
|
|
17220
|
+
<li>off: disabled.</li>if left empty, the default value is follow.
|
|
17221
17221
|
* @type {string || null}
|
|
17222
17222
|
*/
|
|
17223
17223
|
this.IPv6Status = null;
|
|
17224
17224
|
|
|
17225
|
+
/**
|
|
17226
|
+
* Specify the shared CNAME address for domain binding. use the default CNAME when not specified.
|
|
17227
|
+
Bind shared CNAME requires the scheduling policy of all domains to be consistent. the following configuration affects the scheduling policy. when inconsistent, bind shared CNAME will be processed as follows:.
|
|
17228
|
+
-IPv6 access: not allowed to create domain name. change IPv6Status to keep it configured the same as other domain names bound to the shared CNAME.
|
|
17229
|
+
-Anti-DDoS: if the selected shared CNAME has DDoS protection enabled, domain activation will enable DDoS protection by default.
|
|
17230
|
+
-Network optimization in the chinese mainland (international acceleration): not allowed to create a domain name. keep the network optimization in the chinese mainland (international acceleration) configuration of the current domain name consistent with the other domain names bound to the shared CNAME and try again after.
|
|
17231
|
+
|
|
17232
|
+
Note: shared CNAME is currently in beta test. if you need to use it, contact us to enable it.
|
|
17233
|
+
* @type {string || null}
|
|
17234
|
+
*/
|
|
17235
|
+
this.SharedCNAME = null;
|
|
17236
|
+
|
|
17225
17237
|
}
|
|
17226
17238
|
|
|
17227
17239
|
/**
|
|
@@ -17243,6 +17255,7 @@ class CreateAccelerationDomainRequest extends AbstractModel {
|
|
|
17243
17255
|
this.HttpOriginPort = 'HttpOriginPort' in params ? params.HttpOriginPort : null;
|
|
17244
17256
|
this.HttpsOriginPort = 'HttpsOriginPort' in params ? params.HttpsOriginPort : null;
|
|
17245
17257
|
this.IPv6Status = 'IPv6Status' in params ? params.IPv6Status : null;
|
|
17258
|
+
this.SharedCNAME = 'SharedCNAME' in params ? params.SharedCNAME : null;
|
|
17246
17259
|
|
|
17247
17260
|
}
|
|
17248
17261
|
}
|
|
@@ -21088,27 +21101,27 @@ class OriginInfo extends AbstractModel {
|
|
|
21088
21101
|
super();
|
|
21089
21102
|
|
|
21090
21103
|
/**
|
|
21091
|
-
* Origin server type
|
|
21092
|
-
<li>IP_DOMAIN:
|
|
21093
|
-
<
|
|
21094
|
-
<
|
|
21095
|
-
<
|
|
21096
|
-
|
|
21097
|
-
<
|
|
21104
|
+
* Origin server type. Valid values:
|
|
21105
|
+
<li>IP_DOMAIN: IPV4, IPV6, or DOMAIN type origin server.</li>.
|
|
21106
|
+
<Li>COS: tencent cloud cos origin server;</li>.
|
|
21107
|
+
<Li>AWS_S3: aws s3 cos origin server;</li>.
|
|
21108
|
+
<Li>ORIGIN_GROUP: origin server group type origin server;</li>.
|
|
21109
|
+
<Li>VOD: video on demand;</li>.
|
|
21110
|
+
<Li>SPACE: origin server uninstallation. currently only available to the allowlist;</li>.
|
|
21098
21111
|
<li>LB: load balancing. Currently only available to the allowlist. </li>
|
|
21099
21112
|
* @type {string || null}
|
|
21100
21113
|
*/
|
|
21101
21114
|
this.OriginType = null;
|
|
21102
21115
|
|
|
21103
21116
|
/**
|
|
21104
|
-
* Origin server address, which varies according to the value of OriginType
|
|
21105
|
-
<li>When OriginType = IP_DOMAIN,
|
|
21106
|
-
<li>When OriginType = COS,
|
|
21107
|
-
<li>When OriginType = AWS_S3,
|
|
21108
|
-
<li>When OriginType = ORIGIN_GROUP,
|
|
21109
|
-
<li>When OriginType = VOD,
|
|
21110
|
-
<li>When OriginType = LB,
|
|
21111
|
-
<li>When OriginType = SPACE,
|
|
21117
|
+
* Origin server address, which varies according to the value of OriginType:.
|
|
21118
|
+
<li>When OriginType = IP_DOMAIN, this parameter should be an IPv4 address, an IPv6 address, or a DOMAIN name;</li>.
|
|
21119
|
+
<li>When OriginType = COS, this parameter is the access domain of the COS bucket;</li>.
|
|
21120
|
+
<li>When OriginType = AWS_S3, this parameter is the access domain of the S3 bucket;</li>.
|
|
21121
|
+
<li>When OriginType = ORIGIN_GROUP, this parameter should be the ORIGIN server GROUP ID. if referencing an ORIGIN server GROUP from other sites, the format is {ORIGIN server GROUP ID}@{ZoneID}, such as og-testorigin@zone-38moq1z10wwwy;</li>.
|
|
21122
|
+
<li>When OriginType = VOD, this parameter is the VOD application ID;</li>.
|
|
21123
|
+
<li>When OriginType = LB, this parameter is the cloud load balancer instance ID. this feature is currently only available to the allowlist. if referencing a load balancer from other sites, the format is {cloud load balancer ID}@{ZoneID}, such as LB-2rxpamcyqfzg@zone-38moq1z10wwwy;</li>.
|
|
21124
|
+
<li>When OriginType = SPACE, this parameter specifies the origin server uninstallation SPACE ID. this feature is currently only available to the allowlist.</li>.
|
|
21112
21125
|
* @type {string || null}
|
|
21113
21126
|
*/
|
|
21114
21127
|
this.Origin = null;
|
|
@@ -21120,10 +21133,9 @@ class OriginInfo extends AbstractModel {
|
|
|
21120
21133
|
this.BackupOrigin = null;
|
|
21121
21134
|
|
|
21122
21135
|
/**
|
|
21123
|
-
* Whether access to the private
|
|
21124
|
-
<
|
|
21125
|
-
<
|
|
21126
|
-
If it is not specified, the default value is off.
|
|
21136
|
+
* Whether access to the private object storage origin server is allowed. this parameter is valid only when the origin server type OriginType is COS or AWS_S3. valid values:.
|
|
21137
|
+
<Li>On: enable private authentication;</li>.
|
|
21138
|
+
<Li>Off: disable private authentication.</li>if left empty, the default value is off.
|
|
21127
21139
|
* @type {string || null}
|
|
21128
21140
|
*/
|
|
21129
21141
|
this.PrivateAccess = null;
|
|
@@ -21135,10 +21147,10 @@ If it is not specified, the default value is off.
|
|
|
21135
21147
|
this.PrivateParameters = null;
|
|
21136
21148
|
|
|
21137
21149
|
/**
|
|
21138
|
-
* Custom origin server HOST header. this parameter is valid only when OriginType=IP_DOMAIN.
|
|
21139
|
-
|
|
21140
|
-
|
|
21141
|
-
|
|
21150
|
+
* Custom origin server HOST header. this parameter is valid only when OriginType = IP_DOMAIN. when OriginType is other types, this parameter is not required, otherwise error will occur.
|
|
21151
|
+
When OriginType is COS or AWS_S3, the origin-pull HOST header will remain consistent with the origin server domain name.
|
|
21152
|
+
When OriginType is ORIGIN_GROUP, the HOST header follows the ORIGIN site GROUP configuration. if not configured, it defaults to the acceleration domain name.
|
|
21153
|
+
When OriginType is VOD or SPACE, no configuration required for this header, the corresponding domain name takes effect.
|
|
21142
21154
|
* @type {string || null}
|
|
21143
21155
|
*/
|
|
21144
21156
|
this.HostHeader = null;
|
|
@@ -21164,8 +21176,7 @@ If OriginType is VOD or SPACE, no configuration is required for this header, and
|
|
|
21164
21176
|
this.VodeoBucketId = null;
|
|
21165
21177
|
|
|
21166
21178
|
/**
|
|
21167
|
-
* VOD origin
|
|
21168
|
-
</li>
|
|
21179
|
+
* VOD origin range. this parameter is valid only when OriginType = VOD. valid values: <li>all: all files in the VOD application corresponding to the current origin server.</li><li>bucket: files in a specified bucket under the VOD application corresponding to the current origin server. use parameter VodBucketId to specify the bucket.</li>default value is all if left empty.
|
|
21169
21180
|
* @type {string || null}
|
|
21170
21181
|
*/
|
|
21171
21182
|
this.VodOriginScope = null;
|