Package | Description |
---|---|
com.tencentcloudapi.teo.v20220901.models |
Modifier and Type | Method and Description |
---|---|
DomainDDoSProtection[] |
DDoSProtection.getDomainDDoSProtections()
Get 域名的独立 DDoS 防护配置。在入参场景中:
当 ProtectionOption 保持为 protect_specified_domains 时:未填写的域名维持原有独立 DDoS 防护配置不变,显式指定的域名按传入参数更新;
当 ProtectionOption 由 protect_all_domains 切换为 protect_specified_domains 时:若 DomainDDoSProtections 传空,停用站点下全部域名的独立 DDoS 防护;若 DomainDDoSProtections 不为空,参数中指定的域名停用或保持独立 DDoS 防护,其余未列出的域名统一停用独立 DDoS 防护。
|
DomainDDoSProtection[] |
DDoSProtection.getSharedCNAMEDDoSProtections()
Get 共享 CNAME 的独立 DDoS 防护配置。仅作为出参使用。
|
Modifier and Type | Method and Description |
---|---|
void |
DDoSProtection.setDomainDDoSProtections(DomainDDoSProtection[] DomainDDoSProtections)
Set 域名的独立 DDoS 防护配置。在入参场景中:
当 ProtectionOption 保持为 protect_specified_domains 时:未填写的域名维持原有独立 DDoS 防护配置不变,显式指定的域名按传入参数更新;
当 ProtectionOption 由 protect_all_domains 切换为 protect_specified_domains 时:若 DomainDDoSProtections 传空,停用站点下全部域名的独立 DDoS 防护;若 DomainDDoSProtections 不为空,参数中指定的域名停用或保持独立 DDoS 防护,其余未列出的域名统一停用独立 DDoS 防护。
|
void |
DDoSProtection.setSharedCNAMEDDoSProtections(DomainDDoSProtection[] SharedCNAMEDDoSProtections)
Set 共享 CNAME 的独立 DDoS 防护配置。仅作为出参使用。
|
Constructor and Description |
---|
DomainDDoSProtection(DomainDDoSProtection source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.