@byteplus/pulumi-bytepluscc 0.0.49 → 0.0.50
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/cdn/domain.d.ts +12 -0
- package/cdn/domain.d.ts.map +1 -1
- package/cdn/domain.js +2 -0
- package/cdn/domain.js.map +1 -1
- package/cdn/getDomain.d.ts +4 -0
- package/cdn/getDomain.d.ts.map +1 -1
- package/cdn/getDomain.js.map +1 -1
- package/clb/getListener.d.ts +8 -0
- package/clb/getListener.d.ts.map +1 -1
- package/clb/getListener.js.map +1 -1
- package/clb/listener.d.ts +20 -16
- package/clb/listener.d.ts.map +1 -1
- package/clb/listener.js +8 -4
- package/clb/listener.js.map +1 -1
- package/cloudmonitor/getRule.d.ts +8 -0
- package/cloudmonitor/getRule.d.ts.map +1 -1
- package/cloudmonitor/getRule.js.map +1 -1
- package/cloudmonitor/rule.d.ts +24 -0
- package/cloudmonitor/rule.d.ts.map +1 -1
- package/cloudmonitor/rule.js +4 -0
- package/cloudmonitor/rule.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +104 -2
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +208 -2
- package/types/output.d.ts.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -4766,11 +4766,64 @@ export declare namespace cdn {
|
|
|
4766
4766
|
subobject: string;
|
|
4767
4767
|
}
|
|
4768
4768
|
interface DomainOriginCertCheck {
|
|
4769
|
+
/**
|
|
4770
|
+
* Indicates the list of certificates used for origin certificate validation. The list can contain up to 20 certificates.
|
|
4771
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
4772
|
+
*/
|
|
4773
|
+
certInfoLists: outputs.cdn.DomainOriginCertCheckCertInfoList[];
|
|
4769
4774
|
/**
|
|
4770
4775
|
* Switch
|
|
4771
4776
|
*/
|
|
4772
4777
|
switch: boolean;
|
|
4773
4778
|
}
|
|
4779
|
+
interface DomainOriginCertCheckCertInfoList {
|
|
4780
|
+
/**
|
|
4781
|
+
* Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
|
|
4782
|
+
*/
|
|
4783
|
+
certId: string;
|
|
4784
|
+
/**
|
|
4785
|
+
* Represents the content of the Common Name (CN) field in the CA certificate.
|
|
4786
|
+
*/
|
|
4787
|
+
certName: string;
|
|
4788
|
+
/**
|
|
4789
|
+
* Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
|
|
4790
|
+
*/
|
|
4791
|
+
certificate: outputs.cdn.DomainOriginCertCheckCertInfoListCertificate;
|
|
4792
|
+
/**
|
|
4793
|
+
* Indicates the issuance time of the certificate, in Unix timestamp.
|
|
4794
|
+
*/
|
|
4795
|
+
effectiveTime: number;
|
|
4796
|
+
/**
|
|
4797
|
+
* Indicates the encryption algorithm used by the certificate. The parameter has the following values: inter*cert: RSA or ECC encryption algorithm. sm*cert: SM2 encryption algorithm.
|
|
4798
|
+
*/
|
|
4799
|
+
encryType: string;
|
|
4800
|
+
/**
|
|
4801
|
+
* Indicates the expiration time of the certificate, as a Unix timestamp.
|
|
4802
|
+
*/
|
|
4803
|
+
expireTime: number;
|
|
4804
|
+
/**
|
|
4805
|
+
* Specifies the certificate hosting location. The parameter values are: volc*cert*center: certificate center; cdn*cert*hosting: content delivery network.
|
|
4806
|
+
*/
|
|
4807
|
+
source: string;
|
|
4808
|
+
}
|
|
4809
|
+
interface DomainOriginCertCheckCertInfoListCertificate {
|
|
4810
|
+
/**
|
|
4811
|
+
* Indicates the content of the certificate file. Line breaks in the content must be replaced with \r\n. The certificate file extension is .crt or .pem, and the certificate file must include the complete certificate chain.
|
|
4812
|
+
*/
|
|
4813
|
+
certificate: string;
|
|
4814
|
+
/**
|
|
4815
|
+
* Specifies the content of the certificate file for the SM certificate Line breaks in the content must be replaced with \r\n The public key contained in this file is used to encrypt the session key The file extension must be .crt or .pem, and the certificate file must include the complete certificate chain If the certificate to be uploaded is not an SM certificate, this parameter is invalid
|
|
4816
|
+
*/
|
|
4817
|
+
encryptionCert: string;
|
|
4818
|
+
/**
|
|
4819
|
+
* Indicates the content of the private key file for the SM certificate. Line breaks in the content must be replaced with \r\n. This file is used for decryption and has an extension of .key or .pem. The file name is similar to <domain>_encrypt.key.
|
|
4820
|
+
*/
|
|
4821
|
+
encryptionKey: string;
|
|
4822
|
+
/**
|
|
4823
|
+
* Indicates the content of the private key file. Line breaks in the content must be replaced with \r\n. The private key file extension is .key or .pem. If the certificate uses the RSA or ECC encryption algorithm, this file is the private key file for the server certificate you want to upload. The file name is similar to <domain>.key. The private key contained in this file is used to verify the server's signature and encrypt session keys. If the certificate uses the SM2 encryption algorithm, this file is the private key file for the national cryptography certificate you want to upload. The file name is similar to <domain>_sign.key. The private key contained in this file is used to verify the server's signature. For certificates to be uploaded, this parameter is required.
|
|
4824
|
+
*/
|
|
4825
|
+
privateKey: string;
|
|
4826
|
+
}
|
|
4774
4827
|
interface DomainOriginCondition {
|
|
4775
4828
|
/**
|
|
4776
4829
|
* Indicates a rule set. When a user request is received, the content delivery network matches the rules in the set to the request in order. If a rule matches the request, the content delivery network stops matching the remaining rules.
|
|
@@ -5564,6 +5617,39 @@ export declare namespace cdn {
|
|
|
5564
5617
|
*/
|
|
5565
5618
|
switch: boolean;
|
|
5566
5619
|
}
|
|
5620
|
+
interface DomainRuleEngine {
|
|
5621
|
+
/**
|
|
5622
|
+
* Indicates the list of rules in the rule engine. The order of rules in the list determines their priority.
|
|
5623
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
5624
|
+
*/
|
|
5625
|
+
rules: outputs.cdn.DomainRuleEngineRule[];
|
|
5626
|
+
/**
|
|
5627
|
+
* Indicates whether this feature is enabled. Valid values: true: Enable this feature. false: Disable this feature. The default value is false.
|
|
5628
|
+
*/
|
|
5629
|
+
switch: boolean;
|
|
5630
|
+
}
|
|
5631
|
+
interface DomainRuleEngineRule {
|
|
5632
|
+
/**
|
|
5633
|
+
* Indicates the DSL description of the rule.
|
|
5634
|
+
*/
|
|
5635
|
+
dslRule: string;
|
|
5636
|
+
/**
|
|
5637
|
+
* Indicates the unique ID of the rule.
|
|
5638
|
+
*/
|
|
5639
|
+
id: string;
|
|
5640
|
+
/**
|
|
5641
|
+
* Indicates whether the rule is locked. Once locked, the rule cannot be modified.
|
|
5642
|
+
*/
|
|
5643
|
+
locked: boolean;
|
|
5644
|
+
/**
|
|
5645
|
+
* Indicates the name of the rule.
|
|
5646
|
+
*/
|
|
5647
|
+
name: string;
|
|
5648
|
+
/**
|
|
5649
|
+
* Indicates the detailed content of the rule.
|
|
5650
|
+
*/
|
|
5651
|
+
rule: string;
|
|
5652
|
+
}
|
|
5567
5653
|
interface DomainSignedUrlAuth {
|
|
5568
5654
|
/**
|
|
5569
5655
|
* Represents the configuration module for the 'URL authentication' feature. This feature is disabled by default.
|
|
@@ -6874,11 +6960,63 @@ export declare namespace cdn {
|
|
|
6874
6960
|
subobject: string;
|
|
6875
6961
|
}
|
|
6876
6962
|
interface GetDomainOriginCertCheck {
|
|
6963
|
+
/**
|
|
6964
|
+
* Indicates the list of certificates used for origin certificate validation. The list can contain up to 20 certificates.
|
|
6965
|
+
*/
|
|
6966
|
+
certInfoLists: outputs.cdn.GetDomainOriginCertCheckCertInfoList[];
|
|
6877
6967
|
/**
|
|
6878
6968
|
* Switch
|
|
6879
6969
|
*/
|
|
6880
6970
|
switch: boolean;
|
|
6881
6971
|
}
|
|
6972
|
+
interface GetDomainOriginCertCheckCertInfoList {
|
|
6973
|
+
/**
|
|
6974
|
+
* Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
|
|
6975
|
+
*/
|
|
6976
|
+
certId: string;
|
|
6977
|
+
/**
|
|
6978
|
+
* Represents the content of the Common Name (CN) field in the CA certificate.
|
|
6979
|
+
*/
|
|
6980
|
+
certName: string;
|
|
6981
|
+
/**
|
|
6982
|
+
* Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
|
|
6983
|
+
*/
|
|
6984
|
+
certificate: outputs.cdn.GetDomainOriginCertCheckCertInfoListCertificate;
|
|
6985
|
+
/**
|
|
6986
|
+
* Indicates the issuance time of the certificate, in Unix timestamp.
|
|
6987
|
+
*/
|
|
6988
|
+
effectiveTime: number;
|
|
6989
|
+
/**
|
|
6990
|
+
* Indicates the encryption algorithm used by the certificate. The parameter has the following values: inter*cert: RSA or ECC encryption algorithm. sm*cert: SM2 encryption algorithm.
|
|
6991
|
+
*/
|
|
6992
|
+
encryType: string;
|
|
6993
|
+
/**
|
|
6994
|
+
* Indicates the expiration time of the certificate, as a Unix timestamp.
|
|
6995
|
+
*/
|
|
6996
|
+
expireTime: number;
|
|
6997
|
+
/**
|
|
6998
|
+
* Specifies the certificate hosting location. The parameter values are: volc*cert*center: certificate center; cdn*cert*hosting: content delivery network.
|
|
6999
|
+
*/
|
|
7000
|
+
source: string;
|
|
7001
|
+
}
|
|
7002
|
+
interface GetDomainOriginCertCheckCertInfoListCertificate {
|
|
7003
|
+
/**
|
|
7004
|
+
* Indicates the content of the certificate file. Line breaks in the content must be replaced with \r\n. The certificate file extension is .crt or .pem, and the certificate file must include the complete certificate chain.
|
|
7005
|
+
*/
|
|
7006
|
+
certificate: string;
|
|
7007
|
+
/**
|
|
7008
|
+
* Specifies the content of the certificate file for the SM certificate Line breaks in the content must be replaced with \r\n The public key contained in this file is used to encrypt the session key The file extension must be .crt or .pem, and the certificate file must include the complete certificate chain If the certificate to be uploaded is not an SM certificate, this parameter is invalid
|
|
7009
|
+
*/
|
|
7010
|
+
encryptionCert: string;
|
|
7011
|
+
/**
|
|
7012
|
+
* Indicates the content of the private key file for the SM certificate. Line breaks in the content must be replaced with \r\n. This file is used for decryption and has an extension of .key or .pem. The file name is similar to <domain>_encrypt.key.
|
|
7013
|
+
*/
|
|
7014
|
+
encryptionKey: string;
|
|
7015
|
+
/**
|
|
7016
|
+
* Indicates the content of the private key file. Line breaks in the content must be replaced with \r\n. The private key file extension is .key or .pem. If the certificate uses the RSA or ECC encryption algorithm, this file is the private key file for the server certificate you want to upload. The file name is similar to <domain>.key. The private key contained in this file is used to verify the server's signature and encrypt session keys. If the certificate uses the SM2 encryption algorithm, this file is the private key file for the national cryptography certificate you want to upload. The file name is similar to <domain>_sign.key. The private key contained in this file is used to verify the server's signature. For certificates to be uploaded, this parameter is required.
|
|
7017
|
+
*/
|
|
7018
|
+
privateKey: string;
|
|
7019
|
+
}
|
|
6882
7020
|
interface GetDomainOriginCondition {
|
|
6883
7021
|
/**
|
|
6884
7022
|
* Indicates a rule set. When a user request is received, the content delivery network matches the rules in the set to the request in order. If a rule matches the request, the content delivery network stops matching the remaining rules.
|
|
@@ -7657,6 +7795,38 @@ export declare namespace cdn {
|
|
|
7657
7795
|
*/
|
|
7658
7796
|
switch: boolean;
|
|
7659
7797
|
}
|
|
7798
|
+
interface GetDomainRuleEngine {
|
|
7799
|
+
/**
|
|
7800
|
+
* Indicates the list of rules in the rule engine. The order of rules in the list determines their priority.
|
|
7801
|
+
*/
|
|
7802
|
+
rules: outputs.cdn.GetDomainRuleEngineRule[];
|
|
7803
|
+
/**
|
|
7804
|
+
* Indicates whether this feature is enabled. Valid values: true: Enable this feature. false: Disable this feature. The default value is false.
|
|
7805
|
+
*/
|
|
7806
|
+
switch: boolean;
|
|
7807
|
+
}
|
|
7808
|
+
interface GetDomainRuleEngineRule {
|
|
7809
|
+
/**
|
|
7810
|
+
* Indicates the DSL description of the rule.
|
|
7811
|
+
*/
|
|
7812
|
+
dslRule: string;
|
|
7813
|
+
/**
|
|
7814
|
+
* Indicates the unique ID of the rule.
|
|
7815
|
+
*/
|
|
7816
|
+
id: string;
|
|
7817
|
+
/**
|
|
7818
|
+
* Indicates whether the rule is locked. Once locked, the rule cannot be modified.
|
|
7819
|
+
*/
|
|
7820
|
+
locked: boolean;
|
|
7821
|
+
/**
|
|
7822
|
+
* Indicates the name of the rule.
|
|
7823
|
+
*/
|
|
7824
|
+
name: string;
|
|
7825
|
+
/**
|
|
7826
|
+
* Indicates the detailed content of the rule.
|
|
7827
|
+
*/
|
|
7828
|
+
rule: string;
|
|
7829
|
+
}
|
|
7660
7830
|
interface GetDomainSignedUrlAuth {
|
|
7661
7831
|
/**
|
|
7662
7832
|
* Represents the configuration module for the 'URL authentication' feature. This feature is disabled by default.
|
|
@@ -9954,6 +10124,10 @@ export declare namespace cloudmonitor {
|
|
|
9954
10124
|
* Metric display name.
|
|
9955
10125
|
*/
|
|
9956
10126
|
displayName: string;
|
|
10127
|
+
/**
|
|
10128
|
+
* Evaluation window (minutes)
|
|
10129
|
+
*/
|
|
10130
|
+
evaluationWindow: number;
|
|
9957
10131
|
/**
|
|
9958
10132
|
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
9959
10133
|
*/
|
|
@@ -9970,6 +10144,10 @@ export declare namespace cloudmonitor {
|
|
|
9970
10144
|
* Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
|
|
9971
10145
|
*/
|
|
9972
10146
|
statistics: string;
|
|
10147
|
+
/**
|
|
10148
|
+
* Sub-namespace
|
|
10149
|
+
*/
|
|
10150
|
+
subNamespace: string;
|
|
9973
10151
|
/**
|
|
9974
10152
|
* Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
|
|
9975
10153
|
*/
|
|
@@ -10070,6 +10248,10 @@ export declare namespace cloudmonitor {
|
|
|
10070
10248
|
* Metric display name.
|
|
10071
10249
|
*/
|
|
10072
10250
|
displayName: string;
|
|
10251
|
+
/**
|
|
10252
|
+
* Evaluation window (minutes)
|
|
10253
|
+
*/
|
|
10254
|
+
evaluationWindow: number;
|
|
10073
10255
|
/**
|
|
10074
10256
|
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
10075
10257
|
*/
|
|
@@ -10086,6 +10268,10 @@ export declare namespace cloudmonitor {
|
|
|
10086
10268
|
* Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
|
|
10087
10269
|
*/
|
|
10088
10270
|
statistics: string;
|
|
10271
|
+
/**
|
|
10272
|
+
* Sub-namespace
|
|
10273
|
+
*/
|
|
10274
|
+
subNamespace: string;
|
|
10089
10275
|
/**
|
|
10090
10276
|
* Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
|
|
10091
10277
|
*/
|
|
@@ -10100,6 +10286,10 @@ export declare namespace cloudmonitor {
|
|
|
10100
10286
|
* No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
|
|
10101
10287
|
*/
|
|
10102
10288
|
evaluationCount: number;
|
|
10289
|
+
/**
|
|
10290
|
+
* No data alert level (critical, warning, notice)
|
|
10291
|
+
*/
|
|
10292
|
+
level: string;
|
|
10103
10293
|
}
|
|
10104
10294
|
interface GetRuleNotifyTemplate {
|
|
10105
10295
|
/**
|
|
@@ -10142,6 +10332,10 @@ export declare namespace cloudmonitor {
|
|
|
10142
10332
|
* Comparison operators. Supports standard threshold alerting: >, >=, <, <=, !=, =, as well as the following period-over-period alerting: last*period*increase*pct: Increased compared to last period. last*period*decrease*pct: Decreased compared to last period. last*period*abs*pct: Increased or decreased compared to last period. last*day*increase*pct: Increased compared to the same period yesterday. last*day*decrease*pct: Decreased compared to the same period yesterday. last*day*abs*pct: Increased or decreased compared to the same period yesterday. last*week*increase*pct: Increased compared to the same period last week. last*week*decrease*pct: Decreased compared to the same period last week. last*week*abs_pct: Increased or decreased compared to the same period last week.
|
|
10143
10333
|
*/
|
|
10144
10334
|
comparisonOperator: string;
|
|
10335
|
+
/**
|
|
10336
|
+
* Evaluation window (minutes)
|
|
10337
|
+
*/
|
|
10338
|
+
evaluationWindow: number;
|
|
10145
10339
|
/**
|
|
10146
10340
|
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
10147
10341
|
*/
|
|
@@ -10158,6 +10352,10 @@ export declare namespace cloudmonitor {
|
|
|
10158
10352
|
* Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
|
|
10159
10353
|
*/
|
|
10160
10354
|
statistics: string;
|
|
10355
|
+
/**
|
|
10356
|
+
* Sub-namespace
|
|
10357
|
+
*/
|
|
10358
|
+
subNamespace: string;
|
|
10161
10359
|
/**
|
|
10162
10360
|
* Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
|
|
10163
10361
|
*/
|
|
@@ -10258,9 +10456,9 @@ export declare namespace cloudmonitor {
|
|
|
10258
10456
|
*/
|
|
10259
10457
|
comparisonOperator: string;
|
|
10260
10458
|
/**
|
|
10261
|
-
*
|
|
10459
|
+
* Evaluation window (minutes)
|
|
10262
10460
|
*/
|
|
10263
|
-
|
|
10461
|
+
evaluationWindow: number;
|
|
10264
10462
|
/**
|
|
10265
10463
|
* Monitoring metric name. For details, see MetricName for each product in Cloud Monitoring Metric Query.
|
|
10266
10464
|
*/
|
|
@@ -10277,6 +10475,10 @@ export declare namespace cloudmonitor {
|
|
|
10277
10475
|
* Statistical method. Options: avg: average, max: maximum, min: minimum. The statistical method is applied to data within the detection time period. For example, the default detection time span is 1 minute. If the statistical method is avg, the average value of data within 1 minute is used.
|
|
10278
10476
|
*/
|
|
10279
10477
|
statistics: string;
|
|
10478
|
+
/**
|
|
10479
|
+
* Sub-namespace
|
|
10480
|
+
*/
|
|
10481
|
+
subNamespace: string;
|
|
10280
10482
|
/**
|
|
10281
10483
|
* Metric threshold. Supports positive numbers or 0. Up to three decimal places allowed.
|
|
10282
10484
|
*/
|
|
@@ -10291,6 +10493,10 @@ export declare namespace cloudmonitor {
|
|
|
10291
10493
|
* No data alert trigger threshold. If no data is reported within the configured threshold period, a no data alert will be triggered. When Enable is set to true, this field is required. Integer format; value range is 3–20.
|
|
10292
10494
|
*/
|
|
10293
10495
|
evaluationCount: number;
|
|
10496
|
+
/**
|
|
10497
|
+
* No data alert level (critical, warning, notice)
|
|
10498
|
+
*/
|
|
10499
|
+
level: string;
|
|
10294
10500
|
}
|
|
10295
10501
|
interface RuleNotifyTemplate {
|
|
10296
10502
|
/**
|