published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
An accelerated domain name is the domain you want to speed up content delivery for. After you add the domain to the content delivery network, it becomes an accelerated domain name in the CDN. The CDN assigns a CNAME to this domain. Once you create a DNS record to resolve your domain to this CNAME, requests sent by users to your domain are routed to your accelerated domain name, enabling faster content delivery.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
cDNDomainDemo:
type: bytepluscc:cdn:Domain
name: CDNDomainDemo
properties:
areaAccessRule:
rule_type: ""
switch: false
caches:
- cache_action:
action: cache
defaultPolicy: force_cache
ttl: 2
condition:
conditionRule:
- name: ""
object: path
operator: match
type: url
value: /index.shtml;/index.html;/index.php;/index.aspx;/index.htm;/;/C
connective: OR
- cache_action:
action: cache
defaultPolicy: default
ttl: 0
condition:
conditionRule:
- name: ""
object: filetype
operator: match
type: url
value: php;jsp;asp;aspx
connective: OR
- cache_action:
action: cache
defaultPolicy: default
ttl: 2.592e+06
condition:
conditionRule:
- name: ""
object: directory
operator: match
type: url
value: /
connective: OR
cacheKeys:
- cache_key_action:
cacheKeyComponents:
- action: exclude
ignoreCase: false
object: queryString
subobject: '*'
condition:
conditionRule:
- name: ""
object: path
operator: match
type: url
value: /A
connective: OR
- cache_key_action:
cacheKeyComponents:
- action: includePart
ignoreCase: true
object: queryString
subobject: A
condition:
conditionRule:
- name: ""
object: filetype
operator: match
type: url
value: jpg;jpeg;png;gif;webp;bmp;ico;tiff;htm;shtml;html;css;js;xml;json;bin;zip;rar;ipa;apk;sis;xap;msi;exe;cab;7z;txt;wmv;mp3;wma;ogg;flv;mp4;avi;mpg;mpeg;f4v;hlv;rmvb;rm;3pg;img;m3u8;ts;swf;A
connective: OR
- cache_key_action:
cacheKeyComponents:
- action: include
ignoreCase: false
object: queryString
subobject: '*'
condition:
conditionRule:
- name: ""
object: directory
operator: match
type: url
value: /
connective: OR
compression:
compression_rules:
- compressionAction:
compressionFormat: all
compressionTarget: '*'
compressionType:
- gzip
- br
maxFileSizeKb: 2048
minFileSizeKb: 0
condition:
conditionRule:
- name: ""
object: path
operator: match
type: url
value: /F
connective: OR
- compressionAction:
compressionFormat: all
compressionTarget: '*'
compressionType:
- gzip
- br
maxFileSizeKb: 2048
minFileSizeKb: 0
condition:
conditionRule:
- name: ""
object: directory
operator: match
type: url
value: /E/
connective: OR
- compressionAction:
compressionFormat: all
compressionTarget: '*'
compressionType:
- gzip
- br
maxFileSizeKb: 2048
minFileSizeKb: 0
condition:
conditionRule:
- name: ""
object: filetype
operator: match
type: url
value: D
connective: OR
- compressionAction:
compressionFormat: default
compressionTarget: '*'
compressionType:
- gzip
maxFileSizeKb: 2048
minFileSizeKb: 0
switch: true
conditionalOrigin:
origin_rules:
- actions:
originLines:
- address: 192.168.0.4
httpPort: '80'
httpsPort: '443'
instanceType: ip
originHost: 192.168.0.5
- address: 192.168.0.5
httpPort: '80'
httpsPort: '443'
instanceType: ip
originHost: 192.168.0.6
condition:
conditionGroups:
- condition:
object: path
operator: equal
value:
- /a
- condition:
object: directory
operator: equal
value:
- /b/
- condition:
object: filetype
operator: equal
value:
- c
- condition:
object: client_ip
operator: equal
value:
- 192.168.0.3
- condition:
object: client_ip_operator
operator: belong
value:
- CT
- CM
- CU
- CMTIETONG
- CBN
- CERNET
- DRPENG
connective: and
isGroup: true
switch: true
customErrorPage:
switch: false
customizeAccessRule:
switch: false
domain: ccapi-test-web.com
downloadSpeedLimit:
switch: false
followRedirect: true
https:
disable_http: false
forced_redirect:
enableForcedRedirect: false
statusCode: '301'
http2: false
hsts:
switch: false
ttl: 0
ocsp: false
switch: false
httpForcedRedirect:
enable_forced_redirect: false
status_code: '301'
iPv6:
switch: false
methodDeniedRule:
methods: ""
switch: false
multiRange:
switch: false
offlineCache:
object: ""
status_code: ""
switch: false
origins:
- origin_action:
originLines:
- address: 192.168.0.1
httpPort: '80'
httpsPort: '443'
instanceType: ip
originHost: a.com
originType: primary
privateBucketAccess: false
weight: '1'
- address: b.com
httpPort: '80'
httpsPort: '443'
instanceType: domain
originHost: c.com
originType: primary
privateBucketAccess: false
weight: '1'
- address: ccapi-test-red.tos-cn-beijing.volces.com
httpPort: ""
httpsPort: ""
instanceType: tos
originHost: ccapi-test-red.tos-cn-beijing.volces.com
originType: primary
privateBucketAccess: true
privateBucketAuth:
authType: tos
switch: true
weight: '1'
- address: 192.168.0.2
httpPort: '80'
httpsPort: '443'
instanceType: ip
originHost: d.com
originType: backup
privateBucketAccess: false
weight: '1'
originArgs:
- condition:
conditionRule:
- name: ""
object: directory
operator: match
type: url
value: /
connective: OR
origin_arg_action:
originArgComponents:
- action: include
object: queryString
subobject: '*'
originCertCheck:
switch: false
originHost: ""
originIPv6: followclient
originProtocol: followclient
originRange: true
originRetry:
status_code: ""
switch: false
originRewrite:
switch: false
originSni:
sni_domain: ""
switch: false
pageOptimization:
optimization_type:
- html
- js
- css
switch: true
project: default
redirectionRewrite:
switch: false
remoteAuth:
switch: false
requestBlockRule:
switch: false
rewriteHls:
sign_name: ""
switch: false
serviceRegion: outside_chinese_mainland
serviceType: web
tags:
- key: env
value: test
timeout:
switch: false
urlNormalize:
switch: false
videoDrag:
switch: false
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);@overload
def Domain(resource_name: str,
args: DomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
service_type: Optional[str] = None,
origins: Optional[Sequence[DomainOriginArgs]] = None,
origin_i_pv6: Optional[str] = None,
negative_caches: Optional[Sequence[DomainNegativeCachArgs]] = None,
compression: Optional[DomainCompressionArgs] = None,
conditional_origin: Optional[DomainConditionalOriginArgs] = None,
custom_error_page: Optional[DomainCustomErrorPageArgs] = None,
customize_access_rule: Optional[DomainCustomizeAccessRuleArgs] = None,
cache_keys: Optional[Sequence[DomainCacheKeyArgs]] = None,
download_speed_limit: Optional[DomainDownloadSpeedLimitArgs] = None,
follow_redirect: Optional[bool] = None,
http_forced_redirect: Optional[DomainHttpForcedRedirectArgs] = None,
https: Optional[DomainHttpsArgs] = None,
i_pv6: Optional[DomainIPv6Args] = None,
ip_access_rule: Optional[DomainIpAccessRuleArgs] = None,
method_denied_rule: Optional[DomainMethodDeniedRuleArgs] = None,
multi_range: Optional[DomainMultiRangeArgs] = None,
origin_range: Optional[bool] = None,
offline_cache: Optional[DomainOfflineCacheArgs] = None,
origin_access_rule: Optional[DomainOriginAccessRuleArgs] = None,
origin_args: Optional[Sequence[DomainOriginArgArgs]] = None,
origin_cert_check: Optional[DomainOriginCertCheckArgs] = None,
origin_host: Optional[str] = None,
area_access_rule: Optional[DomainAreaAccessRuleArgs] = None,
caches: Optional[Sequence[DomainCachArgs]] = None,
origin_protocol: Optional[str] = None,
service_region: Optional[str] = None,
origin_rewrite: Optional[DomainOriginRewriteArgs] = None,
origin_sni: Optional[DomainOriginSniArgs] = None,
cache_host: Optional[DomainCacheHostArgs] = None,
page_optimization: Optional[DomainPageOptimizationArgs] = None,
project: Optional[str] = None,
quic: Optional[DomainQuicArgs] = None,
redirection_rewrite: Optional[DomainRedirectionRewriteArgs] = None,
referer_access_rule: Optional[DomainRefererAccessRuleArgs] = None,
remote_auth: Optional[DomainRemoteAuthArgs] = None,
request_block_rule: Optional[DomainRequestBlockRuleArgs] = None,
request_headers: Optional[Sequence[DomainRequestHeaderArgs]] = None,
response_headers: Optional[Sequence[DomainResponseHeaderArgs]] = None,
rewrite_hls: Optional[DomainRewriteHlsArgs] = None,
origin_retry: Optional[DomainOriginRetryArgs] = None,
browser_caches: Optional[Sequence[DomainBrowserCachArgs]] = None,
signed_url_auth: Optional[DomainSignedUrlAuthArgs] = None,
tags: Optional[Sequence[DomainTagArgs]] = None,
timeout: Optional[DomainTimeoutArgs] = None,
ua_access_rule: Optional[DomainUaAccessRuleArgs] = None,
url_normalize: Optional[DomainUrlNormalizeArgs] = None,
video_drag: Optional[DomainVideoDragArgs] = None)func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: bytepluscc:cdn:Domain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var domainResource = new Bytepluscc.Cdn.Domain("domainResource", new()
{
DomainValue = "string",
ServiceType = "string",
Origins = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginArgs
{
OriginAction = new Bytepluscc.Cdn.Inputs.DomainOriginOriginActionArgs
{
OriginLines = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginOriginActionOriginLineArgs
{
Address = "string",
InstanceType = "string",
OriginType = "string",
HttpPort = "string",
HttpsPort = "string",
OriginHost = "string",
PrivateBucketAccess = false,
PrivateBucketAuth = new Bytepluscc.Cdn.Inputs.DomainOriginOriginActionOriginLinePrivateBucketAuthArgs
{
AuthType = "string",
Switch = false,
TosAuthInformation = new Bytepluscc.Cdn.Inputs.DomainOriginOriginActionOriginLinePrivateBucketAuthTosAuthInformationArgs
{
AccessKeyId = "string",
AccessKeySecret = "string",
},
},
Region = "string",
Weight = "string",
},
},
},
Condition = new Bytepluscc.Cdn.Inputs.DomainOriginConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
OriginIPv6 = "string",
NegativeCaches = new[]
{
new Bytepluscc.Cdn.Inputs.DomainNegativeCachArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainNegativeCachConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainNegativeCachConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
NegativeCacheRule = new Bytepluscc.Cdn.Inputs.DomainNegativeCachNegativeCacheRuleArgs
{
Action = "string",
IgnoreCase = false,
StatusCode = "string",
Ttl = 0,
},
},
},
Compression = new Bytepluscc.Cdn.Inputs.DomainCompressionArgs
{
CompressionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCompressionCompressionRuleArgs
{
CompressionAction = new Bytepluscc.Cdn.Inputs.DomainCompressionCompressionRuleCompressionActionArgs
{
CompressionFormat = "string",
CompressionTarget = "string",
CompressionTypes = new[]
{
"string",
},
MaxFileSizeKb = 0,
MinFileSizeKb = 0,
},
Condition = new Bytepluscc.Cdn.Inputs.DomainCompressionCompressionRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCompressionCompressionRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
Switch = false,
},
ConditionalOrigin = new Bytepluscc.Cdn.Inputs.DomainConditionalOriginArgs
{
OriginRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainConditionalOriginOriginRuleArgs
{
Actions = new Bytepluscc.Cdn.Inputs.DomainConditionalOriginOriginRuleActionsArgs
{
OriginLines = new[]
{
new Bytepluscc.Cdn.Inputs.DomainConditionalOriginOriginRuleActionsOriginLineArgs
{
Address = "string",
HttpPort = "string",
HttpsPort = "string",
InstanceType = "string",
OriginHost = "string",
},
},
},
Condition = new Bytepluscc.Cdn.Inputs.DomainConditionalOriginOriginRuleConditionArgs
{
ConditionGroups = new[]
{
new Bytepluscc.Cdn.Inputs.DomainConditionalOriginOriginRuleConditionConditionGroupArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainConditionalOriginOriginRuleConditionConditionGroupConditionArgs
{
Object = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
},
Connective = "string",
IsGroup = false,
},
},
},
Switch = false,
},
CustomErrorPage = new Bytepluscc.Cdn.Inputs.DomainCustomErrorPageArgs
{
ErrorPageRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCustomErrorPageErrorPageRuleArgs
{
ErrorPageAction = new Bytepluscc.Cdn.Inputs.DomainCustomErrorPageErrorPageRuleErrorPageActionArgs
{
Action = "string",
RedirectCode = "string",
RedirectUrl = "string",
StatusCode = "string",
},
},
},
Switch = false,
},
CustomizeAccessRule = new Bytepluscc.Cdn.Inputs.DomainCustomizeAccessRuleArgs
{
CustomizeInstances = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCustomizeAccessRuleCustomizeInstanceArgs
{
CustomizeRule = new Bytepluscc.Cdn.Inputs.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleArgs
{
AccessAction = new Bytepluscc.Cdn.Inputs.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleAccessActionArgs
{
AllowEmpty = false,
ListRules = new[]
{
"string",
},
RequestHeader = "string",
RuleType = "string",
},
Condition = new Bytepluscc.Cdn.Inputs.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
},
Switch = false,
},
CacheKeys = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCacheKeyArgs
{
CacheKeyAction = new Bytepluscc.Cdn.Inputs.DomainCacheKeyCacheKeyActionArgs
{
CacheKeyComponents = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCacheKeyCacheKeyActionCacheKeyComponentArgs
{
Action = "string",
IgnoreCase = false,
Object = "string",
Subobject = "string",
},
},
},
Condition = new Bytepluscc.Cdn.Inputs.DomainCacheKeyConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCacheKeyConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
DownloadSpeedLimit = new Bytepluscc.Cdn.Inputs.DomainDownloadSpeedLimitArgs
{
DownloadSpeedLimitRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainDownloadSpeedLimitDownloadSpeedLimitRuleArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
DownloadSpeedLimitAction = new Bytepluscc.Cdn.Inputs.DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionArgs
{
SpeedLimitRate = 0,
SpeedLimitRateAfter = 0,
SpeedLimitTime = new Bytepluscc.Cdn.Inputs.DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionSpeedLimitTimeArgs
{
BeginTime = "string",
DayWeek = "string",
EndTime = "string",
},
},
},
},
Switch = false,
},
FollowRedirect = false,
HttpForcedRedirect = new Bytepluscc.Cdn.Inputs.DomainHttpForcedRedirectArgs
{
EnableForcedRedirect = false,
StatusCode = "string",
},
Https = new Bytepluscc.Cdn.Inputs.DomainHttpsArgs
{
CertCheck = new Bytepluscc.Cdn.Inputs.DomainHttpsCertCheckArgs
{
CertInfoLists = new[]
{
new Bytepluscc.Cdn.Inputs.DomainHttpsCertCheckCertInfoListArgs
{
CertId = "string",
CertName = "string",
Certificate = new Bytepluscc.Cdn.Inputs.DomainHttpsCertCheckCertInfoListCertificateArgs
{
Certificate = "string",
EncryptionCert = "string",
EncryptionKey = "string",
PrivateKey = "string",
},
EffectiveTime = 0,
EncryType = "string",
ExpireTime = 0,
Source = "string",
},
},
Switch = false,
},
CertInfo = new Bytepluscc.Cdn.Inputs.DomainHttpsCertInfoArgs
{
CertId = "string",
CertName = "string",
Certificate = new Bytepluscc.Cdn.Inputs.DomainHttpsCertInfoCertificateArgs
{
Certificate = "string",
EncryptionCert = "string",
EncryptionKey = "string",
PrivateKey = "string",
},
EffectiveTime = 0,
EncryType = "string",
ExpireTime = 0,
Source = "string",
},
CertInfoLists = new[]
{
new Bytepluscc.Cdn.Inputs.DomainHttpsCertInfoListArgs
{
CertId = "string",
CertName = "string",
Certificate = new Bytepluscc.Cdn.Inputs.DomainHttpsCertInfoListCertificateArgs
{
Certificate = "string",
EncryptionCert = "string",
EncryptionKey = "string",
PrivateKey = "string",
},
EffectiveTime = 0,
EncryType = "string",
ExpireTime = 0,
Source = "string",
},
},
DisableHttp = false,
ForcedRedirect = new Bytepluscc.Cdn.Inputs.DomainHttpsForcedRedirectArgs
{
EnableForcedRedirect = false,
StatusCode = "string",
},
Hsts = new Bytepluscc.Cdn.Inputs.DomainHttpsHstsArgs
{
Subdomain = "string",
Switch = false,
Ttl = 0,
},
Http2 = false,
Ocsp = false,
Switch = false,
TlsVersions = new[]
{
"string",
},
},
IPv6 = new Bytepluscc.Cdn.Inputs.DomainIPv6Args
{
Switch = false,
},
IpAccessRule = new Bytepluscc.Cdn.Inputs.DomainIpAccessRuleArgs
{
Ips = new[]
{
"string",
},
RuleType = "string",
SharedConfig = new Bytepluscc.Cdn.Inputs.DomainIpAccessRuleSharedConfigArgs
{
ConfigName = "string",
},
Switch = false,
},
MethodDeniedRule = new Bytepluscc.Cdn.Inputs.DomainMethodDeniedRuleArgs
{
Methods = "string",
Switch = false,
},
MultiRange = new Bytepluscc.Cdn.Inputs.DomainMultiRangeArgs
{
Switch = false,
},
OriginRange = false,
OfflineCache = new Bytepluscc.Cdn.Inputs.DomainOfflineCacheArgs
{
Object = "string",
StatusCode = "string",
Switch = false,
},
OriginAccessRule = new Bytepluscc.Cdn.Inputs.DomainOriginAccessRuleArgs
{
AllowEmpty = false,
IgnoreCase = false,
Origins = new[]
{
"string",
},
RuleType = "string",
Switch = false,
},
OriginArgs = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginArgArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainOriginArgConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginArgConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
OriginArgAction = new Bytepluscc.Cdn.Inputs.DomainOriginArgOriginArgActionArgs
{
OriginArgComponents = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginArgOriginArgActionOriginArgComponentArgs
{
Action = "string",
Object = "string",
Subobject = "string",
},
},
},
},
},
OriginCertCheck = new Bytepluscc.Cdn.Inputs.DomainOriginCertCheckArgs
{
Switch = false,
},
OriginHost = "string",
AreaAccessRule = new Bytepluscc.Cdn.Inputs.DomainAreaAccessRuleArgs
{
Areas = new[]
{
"string",
},
RuleType = "string",
Switch = false,
},
Caches = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCachArgs
{
CacheAction = new Bytepluscc.Cdn.Inputs.DomainCachCacheActionArgs
{
Action = "string",
DefaultPolicy = "string",
IgnoreCase = false,
Ttl = 0,
},
Condition = new Bytepluscc.Cdn.Inputs.DomainCachConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCachConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
OriginProtocol = "string",
ServiceRegion = "string",
OriginRewrite = new Bytepluscc.Cdn.Inputs.DomainOriginRewriteArgs
{
OriginRewriteRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginRewriteOriginRewriteRuleArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainOriginRewriteOriginRewriteRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainOriginRewriteOriginRewriteRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
OriginRewriteAction = new Bytepluscc.Cdn.Inputs.DomainOriginRewriteOriginRewriteRuleOriginRewriteActionArgs
{
RewriteType = "string",
SourcePath = "string",
TargetPath = "string",
},
},
},
Switch = false,
},
OriginSni = new Bytepluscc.Cdn.Inputs.DomainOriginSniArgs
{
SniDomain = "string",
Switch = false,
},
CacheHost = new Bytepluscc.Cdn.Inputs.DomainCacheHostArgs
{
CacheHostRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCacheHostCacheHostRuleArgs
{
CacheHostAction = new Bytepluscc.Cdn.Inputs.DomainCacheHostCacheHostRuleCacheHostActionArgs
{
CacheHost = "string",
},
Condition = new Bytepluscc.Cdn.Inputs.DomainCacheHostCacheHostRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainCacheHostCacheHostRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
Switch = false,
},
PageOptimization = new Bytepluscc.Cdn.Inputs.DomainPageOptimizationArgs
{
OptimizationTypes = new[]
{
"string",
},
Switch = false,
},
Project = "string",
Quic = new Bytepluscc.Cdn.Inputs.DomainQuicArgs
{
Switch = false,
},
RedirectionRewrite = new Bytepluscc.Cdn.Inputs.DomainRedirectionRewriteArgs
{
RedirectionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRedirectionRewriteRedirectionRuleArgs
{
RedirectionAction = new Bytepluscc.Cdn.Inputs.DomainRedirectionRewriteRedirectionRuleRedirectionActionArgs
{
RedirectCode = "string",
SourcePath = "string",
TargetHost = "string",
TargetPath = "string",
TargetProtocol = "string",
TargetQueryComponents = new Bytepluscc.Cdn.Inputs.DomainRedirectionRewriteRedirectionRuleRedirectionActionTargetQueryComponentsArgs
{
Action = "string",
Value = "string",
},
},
},
},
Switch = false,
},
RefererAccessRule = new Bytepluscc.Cdn.Inputs.DomainRefererAccessRuleArgs
{
AllowEmpty = false,
Referers = new[]
{
"string",
},
ReferersType = new Bytepluscc.Cdn.Inputs.DomainRefererAccessRuleReferersTypeArgs
{
CommonType = new Bytepluscc.Cdn.Inputs.DomainRefererAccessRuleReferersTypeCommonTypeArgs
{
IgnoreCase = false,
IgnoreScheme = false,
Referers = new[]
{
"string",
},
},
RegularType = new Bytepluscc.Cdn.Inputs.DomainRefererAccessRuleReferersTypeRegularTypeArgs
{
Referers = new[]
{
"string",
},
},
},
RuleType = "string",
SharedConfig = new Bytepluscc.Cdn.Inputs.DomainRefererAccessRuleSharedConfigArgs
{
ConfigName = "string",
},
Switch = false,
},
RemoteAuth = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthArgs
{
RemoteAuthRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
RemoteAuthRuleAction = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionArgs
{
AuthModeConfig = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthModeConfigArgs
{
BackupRemoteAddr = "string",
MasterRemoteAddr = "string",
PathType = "string",
PathValue = "string",
RequestMethod = "string",
},
AuthResponseConfig = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigArgs
{
CacheAction = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigCacheActionArgs
{
Action = "string",
CacheKeys = new[]
{
"string",
},
Ttl = 0,
},
ResponseAction = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigResponseActionArgs
{
StatusCode = "string",
},
StatusCodeAction = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigStatusCodeActionArgs
{
DefaultAction = "string",
FailCode = "string",
SuccessCode = "string",
},
TimeOutAction = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigTimeOutActionArgs
{
Action = "string",
Time = 0,
},
},
QueryStringRules = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesArgs
{
QueryStringComponents = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringComponentsArgs
{
Action = "string",
Value = "string",
},
QueryStringInstances = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringInstanceArgs
{
Action = "string",
Key = "string",
Value = "string",
ValueType = "string",
},
},
},
RequestBodyRules = "string",
RequestHeaderRules = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesArgs
{
RequestHeaderComponents = new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderComponentsArgs
{
Action = "string",
Value = "string",
},
RequestHeaderInstances = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderInstanceArgs
{
Action = "string",
Key = "string",
Value = "string",
ValueType = "string",
},
},
RequestHost = "string",
},
},
},
},
Switch = false,
},
RequestBlockRule = new Bytepluscc.Cdn.Inputs.DomainRequestBlockRuleArgs
{
BlockRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRequestBlockRuleBlockRuleArgs
{
BlockAction = new Bytepluscc.Cdn.Inputs.DomainRequestBlockRuleBlockRuleBlockActionArgs
{
Action = "string",
ErrorPage = "string",
RedirectUrl = "string",
StatusCode = "string",
},
Condition = new Bytepluscc.Cdn.Inputs.DomainRequestBlockRuleBlockRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRequestBlockRuleBlockRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
RuleName = "string",
},
},
Switch = false,
},
RequestHeaders = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRequestHeaderArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainRequestHeaderConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRequestHeaderConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
RequestHeaderAction = new Bytepluscc.Cdn.Inputs.DomainRequestHeaderRequestHeaderActionArgs
{
RequestHeaderInstances = new[]
{
new Bytepluscc.Cdn.Inputs.DomainRequestHeaderRequestHeaderActionRequestHeaderInstanceArgs
{
Action = "string",
Key = "string",
Value = "string",
ValueType = "string",
},
},
},
},
},
ResponseHeaders = new[]
{
new Bytepluscc.Cdn.Inputs.DomainResponseHeaderArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainResponseHeaderConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainResponseHeaderConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
ResponseHeaderAction = new Bytepluscc.Cdn.Inputs.DomainResponseHeaderResponseHeaderActionArgs
{
ResponseHeaderInstances = new[]
{
new Bytepluscc.Cdn.Inputs.DomainResponseHeaderResponseHeaderActionResponseHeaderInstanceArgs
{
AccessOriginControl = false,
Action = "string",
Key = "string",
Value = "string",
ValueType = "string",
},
},
},
},
},
RewriteHls = new Bytepluscc.Cdn.Inputs.DomainRewriteHlsArgs
{
SignName = "string",
Switch = false,
},
OriginRetry = new Bytepluscc.Cdn.Inputs.DomainOriginRetryArgs
{
StatusCode = "string",
Switch = false,
},
BrowserCaches = new[]
{
new Bytepluscc.Cdn.Inputs.DomainBrowserCachArgs
{
CacheAction = new Bytepluscc.Cdn.Inputs.DomainBrowserCachCacheActionArgs
{
Action = "string",
DefaultPolicy = "string",
IgnoreCase = false,
Ttl = 0,
},
Condition = new Bytepluscc.Cdn.Inputs.DomainBrowserCachConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainBrowserCachConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
},
},
SignedUrlAuth = new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthArgs
{
SignedUrlAuthRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
SignedUrlAuthAction = new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionArgs
{
AuthAlgorithm = "string",
BackupSecretKey = "string",
CustomVariableRules = new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesArgs
{
CustomVariableInstances = new[]
{
new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesCustomVariableInstanceArgs
{
Operator = "string",
Type = "string",
Value = "string",
},
},
},
Duration = 0,
KeepOriginArg = false,
MasterSecretKey = "string",
RewriteM3U8 = false,
RewriteM3U8Rule = new Bytepluscc.Cdn.Inputs.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionRewriteM3U8RuleArgs
{
DeleteParam = false,
KeepM3U8Param = false,
},
SignName = "string",
SignatureRules = new[]
{
"string",
},
TimeFormat = "string",
TimeName = "string",
UrlAuthType = "string",
},
},
},
Switch = false,
},
Tags = new[]
{
new Bytepluscc.Cdn.Inputs.DomainTagArgs
{
Key = "string",
Value = "string",
},
},
Timeout = new Bytepluscc.Cdn.Inputs.DomainTimeoutArgs
{
Switch = false,
TimeoutRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainTimeoutTimeoutRuleArgs
{
Condition = new Bytepluscc.Cdn.Inputs.DomainTimeoutTimeoutRuleConditionArgs
{
ConditionRules = new[]
{
new Bytepluscc.Cdn.Inputs.DomainTimeoutTimeoutRuleConditionConditionRuleArgs
{
Name = "string",
Object = "string",
Operator = "string",
Type = "string",
Value = "string",
},
},
Connective = "string",
},
TimeoutAction = new Bytepluscc.Cdn.Inputs.DomainTimeoutTimeoutRuleTimeoutActionArgs
{
HttpTimeout = 0,
TcpTimeout = 0,
},
},
},
},
UaAccessRule = new Bytepluscc.Cdn.Inputs.DomainUaAccessRuleArgs
{
AllowEmpty = false,
IgnoreCase = false,
RuleType = "string",
Switch = false,
UserAgents = new[]
{
"string",
},
},
UrlNormalize = new Bytepluscc.Cdn.Inputs.DomainUrlNormalizeArgs
{
NormalizeObjects = new[]
{
"string",
},
Switch = false,
},
VideoDrag = new Bytepluscc.Cdn.Inputs.DomainVideoDragArgs
{
Switch = false,
},
});
example, err := cdn.NewDomain(ctx, "domainResource", &cdn.DomainArgs{
Domain: pulumi.String("string"),
ServiceType: pulumi.String("string"),
Origins: cdn.DomainOriginArray{
&cdn.DomainOriginArgs{
OriginAction: &cdn.DomainOriginOriginActionArgs{
OriginLines: cdn.DomainOriginOriginActionOriginLineArray{
&cdn.DomainOriginOriginActionOriginLineArgs{
Address: pulumi.String("string"),
InstanceType: pulumi.String("string"),
OriginType: pulumi.String("string"),
HttpPort: pulumi.String("string"),
HttpsPort: pulumi.String("string"),
OriginHost: pulumi.String("string"),
PrivateBucketAccess: pulumi.Bool(false),
PrivateBucketAuth: &cdn.DomainOriginOriginActionOriginLinePrivateBucketAuthArgs{
AuthType: pulumi.String("string"),
Switch: pulumi.Bool(false),
TosAuthInformation: &cdn.DomainOriginOriginActionOriginLinePrivateBucketAuthTosAuthInformationArgs{
AccessKeyId: pulumi.String("string"),
AccessKeySecret: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
Weight: pulumi.String("string"),
},
},
},
Condition: &cdn.DomainOriginConditionArgs{
ConditionRules: cdn.DomainOriginConditionConditionRuleArray{
&cdn.DomainOriginConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
OriginIPv6: pulumi.String("string"),
NegativeCaches: cdn.DomainNegativeCachArray{
&cdn.DomainNegativeCachArgs{
Condition: &cdn.DomainNegativeCachConditionArgs{
ConditionRules: cdn.DomainNegativeCachConditionConditionRuleArray{
&cdn.DomainNegativeCachConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
NegativeCacheRule: &cdn.DomainNegativeCachNegativeCacheRuleArgs{
Action: pulumi.String("string"),
IgnoreCase: pulumi.Bool(false),
StatusCode: pulumi.String("string"),
Ttl: pulumi.Int(0),
},
},
},
Compression: &cdn.DomainCompressionArgs{
CompressionRules: cdn.DomainCompressionCompressionRuleArray{
&cdn.DomainCompressionCompressionRuleArgs{
CompressionAction: &cdn.DomainCompressionCompressionRuleCompressionActionArgs{
CompressionFormat: pulumi.String("string"),
CompressionTarget: pulumi.String("string"),
CompressionTypes: pulumi.StringArray{
pulumi.String("string"),
},
MaxFileSizeKb: pulumi.Int(0),
MinFileSizeKb: pulumi.Int(0),
},
Condition: &cdn.DomainCompressionCompressionRuleConditionArgs{
ConditionRules: cdn.DomainCompressionCompressionRuleConditionConditionRuleArray{
&cdn.DomainCompressionCompressionRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
Switch: pulumi.Bool(false),
},
ConditionalOrigin: &cdn.DomainConditionalOriginArgs{
OriginRules: cdn.DomainConditionalOriginOriginRuleArray{
&cdn.DomainConditionalOriginOriginRuleArgs{
Actions: &cdn.DomainConditionalOriginOriginRuleActionsArgs{
OriginLines: cdn.DomainConditionalOriginOriginRuleActionsOriginLineArray{
&cdn.DomainConditionalOriginOriginRuleActionsOriginLineArgs{
Address: pulumi.String("string"),
HttpPort: pulumi.String("string"),
HttpsPort: pulumi.String("string"),
InstanceType: pulumi.String("string"),
OriginHost: pulumi.String("string"),
},
},
},
Condition: &cdn.DomainConditionalOriginOriginRuleConditionArgs{
ConditionGroups: cdn.DomainConditionalOriginOriginRuleConditionConditionGroupArray{
&cdn.DomainConditionalOriginOriginRuleConditionConditionGroupArgs{
Condition: &cdn.DomainConditionalOriginOriginRuleConditionConditionGroupConditionArgs{
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Connective: pulumi.String("string"),
IsGroup: pulumi.Bool(false),
},
},
},
Switch: pulumi.Bool(false),
},
CustomErrorPage: &cdn.DomainCustomErrorPageArgs{
ErrorPageRules: cdn.DomainCustomErrorPageErrorPageRuleArray{
&cdn.DomainCustomErrorPageErrorPageRuleArgs{
ErrorPageAction: &cdn.DomainCustomErrorPageErrorPageRuleErrorPageActionArgs{
Action: pulumi.String("string"),
RedirectCode: pulumi.String("string"),
RedirectUrl: pulumi.String("string"),
StatusCode: pulumi.String("string"),
},
},
},
Switch: pulumi.Bool(false),
},
CustomizeAccessRule: &cdn.DomainCustomizeAccessRuleArgs{
CustomizeInstances: cdn.DomainCustomizeAccessRuleCustomizeInstanceArray{
&cdn.DomainCustomizeAccessRuleCustomizeInstanceArgs{
CustomizeRule: &cdn.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleArgs{
AccessAction: &cdn.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleAccessActionArgs{
AllowEmpty: pulumi.Bool(false),
ListRules: pulumi.StringArray{
pulumi.String("string"),
},
RequestHeader: pulumi.String("string"),
RuleType: pulumi.String("string"),
},
Condition: &cdn.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionArgs{
ConditionRules: cdn.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionConditionRuleArray{
&cdn.DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
},
Switch: pulumi.Bool(false),
},
CacheKeys: cdn.DomainCacheKeyArray{
&cdn.DomainCacheKeyArgs{
CacheKeyAction: &cdn.DomainCacheKeyCacheKeyActionArgs{
CacheKeyComponents: cdn.DomainCacheKeyCacheKeyActionCacheKeyComponentArray{
&cdn.DomainCacheKeyCacheKeyActionCacheKeyComponentArgs{
Action: pulumi.String("string"),
IgnoreCase: pulumi.Bool(false),
Object: pulumi.String("string"),
Subobject: pulumi.String("string"),
},
},
},
Condition: &cdn.DomainCacheKeyConditionArgs{
ConditionRules: cdn.DomainCacheKeyConditionConditionRuleArray{
&cdn.DomainCacheKeyConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
DownloadSpeedLimit: &cdn.DomainDownloadSpeedLimitArgs{
DownloadSpeedLimitRules: cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleArray{
&cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleArgs{
Condition: &cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionArgs{
ConditionRules: cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionConditionRuleArray{
&cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
DownloadSpeedLimitAction: &cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionArgs{
SpeedLimitRate: pulumi.Int(0),
SpeedLimitRateAfter: pulumi.Int(0),
SpeedLimitTime: &cdn.DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionSpeedLimitTimeArgs{
BeginTime: pulumi.String("string"),
DayWeek: pulumi.String("string"),
EndTime: pulumi.String("string"),
},
},
},
},
Switch: pulumi.Bool(false),
},
FollowRedirect: pulumi.Bool(false),
HttpForcedRedirect: &cdn.DomainHttpForcedRedirectArgs{
EnableForcedRedirect: pulumi.Bool(false),
StatusCode: pulumi.String("string"),
},
Https: &cdn.DomainHttpsArgs{
CertCheck: &cdn.DomainHttpsCertCheckArgs{
CertInfoLists: cdn.DomainHttpsCertCheckCertInfoListArray{
&cdn.DomainHttpsCertCheckCertInfoListArgs{
CertId: pulumi.String("string"),
CertName: pulumi.String("string"),
Certificate: &cdn.DomainHttpsCertCheckCertInfoListCertificateArgs{
Certificate: pulumi.String("string"),
EncryptionCert: pulumi.String("string"),
EncryptionKey: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
},
EffectiveTime: pulumi.Int(0),
EncryType: pulumi.String("string"),
ExpireTime: pulumi.Int(0),
Source: pulumi.String("string"),
},
},
Switch: pulumi.Bool(false),
},
CertInfo: &cdn.DomainHttpsCertInfoArgs{
CertId: pulumi.String("string"),
CertName: pulumi.String("string"),
Certificate: &cdn.DomainHttpsCertInfoCertificateArgs{
Certificate: pulumi.String("string"),
EncryptionCert: pulumi.String("string"),
EncryptionKey: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
},
EffectiveTime: pulumi.Int(0),
EncryType: pulumi.String("string"),
ExpireTime: pulumi.Int(0),
Source: pulumi.String("string"),
},
CertInfoLists: cdn.DomainHttpsCertInfoListArray{
&cdn.DomainHttpsCertInfoListArgs{
CertId: pulumi.String("string"),
CertName: pulumi.String("string"),
Certificate: &cdn.DomainHttpsCertInfoListCertificateArgs{
Certificate: pulumi.String("string"),
EncryptionCert: pulumi.String("string"),
EncryptionKey: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
},
EffectiveTime: pulumi.Int(0),
EncryType: pulumi.String("string"),
ExpireTime: pulumi.Int(0),
Source: pulumi.String("string"),
},
},
DisableHttp: pulumi.Bool(false),
ForcedRedirect: &cdn.DomainHttpsForcedRedirectArgs{
EnableForcedRedirect: pulumi.Bool(false),
StatusCode: pulumi.String("string"),
},
Hsts: &cdn.DomainHttpsHstsArgs{
Subdomain: pulumi.String("string"),
Switch: pulumi.Bool(false),
Ttl: pulumi.Int(0),
},
Http2: pulumi.Bool(false),
Ocsp: pulumi.Bool(false),
Switch: pulumi.Bool(false),
TlsVersions: pulumi.StringArray{
pulumi.String("string"),
},
},
IPv6: &cdn.DomainIPv6Args{
Switch: pulumi.Bool(false),
},
IpAccessRule: &cdn.DomainIpAccessRuleArgs{
Ips: pulumi.StringArray{
pulumi.String("string"),
},
RuleType: pulumi.String("string"),
SharedConfig: &cdn.DomainIpAccessRuleSharedConfigArgs{
ConfigName: pulumi.String("string"),
},
Switch: pulumi.Bool(false),
},
MethodDeniedRule: &cdn.DomainMethodDeniedRuleArgs{
Methods: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
MultiRange: &cdn.DomainMultiRangeArgs{
Switch: pulumi.Bool(false),
},
OriginRange: pulumi.Bool(false),
OfflineCache: &cdn.DomainOfflineCacheArgs{
Object: pulumi.String("string"),
StatusCode: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
OriginAccessRule: &cdn.DomainOriginAccessRuleArgs{
AllowEmpty: pulumi.Bool(false),
IgnoreCase: pulumi.Bool(false),
Origins: pulumi.StringArray{
pulumi.String("string"),
},
RuleType: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
OriginArgs: cdn.DomainOriginArgArray{
&cdn.DomainOriginArgArgs{
Condition: &cdn.DomainOriginArgConditionArgs{
ConditionRules: cdn.DomainOriginArgConditionConditionRuleArray{
&cdn.DomainOriginArgConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
OriginArgAction: &cdn.DomainOriginArgOriginArgActionArgs{
OriginArgComponents: cdn.DomainOriginArgOriginArgActionOriginArgComponentArray{
&cdn.DomainOriginArgOriginArgActionOriginArgComponentArgs{
Action: pulumi.String("string"),
Object: pulumi.String("string"),
Subobject: pulumi.String("string"),
},
},
},
},
},
OriginCertCheck: &cdn.DomainOriginCertCheckArgs{
Switch: pulumi.Bool(false),
},
OriginHost: pulumi.String("string"),
AreaAccessRule: &cdn.DomainAreaAccessRuleArgs{
Areas: pulumi.StringArray{
pulumi.String("string"),
},
RuleType: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
Caches: cdn.DomainCachArray{
&cdn.DomainCachArgs{
CacheAction: &cdn.DomainCachCacheActionArgs{
Action: pulumi.String("string"),
DefaultPolicy: pulumi.String("string"),
IgnoreCase: pulumi.Bool(false),
Ttl: pulumi.Int(0),
},
Condition: &cdn.DomainCachConditionArgs{
ConditionRules: cdn.DomainCachConditionConditionRuleArray{
&cdn.DomainCachConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
OriginProtocol: pulumi.String("string"),
ServiceRegion: pulumi.String("string"),
OriginRewrite: &cdn.DomainOriginRewriteArgs{
OriginRewriteRules: cdn.DomainOriginRewriteOriginRewriteRuleArray{
&cdn.DomainOriginRewriteOriginRewriteRuleArgs{
Condition: &cdn.DomainOriginRewriteOriginRewriteRuleConditionArgs{
ConditionRules: cdn.DomainOriginRewriteOriginRewriteRuleConditionConditionRuleArray{
&cdn.DomainOriginRewriteOriginRewriteRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
OriginRewriteAction: &cdn.DomainOriginRewriteOriginRewriteRuleOriginRewriteActionArgs{
RewriteType: pulumi.String("string"),
SourcePath: pulumi.String("string"),
TargetPath: pulumi.String("string"),
},
},
},
Switch: pulumi.Bool(false),
},
OriginSni: &cdn.DomainOriginSniArgs{
SniDomain: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
CacheHost: &cdn.DomainCacheHostArgs{
CacheHostRules: cdn.DomainCacheHostCacheHostRuleArray{
&cdn.DomainCacheHostCacheHostRuleArgs{
CacheHostAction: &cdn.DomainCacheHostCacheHostRuleCacheHostActionArgs{
CacheHost: pulumi.String("string"),
},
Condition: &cdn.DomainCacheHostCacheHostRuleConditionArgs{
ConditionRules: cdn.DomainCacheHostCacheHostRuleConditionConditionRuleArray{
&cdn.DomainCacheHostCacheHostRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
Switch: pulumi.Bool(false),
},
PageOptimization: &cdn.DomainPageOptimizationArgs{
OptimizationTypes: pulumi.StringArray{
pulumi.String("string"),
},
Switch: pulumi.Bool(false),
},
Project: pulumi.String("string"),
Quic: &cdn.DomainQuicArgs{
Switch: pulumi.Bool(false),
},
RedirectionRewrite: &cdn.DomainRedirectionRewriteArgs{
RedirectionRules: cdn.DomainRedirectionRewriteRedirectionRuleArray{
&cdn.DomainRedirectionRewriteRedirectionRuleArgs{
RedirectionAction: &cdn.DomainRedirectionRewriteRedirectionRuleRedirectionActionArgs{
RedirectCode: pulumi.String("string"),
SourcePath: pulumi.String("string"),
TargetHost: pulumi.String("string"),
TargetPath: pulumi.String("string"),
TargetProtocol: pulumi.String("string"),
TargetQueryComponents: &cdn.DomainRedirectionRewriteRedirectionRuleRedirectionActionTargetQueryComponentsArgs{
Action: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
Switch: pulumi.Bool(false),
},
RefererAccessRule: &cdn.DomainRefererAccessRuleArgs{
AllowEmpty: pulumi.Bool(false),
Referers: pulumi.StringArray{
pulumi.String("string"),
},
ReferersType: &cdn.DomainRefererAccessRuleReferersTypeArgs{
CommonType: &cdn.DomainRefererAccessRuleReferersTypeCommonTypeArgs{
IgnoreCase: pulumi.Bool(false),
IgnoreScheme: pulumi.Bool(false),
Referers: pulumi.StringArray{
pulumi.String("string"),
},
},
RegularType: &cdn.DomainRefererAccessRuleReferersTypeRegularTypeArgs{
Referers: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RuleType: pulumi.String("string"),
SharedConfig: &cdn.DomainRefererAccessRuleSharedConfigArgs{
ConfigName: pulumi.String("string"),
},
Switch: pulumi.Bool(false),
},
RemoteAuth: &cdn.DomainRemoteAuthArgs{
RemoteAuthRules: cdn.DomainRemoteAuthRemoteAuthRuleArray{
&cdn.DomainRemoteAuthRemoteAuthRuleArgs{
Condition: &cdn.DomainRemoteAuthRemoteAuthRuleConditionArgs{
ConditionRules: cdn.DomainRemoteAuthRemoteAuthRuleConditionConditionRuleArray{
&cdn.DomainRemoteAuthRemoteAuthRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
RemoteAuthRuleAction: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionArgs{
AuthModeConfig: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthModeConfigArgs{
BackupRemoteAddr: pulumi.String("string"),
MasterRemoteAddr: pulumi.String("string"),
PathType: pulumi.String("string"),
PathValue: pulumi.String("string"),
RequestMethod: pulumi.String("string"),
},
AuthResponseConfig: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigArgs{
CacheAction: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigCacheActionArgs{
Action: pulumi.String("string"),
CacheKeys: pulumi.StringArray{
pulumi.String("string"),
},
Ttl: pulumi.Int(0),
},
ResponseAction: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigResponseActionArgs{
StatusCode: pulumi.String("string"),
},
StatusCodeAction: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigStatusCodeActionArgs{
DefaultAction: pulumi.String("string"),
FailCode: pulumi.String("string"),
SuccessCode: pulumi.String("string"),
},
TimeOutAction: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigTimeOutActionArgs{
Action: pulumi.String("string"),
Time: pulumi.Int(0),
},
},
QueryStringRules: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesArgs{
QueryStringComponents: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringComponentsArgs{
Action: pulumi.String("string"),
Value: pulumi.String("string"),
},
QueryStringInstances: cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringInstanceArray{
&cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringInstanceArgs{
Action: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
ValueType: pulumi.String("string"),
},
},
},
RequestBodyRules: pulumi.String("string"),
RequestHeaderRules: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesArgs{
RequestHeaderComponents: &cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderComponentsArgs{
Action: pulumi.String("string"),
Value: pulumi.String("string"),
},
RequestHeaderInstances: cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderInstanceArray{
&cdn.DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderInstanceArgs{
Action: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
ValueType: pulumi.String("string"),
},
},
RequestHost: pulumi.String("string"),
},
},
},
},
Switch: pulumi.Bool(false),
},
RequestBlockRule: &cdn.DomainRequestBlockRuleArgs{
BlockRules: cdn.DomainRequestBlockRuleBlockRuleArray{
&cdn.DomainRequestBlockRuleBlockRuleArgs{
BlockAction: &cdn.DomainRequestBlockRuleBlockRuleBlockActionArgs{
Action: pulumi.String("string"),
ErrorPage: pulumi.String("string"),
RedirectUrl: pulumi.String("string"),
StatusCode: pulumi.String("string"),
},
Condition: &cdn.DomainRequestBlockRuleBlockRuleConditionArgs{
ConditionRules: cdn.DomainRequestBlockRuleBlockRuleConditionConditionRuleArray{
&cdn.DomainRequestBlockRuleBlockRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
RuleName: pulumi.String("string"),
},
},
Switch: pulumi.Bool(false),
},
RequestHeaders: cdn.DomainRequestHeaderArray{
&cdn.DomainRequestHeaderArgs{
Condition: &cdn.DomainRequestHeaderConditionArgs{
ConditionRules: cdn.DomainRequestHeaderConditionConditionRuleArray{
&cdn.DomainRequestHeaderConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
RequestHeaderAction: &cdn.DomainRequestHeaderRequestHeaderActionArgs{
RequestHeaderInstances: cdn.DomainRequestHeaderRequestHeaderActionRequestHeaderInstanceArray{
&cdn.DomainRequestHeaderRequestHeaderActionRequestHeaderInstanceArgs{
Action: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
ValueType: pulumi.String("string"),
},
},
},
},
},
ResponseHeaders: cdn.DomainResponseHeaderArray{
&cdn.DomainResponseHeaderArgs{
Condition: &cdn.DomainResponseHeaderConditionArgs{
ConditionRules: cdn.DomainResponseHeaderConditionConditionRuleArray{
&cdn.DomainResponseHeaderConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
ResponseHeaderAction: &cdn.DomainResponseHeaderResponseHeaderActionArgs{
ResponseHeaderInstances: cdn.DomainResponseHeaderResponseHeaderActionResponseHeaderInstanceArray{
&cdn.DomainResponseHeaderResponseHeaderActionResponseHeaderInstanceArgs{
AccessOriginControl: pulumi.Bool(false),
Action: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
ValueType: pulumi.String("string"),
},
},
},
},
},
RewriteHls: &cdn.DomainRewriteHlsArgs{
SignName: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
OriginRetry: &cdn.DomainOriginRetryArgs{
StatusCode: pulumi.String("string"),
Switch: pulumi.Bool(false),
},
BrowserCaches: cdn.DomainBrowserCachArray{
&cdn.DomainBrowserCachArgs{
CacheAction: &cdn.DomainBrowserCachCacheActionArgs{
Action: pulumi.String("string"),
DefaultPolicy: pulumi.String("string"),
IgnoreCase: pulumi.Bool(false),
Ttl: pulumi.Int(0),
},
Condition: &cdn.DomainBrowserCachConditionArgs{
ConditionRules: cdn.DomainBrowserCachConditionConditionRuleArray{
&cdn.DomainBrowserCachConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
},
},
SignedUrlAuth: &cdn.DomainSignedUrlAuthArgs{
SignedUrlAuthRules: cdn.DomainSignedUrlAuthSignedUrlAuthRuleArray{
&cdn.DomainSignedUrlAuthSignedUrlAuthRuleArgs{
Condition: &cdn.DomainSignedUrlAuthSignedUrlAuthRuleConditionArgs{
ConditionRules: cdn.DomainSignedUrlAuthSignedUrlAuthRuleConditionConditionRuleArray{
&cdn.DomainSignedUrlAuthSignedUrlAuthRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
SignedUrlAuthAction: &cdn.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionArgs{
AuthAlgorithm: pulumi.String("string"),
BackupSecretKey: pulumi.String("string"),
CustomVariableRules: &cdn.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesArgs{
CustomVariableInstances: cdn.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesCustomVariableInstanceArray{
&cdn.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesCustomVariableInstanceArgs{
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Duration: pulumi.Int(0),
KeepOriginArg: pulumi.Bool(false),
MasterSecretKey: pulumi.String("string"),
RewriteM3U8: pulumi.Bool(false),
RewriteM3U8Rule: &cdn.DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionRewriteM3U8RuleArgs{
DeleteParam: pulumi.Bool(false),
KeepM3U8Param: pulumi.Bool(false),
},
SignName: pulumi.String("string"),
SignatureRules: pulumi.StringArray{
pulumi.String("string"),
},
TimeFormat: pulumi.String("string"),
TimeName: pulumi.String("string"),
UrlAuthType: pulumi.String("string"),
},
},
},
Switch: pulumi.Bool(false),
},
Tags: cdn.DomainTagArray{
&cdn.DomainTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeout: &cdn.DomainTimeoutArgs{
Switch: pulumi.Bool(false),
TimeoutRules: cdn.DomainTimeoutTimeoutRuleArray{
&cdn.DomainTimeoutTimeoutRuleArgs{
Condition: &cdn.DomainTimeoutTimeoutRuleConditionArgs{
ConditionRules: cdn.DomainTimeoutTimeoutRuleConditionConditionRuleArray{
&cdn.DomainTimeoutTimeoutRuleConditionConditionRuleArgs{
Name: pulumi.String("string"),
Object: pulumi.String("string"),
Operator: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Connective: pulumi.String("string"),
},
TimeoutAction: &cdn.DomainTimeoutTimeoutRuleTimeoutActionArgs{
HttpTimeout: pulumi.Int(0),
TcpTimeout: pulumi.Int(0),
},
},
},
},
UaAccessRule: &cdn.DomainUaAccessRuleArgs{
AllowEmpty: pulumi.Bool(false),
IgnoreCase: pulumi.Bool(false),
RuleType: pulumi.String("string"),
Switch: pulumi.Bool(false),
UserAgents: pulumi.StringArray{
pulumi.String("string"),
},
},
UrlNormalize: &cdn.DomainUrlNormalizeArgs{
NormalizeObjects: pulumi.StringArray{
pulumi.String("string"),
},
Switch: pulumi.Bool(false),
},
VideoDrag: &cdn.DomainVideoDragArgs{
Switch: pulumi.Bool(false),
},
})
var domainResource = new com.byteplus.bytepluscc.cdn.Domain("domainResource", com.byteplus.bytepluscc.cdn.DomainArgs.builder()
.domain("string")
.serviceType("string")
.origins(DomainOriginArgs.builder()
.originAction(DomainOriginOriginActionArgs.builder()
.originLines(DomainOriginOriginActionOriginLineArgs.builder()
.address("string")
.instanceType("string")
.originType("string")
.httpPort("string")
.httpsPort("string")
.originHost("string")
.privateBucketAccess(false)
.privateBucketAuth(DomainOriginOriginActionOriginLinePrivateBucketAuthArgs.builder()
.authType("string")
.switch_(false)
.tosAuthInformation(DomainOriginOriginActionOriginLinePrivateBucketAuthTosAuthInformationArgs.builder()
.accessKeyId("string")
.accessKeySecret("string")
.build())
.build())
.region("string")
.weight("string")
.build())
.build())
.condition(DomainOriginConditionArgs.builder()
.conditionRules(DomainOriginConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.originIPv6("string")
.negativeCaches(DomainNegativeCachArgs.builder()
.condition(DomainNegativeCachConditionArgs.builder()
.conditionRules(DomainNegativeCachConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.negativeCacheRule(DomainNegativeCachNegativeCacheRuleArgs.builder()
.action("string")
.ignoreCase(false)
.statusCode("string")
.ttl(0)
.build())
.build())
.compression(DomainCompressionArgs.builder()
.compressionRules(DomainCompressionCompressionRuleArgs.builder()
.compressionAction(DomainCompressionCompressionRuleCompressionActionArgs.builder()
.compressionFormat("string")
.compressionTarget("string")
.compressionTypes("string")
.maxFileSizeKb(0)
.minFileSizeKb(0)
.build())
.condition(DomainCompressionCompressionRuleConditionArgs.builder()
.conditionRules(DomainCompressionCompressionRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.switch_(false)
.build())
.conditionalOrigin(DomainConditionalOriginArgs.builder()
.originRules(DomainConditionalOriginOriginRuleArgs.builder()
.actions(DomainConditionalOriginOriginRuleActionsArgs.builder()
.originLines(DomainConditionalOriginOriginRuleActionsOriginLineArgs.builder()
.address("string")
.httpPort("string")
.httpsPort("string")
.instanceType("string")
.originHost("string")
.build())
.build())
.condition(DomainConditionalOriginOriginRuleConditionArgs.builder()
.conditionGroups(DomainConditionalOriginOriginRuleConditionConditionGroupArgs.builder()
.condition(DomainConditionalOriginOriginRuleConditionConditionGroupConditionArgs.builder()
.object("string")
.operator("string")
.values("string")
.build())
.build())
.connective("string")
.isGroup(false)
.build())
.build())
.switch_(false)
.build())
.customErrorPage(DomainCustomErrorPageArgs.builder()
.errorPageRules(DomainCustomErrorPageErrorPageRuleArgs.builder()
.errorPageAction(DomainCustomErrorPageErrorPageRuleErrorPageActionArgs.builder()
.action("string")
.redirectCode("string")
.redirectUrl("string")
.statusCode("string")
.build())
.build())
.switch_(false)
.build())
.customizeAccessRule(DomainCustomizeAccessRuleArgs.builder()
.customizeInstances(DomainCustomizeAccessRuleCustomizeInstanceArgs.builder()
.customizeRule(DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleArgs.builder()
.accessAction(DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleAccessActionArgs.builder()
.allowEmpty(false)
.listRules("string")
.requestHeader("string")
.ruleType("string")
.build())
.condition(DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionArgs.builder()
.conditionRules(DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.build())
.switch_(false)
.build())
.cacheKeys(DomainCacheKeyArgs.builder()
.cacheKeyAction(DomainCacheKeyCacheKeyActionArgs.builder()
.cacheKeyComponents(DomainCacheKeyCacheKeyActionCacheKeyComponentArgs.builder()
.action("string")
.ignoreCase(false)
.object("string")
.subobject("string")
.build())
.build())
.condition(DomainCacheKeyConditionArgs.builder()
.conditionRules(DomainCacheKeyConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.downloadSpeedLimit(DomainDownloadSpeedLimitArgs.builder()
.downloadSpeedLimitRules(DomainDownloadSpeedLimitDownloadSpeedLimitRuleArgs.builder()
.condition(DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionArgs.builder()
.conditionRules(DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.downloadSpeedLimitAction(DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionArgs.builder()
.speedLimitRate(0)
.speedLimitRateAfter(0)
.speedLimitTime(DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionSpeedLimitTimeArgs.builder()
.beginTime("string")
.dayWeek("string")
.endTime("string")
.build())
.build())
.build())
.switch_(false)
.build())
.followRedirect(false)
.httpForcedRedirect(DomainHttpForcedRedirectArgs.builder()
.enableForcedRedirect(false)
.statusCode("string")
.build())
.https(DomainHttpsArgs.builder()
.certCheck(DomainHttpsCertCheckArgs.builder()
.certInfoLists(DomainHttpsCertCheckCertInfoListArgs.builder()
.certId("string")
.certName("string")
.certificate(DomainHttpsCertCheckCertInfoListCertificateArgs.builder()
.certificate("string")
.encryptionCert("string")
.encryptionKey("string")
.privateKey("string")
.build())
.effectiveTime(0)
.encryType("string")
.expireTime(0)
.source("string")
.build())
.switch_(false)
.build())
.certInfo(DomainHttpsCertInfoArgs.builder()
.certId("string")
.certName("string")
.certificate(DomainHttpsCertInfoCertificateArgs.builder()
.certificate("string")
.encryptionCert("string")
.encryptionKey("string")
.privateKey("string")
.build())
.effectiveTime(0)
.encryType("string")
.expireTime(0)
.source("string")
.build())
.certInfoLists(DomainHttpsCertInfoListArgs.builder()
.certId("string")
.certName("string")
.certificate(DomainHttpsCertInfoListCertificateArgs.builder()
.certificate("string")
.encryptionCert("string")
.encryptionKey("string")
.privateKey("string")
.build())
.effectiveTime(0)
.encryType("string")
.expireTime(0)
.source("string")
.build())
.disableHttp(false)
.forcedRedirect(DomainHttpsForcedRedirectArgs.builder()
.enableForcedRedirect(false)
.statusCode("string")
.build())
.hsts(DomainHttpsHstsArgs.builder()
.subdomain("string")
.switch_(false)
.ttl(0)
.build())
.http2(false)
.ocsp(false)
.switch_(false)
.tlsVersions("string")
.build())
.iPv6(DomainIPv6Args.builder()
.switch_(false)
.build())
.ipAccessRule(DomainIpAccessRuleArgs.builder()
.ips("string")
.ruleType("string")
.sharedConfig(DomainIpAccessRuleSharedConfigArgs.builder()
.configName("string")
.build())
.switch_(false)
.build())
.methodDeniedRule(DomainMethodDeniedRuleArgs.builder()
.methods("string")
.switch_(false)
.build())
.multiRange(DomainMultiRangeArgs.builder()
.switch_(false)
.build())
.originRange(false)
.offlineCache(DomainOfflineCacheArgs.builder()
.object("string")
.statusCode("string")
.switch_(false)
.build())
.originAccessRule(DomainOriginAccessRuleArgs.builder()
.allowEmpty(false)
.ignoreCase(false)
.origins("string")
.ruleType("string")
.switch_(false)
.build())
.originArgs(DomainOriginArgArgs.builder()
.condition(DomainOriginArgConditionArgs.builder()
.conditionRules(DomainOriginArgConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.originArgAction(DomainOriginArgOriginArgActionArgs.builder()
.originArgComponents(DomainOriginArgOriginArgActionOriginArgComponentArgs.builder()
.action("string")
.object("string")
.subobject("string")
.build())
.build())
.build())
.originCertCheck(DomainOriginCertCheckArgs.builder()
.switch_(false)
.build())
.originHost("string")
.areaAccessRule(DomainAreaAccessRuleArgs.builder()
.areas("string")
.ruleType("string")
.switch_(false)
.build())
.caches(DomainCachArgs.builder()
.cacheAction(DomainCachCacheActionArgs.builder()
.action("string")
.defaultPolicy("string")
.ignoreCase(false)
.ttl(0)
.build())
.condition(DomainCachConditionArgs.builder()
.conditionRules(DomainCachConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.originProtocol("string")
.serviceRegion("string")
.originRewrite(DomainOriginRewriteArgs.builder()
.originRewriteRules(DomainOriginRewriteOriginRewriteRuleArgs.builder()
.condition(DomainOriginRewriteOriginRewriteRuleConditionArgs.builder()
.conditionRules(DomainOriginRewriteOriginRewriteRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.originRewriteAction(DomainOriginRewriteOriginRewriteRuleOriginRewriteActionArgs.builder()
.rewriteType("string")
.sourcePath("string")
.targetPath("string")
.build())
.build())
.switch_(false)
.build())
.originSni(DomainOriginSniArgs.builder()
.sniDomain("string")
.switch_(false)
.build())
.cacheHost(DomainCacheHostArgs.builder()
.cacheHostRules(DomainCacheHostCacheHostRuleArgs.builder()
.cacheHostAction(DomainCacheHostCacheHostRuleCacheHostActionArgs.builder()
.cacheHost("string")
.build())
.condition(DomainCacheHostCacheHostRuleConditionArgs.builder()
.conditionRules(DomainCacheHostCacheHostRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.switch_(false)
.build())
.pageOptimization(DomainPageOptimizationArgs.builder()
.optimizationTypes("string")
.switch_(false)
.build())
.project("string")
.quic(DomainQuicArgs.builder()
.switch_(false)
.build())
.redirectionRewrite(DomainRedirectionRewriteArgs.builder()
.redirectionRules(DomainRedirectionRewriteRedirectionRuleArgs.builder()
.redirectionAction(DomainRedirectionRewriteRedirectionRuleRedirectionActionArgs.builder()
.redirectCode("string")
.sourcePath("string")
.targetHost("string")
.targetPath("string")
.targetProtocol("string")
.targetQueryComponents(DomainRedirectionRewriteRedirectionRuleRedirectionActionTargetQueryComponentsArgs.builder()
.action("string")
.value("string")
.build())
.build())
.build())
.switch_(false)
.build())
.refererAccessRule(DomainRefererAccessRuleArgs.builder()
.allowEmpty(false)
.referers("string")
.referersType(DomainRefererAccessRuleReferersTypeArgs.builder()
.commonType(DomainRefererAccessRuleReferersTypeCommonTypeArgs.builder()
.ignoreCase(false)
.ignoreScheme(false)
.referers("string")
.build())
.regularType(DomainRefererAccessRuleReferersTypeRegularTypeArgs.builder()
.referers("string")
.build())
.build())
.ruleType("string")
.sharedConfig(DomainRefererAccessRuleSharedConfigArgs.builder()
.configName("string")
.build())
.switch_(false)
.build())
.remoteAuth(DomainRemoteAuthArgs.builder()
.remoteAuthRules(DomainRemoteAuthRemoteAuthRuleArgs.builder()
.condition(DomainRemoteAuthRemoteAuthRuleConditionArgs.builder()
.conditionRules(DomainRemoteAuthRemoteAuthRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.remoteAuthRuleAction(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionArgs.builder()
.authModeConfig(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthModeConfigArgs.builder()
.backupRemoteAddr("string")
.masterRemoteAddr("string")
.pathType("string")
.pathValue("string")
.requestMethod("string")
.build())
.authResponseConfig(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigArgs.builder()
.cacheAction(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigCacheActionArgs.builder()
.action("string")
.cacheKeys("string")
.ttl(0)
.build())
.responseAction(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigResponseActionArgs.builder()
.statusCode("string")
.build())
.statusCodeAction(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigStatusCodeActionArgs.builder()
.defaultAction("string")
.failCode("string")
.successCode("string")
.build())
.timeOutAction(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigTimeOutActionArgs.builder()
.action("string")
.time(0)
.build())
.build())
.queryStringRules(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesArgs.builder()
.queryStringComponents(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringComponentsArgs.builder()
.action("string")
.value("string")
.build())
.queryStringInstances(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringInstanceArgs.builder()
.action("string")
.key("string")
.value("string")
.valueType("string")
.build())
.build())
.requestBodyRules("string")
.requestHeaderRules(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesArgs.builder()
.requestHeaderComponents(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderComponentsArgs.builder()
.action("string")
.value("string")
.build())
.requestHeaderInstances(DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderInstanceArgs.builder()
.action("string")
.key("string")
.value("string")
.valueType("string")
.build())
.requestHost("string")
.build())
.build())
.build())
.switch_(false)
.build())
.requestBlockRule(DomainRequestBlockRuleArgs.builder()
.blockRules(DomainRequestBlockRuleBlockRuleArgs.builder()
.blockAction(DomainRequestBlockRuleBlockRuleBlockActionArgs.builder()
.action("string")
.errorPage("string")
.redirectUrl("string")
.statusCode("string")
.build())
.condition(DomainRequestBlockRuleBlockRuleConditionArgs.builder()
.conditionRules(DomainRequestBlockRuleBlockRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.ruleName("string")
.build())
.switch_(false)
.build())
.requestHeaders(DomainRequestHeaderArgs.builder()
.condition(DomainRequestHeaderConditionArgs.builder()
.conditionRules(DomainRequestHeaderConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.requestHeaderAction(DomainRequestHeaderRequestHeaderActionArgs.builder()
.requestHeaderInstances(DomainRequestHeaderRequestHeaderActionRequestHeaderInstanceArgs.builder()
.action("string")
.key("string")
.value("string")
.valueType("string")
.build())
.build())
.build())
.responseHeaders(DomainResponseHeaderArgs.builder()
.condition(DomainResponseHeaderConditionArgs.builder()
.conditionRules(DomainResponseHeaderConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.responseHeaderAction(DomainResponseHeaderResponseHeaderActionArgs.builder()
.responseHeaderInstances(DomainResponseHeaderResponseHeaderActionResponseHeaderInstanceArgs.builder()
.accessOriginControl(false)
.action("string")
.key("string")
.value("string")
.valueType("string")
.build())
.build())
.build())
.rewriteHls(DomainRewriteHlsArgs.builder()
.signName("string")
.switch_(false)
.build())
.originRetry(DomainOriginRetryArgs.builder()
.statusCode("string")
.switch_(false)
.build())
.browserCaches(DomainBrowserCachArgs.builder()
.cacheAction(DomainBrowserCachCacheActionArgs.builder()
.action("string")
.defaultPolicy("string")
.ignoreCase(false)
.ttl(0)
.build())
.condition(DomainBrowserCachConditionArgs.builder()
.conditionRules(DomainBrowserCachConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.build())
.signedUrlAuth(DomainSignedUrlAuthArgs.builder()
.signedUrlAuthRules(DomainSignedUrlAuthSignedUrlAuthRuleArgs.builder()
.condition(DomainSignedUrlAuthSignedUrlAuthRuleConditionArgs.builder()
.conditionRules(DomainSignedUrlAuthSignedUrlAuthRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.signedUrlAuthAction(DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionArgs.builder()
.authAlgorithm("string")
.backupSecretKey("string")
.customVariableRules(DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesArgs.builder()
.customVariableInstances(DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesCustomVariableInstanceArgs.builder()
.operator("string")
.type("string")
.value("string")
.build())
.build())
.duration(0)
.keepOriginArg(false)
.masterSecretKey("string")
.rewriteM3U8(false)
.rewriteM3U8Rule(DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionRewriteM3U8RuleArgs.builder()
.deleteParam(false)
.keepM3U8Param(false)
.build())
.signName("string")
.signatureRules("string")
.timeFormat("string")
.timeName("string")
.urlAuthType("string")
.build())
.build())
.switch_(false)
.build())
.tags(DomainTagArgs.builder()
.key("string")
.value("string")
.build())
.timeout(DomainTimeoutArgs.builder()
.switch_(false)
.timeoutRules(DomainTimeoutTimeoutRuleArgs.builder()
.condition(DomainTimeoutTimeoutRuleConditionArgs.builder()
.conditionRules(DomainTimeoutTimeoutRuleConditionConditionRuleArgs.builder()
.name("string")
.object("string")
.operator("string")
.type("string")
.value("string")
.build())
.connective("string")
.build())
.timeoutAction(DomainTimeoutTimeoutRuleTimeoutActionArgs.builder()
.httpTimeout(0)
.tcpTimeout(0)
.build())
.build())
.build())
.uaAccessRule(DomainUaAccessRuleArgs.builder()
.allowEmpty(false)
.ignoreCase(false)
.ruleType("string")
.switch_(false)
.userAgents("string")
.build())
.urlNormalize(DomainUrlNormalizeArgs.builder()
.normalizeObjects("string")
.switch_(false)
.build())
.videoDrag(DomainVideoDragArgs.builder()
.switch_(false)
.build())
.build());
domain_resource = bytepluscc.cdn.Domain("domainResource",
domain="string",
service_type="string",
origins=[{
"origin_action": {
"origin_lines": [{
"address": "string",
"instance_type": "string",
"origin_type": "string",
"http_port": "string",
"https_port": "string",
"origin_host": "string",
"private_bucket_access": False,
"private_bucket_auth": {
"auth_type": "string",
"switch": False,
"tos_auth_information": {
"access_key_id": "string",
"access_key_secret": "string",
},
},
"region": "string",
"weight": "string",
}],
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
}],
origin_i_pv6="string",
negative_caches=[{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"negative_cache_rule": {
"action": "string",
"ignore_case": False,
"status_code": "string",
"ttl": 0,
},
}],
compression={
"compression_rules": [{
"compression_action": {
"compression_format": "string",
"compression_target": "string",
"compression_types": ["string"],
"max_file_size_kb": 0,
"min_file_size_kb": 0,
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
}],
"switch": False,
},
conditional_origin={
"origin_rules": [{
"actions": {
"origin_lines": [{
"address": "string",
"http_port": "string",
"https_port": "string",
"instance_type": "string",
"origin_host": "string",
}],
},
"condition": {
"condition_groups": [{
"condition": {
"object": "string",
"operator": "string",
"values": ["string"],
},
}],
"connective": "string",
"is_group": False,
},
}],
"switch": False,
},
custom_error_page={
"error_page_rules": [{
"error_page_action": {
"action": "string",
"redirect_code": "string",
"redirect_url": "string",
"status_code": "string",
},
}],
"switch": False,
},
customize_access_rule={
"customize_instances": [{
"customize_rule": {
"access_action": {
"allow_empty": False,
"list_rules": ["string"],
"request_header": "string",
"rule_type": "string",
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
},
}],
"switch": False,
},
cache_keys=[{
"cache_key_action": {
"cache_key_components": [{
"action": "string",
"ignore_case": False,
"object": "string",
"subobject": "string",
}],
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
}],
download_speed_limit={
"download_speed_limit_rules": [{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"download_speed_limit_action": {
"speed_limit_rate": 0,
"speed_limit_rate_after": 0,
"speed_limit_time": {
"begin_time": "string",
"day_week": "string",
"end_time": "string",
},
},
}],
"switch": False,
},
follow_redirect=False,
http_forced_redirect={
"enable_forced_redirect": False,
"status_code": "string",
},
https={
"cert_check": {
"cert_info_lists": [{
"cert_id": "string",
"cert_name": "string",
"certificate": {
"certificate": "string",
"encryption_cert": "string",
"encryption_key": "string",
"private_key": "string",
},
"effective_time": 0,
"encry_type": "string",
"expire_time": 0,
"source": "string",
}],
"switch": False,
},
"cert_info": {
"cert_id": "string",
"cert_name": "string",
"certificate": {
"certificate": "string",
"encryption_cert": "string",
"encryption_key": "string",
"private_key": "string",
},
"effective_time": 0,
"encry_type": "string",
"expire_time": 0,
"source": "string",
},
"cert_info_lists": [{
"cert_id": "string",
"cert_name": "string",
"certificate": {
"certificate": "string",
"encryption_cert": "string",
"encryption_key": "string",
"private_key": "string",
},
"effective_time": 0,
"encry_type": "string",
"expire_time": 0,
"source": "string",
}],
"disable_http": False,
"forced_redirect": {
"enable_forced_redirect": False,
"status_code": "string",
},
"hsts": {
"subdomain": "string",
"switch": False,
"ttl": 0,
},
"http2": False,
"ocsp": False,
"switch": False,
"tls_versions": ["string"],
},
i_pv6={
"switch": False,
},
ip_access_rule={
"ips": ["string"],
"rule_type": "string",
"shared_config": {
"config_name": "string",
},
"switch": False,
},
method_denied_rule={
"methods": "string",
"switch": False,
},
multi_range={
"switch": False,
},
origin_range=False,
offline_cache={
"object": "string",
"status_code": "string",
"switch": False,
},
origin_access_rule={
"allow_empty": False,
"ignore_case": False,
"origins": ["string"],
"rule_type": "string",
"switch": False,
},
origin_args=[{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"origin_arg_action": {
"origin_arg_components": [{
"action": "string",
"object": "string",
"subobject": "string",
}],
},
}],
origin_cert_check={
"switch": False,
},
origin_host="string",
area_access_rule={
"areas": ["string"],
"rule_type": "string",
"switch": False,
},
caches=[{
"cache_action": {
"action": "string",
"default_policy": "string",
"ignore_case": False,
"ttl": 0,
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
}],
origin_protocol="string",
service_region="string",
origin_rewrite={
"origin_rewrite_rules": [{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"origin_rewrite_action": {
"rewrite_type": "string",
"source_path": "string",
"target_path": "string",
},
}],
"switch": False,
},
origin_sni={
"sni_domain": "string",
"switch": False,
},
cache_host={
"cache_host_rules": [{
"cache_host_action": {
"cache_host": "string",
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
}],
"switch": False,
},
page_optimization={
"optimization_types": ["string"],
"switch": False,
},
project="string",
quic={
"switch": False,
},
redirection_rewrite={
"redirection_rules": [{
"redirection_action": {
"redirect_code": "string",
"source_path": "string",
"target_host": "string",
"target_path": "string",
"target_protocol": "string",
"target_query_components": {
"action": "string",
"value": "string",
},
},
}],
"switch": False,
},
referer_access_rule={
"allow_empty": False,
"referers": ["string"],
"referers_type": {
"common_type": {
"ignore_case": False,
"ignore_scheme": False,
"referers": ["string"],
},
"regular_type": {
"referers": ["string"],
},
},
"rule_type": "string",
"shared_config": {
"config_name": "string",
},
"switch": False,
},
remote_auth={
"remote_auth_rules": [{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"remote_auth_rule_action": {
"auth_mode_config": {
"backup_remote_addr": "string",
"master_remote_addr": "string",
"path_type": "string",
"path_value": "string",
"request_method": "string",
},
"auth_response_config": {
"cache_action": {
"action": "string",
"cache_keys": ["string"],
"ttl": 0,
},
"response_action": {
"status_code": "string",
},
"status_code_action": {
"default_action": "string",
"fail_code": "string",
"success_code": "string",
},
"time_out_action": {
"action": "string",
"time": 0,
},
},
"query_string_rules": {
"query_string_components": {
"action": "string",
"value": "string",
},
"query_string_instances": [{
"action": "string",
"key": "string",
"value": "string",
"value_type": "string",
}],
},
"request_body_rules": "string",
"request_header_rules": {
"request_header_components": {
"action": "string",
"value": "string",
},
"request_header_instances": [{
"action": "string",
"key": "string",
"value": "string",
"value_type": "string",
}],
"request_host": "string",
},
},
}],
"switch": False,
},
request_block_rule={
"block_rules": [{
"block_action": {
"action": "string",
"error_page": "string",
"redirect_url": "string",
"status_code": "string",
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"rule_name": "string",
}],
"switch": False,
},
request_headers=[{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"request_header_action": {
"request_header_instances": [{
"action": "string",
"key": "string",
"value": "string",
"value_type": "string",
}],
},
}],
response_headers=[{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"response_header_action": {
"response_header_instances": [{
"access_origin_control": False,
"action": "string",
"key": "string",
"value": "string",
"value_type": "string",
}],
},
}],
rewrite_hls={
"sign_name": "string",
"switch": False,
},
origin_retry={
"status_code": "string",
"switch": False,
},
browser_caches=[{
"cache_action": {
"action": "string",
"default_policy": "string",
"ignore_case": False,
"ttl": 0,
},
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
}],
signed_url_auth={
"signed_url_auth_rules": [{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"signed_url_auth_action": {
"auth_algorithm": "string",
"backup_secret_key": "string",
"custom_variable_rules": {
"custom_variable_instances": [{
"operator": "string",
"type": "string",
"value": "string",
}],
},
"duration": 0,
"keep_origin_arg": False,
"master_secret_key": "string",
"rewrite_m3_u8": False,
"rewrite_m3_u8_rule": {
"delete_param": False,
"keep_m3_u8_param": False,
},
"sign_name": "string",
"signature_rules": ["string"],
"time_format": "string",
"time_name": "string",
"url_auth_type": "string",
},
}],
"switch": False,
},
tags=[{
"key": "string",
"value": "string",
}],
timeout={
"switch": False,
"timeout_rules": [{
"condition": {
"condition_rules": [{
"name": "string",
"object": "string",
"operator": "string",
"type": "string",
"value": "string",
}],
"connective": "string",
},
"timeout_action": {
"http_timeout": 0,
"tcp_timeout": 0,
},
}],
},
ua_access_rule={
"allow_empty": False,
"ignore_case": False,
"rule_type": "string",
"switch": False,
"user_agents": ["string"],
},
url_normalize={
"normalize_objects": ["string"],
"switch": False,
},
video_drag={
"switch": False,
})
const domainResource = new bytepluscc.cdn.Domain("domainResource", {
domain: "string",
serviceType: "string",
origins: [{
originAction: {
originLines: [{
address: "string",
instanceType: "string",
originType: "string",
httpPort: "string",
httpsPort: "string",
originHost: "string",
privateBucketAccess: false,
privateBucketAuth: {
authType: "string",
"switch": false,
tosAuthInformation: {
accessKeyId: "string",
accessKeySecret: "string",
},
},
region: "string",
weight: "string",
}],
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
}],
originIPv6: "string",
negativeCaches: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
negativeCacheRule: {
action: "string",
ignoreCase: false,
statusCode: "string",
ttl: 0,
},
}],
compression: {
compressionRules: [{
compressionAction: {
compressionFormat: "string",
compressionTarget: "string",
compressionTypes: ["string"],
maxFileSizeKb: 0,
minFileSizeKb: 0,
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
}],
"switch": false,
},
conditionalOrigin: {
originRules: [{
actions: {
originLines: [{
address: "string",
httpPort: "string",
httpsPort: "string",
instanceType: "string",
originHost: "string",
}],
},
condition: {
conditionGroups: [{
condition: {
object: "string",
operator: "string",
values: ["string"],
},
}],
connective: "string",
isGroup: false,
},
}],
"switch": false,
},
customErrorPage: {
errorPageRules: [{
errorPageAction: {
action: "string",
redirectCode: "string",
redirectUrl: "string",
statusCode: "string",
},
}],
"switch": false,
},
customizeAccessRule: {
customizeInstances: [{
customizeRule: {
accessAction: {
allowEmpty: false,
listRules: ["string"],
requestHeader: "string",
ruleType: "string",
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
},
}],
"switch": false,
},
cacheKeys: [{
cacheKeyAction: {
cacheKeyComponents: [{
action: "string",
ignoreCase: false,
object: "string",
subobject: "string",
}],
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
}],
downloadSpeedLimit: {
downloadSpeedLimitRules: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
downloadSpeedLimitAction: {
speedLimitRate: 0,
speedLimitRateAfter: 0,
speedLimitTime: {
beginTime: "string",
dayWeek: "string",
endTime: "string",
},
},
}],
"switch": false,
},
followRedirect: false,
httpForcedRedirect: {
enableForcedRedirect: false,
statusCode: "string",
},
https: {
certCheck: {
certInfoLists: [{
certId: "string",
certName: "string",
certificate: {
certificate: "string",
encryptionCert: "string",
encryptionKey: "string",
privateKey: "string",
},
effectiveTime: 0,
encryType: "string",
expireTime: 0,
source: "string",
}],
"switch": false,
},
certInfo: {
certId: "string",
certName: "string",
certificate: {
certificate: "string",
encryptionCert: "string",
encryptionKey: "string",
privateKey: "string",
},
effectiveTime: 0,
encryType: "string",
expireTime: 0,
source: "string",
},
certInfoLists: [{
certId: "string",
certName: "string",
certificate: {
certificate: "string",
encryptionCert: "string",
encryptionKey: "string",
privateKey: "string",
},
effectiveTime: 0,
encryType: "string",
expireTime: 0,
source: "string",
}],
disableHttp: false,
forcedRedirect: {
enableForcedRedirect: false,
statusCode: "string",
},
hsts: {
subdomain: "string",
"switch": false,
ttl: 0,
},
http2: false,
ocsp: false,
"switch": false,
tlsVersions: ["string"],
},
iPv6: {
"switch": false,
},
ipAccessRule: {
ips: ["string"],
ruleType: "string",
sharedConfig: {
configName: "string",
},
"switch": false,
},
methodDeniedRule: {
methods: "string",
"switch": false,
},
multiRange: {
"switch": false,
},
originRange: false,
offlineCache: {
object: "string",
statusCode: "string",
"switch": false,
},
originAccessRule: {
allowEmpty: false,
ignoreCase: false,
origins: ["string"],
ruleType: "string",
"switch": false,
},
originArgs: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
originArgAction: {
originArgComponents: [{
action: "string",
object: "string",
subobject: "string",
}],
},
}],
originCertCheck: {
"switch": false,
},
originHost: "string",
areaAccessRule: {
areas: ["string"],
ruleType: "string",
"switch": false,
},
caches: [{
cacheAction: {
action: "string",
defaultPolicy: "string",
ignoreCase: false,
ttl: 0,
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
}],
originProtocol: "string",
serviceRegion: "string",
originRewrite: {
originRewriteRules: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
originRewriteAction: {
rewriteType: "string",
sourcePath: "string",
targetPath: "string",
},
}],
"switch": false,
},
originSni: {
sniDomain: "string",
"switch": false,
},
cacheHost: {
cacheHostRules: [{
cacheHostAction: {
cacheHost: "string",
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
}],
"switch": false,
},
pageOptimization: {
optimizationTypes: ["string"],
"switch": false,
},
project: "string",
quic: {
"switch": false,
},
redirectionRewrite: {
redirectionRules: [{
redirectionAction: {
redirectCode: "string",
sourcePath: "string",
targetHost: "string",
targetPath: "string",
targetProtocol: "string",
targetQueryComponents: {
action: "string",
value: "string",
},
},
}],
"switch": false,
},
refererAccessRule: {
allowEmpty: false,
referers: ["string"],
referersType: {
commonType: {
ignoreCase: false,
ignoreScheme: false,
referers: ["string"],
},
regularType: {
referers: ["string"],
},
},
ruleType: "string",
sharedConfig: {
configName: "string",
},
"switch": false,
},
remoteAuth: {
remoteAuthRules: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
remoteAuthRuleAction: {
authModeConfig: {
backupRemoteAddr: "string",
masterRemoteAddr: "string",
pathType: "string",
pathValue: "string",
requestMethod: "string",
},
authResponseConfig: {
cacheAction: {
action: "string",
cacheKeys: ["string"],
ttl: 0,
},
responseAction: {
statusCode: "string",
},
statusCodeAction: {
defaultAction: "string",
failCode: "string",
successCode: "string",
},
timeOutAction: {
action: "string",
time: 0,
},
},
queryStringRules: {
queryStringComponents: {
action: "string",
value: "string",
},
queryStringInstances: [{
action: "string",
key: "string",
value: "string",
valueType: "string",
}],
},
requestBodyRules: "string",
requestHeaderRules: {
requestHeaderComponents: {
action: "string",
value: "string",
},
requestHeaderInstances: [{
action: "string",
key: "string",
value: "string",
valueType: "string",
}],
requestHost: "string",
},
},
}],
"switch": false,
},
requestBlockRule: {
blockRules: [{
blockAction: {
action: "string",
errorPage: "string",
redirectUrl: "string",
statusCode: "string",
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
ruleName: "string",
}],
"switch": false,
},
requestHeaders: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
requestHeaderAction: {
requestHeaderInstances: [{
action: "string",
key: "string",
value: "string",
valueType: "string",
}],
},
}],
responseHeaders: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
responseHeaderAction: {
responseHeaderInstances: [{
accessOriginControl: false,
action: "string",
key: "string",
value: "string",
valueType: "string",
}],
},
}],
rewriteHls: {
signName: "string",
"switch": false,
},
originRetry: {
statusCode: "string",
"switch": false,
},
browserCaches: [{
cacheAction: {
action: "string",
defaultPolicy: "string",
ignoreCase: false,
ttl: 0,
},
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
}],
signedUrlAuth: {
signedUrlAuthRules: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
signedUrlAuthAction: {
authAlgorithm: "string",
backupSecretKey: "string",
customVariableRules: {
customVariableInstances: [{
operator: "string",
type: "string",
value: "string",
}],
},
duration: 0,
keepOriginArg: false,
masterSecretKey: "string",
rewriteM3U8: false,
rewriteM3U8Rule: {
deleteParam: false,
keepM3U8Param: false,
},
signName: "string",
signatureRules: ["string"],
timeFormat: "string",
timeName: "string",
urlAuthType: "string",
},
}],
"switch": false,
},
tags: [{
key: "string",
value: "string",
}],
timeout: {
"switch": false,
timeoutRules: [{
condition: {
conditionRules: [{
name: "string",
object: "string",
operator: "string",
type: "string",
value: "string",
}],
connective: "string",
},
timeoutAction: {
httpTimeout: 0,
tcpTimeout: 0,
},
}],
},
uaAccessRule: {
allowEmpty: false,
ignoreCase: false,
ruleType: "string",
"switch": false,
userAgents: ["string"],
},
urlNormalize: {
normalizeObjects: ["string"],
"switch": false,
},
videoDrag: {
"switch": false,
},
});
type: bytepluscc:cdn:Domain
properties:
areaAccessRule:
areas:
- string
ruleType: string
switch: false
browserCaches:
- cacheAction:
action: string
defaultPolicy: string
ignoreCase: false
ttl: 0
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
cacheHost:
cacheHostRules:
- cacheHostAction:
cacheHost: string
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
switch: false
cacheKeys:
- cacheKeyAction:
cacheKeyComponents:
- action: string
ignoreCase: false
object: string
subobject: string
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
caches:
- cacheAction:
action: string
defaultPolicy: string
ignoreCase: false
ttl: 0
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
compression:
compressionRules:
- compressionAction:
compressionFormat: string
compressionTarget: string
compressionTypes:
- string
maxFileSizeKb: 0
minFileSizeKb: 0
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
switch: false
conditionalOrigin:
originRules:
- actions:
originLines:
- address: string
httpPort: string
httpsPort: string
instanceType: string
originHost: string
condition:
conditionGroups:
- condition:
object: string
operator: string
values:
- string
connective: string
isGroup: false
switch: false
customErrorPage:
errorPageRules:
- errorPageAction:
action: string
redirectCode: string
redirectUrl: string
statusCode: string
switch: false
customizeAccessRule:
customizeInstances:
- customizeRule:
accessAction:
allowEmpty: false
listRules:
- string
requestHeader: string
ruleType: string
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
switch: false
domain: string
downloadSpeedLimit:
downloadSpeedLimitRules:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
downloadSpeedLimitAction:
speedLimitRate: 0
speedLimitRateAfter: 0
speedLimitTime:
beginTime: string
dayWeek: string
endTime: string
switch: false
followRedirect: false
httpForcedRedirect:
enableForcedRedirect: false
statusCode: string
https:
certCheck:
certInfoLists:
- certId: string
certName: string
certificate:
certificate: string
encryptionCert: string
encryptionKey: string
privateKey: string
effectiveTime: 0
encryType: string
expireTime: 0
source: string
switch: false
certInfo:
certId: string
certName: string
certificate:
certificate: string
encryptionCert: string
encryptionKey: string
privateKey: string
effectiveTime: 0
encryType: string
expireTime: 0
source: string
certInfoLists:
- certId: string
certName: string
certificate:
certificate: string
encryptionCert: string
encryptionKey: string
privateKey: string
effectiveTime: 0
encryType: string
expireTime: 0
source: string
disableHttp: false
forcedRedirect:
enableForcedRedirect: false
statusCode: string
hsts:
subdomain: string
switch: false
ttl: 0
http2: false
ocsp: false
switch: false
tlsVersions:
- string
iPv6:
switch: false
ipAccessRule:
ips:
- string
ruleType: string
sharedConfig:
configName: string
switch: false
methodDeniedRule:
methods: string
switch: false
multiRange:
switch: false
negativeCaches:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
negativeCacheRule:
action: string
ignoreCase: false
statusCode: string
ttl: 0
offlineCache:
object: string
statusCode: string
switch: false
originAccessRule:
allowEmpty: false
ignoreCase: false
origins:
- string
ruleType: string
switch: false
originArgs:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
originArgAction:
originArgComponents:
- action: string
object: string
subobject: string
originCertCheck:
switch: false
originHost: string
originIPv6: string
originProtocol: string
originRange: false
originRetry:
statusCode: string
switch: false
originRewrite:
originRewriteRules:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
originRewriteAction:
rewriteType: string
sourcePath: string
targetPath: string
switch: false
originSni:
sniDomain: string
switch: false
origins:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
originAction:
originLines:
- address: string
httpPort: string
httpsPort: string
instanceType: string
originHost: string
originType: string
privateBucketAccess: false
privateBucketAuth:
authType: string
switch: false
tosAuthInformation:
accessKeyId: string
accessKeySecret: string
region: string
weight: string
pageOptimization:
optimizationTypes:
- string
switch: false
project: string
quic:
switch: false
redirectionRewrite:
redirectionRules:
- redirectionAction:
redirectCode: string
sourcePath: string
targetHost: string
targetPath: string
targetProtocol: string
targetQueryComponents:
action: string
value: string
switch: false
refererAccessRule:
allowEmpty: false
referers:
- string
referersType:
commonType:
ignoreCase: false
ignoreScheme: false
referers:
- string
regularType:
referers:
- string
ruleType: string
sharedConfig:
configName: string
switch: false
remoteAuth:
remoteAuthRules:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
remoteAuthRuleAction:
authModeConfig:
backupRemoteAddr: string
masterRemoteAddr: string
pathType: string
pathValue: string
requestMethod: string
authResponseConfig:
cacheAction:
action: string
cacheKeys:
- string
ttl: 0
responseAction:
statusCode: string
statusCodeAction:
defaultAction: string
failCode: string
successCode: string
timeOutAction:
action: string
time: 0
queryStringRules:
queryStringComponents:
action: string
value: string
queryStringInstances:
- action: string
key: string
value: string
valueType: string
requestBodyRules: string
requestHeaderRules:
requestHeaderComponents:
action: string
value: string
requestHeaderInstances:
- action: string
key: string
value: string
valueType: string
requestHost: string
switch: false
requestBlockRule:
blockRules:
- blockAction:
action: string
errorPage: string
redirectUrl: string
statusCode: string
condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
ruleName: string
switch: false
requestHeaders:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
requestHeaderAction:
requestHeaderInstances:
- action: string
key: string
value: string
valueType: string
responseHeaders:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
responseHeaderAction:
responseHeaderInstances:
- accessOriginControl: false
action: string
key: string
value: string
valueType: string
rewriteHls:
signName: string
switch: false
serviceRegion: string
serviceType: string
signedUrlAuth:
signedUrlAuthRules:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
signedUrlAuthAction:
authAlgorithm: string
backupSecretKey: string
customVariableRules:
customVariableInstances:
- operator: string
type: string
value: string
duration: 0
keepOriginArg: false
masterSecretKey: string
rewriteM3U8: false
rewriteM3U8Rule:
deleteParam: false
keepM3U8Param: false
signName: string
signatureRules:
- string
timeFormat: string
timeName: string
urlAuthType: string
switch: false
tags:
- key: string
value: string
timeout:
switch: false
timeoutRules:
- condition:
conditionRules:
- name: string
object: string
operator: string
type: string
value: string
connective: string
timeoutAction:
httpTimeout: 0
tcpTimeout: 0
uaAccessRule:
allowEmpty: false
ignoreCase: false
ruleType: string
switch: false
userAgents:
- string
urlNormalize:
normalizeObjects:
- string
switch: false
videoDrag:
switch: false
Domain Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Domain resource accepts the following input properties:
- Domain
Value string - Indicates the acceleration domain name.
- Origins
List<Byteplus.
Domain Origin> - Service
Type string - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- Area
Access Byteplus.Rule Domain Area Access Rule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- Browser
Caches List<Byteplus.Domain Browser Cach> - Cache
Host Byteplus.Domain Cache Host - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- Cache
Keys List<Byteplus.Domain Cache Key> - Caches
List<Byteplus.
Domain Cach> - Compression
Byteplus.
Domain Compression - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- Conditional
Origin Byteplus.Domain Conditional Origin - Specifies the configuration module for the 'Conditional Origin' feature.
- Custom
Error Byteplus.Page Domain Custom Error Page - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- Customize
Access Byteplus.Rule Domain Customize Access Rule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- Download
Speed Byteplus.Limit Domain Download Speed Limit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- Follow
Redirect bool - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- Http
Forced Byteplus.Redirect Domain Http Forced Redirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- Https
Byteplus.
Domain Https - Indicates the HTTPS configuration module. This feature is disabled by default.
- IPv6
Byteplus.
Domain IPv6 - Indicates the configuration module for the IPv6 feature.
- Ip
Access Byteplus.Rule Domain Ip Access Rule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- Method
Denied Byteplus.Rule Domain Method Denied Rule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- Multi
Range Byteplus.Domain Multi Range - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- Negative
Caches List<Byteplus.Domain Negative Cach> - Offline
Cache Byteplus.Domain Offline Cache - Indicates the configuration module for the 'offline cache' feature.
- Origin
Access Byteplus.Rule Domain Origin Access Rule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- Origin
Args List<Byteplus.Domain Origin Arg> - Origin
Cert Byteplus.Check Domain Origin Cert Check - Origin certificate validation
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- Origin
IPv6 string - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- Origin
Protocol string - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- Origin
Range bool - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- Origin
Retry Byteplus.Domain Origin Retry - Indicates the configuration module for the "origin fetch retry settings" feature.
- Origin
Rewrite Byteplus.Domain Origin Rewrite - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- Origin
Sni Byteplus.Domain Origin Sni - Indicates the configuration module for the 'origin SNI' feature.
- Page
Optimization Byteplus.Domain Page Optimization - Specifies the configuration module for the 'page optimization' feature.
- Project string
- Indicates the project to which the acceleration domain belongs
- Quic
Byteplus.
Domain Quic - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- Redirection
Rewrite Byteplus.Domain Redirection Rewrite - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- Referer
Access Byteplus.Rule Domain Referer Access Rule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- Remote
Auth Byteplus.Domain Remote Auth - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- Request
Block Byteplus.Rule Domain Request Block Rule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- Request
Headers List<Byteplus.Domain Request Header> - Response
Headers List<Byteplus.Domain Response Header> - Rewrite
Hls Byteplus.Domain Rewrite Hls - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- Service
Region string - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- Signed
Url Byteplus.Auth Domain Signed Url Auth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
-
List<Byteplus.
Domain Tag> - Timeout
Byteplus.
Domain Timeout - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- Ua
Access Byteplus.Rule Domain Ua Access Rule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- Url
Normalize Byteplus.Domain Url Normalize - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- Video
Drag Byteplus.Domain Video Drag - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- Domain string
- Indicates the acceleration domain name.
- Origins
[]Domain
Origin Args - Service
Type string - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- Area
Access DomainRule Area Access Rule Args - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- Browser
Caches []DomainBrowser Cach Args - Cache
Host DomainCache Host Args - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- Cache
Keys []DomainCache Key Args - Caches
[]Domain
Cach Args - Compression
Domain
Compression Args - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- Conditional
Origin DomainConditional Origin Args - Specifies the configuration module for the 'Conditional Origin' feature.
- Custom
Error DomainPage Custom Error Page Args - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- Customize
Access DomainRule Customize Access Rule Args - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- Download
Speed DomainLimit Download Speed Limit Args - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- Follow
Redirect bool - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- Http
Forced DomainRedirect Http Forced Redirect Args - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- Https
Domain
Https Args - Indicates the HTTPS configuration module. This feature is disabled by default.
- IPv6
Domain
IPv6Args - Indicates the configuration module for the IPv6 feature.
- Ip
Access DomainRule Ip Access Rule Args - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- Method
Denied DomainRule Method Denied Rule Args - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- Multi
Range DomainMulti Range Args - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- Negative
Caches []DomainNegative Cach Args - Offline
Cache DomainOffline Cache Args - Indicates the configuration module for the 'offline cache' feature.
- Origin
Access DomainRule Origin Access Rule Args - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- Origin
Args []DomainOrigin Arg Args - Origin
Cert DomainCheck Origin Cert Check Args - Origin certificate validation
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- Origin
IPv6 string - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- Origin
Protocol string - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- Origin
Range bool - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- Origin
Retry DomainOrigin Retry Args - Indicates the configuration module for the "origin fetch retry settings" feature.
- Origin
Rewrite DomainOrigin Rewrite Args - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- Origin
Sni DomainOrigin Sni Args - Indicates the configuration module for the 'origin SNI' feature.
- Page
Optimization DomainPage Optimization Args - Specifies the configuration module for the 'page optimization' feature.
- Project string
- Indicates the project to which the acceleration domain belongs
- Quic
Domain
Quic Args - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- Redirection
Rewrite DomainRedirection Rewrite Args - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- Referer
Access DomainRule Referer Access Rule Args - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- Remote
Auth DomainRemote Auth Args - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- Request
Block DomainRule Request Block Rule Args - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- Request
Headers []DomainRequest Header Args - Response
Headers []DomainResponse Header Args - Rewrite
Hls DomainRewrite Hls Args - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- Service
Region string - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- Signed
Url DomainAuth Signed Url Auth Args - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
-
[]Domain
Tag Args - Timeout
Domain
Timeout Args - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- Ua
Access DomainRule Ua Access Rule Args - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- Url
Normalize DomainUrl Normalize Args - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- Video
Drag DomainVideo Drag Args - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- domain String
- Indicates the acceleration domain name.
- origins
List<Domain
Origin> - service
Type String - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- area
Access DomainRule Area Access Rule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- browser
Caches List<DomainBrowser Cach> - cache
Host DomainCache Host - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache
Keys List<DomainCache Key> - caches
List<Domain
Cach> - compression
Domain
Compression - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional
Origin DomainConditional Origin - Specifies the configuration module for the 'Conditional Origin' feature.
- custom
Error DomainPage Custom Error Page - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize
Access DomainRule Customize Access Rule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- download
Speed DomainLimit Download Speed Limit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow
Redirect Boolean - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http
Forced DomainRedirect Http Forced Redirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https
Domain
Https - Indicates the HTTPS configuration module. This feature is disabled by default.
- i
Pv6 DomainIPv6 - Indicates the configuration module for the IPv6 feature.
- ip
Access DomainRule Ip Access Rule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- method
Denied DomainRule Method Denied Rule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi
Range DomainMulti Range - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative
Caches List<DomainNegative Cach> - offline
Cache DomainOffline Cache - Indicates the configuration module for the 'offline cache' feature.
- origin
Access DomainRule Origin Access Rule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin
Args List<DomainOrigin Arg> - origin
Cert DomainCheck Origin Cert Check - Origin certificate validation
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin
IPv6 String - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin
Protocol String - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin
Range Boolean - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Retry DomainOrigin Retry - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin
Rewrite DomainOrigin Rewrite - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin
Sni DomainOrigin Sni - Indicates the configuration module for the 'origin SNI' feature.
- page
Optimization DomainPage Optimization - Specifies the configuration module for the 'page optimization' feature.
- project String
- Indicates the project to which the acceleration domain belongs
- quic
Domain
Quic - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection
Rewrite DomainRedirection Rewrite - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer
Access DomainRule Referer Access Rule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote
Auth DomainRemote Auth - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request
Block DomainRule Request Block Rule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request
Headers List<DomainRequest Header> - response
Headers List<DomainResponse Header> - rewrite
Hls DomainRewrite Hls - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service
Region String - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- signed
Url DomainAuth Signed Url Auth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
-
List<Domain
Tag> - timeout
Domain
Timeout - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua
Access DomainRule Ua Access Rule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- url
Normalize DomainUrl Normalize - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video
Drag DomainVideo Drag - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- domain string
- Indicates the acceleration domain name.
- origins
Domain
Origin[] - service
Type string - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- area
Access DomainRule Area Access Rule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- browser
Caches DomainBrowser Cach[] - cache
Host DomainCache Host - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache
Keys DomainCache Key[] - caches
Domain
Cach[] - compression
Domain
Compression - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional
Origin DomainConditional Origin - Specifies the configuration module for the 'Conditional Origin' feature.
- custom
Error DomainPage Custom Error Page - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize
Access DomainRule Customize Access Rule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- download
Speed DomainLimit Download Speed Limit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow
Redirect boolean - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http
Forced DomainRedirect Http Forced Redirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https
Domain
Https - Indicates the HTTPS configuration module. This feature is disabled by default.
- i
Pv6 DomainIPv6 - Indicates the configuration module for the IPv6 feature.
- ip
Access DomainRule Ip Access Rule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- method
Denied DomainRule Method Denied Rule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi
Range DomainMulti Range - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative
Caches DomainNegative Cach[] - offline
Cache DomainOffline Cache - Indicates the configuration module for the 'offline cache' feature.
- origin
Access DomainRule Origin Access Rule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin
Args DomainOrigin Arg[] - origin
Cert DomainCheck Origin Cert Check - Origin certificate validation
- origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin
IPv6 string - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin
Protocol string - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin
Range boolean - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Retry DomainOrigin Retry - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin
Rewrite DomainOrigin Rewrite - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin
Sni DomainOrigin Sni - Indicates the configuration module for the 'origin SNI' feature.
- page
Optimization DomainPage Optimization - Specifies the configuration module for the 'page optimization' feature.
- project string
- Indicates the project to which the acceleration domain belongs
- quic
Domain
Quic - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection
Rewrite DomainRedirection Rewrite - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer
Access DomainRule Referer Access Rule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote
Auth DomainRemote Auth - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request
Block DomainRule Request Block Rule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request
Headers DomainRequest Header[] - response
Headers DomainResponse Header[] - rewrite
Hls DomainRewrite Hls - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service
Region string - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- signed
Url DomainAuth Signed Url Auth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
-
Domain
Tag[] - timeout
Domain
Timeout - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua
Access DomainRule Ua Access Rule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- url
Normalize DomainUrl Normalize - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video
Drag DomainVideo Drag - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- domain str
- Indicates the acceleration domain name.
- origins
Sequence[Domain
Origin Args] - service_
type str - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- area_
access_ Domainrule Area Access Rule Args - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- browser_
caches Sequence[DomainBrowser Cach Args] - cache_
host DomainCache Host Args - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache_
keys Sequence[DomainCache Key Args] - caches
Sequence[Domain
Cach Args] - compression
Domain
Compression Args - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional_
origin DomainConditional Origin Args - Specifies the configuration module for the 'Conditional Origin' feature.
- custom_
error_ Domainpage Custom Error Page Args - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize_
access_ Domainrule Customize Access Rule Args - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- download_
speed_ Domainlimit Download Speed Limit Args - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow_
redirect bool - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http_
forced_ Domainredirect Http Forced Redirect Args - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https
Domain
Https Args - Indicates the HTTPS configuration module. This feature is disabled by default.
- i_
pv6 DomainIPv6Args - Indicates the configuration module for the IPv6 feature.
- ip_
access_ Domainrule Ip Access Rule Args - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- method_
denied_ Domainrule Method Denied Rule Args - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi_
range DomainMulti Range Args - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative_
caches Sequence[DomainNegative Cach Args] - offline_
cache DomainOffline Cache Args - Indicates the configuration module for the 'offline cache' feature.
- origin_
access_ Domainrule Origin Access Rule Args - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin_
args Sequence[DomainOrigin Arg Args] - origin_
cert_ Domaincheck Origin Cert Check Args - Origin certificate validation
- origin_
host str - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin_
i_ strpv6 - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin_
protocol str - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin_
range bool - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin_
retry DomainOrigin Retry Args - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin_
rewrite DomainOrigin Rewrite Args - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin_
sni DomainOrigin Sni Args - Indicates the configuration module for the 'origin SNI' feature.
- page_
optimization DomainPage Optimization Args - Specifies the configuration module for the 'page optimization' feature.
- project str
- Indicates the project to which the acceleration domain belongs
- quic
Domain
Quic Args - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection_
rewrite DomainRedirection Rewrite Args - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer_
access_ Domainrule Referer Access Rule Args - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote_
auth DomainRemote Auth Args - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request_
block_ Domainrule Request Block Rule Args - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request_
headers Sequence[DomainRequest Header Args] - response_
headers Sequence[DomainResponse Header Args] - rewrite_
hls DomainRewrite Hls Args - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service_
region str - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- signed_
url_ Domainauth Signed Url Auth Args - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
-
Sequence[Domain
Tag Args] - timeout
Domain
Timeout Args - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua_
access_ Domainrule Ua Access Rule Args - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- url_
normalize DomainUrl Normalize Args - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video_
drag DomainVideo Drag Args - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- domain String
- Indicates the acceleration domain name.
- origins List<Property Map>
- service
Type String - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- area
Access Property MapRule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- browser
Caches List<Property Map> - cache
Host Property Map - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache
Keys List<Property Map> - caches List<Property Map>
- compression Property Map
- Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional
Origin Property Map - Specifies the configuration module for the 'Conditional Origin' feature.
- custom
Error Property MapPage - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize
Access Property MapRule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- download
Speed Property MapLimit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow
Redirect Boolean - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http
Forced Property MapRedirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https Property Map
- Indicates the HTTPS configuration module. This feature is disabled by default.
- i
Pv6 Property Map - Indicates the configuration module for the IPv6 feature.
- ip
Access Property MapRule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- method
Denied Property MapRule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi
Range Property Map - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative
Caches List<Property Map> - offline
Cache Property Map - Indicates the configuration module for the 'offline cache' feature.
- origin
Access Property MapRule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin
Args List<Property Map> - origin
Cert Property MapCheck - Origin certificate validation
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin
IPv6 String - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin
Protocol String - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin
Range Boolean - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Retry Property Map - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin
Rewrite Property Map - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin
Sni Property Map - Indicates the configuration module for the 'origin SNI' feature.
- page
Optimization Property Map - Specifies the configuration module for the 'page optimization' feature.
- project String
- Indicates the project to which the acceleration domain belongs
- quic Property Map
- Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection
Rewrite Property Map - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer
Access Property MapRule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote
Auth Property Map - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request
Block Property MapRule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request
Headers List<Property Map> - response
Headers List<Property Map> - rewrite
Hls Property Map - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service
Region String - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- signed
Url Property MapAuth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- List<Property Map>
- timeout Property Map
- Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua
Access Property MapRule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- url
Normalize Property Map - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video
Drag Property Map - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:
- Backup
Origins List<string> - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- string
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- string
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- Cname string
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- Created
Time int - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- Domain
Lock Byteplus.Domain Domain Lock - Indicates the lock status of this domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Conflict boolDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- Lock
Status string - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- Primary
Origins List<string> - Indicates the list of primary origin servers configured for this domain name.
- Status string
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- Updated
Time int - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- Backup
Origins []string - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- string
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- string
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- Cname string
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- Created
Time int - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- Domain
Lock DomainDomain Lock - Indicates the lock status of this domain name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Conflict boolDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- Lock
Status string - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- Primary
Origins []string - Indicates the list of primary origin servers configured for this domain name.
- Status string
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- Updated
Time int - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- backup
Origins List<String> - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- String
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- String
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- cname String
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- created
Time Integer - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- domain
Lock DomainDomain Lock - Indicates the lock status of this domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Conflict BooleanDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock
Status String - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- primary
Origins List<String> - Indicates the list of primary origin servers configured for this domain name.
- status String
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- updated
Time Integer - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- backup
Origins string[] - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- string
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- string
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- cname string
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- created
Time number - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- domain
Lock DomainDomain Lock - Indicates the lock status of this domain name.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Conflict booleanDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock
Status string - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- primary
Origins string[] - Indicates the list of primary origin servers configured for this domain name.
- status string
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- updated
Time number - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- backup_
origins Sequence[str] - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- str
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- str
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- cname str
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- created_
time int - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- domain_
lock DomainDomain Lock - Indicates the lock status of this domain name.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
conflict_ booldomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock_
status str - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- primary_
origins Sequence[str] - Indicates the list of primary origin servers configured for this domain name.
- status str
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- updated_
time int - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- backup
Origins List<String> - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- String
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- String
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- cname String
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- created
Time Number - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- domain
Lock Property Map - Indicates the lock status of this domain name.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Conflict BooleanDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock
Status String - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- primary
Origins List<String> - Indicates the list of primary origin servers configured for this domain name.
- status String
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- updated
Time Number - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
Look up Existing Domain Resource
Get an existing Domain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DomainState, opts?: CustomResourceOptions): Domain@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
area_access_rule: Optional[DomainAreaAccessRuleArgs] = None,
backup_origins: Optional[Sequence[str]] = None,
browser_caches: Optional[Sequence[DomainBrowserCachArgs]] = None,
cache_host: Optional[DomainCacheHostArgs] = None,
cache_keys: Optional[Sequence[DomainCacheKeyArgs]] = None,
cache_shared: Optional[str] = None,
cache_shared_target_host: Optional[str] = None,
caches: Optional[Sequence[DomainCachArgs]] = None,
cname: Optional[str] = None,
compression: Optional[DomainCompressionArgs] = None,
conditional_origin: Optional[DomainConditionalOriginArgs] = None,
created_time: Optional[int] = None,
custom_error_page: Optional[DomainCustomErrorPageArgs] = None,
customize_access_rule: Optional[DomainCustomizeAccessRuleArgs] = None,
domain: Optional[str] = None,
domain_lock: Optional[DomainDomainLockArgs] = None,
download_speed_limit: Optional[DomainDownloadSpeedLimitArgs] = None,
follow_redirect: Optional[bool] = None,
http_forced_redirect: Optional[DomainHttpForcedRedirectArgs] = None,
https: Optional[DomainHttpsArgs] = None,
i_pv6: Optional[DomainIPv6Args] = None,
ip_access_rule: Optional[DomainIpAccessRuleArgs] = None,
is_conflict_domain: Optional[bool] = None,
lock_status: Optional[str] = None,
method_denied_rule: Optional[DomainMethodDeniedRuleArgs] = None,
multi_range: Optional[DomainMultiRangeArgs] = None,
negative_caches: Optional[Sequence[DomainNegativeCachArgs]] = None,
offline_cache: Optional[DomainOfflineCacheArgs] = None,
origin_access_rule: Optional[DomainOriginAccessRuleArgs] = None,
origin_args: Optional[Sequence[DomainOriginArgArgs]] = None,
origin_cert_check: Optional[DomainOriginCertCheckArgs] = None,
origin_host: Optional[str] = None,
origin_i_pv6: Optional[str] = None,
origin_protocol: Optional[str] = None,
origin_range: Optional[bool] = None,
origin_retry: Optional[DomainOriginRetryArgs] = None,
origin_rewrite: Optional[DomainOriginRewriteArgs] = None,
origin_sni: Optional[DomainOriginSniArgs] = None,
origins: Optional[Sequence[DomainOriginArgs]] = None,
page_optimization: Optional[DomainPageOptimizationArgs] = None,
primary_origins: Optional[Sequence[str]] = None,
project: Optional[str] = None,
quic: Optional[DomainQuicArgs] = None,
redirection_rewrite: Optional[DomainRedirectionRewriteArgs] = None,
referer_access_rule: Optional[DomainRefererAccessRuleArgs] = None,
remote_auth: Optional[DomainRemoteAuthArgs] = None,
request_block_rule: Optional[DomainRequestBlockRuleArgs] = None,
request_headers: Optional[Sequence[DomainRequestHeaderArgs]] = None,
response_headers: Optional[Sequence[DomainResponseHeaderArgs]] = None,
rewrite_hls: Optional[DomainRewriteHlsArgs] = None,
service_region: Optional[str] = None,
service_type: Optional[str] = None,
signed_url_auth: Optional[DomainSignedUrlAuthArgs] = None,
status: Optional[str] = None,
tags: Optional[Sequence[DomainTagArgs]] = None,
timeout: Optional[DomainTimeoutArgs] = None,
ua_access_rule: Optional[DomainUaAccessRuleArgs] = None,
updated_time: Optional[int] = None,
url_normalize: Optional[DomainUrlNormalizeArgs] = None,
video_drag: Optional[DomainVideoDragArgs] = None) -> Domainfunc GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)public static Domain get(String name, Output<String> id, DomainState state, CustomResourceOptions options)resources: _: type: bytepluscc:cdn:Domain get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Area
Access Byteplus.Rule Domain Area Access Rule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- Backup
Origins List<string> - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- Browser
Caches List<Byteplus.Domain Browser Cach> - Cache
Host Byteplus.Domain Cache Host - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- Cache
Keys List<Byteplus.Domain Cache Key> - string
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- string
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- Caches
List<Byteplus.
Domain Cach> - Cname string
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- Compression
Byteplus.
Domain Compression - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- Conditional
Origin Byteplus.Domain Conditional Origin - Specifies the configuration module for the 'Conditional Origin' feature.
- Created
Time int - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- Custom
Error Byteplus.Page Domain Custom Error Page - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- Customize
Access Byteplus.Rule Domain Customize Access Rule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- Domain
Lock Byteplus.Domain Domain Lock - Indicates the lock status of this domain name.
- Domain
Value string - Indicates the acceleration domain name.
- Download
Speed Byteplus.Limit Domain Download Speed Limit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- Follow
Redirect bool - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- Http
Forced Byteplus.Redirect Domain Http Forced Redirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- Https
Byteplus.
Domain Https - Indicates the HTTPS configuration module. This feature is disabled by default.
- IPv6
Byteplus.
Domain IPv6 - Indicates the configuration module for the IPv6 feature.
- Ip
Access Byteplus.Rule Domain Ip Access Rule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- Is
Conflict boolDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- Lock
Status string - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- Method
Denied Byteplus.Rule Domain Method Denied Rule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- Multi
Range Byteplus.Domain Multi Range - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- Negative
Caches List<Byteplus.Domain Negative Cach> - Offline
Cache Byteplus.Domain Offline Cache - Indicates the configuration module for the 'offline cache' feature.
- Origin
Access Byteplus.Rule Domain Origin Access Rule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- Origin
Args List<Byteplus.Domain Origin Arg> - Origin
Cert Byteplus.Check Domain Origin Cert Check - Origin certificate validation
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- Origin
IPv6 string - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- Origin
Protocol string - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- Origin
Range bool - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- Origin
Retry Byteplus.Domain Origin Retry - Indicates the configuration module for the "origin fetch retry settings" feature.
- Origin
Rewrite Byteplus.Domain Origin Rewrite - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- Origin
Sni Byteplus.Domain Origin Sni - Indicates the configuration module for the 'origin SNI' feature.
- Origins
List<Byteplus.
Domain Origin> - Page
Optimization Byteplus.Domain Page Optimization - Specifies the configuration module for the 'page optimization' feature.
- Primary
Origins List<string> - Indicates the list of primary origin servers configured for this domain name.
- Project string
- Indicates the project to which the acceleration domain belongs
- Quic
Byteplus.
Domain Quic - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- Redirection
Rewrite Byteplus.Domain Redirection Rewrite - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- Referer
Access Byteplus.Rule Domain Referer Access Rule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- Remote
Auth Byteplus.Domain Remote Auth - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- Request
Block Byteplus.Rule Domain Request Block Rule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- Request
Headers List<Byteplus.Domain Request Header> - Response
Headers List<Byteplus.Domain Response Header> - Rewrite
Hls Byteplus.Domain Rewrite Hls - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- Service
Region string - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- Service
Type string - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- Signed
Url Byteplus.Auth Domain Signed Url Auth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- Status string
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
-
List<Byteplus.
Domain Tag> - Timeout
Byteplus.
Domain Timeout - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- Ua
Access Byteplus.Rule Domain Ua Access Rule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- Updated
Time int - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- Url
Normalize Byteplus.Domain Url Normalize - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- Video
Drag Byteplus.Domain Video Drag - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- Area
Access DomainRule Area Access Rule Args - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- Backup
Origins []string - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- Browser
Caches []DomainBrowser Cach Args - Cache
Host DomainCache Host Args - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- Cache
Keys []DomainCache Key Args - string
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- string
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- Caches
[]Domain
Cach Args - Cname string
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- Compression
Domain
Compression Args - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- Conditional
Origin DomainConditional Origin Args - Specifies the configuration module for the 'Conditional Origin' feature.
- Created
Time int - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- Custom
Error DomainPage Custom Error Page Args - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- Customize
Access DomainRule Customize Access Rule Args - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- Domain string
- Indicates the acceleration domain name.
- Domain
Lock DomainDomain Lock Args - Indicates the lock status of this domain name.
- Download
Speed DomainLimit Download Speed Limit Args - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- Follow
Redirect bool - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- Http
Forced DomainRedirect Http Forced Redirect Args - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- Https
Domain
Https Args - Indicates the HTTPS configuration module. This feature is disabled by default.
- IPv6
Domain
IPv6Args - Indicates the configuration module for the IPv6 feature.
- Ip
Access DomainRule Ip Access Rule Args - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- Is
Conflict boolDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- Lock
Status string - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- Method
Denied DomainRule Method Denied Rule Args - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- Multi
Range DomainMulti Range Args - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- Negative
Caches []DomainNegative Cach Args - Offline
Cache DomainOffline Cache Args - Indicates the configuration module for the 'offline cache' feature.
- Origin
Access DomainRule Origin Access Rule Args - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- Origin
Args []DomainOrigin Arg Args - Origin
Cert DomainCheck Origin Cert Check Args - Origin certificate validation
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- Origin
IPv6 string - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- Origin
Protocol string - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- Origin
Range bool - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- Origin
Retry DomainOrigin Retry Args - Indicates the configuration module for the "origin fetch retry settings" feature.
- Origin
Rewrite DomainOrigin Rewrite Args - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- Origin
Sni DomainOrigin Sni Args - Indicates the configuration module for the 'origin SNI' feature.
- Origins
[]Domain
Origin Args - Page
Optimization DomainPage Optimization Args - Specifies the configuration module for the 'page optimization' feature.
- Primary
Origins []string - Indicates the list of primary origin servers configured for this domain name.
- Project string
- Indicates the project to which the acceleration domain belongs
- Quic
Domain
Quic Args - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- Redirection
Rewrite DomainRedirection Rewrite Args - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- Referer
Access DomainRule Referer Access Rule Args - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- Remote
Auth DomainRemote Auth Args - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- Request
Block DomainRule Request Block Rule Args - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- Request
Headers []DomainRequest Header Args - Response
Headers []DomainResponse Header Args - Rewrite
Hls DomainRewrite Hls Args - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- Service
Region string - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- Service
Type string - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- Signed
Url DomainAuth Signed Url Auth Args - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- Status string
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
-
[]Domain
Tag Args - Timeout
Domain
Timeout Args - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- Ua
Access DomainRule Ua Access Rule Args - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- Updated
Time int - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- Url
Normalize DomainUrl Normalize Args - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- Video
Drag DomainVideo Drag Args - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- area
Access DomainRule Area Access Rule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- backup
Origins List<String> - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- browser
Caches List<DomainBrowser Cach> - cache
Host DomainCache Host - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache
Keys List<DomainCache Key> - String
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- String
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- caches
List<Domain
Cach> - cname String
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- compression
Domain
Compression - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional
Origin DomainConditional Origin - Specifies the configuration module for the 'Conditional Origin' feature.
- created
Time Integer - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- custom
Error DomainPage Custom Error Page - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize
Access DomainRule Customize Access Rule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- domain String
- Indicates the acceleration domain name.
- domain
Lock DomainDomain Lock - Indicates the lock status of this domain name.
- download
Speed DomainLimit Download Speed Limit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow
Redirect Boolean - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http
Forced DomainRedirect Http Forced Redirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https
Domain
Https - Indicates the HTTPS configuration module. This feature is disabled by default.
- i
Pv6 DomainIPv6 - Indicates the configuration module for the IPv6 feature.
- ip
Access DomainRule Ip Access Rule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- is
Conflict BooleanDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock
Status String - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- method
Denied DomainRule Method Denied Rule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi
Range DomainMulti Range - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative
Caches List<DomainNegative Cach> - offline
Cache DomainOffline Cache - Indicates the configuration module for the 'offline cache' feature.
- origin
Access DomainRule Origin Access Rule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin
Args List<DomainOrigin Arg> - origin
Cert DomainCheck Origin Cert Check - Origin certificate validation
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin
IPv6 String - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin
Protocol String - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin
Range Boolean - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Retry DomainOrigin Retry - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin
Rewrite DomainOrigin Rewrite - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin
Sni DomainOrigin Sni - Indicates the configuration module for the 'origin SNI' feature.
- origins
List<Domain
Origin> - page
Optimization DomainPage Optimization - Specifies the configuration module for the 'page optimization' feature.
- primary
Origins List<String> - Indicates the list of primary origin servers configured for this domain name.
- project String
- Indicates the project to which the acceleration domain belongs
- quic
Domain
Quic - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection
Rewrite DomainRedirection Rewrite - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer
Access DomainRule Referer Access Rule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote
Auth DomainRemote Auth - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request
Block DomainRule Request Block Rule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request
Headers List<DomainRequest Header> - response
Headers List<DomainResponse Header> - rewrite
Hls DomainRewrite Hls - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service
Region String - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- service
Type String - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- signed
Url DomainAuth Signed Url Auth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- status String
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
-
List<Domain
Tag> - timeout
Domain
Timeout - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua
Access DomainRule Ua Access Rule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- updated
Time Integer - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- url
Normalize DomainUrl Normalize - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video
Drag DomainVideo Drag - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- area
Access DomainRule Area Access Rule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- backup
Origins string[] - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- browser
Caches DomainBrowser Cach[] - cache
Host DomainCache Host - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache
Keys DomainCache Key[] - string
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- string
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- caches
Domain
Cach[] - cname string
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- compression
Domain
Compression - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional
Origin DomainConditional Origin - Specifies the configuration module for the 'Conditional Origin' feature.
- created
Time number - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- custom
Error DomainPage Custom Error Page - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize
Access DomainRule Customize Access Rule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- domain string
- Indicates the acceleration domain name.
- domain
Lock DomainDomain Lock - Indicates the lock status of this domain name.
- download
Speed DomainLimit Download Speed Limit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow
Redirect boolean - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http
Forced DomainRedirect Http Forced Redirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https
Domain
Https - Indicates the HTTPS configuration module. This feature is disabled by default.
- i
Pv6 DomainIPv6 - Indicates the configuration module for the IPv6 feature.
- ip
Access DomainRule Ip Access Rule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- is
Conflict booleanDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock
Status string - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- method
Denied DomainRule Method Denied Rule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi
Range DomainMulti Range - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative
Caches DomainNegative Cach[] - offline
Cache DomainOffline Cache - Indicates the configuration module for the 'offline cache' feature.
- origin
Access DomainRule Origin Access Rule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin
Args DomainOrigin Arg[] - origin
Cert DomainCheck Origin Cert Check - Origin certificate validation
- origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin
IPv6 string - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin
Protocol string - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin
Range boolean - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Retry DomainOrigin Retry - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin
Rewrite DomainOrigin Rewrite - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin
Sni DomainOrigin Sni - Indicates the configuration module for the 'origin SNI' feature.
- origins
Domain
Origin[] - page
Optimization DomainPage Optimization - Specifies the configuration module for the 'page optimization' feature.
- primary
Origins string[] - Indicates the list of primary origin servers configured for this domain name.
- project string
- Indicates the project to which the acceleration domain belongs
- quic
Domain
Quic - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection
Rewrite DomainRedirection Rewrite - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer
Access DomainRule Referer Access Rule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote
Auth DomainRemote Auth - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request
Block DomainRule Request Block Rule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request
Headers DomainRequest Header[] - response
Headers DomainResponse Header[] - rewrite
Hls DomainRewrite Hls - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service
Region string - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- service
Type string - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- signed
Url DomainAuth Signed Url Auth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- status string
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
-
Domain
Tag[] - timeout
Domain
Timeout - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua
Access DomainRule Ua Access Rule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- updated
Time number - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- url
Normalize DomainUrl Normalize - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video
Drag DomainVideo Drag - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- area_
access_ Domainrule Area Access Rule Args - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- backup_
origins Sequence[str] - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- browser_
caches Sequence[DomainBrowser Cach Args] - cache_
host DomainCache Host Args - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache_
keys Sequence[DomainCache Key Args] - str
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- str
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- caches
Sequence[Domain
Cach Args] - cname str
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- compression
Domain
Compression Args - Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional_
origin DomainConditional Origin Args - Specifies the configuration module for the 'Conditional Origin' feature.
- created_
time int - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- custom_
error_ Domainpage Custom Error Page Args - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize_
access_ Domainrule Customize Access Rule Args - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- domain str
- Indicates the acceleration domain name.
- domain_
lock DomainDomain Lock Args - Indicates the lock status of this domain name.
- download_
speed_ Domainlimit Download Speed Limit Args - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow_
redirect bool - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http_
forced_ Domainredirect Http Forced Redirect Args - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https
Domain
Https Args - Indicates the HTTPS configuration module. This feature is disabled by default.
- i_
pv6 DomainIPv6Args - Indicates the configuration module for the IPv6 feature.
- ip_
access_ Domainrule Ip Access Rule Args - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- is_
conflict_ booldomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock_
status str - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- method_
denied_ Domainrule Method Denied Rule Args - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi_
range DomainMulti Range Args - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative_
caches Sequence[DomainNegative Cach Args] - offline_
cache DomainOffline Cache Args - Indicates the configuration module for the 'offline cache' feature.
- origin_
access_ Domainrule Origin Access Rule Args - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin_
args Sequence[DomainOrigin Arg Args] - origin_
cert_ Domaincheck Origin Cert Check Args - Origin certificate validation
- origin_
host str - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin_
i_ strpv6 - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin_
protocol str - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin_
range bool - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin_
retry DomainOrigin Retry Args - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin_
rewrite DomainOrigin Rewrite Args - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin_
sni DomainOrigin Sni Args - Indicates the configuration module for the 'origin SNI' feature.
- origins
Sequence[Domain
Origin Args] - page_
optimization DomainPage Optimization Args - Specifies the configuration module for the 'page optimization' feature.
- primary_
origins Sequence[str] - Indicates the list of primary origin servers configured for this domain name.
- project str
- Indicates the project to which the acceleration domain belongs
- quic
Domain
Quic Args - Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection_
rewrite DomainRedirection Rewrite Args - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer_
access_ Domainrule Referer Access Rule Args - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote_
auth DomainRemote Auth Args - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request_
block_ Domainrule Request Block Rule Args - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request_
headers Sequence[DomainRequest Header Args] - response_
headers Sequence[DomainResponse Header Args] - rewrite_
hls DomainRewrite Hls Args - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service_
region str - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- service_
type str - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- signed_
url_ Domainauth Signed Url Auth Args - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- status str
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
-
Sequence[Domain
Tag Args] - timeout
Domain
Timeout Args - Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua_
access_ Domainrule Ua Access Rule Args - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- updated_
time int - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- url_
normalize DomainUrl Normalize Args - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video_
drag DomainVideo Drag Args - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
- area
Access Property MapRule - Indicates the configuration module for the 'regional access control' feature. This feature is disabled by default.
- backup
Origins List<String> - Indicates the backup origin server list configured for this domain. If no backup origin server is configured for this domain, the parameter value is null.
- browser
Caches List<Property Map> - cache
Host Property Map - Specifies the configuration module for the 'shared cache' feature. This feature is disabled by default.
- cache
Keys List<Property Map> - String
- Indicates the role of this domain in the 'shared cache' configuration. The parameter has the following values: targethost: indicates the 'target domain'. cacheshared_on: indicates the 'configured domain'. If this domain is not included in any 'shared cache' configuration, the parameter value is an empty string ('').
- String
- If CacheShared is cachesharedon, this parameter indicates the 'Target Domain' in the 'Shared Cache' configuration for this domain name. If CacheShared is target_host, this parameter is empty ("").
- caches List<Property Map>
- cname String
- Indicates the CNAME assigned by the content delivery network to the acceleration domain name.
- compression Property Map
- Represents the configuration module for the 'Smart Compression' feature. This feature is disabled by default.
- conditional
Origin Property Map - Specifies the configuration module for the 'Conditional Origin' feature.
- created
Time Number - Indicates the creation time of this accelerated domain name, in Unix timestamp format.
- custom
Error Property MapPage - Indicates the configuration module for the "Custom Error Page" feature. This feature is disabled by default.
- customize
Access Property MapRule - Represents the configuration module for the 'Custom Header Allowlist and Blocklist' feature. This feature is disabled by default.
- domain String
- Indicates the acceleration domain name.
- domain
Lock Property Map - Indicates the lock status of this domain name.
- download
Speed Property MapLimit - Represents the configuration module for the 'Download Speed Limit' feature. This feature is disabled by default.
- follow
Redirect Boolean - Specifies whether to enable the 'origin redirect follow' feature. The parameter values are: true: enable the feature; false: disable the feature. The default value is false.
- http
Forced Property MapRedirect - Represents the configuration module for the 'Force HTTPS Redirect to HTTP' feature. This feature is disabled by default.
- https Property Map
- Indicates the HTTPS configuration module. This feature is disabled by default.
- i
Pv6 Property Map - Indicates the configuration module for the IPv6 feature.
- ip
Access Property MapRule - Specifies the configuration module for the 'IP allowlist and blocklist' feature. This feature is disabled by default. There are two configuration methods: Standard configuration: Specify RuleType and Ip to configure the current domain. Global configuration: Specify SharedConfig to use a global configuration. The global configuration is the allowlist feature. You can only choose one configuration method.
- is
Conflict BooleanDomain - Indicates whether the domain is a conflicting domain. In CDN, each domain is unique. If you need to add a domain that already exists under another primary account, you must submit a ticket. If you successfully add the domain under your primary account, it becomes a conflicting domain. This parameter has the following values: true: the domain is a conflicting domain. false: the domain is not a conflicting domain.
- lock
Status String - Indicates whether the configuration for this domain name can be changed. The parameter values are: on: Allowed. off: Not allowed.
- method
Denied Property MapRule - Represents the configuration module for the 'Disable HTTP Method' feature. This feature is disabled by default.
- multi
Range Property Map - Indicates the configuration module for the multi-range feature. This feature is disabled by default
- negative
Caches List<Property Map> - offline
Cache Property Map - Indicates the configuration module for the 'offline cache' feature.
- origin
Access Property MapRule - Indicates the configuration module for the 'Origin allowlist and blacklist' feature. This feature is disabled by default.
- origin
Args List<Property Map> - origin
Cert Property MapCheck - Origin certificate validation
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- origin
IPv6 String - Indicates the configuration for "IPv6 origin fetch." This parameter has the following values: ipv6first: The content delivery network always tries to obtain the IPv6 address of the origin domain. If it cannot obtain the IPv6 address, the content delivery network then tries to obtain the IPv4 address of the origin domain. ipv4first: The content delivery network always tries to obtain the IPv4 address of the origin domain. If it cannot obtain the IPv4 address, the content delivery network then tries to obtain the IPv6 address of the origin domain. followclient: The content delivery network tries to obtain the same type of IP address as the user's request. The default value for this parameter is followclient. Since some overseas origin fetch nodes do not support sending origin fetch requests to IPv6 addresses, this feature is only available for origin fetch nodes located in mainland China.
- origin
Protocol String - Indicates the protocol used for origin requests. The parameter has the following values: http: uses the HTTP protocol for origin requests. https: uses the HTTPS protocol for origin requests. followclient: uses the same protocol as the user's request.
- origin
Range Boolean - Indicates whether the 'Range Origin' feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Retry Property Map - Indicates the configuration module for the "origin fetch retry settings" feature.
- origin
Rewrite Property Map - Indicates the configuration module for the 'Origin URL Rewrite' feature.
- origin
Sni Property Map - Indicates the configuration module for the 'origin SNI' feature.
- origins List<Property Map>
- page
Optimization Property Map - Specifies the configuration module for the 'page optimization' feature.
- primary
Origins List<String> - Indicates the list of primary origin servers configured for this domain name.
- project String
- Indicates the project to which the acceleration domain belongs
- quic Property Map
- Indicates the configuration module for the QUIC feature. This feature is disabled by default.
- redirection
Rewrite Property Map - Represents the configuration module for the 'URL Redirect Rewrite' feature. This feature is disabled by default.
- referer
Access Property MapRule - Indicates the configuration module for the "Referer Allowlist and Denylist" feature. This feature is disabled by default.
- remote
Auth Property Map - Indicates the configuration module for the 'remote authentication' feature. This feature is disabled by default.
- request
Block Property MapRule - Indicates the configuration module for the 'Custom Interception' feature. This feature is disabled by default
- request
Headers List<Property Map> - response
Headers List<Property Map> - rewrite
Hls Property Map - Indicates the configuration module for the "Standard HLS Encryption Rewrite" feature. This feature is disabled by default.
- service
Region String - Indicates the acceleration region for this accelerated domain name. The parameter values are: chinesemainland: Chinese Mainland. global: Global. outsidechinese_mainland: Global (excluding Chinese Mainland).
- service
Type String - Indicates the business type of the domain name. This parameter has the following options: download: File download. web: Web page. video: Audio and video on demand.
- signed
Url Property MapAuth - Indicates the configuration module for the 'URL Authentication' feature. This feature is disabled by default
- status String
- Indicates the status of the acceleration domain name. The parameter values are as follows: online: indicates normal operation. configuring: indicates configuration in progress. offline: indicates offline status.
- List<Property Map>
- timeout Property Map
- Indicates the configuration module for the 'origin timeout' feature. This feature is disabled by default.
- ua
Access Property MapRule - Indicates the configuration module for the "UA allowlist and blocklist" feature. This feature is disabled by default.
- updated
Time Number - Indicates the most recent update time for this domain configuration, in Unix timestamp format.
- url
Normalize Property Map - Specifies the configuration module for the 'URL normalization' feature. This feature is disabled by default.
- video
Drag Property Map - Indicates the configuration module for the "Video Drag" feature. This feature is disabled by default.
Supporting Types
DomainAreaAccessRule, DomainAreaAccessRuleArgs
- Areas List<string>
- Indicates a list of countries to which an allowlist or denylist is applied. When Switch is true, this parameter is required. Country names are represented in abbreviated form. Multiple country names are separated by commas (,).
- Rule
Type string - Indicates the rule type for the 'region access control' feature. This parameter has the following values: deny: indicates Denylist. allow: indicates Allowlist.
- Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- Areas []string
- Indicates a list of countries to which an allowlist or denylist is applied. When Switch is true, this parameter is required. Country names are represented in abbreviated form. Multiple country names are separated by commas (,).
- Rule
Type string - Indicates the rule type for the 'region access control' feature. This parameter has the following values: deny: indicates Denylist. allow: indicates Allowlist.
- Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- areas List<String>
- Indicates a list of countries to which an allowlist or denylist is applied. When Switch is true, this parameter is required. Country names are represented in abbreviated form. Multiple country names are separated by commas (,).
- rule
Type String - Indicates the rule type for the 'region access control' feature. This parameter has the following values: deny: indicates Denylist. allow: indicates Allowlist.
- switch_ Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- areas string[]
- Indicates a list of countries to which an allowlist or denylist is applied. When Switch is true, this parameter is required. Country names are represented in abbreviated form. Multiple country names are separated by commas (,).
- rule
Type string - Indicates the rule type for the 'region access control' feature. This parameter has the following values: deny: indicates Denylist. allow: indicates Allowlist.
- switch boolean
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- areas Sequence[str]
- Indicates a list of countries to which an allowlist or denylist is applied. When Switch is true, this parameter is required. Country names are represented in abbreviated form. Multiple country names are separated by commas (,).
- rule_
type str - Indicates the rule type for the 'region access control' feature. This parameter has the following values: deny: indicates Denylist. allow: indicates Allowlist.
- switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- areas List<String>
- Indicates a list of countries to which an allowlist or denylist is applied. When Switch is true, this parameter is required. Country names are represented in abbreviated form. Multiple country names are separated by commas (,).
- rule
Type String - Indicates the rule type for the 'region access control' feature. This parameter has the following values: deny: indicates Denylist. allow: indicates Allowlist.
- switch Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
DomainBrowserCach, DomainBrowserCachArgs
- Cache
Action Byteplus.Domain Browser Cach Cache Action - Indicates the relevant configuration for cache behavior.
- Condition
Byteplus.
Domain Browser Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Cache
Action DomainBrowser Cach Cache Action - Indicates the relevant configuration for cache behavior.
- Condition
Domain
Browser Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Action DomainBrowser Cach Cache Action - Indicates the relevant configuration for cache behavior.
- condition
Domain
Browser Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Action DomainBrowser Cach Cache Action - Indicates the relevant configuration for cache behavior.
- condition
Domain
Browser Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache_
action DomainBrowser Cach Cache Action - Indicates the relevant configuration for cache behavior.
- condition
Domain
Browser Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Action Property Map - Indicates the relevant configuration for cache behavior.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainBrowserCachCacheAction, DomainBrowserCachCacheActionArgs
- Action string
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- Default
Policy string - This parameter is shared by multiple CDN features.
- Ignore
Case bool - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- Ttl int
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- Action string
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- Default
Policy string - This parameter is shared by multiple CDN features.
- Ignore
Case bool - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- Ttl int
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action String
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default
Policy String - This parameter is shared by multiple CDN features.
- ignore
Case Boolean - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl Integer
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action string
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default
Policy string - This parameter is shared by multiple CDN features.
- ignore
Case boolean - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl number
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action str
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default_
policy str - This parameter is shared by multiple CDN features.
- ignore_
case bool - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl int
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action String
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default
Policy String - This parameter is shared by multiple CDN features.
- ignore
Case Boolean - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl Number
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
DomainBrowserCachCondition, DomainBrowserCachConditionArgs
- Condition
Rules List<Byteplus.Domain Browser Cach Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainBrowser Cach Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainBrowser Cach Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainBrowser Cach Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainBrowser Cach Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainBrowserCachConditionConditionRule, DomainBrowserCachConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainCach, DomainCachArgs
- Cache
Action Byteplus.Domain Cach Cache Action - Indicates the relevant configuration for cache behavior.
- Condition
Byteplus.
Domain Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Cache
Action DomainCach Cache Action - Indicates the relevant configuration for cache behavior.
- Condition
Domain
Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Action DomainCach Cache Action - Indicates the relevant configuration for cache behavior.
- condition
Domain
Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Action DomainCach Cache Action - Indicates the relevant configuration for cache behavior.
- condition
Domain
Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache_
action DomainCach Cache Action - Indicates the relevant configuration for cache behavior.
- condition
Domain
Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Action Property Map - Indicates the relevant configuration for cache behavior.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainCachCacheAction, DomainCachCacheActionArgs
- Action string
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- Default
Policy string - This parameter is shared by multiple CDN features.
- Ignore
Case bool - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- Ttl int
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- Action string
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- Default
Policy string - This parameter is shared by multiple CDN features.
- Ignore
Case bool - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- Ttl int
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action String
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default
Policy String - This parameter is shared by multiple CDN features.
- ignore
Case Boolean - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl Integer
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action string
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default
Policy string - This parameter is shared by multiple CDN features.
- ignore
Case boolean - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl number
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action str
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default_
policy str - This parameter is shared by multiple CDN features.
- ignore_
case bool - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl int
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
- action String
- Indicates caching behavior. Currently, you can only specify cache. cache means the behavior is caching.
- default
Policy String - This parameter is shared by multiple CDN features.
- ignore
Case Boolean - Indicates whether Value is case sensitive. The parameter has the following values: true: not case sensitive. false: case sensitive. The default value is false.
- ttl Number
- Indicates the cache duration in seconds. The valid range is 0–315,360,000. 315,360,000 represents 10 years. If you do not want the content delivery network to cache the specified content, set this parameter to 0.
DomainCachCondition, DomainCachConditionArgs
- Condition
Rules List<Byteplus.Domain Cach Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainCach Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainCach Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainCach Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainCach Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainCachConditionConditionRule, DomainCachConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainCacheHost, DomainCacheHostArgs
- Cache
Host List<Byteplus.Rules Domain Cache Host Cache Host Rule> - Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- Cache
Host []DomainRules Cache Host Cache Host Rule - Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cache
Host List<DomainRules Cache Host Cache Host Rule> - switch_ Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cache
Host DomainRules Cache Host Cache Host Rule[] - switch boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cache_
host_ Sequence[Domainrules Cache Host Cache Host Rule] - switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cache
Host List<Property Map>Rules - switch Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
DomainCacheHostCacheHostRule, DomainCacheHostCacheHostRuleArgs
- Cache
Host Byteplus.Action Domain Cache Host Cache Host Rule Cache Host Action - Indicates the target domain. The target domain must be an accelerated domain under your account. This parameter specifies that the Domain shares the cache of CacheHost.
- Condition
Byteplus.
Domain Cache Host Cache Host Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Cache
Host DomainAction Cache Host Cache Host Rule Cache Host Action - Indicates the target domain. The target domain must be an accelerated domain under your account. This parameter specifies that the Domain shares the cache of CacheHost.
- Condition
Domain
Cache Host Cache Host Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Host DomainAction Cache Host Cache Host Rule Cache Host Action - Indicates the target domain. The target domain must be an accelerated domain under your account. This parameter specifies that the Domain shares the cache of CacheHost.
- condition
Domain
Cache Host Cache Host Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Host DomainAction Cache Host Cache Host Rule Cache Host Action - Indicates the target domain. The target domain must be an accelerated domain under your account. This parameter specifies that the Domain shares the cache of CacheHost.
- condition
Domain
Cache Host Cache Host Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache_
host_ Domainaction Cache Host Cache Host Rule Cache Host Action - Indicates the target domain. The target domain must be an accelerated domain under your account. This parameter specifies that the Domain shares the cache of CacheHost.
- condition
Domain
Cache Host Cache Host Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Host Property MapAction - Indicates the target domain. The target domain must be an accelerated domain under your account. This parameter specifies that the Domain shares the cache of CacheHost.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainCacheHostCacheHostRuleCacheHostAction, DomainCacheHostCacheHostRuleCacheHostActionArgs
- Cache
Host string - Specifies the target domain name. The target domain name must be an acceleration domain under your account. This parameter indicates that Domain shares the cache of CacheHost.
- Cache
Host string - Specifies the target domain name. The target domain name must be an acceleration domain under your account. This parameter indicates that Domain shares the cache of CacheHost.
- cache
Host String - Specifies the target domain name. The target domain name must be an acceleration domain under your account. This parameter indicates that Domain shares the cache of CacheHost.
- cache
Host string - Specifies the target domain name. The target domain name must be an acceleration domain under your account. This parameter indicates that Domain shares the cache of CacheHost.
- cache_
host str - Specifies the target domain name. The target domain name must be an acceleration domain under your account. This parameter indicates that Domain shares the cache of CacheHost.
- cache
Host String - Specifies the target domain name. The target domain name must be an acceleration domain under your account. This parameter indicates that Domain shares the cache of CacheHost.
DomainCacheHostCacheHostRuleCondition, DomainCacheHostCacheHostRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Cache Host Cache Host Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainCache Host Cache Host Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainCache Host Cache Host Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainCache Host Cache Host Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainCache Host Cache Host Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainCacheHostCacheHostRuleConditionConditionRule, DomainCacheHostCacheHostRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainCacheKey, DomainCacheKeyArgs
- Cache
Key Byteplus.Action Domain Cache Key Cache Key Action - Indicates the action performed by the content delivery network under the Condition scenario.
- Condition
Byteplus.
Domain Cache Key Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Cache
Key DomainAction Cache Key Cache Key Action - Indicates the action performed by the content delivery network under the Condition scenario.
- Condition
Domain
Cache Key Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Key DomainAction Cache Key Cache Key Action - Indicates the action performed by the content delivery network under the Condition scenario.
- condition
Domain
Cache Key Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Key DomainAction Cache Key Cache Key Action - Indicates the action performed by the content delivery network under the Condition scenario.
- condition
Domain
Cache Key Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache_
key_ Domainaction Cache Key Cache Key Action - Indicates the action performed by the content delivery network under the Condition scenario.
- condition
Domain
Cache Key Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- cache
Key Property MapAction - Indicates the action performed by the content delivery network under the Condition scenario.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainCacheKeyCacheKeyAction, DomainCacheKeyCacheKeyActionArgs
DomainCacheKeyCacheKeyActionCacheKeyComponent, DomainCacheKeyCacheKeyActionCacheKeyComponentArgs
- Action string
- Specifies the action to perform; required when modifying. This parameter has the following values: exclude: The cache key does not include any query parameters, which means parameters are removed from the cache. include: The cache key includes all query parameters, which means parameters are retained in the cache. includePart: The cache key includes query parameters in Subobject, which means some parameters are retained in the cache. excludePart: The cache key does not include query parameters in Subobject, which means some parameters are removed from the cache.
- Ignore
Case bool - Indicates whether the content delivery network ignores case when matching Value. The parameter values are: true: ignore case. false: do not ignore case. The default value is false.
- Object string
- Indicates the object to be set. Currently, you can only specify queryString. queryString refers to the query parameters in the request URL.
- Subobject string
- Specify one or more objects of the Object type. Parameter details: If Action is include or exclude, Subobject must be *. * means all query parameters. If Action is includePart or excludePart, you can specify one or more query parameters. The query parameters you specify cannot be *, and cannot contain consecutive slashes (//), percent signs (%), or spaces. Use a semicolon (;) to separate multiple query parameter names. The default value for Subobject is *.
- Action string
- Specifies the action to perform; required when modifying. This parameter has the following values: exclude: The cache key does not include any query parameters, which means parameters are removed from the cache. include: The cache key includes all query parameters, which means parameters are retained in the cache. includePart: The cache key includes query parameters in Subobject, which means some parameters are retained in the cache. excludePart: The cache key does not include query parameters in Subobject, which means some parameters are removed from the cache.
- Ignore
Case bool - Indicates whether the content delivery network ignores case when matching Value. The parameter values are: true: ignore case. false: do not ignore case. The default value is false.
- Object string
- Indicates the object to be set. Currently, you can only specify queryString. queryString refers to the query parameters in the request URL.
- Subobject string
- Specify one or more objects of the Object type. Parameter details: If Action is include or exclude, Subobject must be *. * means all query parameters. If Action is includePart or excludePart, you can specify one or more query parameters. The query parameters you specify cannot be *, and cannot contain consecutive slashes (//), percent signs (%), or spaces. Use a semicolon (;) to separate multiple query parameter names. The default value for Subobject is *.
- action String
- Specifies the action to perform; required when modifying. This parameter has the following values: exclude: The cache key does not include any query parameters, which means parameters are removed from the cache. include: The cache key includes all query parameters, which means parameters are retained in the cache. includePart: The cache key includes query parameters in Subobject, which means some parameters are retained in the cache. excludePart: The cache key does not include query parameters in Subobject, which means some parameters are removed from the cache.
- ignore
Case Boolean - Indicates whether the content delivery network ignores case when matching Value. The parameter values are: true: ignore case. false: do not ignore case. The default value is false.
- object String
- Indicates the object to be set. Currently, you can only specify queryString. queryString refers to the query parameters in the request URL.
- subobject String
- Specify one or more objects of the Object type. Parameter details: If Action is include or exclude, Subobject must be *. * means all query parameters. If Action is includePart or excludePart, you can specify one or more query parameters. The query parameters you specify cannot be *, and cannot contain consecutive slashes (//), percent signs (%), or spaces. Use a semicolon (;) to separate multiple query parameter names. The default value for Subobject is *.
- action string
- Specifies the action to perform; required when modifying. This parameter has the following values: exclude: The cache key does not include any query parameters, which means parameters are removed from the cache. include: The cache key includes all query parameters, which means parameters are retained in the cache. includePart: The cache key includes query parameters in Subobject, which means some parameters are retained in the cache. excludePart: The cache key does not include query parameters in Subobject, which means some parameters are removed from the cache.
- ignore
Case boolean - Indicates whether the content delivery network ignores case when matching Value. The parameter values are: true: ignore case. false: do not ignore case. The default value is false.
- object string
- Indicates the object to be set. Currently, you can only specify queryString. queryString refers to the query parameters in the request URL.
- subobject string
- Specify one or more objects of the Object type. Parameter details: If Action is include or exclude, Subobject must be *. * means all query parameters. If Action is includePart or excludePart, you can specify one or more query parameters. The query parameters you specify cannot be *, and cannot contain consecutive slashes (//), percent signs (%), or spaces. Use a semicolon (;) to separate multiple query parameter names. The default value for Subobject is *.
- action str
- Specifies the action to perform; required when modifying. This parameter has the following values: exclude: The cache key does not include any query parameters, which means parameters are removed from the cache. include: The cache key includes all query parameters, which means parameters are retained in the cache. includePart: The cache key includes query parameters in Subobject, which means some parameters are retained in the cache. excludePart: The cache key does not include query parameters in Subobject, which means some parameters are removed from the cache.
- ignore_
case bool - Indicates whether the content delivery network ignores case when matching Value. The parameter values are: true: ignore case. false: do not ignore case. The default value is false.
- object str
- Indicates the object to be set. Currently, you can only specify queryString. queryString refers to the query parameters in the request URL.
- subobject str
- Specify one or more objects of the Object type. Parameter details: If Action is include or exclude, Subobject must be *. * means all query parameters. If Action is includePart or excludePart, you can specify one or more query parameters. The query parameters you specify cannot be *, and cannot contain consecutive slashes (//), percent signs (%), or spaces. Use a semicolon (;) to separate multiple query parameter names. The default value for Subobject is *.
- action String
- Specifies the action to perform; required when modifying. This parameter has the following values: exclude: The cache key does not include any query parameters, which means parameters are removed from the cache. include: The cache key includes all query parameters, which means parameters are retained in the cache. includePart: The cache key includes query parameters in Subobject, which means some parameters are retained in the cache. excludePart: The cache key does not include query parameters in Subobject, which means some parameters are removed from the cache.
- ignore
Case Boolean - Indicates whether the content delivery network ignores case when matching Value. The parameter values are: true: ignore case. false: do not ignore case. The default value is false.
- object String
- Indicates the object to be set. Currently, you can only specify queryString. queryString refers to the query parameters in the request URL.
- subobject String
- Specify one or more objects of the Object type. Parameter details: If Action is include or exclude, Subobject must be *. * means all query parameters. If Action is includePart or excludePart, you can specify one or more query parameters. The query parameters you specify cannot be *, and cannot contain consecutive slashes (//), percent signs (%), or spaces. Use a semicolon (;) to separate multiple query parameter names. The default value for Subobject is *.
DomainCacheKeyCondition, DomainCacheKeyConditionArgs
- Condition
Rules List<Byteplus.Domain Cache Key Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainCache Key Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainCache Key Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainCache Key Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainCache Key Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainCacheKeyConditionConditionRule, DomainCacheKeyConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainCompression, DomainCompressionArgs
- Compression
Rules List<Byteplus.Domain Compression Compression Rule> - Switch bool
- Smart compression configuration switch. This parameter has the following values: true: enables smart compression. false: disables smart compression.
- Compression
Rules []DomainCompression Compression Rule - Switch bool
- Smart compression configuration switch. This parameter has the following values: true: enables smart compression. false: disables smart compression.
- compression
Rules List<DomainCompression Compression Rule> - switch_ Boolean
- Smart compression configuration switch. This parameter has the following values: true: enables smart compression. false: disables smart compression.
- compression
Rules DomainCompression Compression Rule[] - switch boolean
- Smart compression configuration switch. This parameter has the following values: true: enables smart compression. false: disables smart compression.
- compression_
rules Sequence[DomainCompression Compression Rule] - switch bool
- Smart compression configuration switch. This parameter has the following values: true: enables smart compression. false: disables smart compression.
- compression
Rules List<Property Map> - switch Boolean
- Smart compression configuration switch. This parameter has the following values: true: enables smart compression. false: disables smart compression.
DomainCompressionCompressionRule, DomainCompressionCompressionRuleArgs
- Compression
Action Byteplus.Domain Compression Compression Rule Compression Action - Represents the configuration for compression operations.
- Condition
Byteplus.
Domain Compression Compression Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Compression
Action DomainCompression Compression Rule Compression Action - Represents the configuration for compression operations.
- Condition
Domain
Compression Compression Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- compression
Action DomainCompression Compression Rule Compression Action - Represents the configuration for compression operations.
- condition
Domain
Compression Compression Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- compression
Action DomainCompression Compression Rule Compression Action - Represents the configuration for compression operations.
- condition
Domain
Compression Compression Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- compression_
action DomainCompression Compression Rule Compression Action - Represents the configuration for compression operations.
- condition
Domain
Compression Compression Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- compression
Action Property Map - Represents the configuration for compression operations.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainCompressionCompressionRuleCompressionAction, DomainCompressionCompressionRuleCompressionActionArgs
- Compression
Format string - If the matching condition is based on the Content-Type header (when Condition is null or not specified), this parameter specifies the matching criteria for Content-Type. The values are as follows: default: matches file types included in the default Content-Type list. customize: matches custom file types in the Content-Type header. If Condition is not null, the matching criteria are defined in ConditionRule. In this case, this parameter must be set to all.
- Compression
Target string - Specifies the file types to compress. The parameter is described as follows: If CompressionFormat is default, this parameter must be set to *, indicating the default Content-Type list. The list includes the following file types: text/html, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, text/javascript, image/tiff, image/svg+xml, application/json, application/xml, text/plain; charset=utf-8. If CompressionFormat is customize, you need to specify one or more file types. Multiple file types are separated by commas (,). If CompressionFormat is all, this parameter must be set to *.
- Compression
Types List<string> - Compression algorithm: gzip and br specify the compression type. default: compresses all files by default, with the target count as *. customize: compresses custom file types. Choices: [default, customize]
- Max
File intSize Kb - Indicates the minimum value for the file size range. CDN only compresses files within the range specified by MinFileSizeKB and MaxFileSizeKB. The parameter value range is 0 - 2,147,483,647, the unit is KB, and the base is 1,024. The default value is 0.
- Min
File intSize Kb - Indicates the maximum value for the file size range. The value range is 0 - 2,147,483,647, in KB, using a base of 1,024. If this parameter is not specified, there is no upper limit for file size.
- Compression
Format string - If the matching condition is based on the Content-Type header (when Condition is null or not specified), this parameter specifies the matching criteria for Content-Type. The values are as follows: default: matches file types included in the default Content-Type list. customize: matches custom file types in the Content-Type header. If Condition is not null, the matching criteria are defined in ConditionRule. In this case, this parameter must be set to all.
- Compression
Target string - Specifies the file types to compress. The parameter is described as follows: If CompressionFormat is default, this parameter must be set to *, indicating the default Content-Type list. The list includes the following file types: text/html, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, text/javascript, image/tiff, image/svg+xml, application/json, application/xml, text/plain; charset=utf-8. If CompressionFormat is customize, you need to specify one or more file types. Multiple file types are separated by commas (,). If CompressionFormat is all, this parameter must be set to *.
- Compression
Types []string - Compression algorithm: gzip and br specify the compression type. default: compresses all files by default, with the target count as *. customize: compresses custom file types. Choices: [default, customize]
- Max
File intSize Kb - Indicates the minimum value for the file size range. CDN only compresses files within the range specified by MinFileSizeKB and MaxFileSizeKB. The parameter value range is 0 - 2,147,483,647, the unit is KB, and the base is 1,024. The default value is 0.
- Min
File intSize Kb - Indicates the maximum value for the file size range. The value range is 0 - 2,147,483,647, in KB, using a base of 1,024. If this parameter is not specified, there is no upper limit for file size.
- compression
Format String - If the matching condition is based on the Content-Type header (when Condition is null or not specified), this parameter specifies the matching criteria for Content-Type. The values are as follows: default: matches file types included in the default Content-Type list. customize: matches custom file types in the Content-Type header. If Condition is not null, the matching criteria are defined in ConditionRule. In this case, this parameter must be set to all.
- compression
Target String - Specifies the file types to compress. The parameter is described as follows: If CompressionFormat is default, this parameter must be set to *, indicating the default Content-Type list. The list includes the following file types: text/html, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, text/javascript, image/tiff, image/svg+xml, application/json, application/xml, text/plain; charset=utf-8. If CompressionFormat is customize, you need to specify one or more file types. Multiple file types are separated by commas (,). If CompressionFormat is all, this parameter must be set to *.
- compression
Types List<String> - Compression algorithm: gzip and br specify the compression type. default: compresses all files by default, with the target count as *. customize: compresses custom file types. Choices: [default, customize]
- max
File IntegerSize Kb - Indicates the minimum value for the file size range. CDN only compresses files within the range specified by MinFileSizeKB and MaxFileSizeKB. The parameter value range is 0 - 2,147,483,647, the unit is KB, and the base is 1,024. The default value is 0.
- min
File IntegerSize Kb - Indicates the maximum value for the file size range. The value range is 0 - 2,147,483,647, in KB, using a base of 1,024. If this parameter is not specified, there is no upper limit for file size.
- compression
Format string - If the matching condition is based on the Content-Type header (when Condition is null or not specified), this parameter specifies the matching criteria for Content-Type. The values are as follows: default: matches file types included in the default Content-Type list. customize: matches custom file types in the Content-Type header. If Condition is not null, the matching criteria are defined in ConditionRule. In this case, this parameter must be set to all.
- compression
Target string - Specifies the file types to compress. The parameter is described as follows: If CompressionFormat is default, this parameter must be set to *, indicating the default Content-Type list. The list includes the following file types: text/html, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, text/javascript, image/tiff, image/svg+xml, application/json, application/xml, text/plain; charset=utf-8. If CompressionFormat is customize, you need to specify one or more file types. Multiple file types are separated by commas (,). If CompressionFormat is all, this parameter must be set to *.
- compression
Types string[] - Compression algorithm: gzip and br specify the compression type. default: compresses all files by default, with the target count as *. customize: compresses custom file types. Choices: [default, customize]
- max
File numberSize Kb - Indicates the minimum value for the file size range. CDN only compresses files within the range specified by MinFileSizeKB and MaxFileSizeKB. The parameter value range is 0 - 2,147,483,647, the unit is KB, and the base is 1,024. The default value is 0.
- min
File numberSize Kb - Indicates the maximum value for the file size range. The value range is 0 - 2,147,483,647, in KB, using a base of 1,024. If this parameter is not specified, there is no upper limit for file size.
- compression_
format str - If the matching condition is based on the Content-Type header (when Condition is null or not specified), this parameter specifies the matching criteria for Content-Type. The values are as follows: default: matches file types included in the default Content-Type list. customize: matches custom file types in the Content-Type header. If Condition is not null, the matching criteria are defined in ConditionRule. In this case, this parameter must be set to all.
- compression_
target str - Specifies the file types to compress. The parameter is described as follows: If CompressionFormat is default, this parameter must be set to *, indicating the default Content-Type list. The list includes the following file types: text/html, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, text/javascript, image/tiff, image/svg+xml, application/json, application/xml, text/plain; charset=utf-8. If CompressionFormat is customize, you need to specify one or more file types. Multiple file types are separated by commas (,). If CompressionFormat is all, this parameter must be set to *.
- compression_
types Sequence[str] - Compression algorithm: gzip and br specify the compression type. default: compresses all files by default, with the target count as *. customize: compresses custom file types. Choices: [default, customize]
- max_
file_ intsize_ kb - Indicates the minimum value for the file size range. CDN only compresses files within the range specified by MinFileSizeKB and MaxFileSizeKB. The parameter value range is 0 - 2,147,483,647, the unit is KB, and the base is 1,024. The default value is 0.
- min_
file_ intsize_ kb - Indicates the maximum value for the file size range. The value range is 0 - 2,147,483,647, in KB, using a base of 1,024. If this parameter is not specified, there is no upper limit for file size.
- compression
Format String - If the matching condition is based on the Content-Type header (when Condition is null or not specified), this parameter specifies the matching criteria for Content-Type. The values are as follows: default: matches file types included in the default Content-Type list. customize: matches custom file types in the Content-Type header. If Condition is not null, the matching criteria are defined in ConditionRule. In this case, this parameter must be set to all.
- compression
Target String - Specifies the file types to compress. The parameter is described as follows: If CompressionFormat is default, this parameter must be set to *, indicating the default Content-Type list. The list includes the following file types: text/html, text/xml, text/plain, text/css, application/javascript, application/x-javascript, application/rss+xml, text/javascript, image/tiff, image/svg+xml, application/json, application/xml, text/plain; charset=utf-8. If CompressionFormat is customize, you need to specify one or more file types. Multiple file types are separated by commas (,). If CompressionFormat is all, this parameter must be set to *.
- compression
Types List<String> - Compression algorithm: gzip and br specify the compression type. default: compresses all files by default, with the target count as *. customize: compresses custom file types. Choices: [default, customize]
- max
File NumberSize Kb - Indicates the minimum value for the file size range. CDN only compresses files within the range specified by MinFileSizeKB and MaxFileSizeKB. The parameter value range is 0 - 2,147,483,647, the unit is KB, and the base is 1,024. The default value is 0.
- min
File NumberSize Kb - Indicates the maximum value for the file size range. The value range is 0 - 2,147,483,647, in KB, using a base of 1,024. If this parameter is not specified, there is no upper limit for file size.
DomainCompressionCompressionRuleCondition, DomainCompressionCompressionRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Compression Compression Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainCompression Compression Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainCompression Compression Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainCompression Compression Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainCompression Compression Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainCompressionCompressionRuleConditionConditionRule, DomainCompressionCompressionRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainConditionalOrigin, DomainConditionalOriginArgs
- Origin
Rules List<Byteplus.Domain Conditional Origin Origin Rule> - Indicates a list of rules. Each rule in the list defines a filter and the action the content delivery network performs on requests that meet the filter criteria.
- Switch bool
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- Origin
Rules []DomainConditional Origin Origin Rule - Indicates a list of rules. Each rule in the list defines a filter and the action the content delivery network performs on requests that meet the filter criteria.
- Switch bool
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Rules List<DomainConditional Origin Origin Rule> - Indicates a list of rules. Each rule in the list defines a filter and the action the content delivery network performs on requests that meet the filter criteria.
- switch_ Boolean
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Rules DomainConditional Origin Origin Rule[] - Indicates a list of rules. Each rule in the list defines a filter and the action the content delivery network performs on requests that meet the filter criteria.
- switch boolean
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin_
rules Sequence[DomainConditional Origin Origin Rule] - Indicates a list of rules. Each rule in the list defines a filter and the action the content delivery network performs on requests that meet the filter criteria.
- switch bool
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- origin
Rules List<Property Map> - Indicates a list of rules. Each rule in the list defines a filter and the action the content delivery network performs on requests that meet the filter criteria.
- switch Boolean
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
DomainConditionalOriginOriginRule, DomainConditionalOriginOriginRuleArgs
- Actions
Byteplus.
Domain Conditional Origin Origin Rule Actions - Indicates the operation configuration for a rule in the list.
- Condition
Byteplus.
Domain Conditional Origin Origin Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Actions
Domain
Conditional Origin Origin Rule Actions - Indicates the operation configuration for a rule in the list.
- Condition
Domain
Conditional Origin Origin Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- actions
Domain
Conditional Origin Origin Rule Actions - Indicates the operation configuration for a rule in the list.
- condition
Domain
Conditional Origin Origin Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- actions
Domain
Conditional Origin Origin Rule Actions - Indicates the operation configuration for a rule in the list.
- condition
Domain
Conditional Origin Origin Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- actions
Domain
Conditional Origin Origin Rule Actions - Indicates the operation configuration for a rule in the list.
- condition
Domain
Conditional Origin Origin Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- actions Property Map
- Indicates the operation configuration for a rule in the list.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainConditionalOriginOriginRuleActions, DomainConditionalOriginOriginRuleActionsArgs
DomainConditionalOriginOriginRuleActionsOriginLine, DomainConditionalOriginOriginRuleActionsOriginLineArgs
- Address string
- Represents the address of an origin server. When InstanceType is ip, Address specifies an IPv4 or IPv6 address. When InstanceType is domain, Address specifies a domain name. The domain name cannot be a wildcard domain. If you specify OriginLines, Address is required.
- Http
Port string - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The valid range is 1–65535, with a default value of 80. If the origin server does not have this port open, you do not need to specify this parameter.
- Https
Port string - Specifies the port used by the content delivery network to access the origin server via HTTPS. The value range is 1–65535, and the default is 443. If the origin server does not open this port, you do not need to specify this parameter.
- Instance
Type string - Indicates the type of origin. The parameter has the following values: ip: indicates an IP address. domain: indicates a domain name. InstanceType is required if OriginLines is specified.
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter takes precedence over the global OriginHost parameter. The value of this parameter cannot exceed 1,024 characters. The default value is the same as the global OriginHost.
- Address string
- Represents the address of an origin server. When InstanceType is ip, Address specifies an IPv4 or IPv6 address. When InstanceType is domain, Address specifies a domain name. The domain name cannot be a wildcard domain. If you specify OriginLines, Address is required.
- Http
Port string - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The valid range is 1–65535, with a default value of 80. If the origin server does not have this port open, you do not need to specify this parameter.
- Https
Port string - Specifies the port used by the content delivery network to access the origin server via HTTPS. The value range is 1–65535, and the default is 443. If the origin server does not open this port, you do not need to specify this parameter.
- Instance
Type string - Indicates the type of origin. The parameter has the following values: ip: indicates an IP address. domain: indicates a domain name. InstanceType is required if OriginLines is specified.
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter takes precedence over the global OriginHost parameter. The value of this parameter cannot exceed 1,024 characters. The default value is the same as the global OriginHost.
- address String
- Represents the address of an origin server. When InstanceType is ip, Address specifies an IPv4 or IPv6 address. When InstanceType is domain, Address specifies a domain name. The domain name cannot be a wildcard domain. If you specify OriginLines, Address is required.
- http
Port String - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The valid range is 1–65535, with a default value of 80. If the origin server does not have this port open, you do not need to specify this parameter.
- https
Port String - Specifies the port used by the content delivery network to access the origin server via HTTPS. The value range is 1–65535, and the default is 443. If the origin server does not open this port, you do not need to specify this parameter.
- instance
Type String - Indicates the type of origin. The parameter has the following values: ip: indicates an IP address. domain: indicates a domain name. InstanceType is required if OriginLines is specified.
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter takes precedence over the global OriginHost parameter. The value of this parameter cannot exceed 1,024 characters. The default value is the same as the global OriginHost.
- address string
- Represents the address of an origin server. When InstanceType is ip, Address specifies an IPv4 or IPv6 address. When InstanceType is domain, Address specifies a domain name. The domain name cannot be a wildcard domain. If you specify OriginLines, Address is required.
- http
Port string - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The valid range is 1–65535, with a default value of 80. If the origin server does not have this port open, you do not need to specify this parameter.
- https
Port string - Specifies the port used by the content delivery network to access the origin server via HTTPS. The value range is 1–65535, and the default is 443. If the origin server does not open this port, you do not need to specify this parameter.
- instance
Type string - Indicates the type of origin. The parameter has the following values: ip: indicates an IP address. domain: indicates a domain name. InstanceType is required if OriginLines is specified.
- origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter takes precedence over the global OriginHost parameter. The value of this parameter cannot exceed 1,024 characters. The default value is the same as the global OriginHost.
- address str
- Represents the address of an origin server. When InstanceType is ip, Address specifies an IPv4 or IPv6 address. When InstanceType is domain, Address specifies a domain name. The domain name cannot be a wildcard domain. If you specify OriginLines, Address is required.
- http_
port str - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The valid range is 1–65535, with a default value of 80. If the origin server does not have this port open, you do not need to specify this parameter.
- https_
port str - Specifies the port used by the content delivery network to access the origin server via HTTPS. The value range is 1–65535, and the default is 443. If the origin server does not open this port, you do not need to specify this parameter.
- instance_
type str - Indicates the type of origin. The parameter has the following values: ip: indicates an IP address. domain: indicates a domain name. InstanceType is required if OriginLines is specified.
- origin_
host str - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter takes precedence over the global OriginHost parameter. The value of this parameter cannot exceed 1,024 characters. The default value is the same as the global OriginHost.
- address String
- Represents the address of an origin server. When InstanceType is ip, Address specifies an IPv4 or IPv6 address. When InstanceType is domain, Address specifies a domain name. The domain name cannot be a wildcard domain. If you specify OriginLines, Address is required.
- http
Port String - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The valid range is 1–65535, with a default value of 80. If the origin server does not have this port open, you do not need to specify this parameter.
- https
Port String - Specifies the port used by the content delivery network to access the origin server via HTTPS. The value range is 1–65535, and the default is 443. If the origin server does not open this port, you do not need to specify this parameter.
- instance
Type String - Indicates the type of origin. The parameter has the following values: ip: indicates an IP address. domain: indicates a domain name. InstanceType is required if OriginLines is specified.
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter takes precedence over the global OriginHost parameter. The value of this parameter cannot exceed 1,024 characters. The default value is the same as the global OriginHost.
DomainConditionalOriginOriginRuleCondition, DomainConditionalOriginOriginRuleConditionArgs
- Condition
Groups List<Byteplus.Domain Conditional Origin Origin Rule Condition Condition Group> - Connective string
- Specifies the relationship between these condition groups. This parameter has the following values: or: Indicates an 'or' relationship. In this case, if any condition group is met, the user request matches the rule. and: Indicates an 'and' relationship. In this case, all condition groups must be met for the user request to match the rule. The default value is or.
- Is
Group bool - Indicates whether each filter condition is a condition group. The value of this parameter is always true, meaning each filter condition is a condition group. Currently, each condition group can only contain one filter condition.
- Condition
Groups []DomainConditional Origin Origin Rule Condition Condition Group - Connective string
- Specifies the relationship between these condition groups. This parameter has the following values: or: Indicates an 'or' relationship. In this case, if any condition group is met, the user request matches the rule. and: Indicates an 'and' relationship. In this case, all condition groups must be met for the user request to match the rule. The default value is or.
- Is
Group bool - Indicates whether each filter condition is a condition group. The value of this parameter is always true, meaning each filter condition is a condition group. Currently, each condition group can only contain one filter condition.
- condition
Groups List<DomainConditional Origin Origin Rule Condition Condition Group> - connective String
- Specifies the relationship between these condition groups. This parameter has the following values: or: Indicates an 'or' relationship. In this case, if any condition group is met, the user request matches the rule. and: Indicates an 'and' relationship. In this case, all condition groups must be met for the user request to match the rule. The default value is or.
- is
Group Boolean - Indicates whether each filter condition is a condition group. The value of this parameter is always true, meaning each filter condition is a condition group. Currently, each condition group can only contain one filter condition.
- condition
Groups DomainConditional Origin Origin Rule Condition Condition Group[] - connective string
- Specifies the relationship between these condition groups. This parameter has the following values: or: Indicates an 'or' relationship. In this case, if any condition group is met, the user request matches the rule. and: Indicates an 'and' relationship. In this case, all condition groups must be met for the user request to match the rule. The default value is or.
- is
Group boolean - Indicates whether each filter condition is a condition group. The value of this parameter is always true, meaning each filter condition is a condition group. Currently, each condition group can only contain one filter condition.
- condition_
groups Sequence[DomainConditional Origin Origin Rule Condition Condition Group] - connective str
- Specifies the relationship between these condition groups. This parameter has the following values: or: Indicates an 'or' relationship. In this case, if any condition group is met, the user request matches the rule. and: Indicates an 'and' relationship. In this case, all condition groups must be met for the user request to match the rule. The default value is or.
- is_
group bool - Indicates whether each filter condition is a condition group. The value of this parameter is always true, meaning each filter condition is a condition group. Currently, each condition group can only contain one filter condition.
- condition
Groups List<Property Map> - connective String
- Specifies the relationship between these condition groups. This parameter has the following values: or: Indicates an 'or' relationship. In this case, if any condition group is met, the user request matches the rule. and: Indicates an 'and' relationship. In this case, all condition groups must be met for the user request to match the rule. The default value is or.
- is
Group Boolean - Indicates whether each filter condition is a condition group. The value of this parameter is always true, meaning each filter condition is a condition group. Currently, each condition group can only contain one filter condition.
DomainConditionalOriginOriginRuleConditionConditionGroup, DomainConditionalOriginOriginRuleConditionConditionGroupArgs
- Condition
Byteplus.
Domain Conditional Origin Origin Rule Condition Condition Group Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Condition
Domain
Conditional Origin Origin Rule Condition Condition Group Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- condition
Domain
Conditional Origin Origin Rule Condition Condition Group Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- condition
Domain
Conditional Origin Origin Rule Condition Condition Group Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- condition
Domain
Conditional Origin Origin Rule Condition Condition Group Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainConditionalOriginOriginRuleConditionConditionGroupCondition, DomainConditionalOriginOriginRuleConditionConditionGroupConditionArgs
- Object string
- Indicates a filter type. This parameter has the following values: path: The full path in the request URL. directory: Any directory in the path. For example, if the path is /a/b/c/d/file, then /a/, /b/c/, and /d/ are directories. filetype: The extension at the end of the path. fullquerystring: The query string in the request URL. clientip: The client's IP address or the location associated with the IP address. If you specify Condition, Object is required.
- Operator string
- Specifies a comparison type. Different Objects correspond to different values. When Object is path, directory, or filetype, the parameter values are equal and notequal. When Object is path, additional values are regexmatch and regexnotmatch. When Object is fullquerystring, the values are regexmatch and regexnotmatch. When Object is clientip, the values are equal, notequal, belong, and notbelong. The comparison types are explained as follows: equal: If Object matches any filter value in Value, the request meets this filter condition. notequal: If Object does not match any filter value in Value, the request meets this filter condition. regexmatch: If any regular expression in Value matches any part of Object, the request meets this filter condition. regexnotmatch: If none of the regular expressions in Value match any part of Object, the request meets this filter condition. belong: If the client IP address belongs to any country or region listed in Value, the request meets this filter condition. notbelong: If the client IP address does not belong to any country or region listed in Value, the request meets this filter condition. If you specify Condition, Operator is required.
- Values List<string>
- Represents one or more filter values. Filter values are separated by semicolons (;). The input requirements for this parameter are as follows: When Object is path, directory, or filetype, the total length of all filter values must not exceed 1,024 characters and must not contain the following characters: consecutive slashes (//), spaces, dollar sign ($), question mark (?), or Delete (ASCII code 127). When Object is path, this parameter has the following additional requirements: each filter value must start with a slash (/) but must not end with a slash (/). You can use one or more asterisks () in the filter value, where each asterisk represents one or more characters. For example: /www/img/myimage.png. When Object is directory, this parameter has the following additional requirements: each filter value must start and end with a slash (/). For example: /www/img/. When Object is filetype, this parameter has the following additional requirements: each filter value does not need to start with a period (.). For example: png;txt. When Object is fullquerystring, the input requirements for this parameter are as follows: the total length of all filter values must not exceed 256 characters. Filter values can include numbers, letters, percent sign (%), underscore (), and hyphen (-). When Object is clientip, if Operator is equal or notequal, the input requirements for this parameter are as follows: the number of IP addresses must not exceed 5. IP addresses must be IPv4 addresses. If you specify Condition, Value is required.
- Object string
- Indicates a filter type. This parameter has the following values: path: The full path in the request URL. directory: Any directory in the path. For example, if the path is /a/b/c/d/file, then /a/, /b/c/, and /d/ are directories. filetype: The extension at the end of the path. fullquerystring: The query string in the request URL. clientip: The client's IP address or the location associated with the IP address. If you specify Condition, Object is required.
- Operator string
- Specifies a comparison type. Different Objects correspond to different values. When Object is path, directory, or filetype, the parameter values are equal and notequal. When Object is path, additional values are regexmatch and regexnotmatch. When Object is fullquerystring, the values are regexmatch and regexnotmatch. When Object is clientip, the values are equal, notequal, belong, and notbelong. The comparison types are explained as follows: equal: If Object matches any filter value in Value, the request meets this filter condition. notequal: If Object does not match any filter value in Value, the request meets this filter condition. regexmatch: If any regular expression in Value matches any part of Object, the request meets this filter condition. regexnotmatch: If none of the regular expressions in Value match any part of Object, the request meets this filter condition. belong: If the client IP address belongs to any country or region listed in Value, the request meets this filter condition. notbelong: If the client IP address does not belong to any country or region listed in Value, the request meets this filter condition. If you specify Condition, Operator is required.
- Values []string
- Represents one or more filter values. Filter values are separated by semicolons (;). The input requirements for this parameter are as follows: When Object is path, directory, or filetype, the total length of all filter values must not exceed 1,024 characters and must not contain the following characters: consecutive slashes (//), spaces, dollar sign ($), question mark (?), or Delete (ASCII code 127). When Object is path, this parameter has the following additional requirements: each filter value must start with a slash (/) but must not end with a slash (/). You can use one or more asterisks () in the filter value, where each asterisk represents one or more characters. For example: /www/img/myimage.png. When Object is directory, this parameter has the following additional requirements: each filter value must start and end with a slash (/). For example: /www/img/. When Object is filetype, this parameter has the following additional requirements: each filter value does not need to start with a period (.). For example: png;txt. When Object is fullquerystring, the input requirements for this parameter are as follows: the total length of all filter values must not exceed 256 characters. Filter values can include numbers, letters, percent sign (%), underscore (), and hyphen (-). When Object is clientip, if Operator is equal or notequal, the input requirements for this parameter are as follows: the number of IP addresses must not exceed 5. IP addresses must be IPv4 addresses. If you specify Condition, Value is required.
- object String
- Indicates a filter type. This parameter has the following values: path: The full path in the request URL. directory: Any directory in the path. For example, if the path is /a/b/c/d/file, then /a/, /b/c/, and /d/ are directories. filetype: The extension at the end of the path. fullquerystring: The query string in the request URL. clientip: The client's IP address or the location associated with the IP address. If you specify Condition, Object is required.
- operator String
- Specifies a comparison type. Different Objects correspond to different values. When Object is path, directory, or filetype, the parameter values are equal and notequal. When Object is path, additional values are regexmatch and regexnotmatch. When Object is fullquerystring, the values are regexmatch and regexnotmatch. When Object is clientip, the values are equal, notequal, belong, and notbelong. The comparison types are explained as follows: equal: If Object matches any filter value in Value, the request meets this filter condition. notequal: If Object does not match any filter value in Value, the request meets this filter condition. regexmatch: If any regular expression in Value matches any part of Object, the request meets this filter condition. regexnotmatch: If none of the regular expressions in Value match any part of Object, the request meets this filter condition. belong: If the client IP address belongs to any country or region listed in Value, the request meets this filter condition. notbelong: If the client IP address does not belong to any country or region listed in Value, the request meets this filter condition. If you specify Condition, Operator is required.
- values List<String>
- Represents one or more filter values. Filter values are separated by semicolons (;). The input requirements for this parameter are as follows: When Object is path, directory, or filetype, the total length of all filter values must not exceed 1,024 characters and must not contain the following characters: consecutive slashes (//), spaces, dollar sign ($), question mark (?), or Delete (ASCII code 127). When Object is path, this parameter has the following additional requirements: each filter value must start with a slash (/) but must not end with a slash (/). You can use one or more asterisks () in the filter value, where each asterisk represents one or more characters. For example: /www/img/myimage.png. When Object is directory, this parameter has the following additional requirements: each filter value must start and end with a slash (/). For example: /www/img/. When Object is filetype, this parameter has the following additional requirements: each filter value does not need to start with a period (.). For example: png;txt. When Object is fullquerystring, the input requirements for this parameter are as follows: the total length of all filter values must not exceed 256 characters. Filter values can include numbers, letters, percent sign (%), underscore (), and hyphen (-). When Object is clientip, if Operator is equal or notequal, the input requirements for this parameter are as follows: the number of IP addresses must not exceed 5. IP addresses must be IPv4 addresses. If you specify Condition, Value is required.
- object string
- Indicates a filter type. This parameter has the following values: path: The full path in the request URL. directory: Any directory in the path. For example, if the path is /a/b/c/d/file, then /a/, /b/c/, and /d/ are directories. filetype: The extension at the end of the path. fullquerystring: The query string in the request URL. clientip: The client's IP address or the location associated with the IP address. If you specify Condition, Object is required.
- operator string
- Specifies a comparison type. Different Objects correspond to different values. When Object is path, directory, or filetype, the parameter values are equal and notequal. When Object is path, additional values are regexmatch and regexnotmatch. When Object is fullquerystring, the values are regexmatch and regexnotmatch. When Object is clientip, the values are equal, notequal, belong, and notbelong. The comparison types are explained as follows: equal: If Object matches any filter value in Value, the request meets this filter condition. notequal: If Object does not match any filter value in Value, the request meets this filter condition. regexmatch: If any regular expression in Value matches any part of Object, the request meets this filter condition. regexnotmatch: If none of the regular expressions in Value match any part of Object, the request meets this filter condition. belong: If the client IP address belongs to any country or region listed in Value, the request meets this filter condition. notbelong: If the client IP address does not belong to any country or region listed in Value, the request meets this filter condition. If you specify Condition, Operator is required.
- values string[]
- Represents one or more filter values. Filter values are separated by semicolons (;). The input requirements for this parameter are as follows: When Object is path, directory, or filetype, the total length of all filter values must not exceed 1,024 characters and must not contain the following characters: consecutive slashes (//), spaces, dollar sign ($), question mark (?), or Delete (ASCII code 127). When Object is path, this parameter has the following additional requirements: each filter value must start with a slash (/) but must not end with a slash (/). You can use one or more asterisks () in the filter value, where each asterisk represents one or more characters. For example: /www/img/myimage.png. When Object is directory, this parameter has the following additional requirements: each filter value must start and end with a slash (/). For example: /www/img/. When Object is filetype, this parameter has the following additional requirements: each filter value does not need to start with a period (.). For example: png;txt. When Object is fullquerystring, the input requirements for this parameter are as follows: the total length of all filter values must not exceed 256 characters. Filter values can include numbers, letters, percent sign (%), underscore (), and hyphen (-). When Object is clientip, if Operator is equal or notequal, the input requirements for this parameter are as follows: the number of IP addresses must not exceed 5. IP addresses must be IPv4 addresses. If you specify Condition, Value is required.
- object str
- Indicates a filter type. This parameter has the following values: path: The full path in the request URL. directory: Any directory in the path. For example, if the path is /a/b/c/d/file, then /a/, /b/c/, and /d/ are directories. filetype: The extension at the end of the path. fullquerystring: The query string in the request URL. clientip: The client's IP address or the location associated with the IP address. If you specify Condition, Object is required.
- operator str
- Specifies a comparison type. Different Objects correspond to different values. When Object is path, directory, or filetype, the parameter values are equal and notequal. When Object is path, additional values are regexmatch and regexnotmatch. When Object is fullquerystring, the values are regexmatch and regexnotmatch. When Object is clientip, the values are equal, notequal, belong, and notbelong. The comparison types are explained as follows: equal: If Object matches any filter value in Value, the request meets this filter condition. notequal: If Object does not match any filter value in Value, the request meets this filter condition. regexmatch: If any regular expression in Value matches any part of Object, the request meets this filter condition. regexnotmatch: If none of the regular expressions in Value match any part of Object, the request meets this filter condition. belong: If the client IP address belongs to any country or region listed in Value, the request meets this filter condition. notbelong: If the client IP address does not belong to any country or region listed in Value, the request meets this filter condition. If you specify Condition, Operator is required.
- values Sequence[str]
- Represents one or more filter values. Filter values are separated by semicolons (;). The input requirements for this parameter are as follows: When Object is path, directory, or filetype, the total length of all filter values must not exceed 1,024 characters and must not contain the following characters: consecutive slashes (//), spaces, dollar sign ($), question mark (?), or Delete (ASCII code 127). When Object is path, this parameter has the following additional requirements: each filter value must start with a slash (/) but must not end with a slash (/). You can use one or more asterisks () in the filter value, where each asterisk represents one or more characters. For example: /www/img/myimage.png. When Object is directory, this parameter has the following additional requirements: each filter value must start and end with a slash (/). For example: /www/img/. When Object is filetype, this parameter has the following additional requirements: each filter value does not need to start with a period (.). For example: png;txt. When Object is fullquerystring, the input requirements for this parameter are as follows: the total length of all filter values must not exceed 256 characters. Filter values can include numbers, letters, percent sign (%), underscore (), and hyphen (-). When Object is clientip, if Operator is equal or notequal, the input requirements for this parameter are as follows: the number of IP addresses must not exceed 5. IP addresses must be IPv4 addresses. If you specify Condition, Value is required.
- object String
- Indicates a filter type. This parameter has the following values: path: The full path in the request URL. directory: Any directory in the path. For example, if the path is /a/b/c/d/file, then /a/, /b/c/, and /d/ are directories. filetype: The extension at the end of the path. fullquerystring: The query string in the request URL. clientip: The client's IP address or the location associated with the IP address. If you specify Condition, Object is required.
- operator String
- Specifies a comparison type. Different Objects correspond to different values. When Object is path, directory, or filetype, the parameter values are equal and notequal. When Object is path, additional values are regexmatch and regexnotmatch. When Object is fullquerystring, the values are regexmatch and regexnotmatch. When Object is clientip, the values are equal, notequal, belong, and notbelong. The comparison types are explained as follows: equal: If Object matches any filter value in Value, the request meets this filter condition. notequal: If Object does not match any filter value in Value, the request meets this filter condition. regexmatch: If any regular expression in Value matches any part of Object, the request meets this filter condition. regexnotmatch: If none of the regular expressions in Value match any part of Object, the request meets this filter condition. belong: If the client IP address belongs to any country or region listed in Value, the request meets this filter condition. notbelong: If the client IP address does not belong to any country or region listed in Value, the request meets this filter condition. If you specify Condition, Operator is required.
- values List<String>
- Represents one or more filter values. Filter values are separated by semicolons (;). The input requirements for this parameter are as follows: When Object is path, directory, or filetype, the total length of all filter values must not exceed 1,024 characters and must not contain the following characters: consecutive slashes (//), spaces, dollar sign ($), question mark (?), or Delete (ASCII code 127). When Object is path, this parameter has the following additional requirements: each filter value must start with a slash (/) but must not end with a slash (/). You can use one or more asterisks () in the filter value, where each asterisk represents one or more characters. For example: /www/img/myimage.png. When Object is directory, this parameter has the following additional requirements: each filter value must start and end with a slash (/). For example: /www/img/. When Object is filetype, this parameter has the following additional requirements: each filter value does not need to start with a period (.). For example: png;txt. When Object is fullquerystring, the input requirements for this parameter are as follows: the total length of all filter values must not exceed 256 characters. Filter values can include numbers, letters, percent sign (%), underscore (), and hyphen (-). When Object is clientip, if Operator is equal or notequal, the input requirements for this parameter are as follows: the number of IP addresses must not exceed 5. IP addresses must be IPv4 addresses. If you specify Condition, Value is required.
DomainCustomErrorPage, DomainCustomErrorPageArgs
- Error
Page List<Byteplus.Rules Domain Custom Error Page Error Page Rule> - Switch bool
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- Error
Page []DomainRules Custom Error Page Error Page Rule - Switch bool
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- error
Page List<DomainRules Custom Error Page Error Page Rule> - switch_ Boolean
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- error
Page DomainRules Custom Error Page Error Page Rule[] - switch boolean
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- error_
page_ Sequence[Domainrules Custom Error Page Error Page Rule] - switch bool
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- error
Page List<Property Map>Rules - switch Boolean
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
DomainCustomErrorPageErrorPageRule, DomainCustomErrorPageErrorPageRuleArgs
- Error
Page Byteplus.Action Domain Custom Error Page Error Page Rule Error Page Action - Indicates the relevant configuration for the rule.
- Error
Page DomainAction Custom Error Page Error Page Rule Error Page Action - Indicates the relevant configuration for the rule.
- error
Page DomainAction Custom Error Page Error Page Rule Error Page Action - Indicates the relevant configuration for the rule.
- error
Page DomainAction Custom Error Page Error Page Rule Error Page Action - Indicates the relevant configuration for the rule.
- error_
page_ Domainaction Custom Error Page Error Page Rule Error Page Action - Indicates the relevant configuration for the rule.
- error
Page Property MapAction - Indicates the relevant configuration for the rule.
DomainCustomErrorPageErrorPageRuleErrorPageAction, DomainCustomErrorPageErrorPageRuleErrorPageActionArgs
- Action string
- Indicates the actual operation. Currently, you can only set this parameter to redirect. This means the client request will be redirected.
- Redirect
Code string - Indicates the response status code for redirection. You can select an appropriate status code as needed. The available values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original request and will not be changed.
- Redirect
Url string - Indicates the target address for redirection. The length must not exceed 1,024 characters. The address must include the protocol, domain name, and path, and comply with URL specifications.
- Status
Code string - Indicates a status code, with a value range of 400–599. You can enter 4xx or 5xx. 4xx covers all status codes from 400 to 499. 5xx covers all status codes from 500 to 599.
- Action string
- Indicates the actual operation. Currently, you can only set this parameter to redirect. This means the client request will be redirected.
- Redirect
Code string - Indicates the response status code for redirection. You can select an appropriate status code as needed. The available values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original request and will not be changed.
- Redirect
Url string - Indicates the target address for redirection. The length must not exceed 1,024 characters. The address must include the protocol, domain name, and path, and comply with URL specifications.
- Status
Code string - Indicates a status code, with a value range of 400–599. You can enter 4xx or 5xx. 4xx covers all status codes from 400 to 499. 5xx covers all status codes from 500 to 599.
- action String
- Indicates the actual operation. Currently, you can only set this parameter to redirect. This means the client request will be redirected.
- redirect
Code String - Indicates the response status code for redirection. You can select an appropriate status code as needed. The available values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original request and will not be changed.
- redirect
Url String - Indicates the target address for redirection. The length must not exceed 1,024 characters. The address must include the protocol, domain name, and path, and comply with URL specifications.
- status
Code String - Indicates a status code, with a value range of 400–599. You can enter 4xx or 5xx. 4xx covers all status codes from 400 to 499. 5xx covers all status codes from 500 to 599.
- action string
- Indicates the actual operation. Currently, you can only set this parameter to redirect. This means the client request will be redirected.
- redirect
Code string - Indicates the response status code for redirection. You can select an appropriate status code as needed. The available values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original request and will not be changed.
- redirect
Url string - Indicates the target address for redirection. The length must not exceed 1,024 characters. The address must include the protocol, domain name, and path, and comply with URL specifications.
- status
Code string - Indicates a status code, with a value range of 400–599. You can enter 4xx or 5xx. 4xx covers all status codes from 400 to 499. 5xx covers all status codes from 500 to 599.
- action str
- Indicates the actual operation. Currently, you can only set this parameter to redirect. This means the client request will be redirected.
- redirect_
code str - Indicates the response status code for redirection. You can select an appropriate status code as needed. The available values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original request and will not be changed.
- redirect_
url str - Indicates the target address for redirection. The length must not exceed 1,024 characters. The address must include the protocol, domain name, and path, and comply with URL specifications.
- status_
code str - Indicates a status code, with a value range of 400–599. You can enter 4xx or 5xx. 4xx covers all status codes from 400 to 499. 5xx covers all status codes from 500 to 599.
- action String
- Indicates the actual operation. Currently, you can only set this parameter to redirect. This means the client request will be redirected.
- redirect
Code String - Indicates the response status code for redirection. You can select an appropriate status code as needed. The available values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original request and will not be changed.
- redirect
Url String - Indicates the target address for redirection. The length must not exceed 1,024 characters. The address must include the protocol, domain name, and path, and comply with URL specifications.
- status
Code String - Indicates a status code, with a value range of 400–599. You can enter 4xx or 5xx. 4xx covers all status codes from 400 to 499. 5xx covers all status codes from 500 to 599.
DomainCustomizeAccessRule, DomainCustomizeAccessRuleArgs
- Customize
Instances List<Byteplus.Domain Customize Access Rule Customize Instance> - Switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- Customize
Instances []DomainCustomize Access Rule Customize Instance - Switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- customize
Instances List<DomainCustomize Access Rule Customize Instance> - switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- customize
Instances DomainCustomize Access Rule Customize Instance[] - switch boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- customize_
instances Sequence[DomainCustomize Access Rule Customize Instance] - switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- customize
Instances List<Property Map> - switch Boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
DomainCustomizeAccessRuleCustomizeInstance, DomainCustomizeAccessRuleCustomizeInstanceArgs
- Customize
Rule Byteplus.Domain Customize Access Rule Customize Instance Customize Rule - Describes the configuration for a rule in the list.
- Customize
Rule DomainCustomize Access Rule Customize Instance Customize Rule - Describes the configuration for a rule in the list.
- customize
Rule DomainCustomize Access Rule Customize Instance Customize Rule - Describes the configuration for a rule in the list.
- customize
Rule DomainCustomize Access Rule Customize Instance Customize Rule - Describes the configuration for a rule in the list.
- customize_
rule DomainCustomize Access Rule Customize Instance Customize Rule - Describes the configuration for a rule in the list.
- customize
Rule Property Map - Describes the configuration for a rule in the list.
DomainCustomizeAccessRuleCustomizeInstanceCustomizeRule, DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleArgs
- Access
Action Byteplus.Domain Customize Access Rule Customize Instance Customize Rule Access Action - Indicates the configuration of the denylist or allowlist in this rule.
- Condition
Byteplus.
Domain Customize Access Rule Customize Instance Customize Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Access
Action DomainCustomize Access Rule Customize Instance Customize Rule Access Action - Indicates the configuration of the denylist or allowlist in this rule.
- Condition
Domain
Customize Access Rule Customize Instance Customize Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- access
Action DomainCustomize Access Rule Customize Instance Customize Rule Access Action - Indicates the configuration of the denylist or allowlist in this rule.
- condition
Domain
Customize Access Rule Customize Instance Customize Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- access
Action DomainCustomize Access Rule Customize Instance Customize Rule Access Action - Indicates the configuration of the denylist or allowlist in this rule.
- condition
Domain
Customize Access Rule Customize Instance Customize Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- access_
action DomainCustomize Access Rule Customize Instance Customize Rule Access Action - Indicates the configuration of the denylist or allowlist in this rule.
- condition
Domain
Customize Access Rule Customize Instance Customize Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- access
Action Property Map - Indicates the configuration of the denylist or allowlist in this rule.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleAccessAction, DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleAccessActionArgs
- Allow
Empty bool - Indicates whether the CDN accepts user requests where the RequestHeader value is empty. An empty header value refers to either of the following situations: The user request does not include RequestHeader. The user request includes RequestHeader, but the header value is empty ("").
- List
Rules List<string> - Indicates a list of regular expressions used to match the value of the request header. The list can contain up to 20 regular expressions, and the total length of all expressions cannot exceed 1,024 characters. The relationship between the regular expressions is OR. That is, if the value of RequestHeader in a user request matches any regular expression, the rule applies to the request.
- Request
Header string - Indicates a specified request header. Header names are case-insensitive and must meet the following requirements: The name must not exceed 1,024 characters. The name cannot be Referer, User-Agent, or Origin. The name can contain letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit.
- Rule
Type string - Indicates the type of list. This parameter has the following values: allow: defines an allowlist in this rule. If a user request does not match the allowlist, the CDN rejects the request and returns a 403 status code. deny: defines a denylist in this rule. If a user request matches the denylist, the CDN rejects the request and returns a 403 status code.
- Allow
Empty bool - Indicates whether the CDN accepts user requests where the RequestHeader value is empty. An empty header value refers to either of the following situations: The user request does not include RequestHeader. The user request includes RequestHeader, but the header value is empty ("").
- List
Rules []string - Indicates a list of regular expressions used to match the value of the request header. The list can contain up to 20 regular expressions, and the total length of all expressions cannot exceed 1,024 characters. The relationship between the regular expressions is OR. That is, if the value of RequestHeader in a user request matches any regular expression, the rule applies to the request.
- Request
Header string - Indicates a specified request header. Header names are case-insensitive and must meet the following requirements: The name must not exceed 1,024 characters. The name cannot be Referer, User-Agent, or Origin. The name can contain letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit.
- Rule
Type string - Indicates the type of list. This parameter has the following values: allow: defines an allowlist in this rule. If a user request does not match the allowlist, the CDN rejects the request and returns a 403 status code. deny: defines a denylist in this rule. If a user request matches the denylist, the CDN rejects the request and returns a 403 status code.
- allow
Empty Boolean - Indicates whether the CDN accepts user requests where the RequestHeader value is empty. An empty header value refers to either of the following situations: The user request does not include RequestHeader. The user request includes RequestHeader, but the header value is empty ("").
- list
Rules List<String> - Indicates a list of regular expressions used to match the value of the request header. The list can contain up to 20 regular expressions, and the total length of all expressions cannot exceed 1,024 characters. The relationship between the regular expressions is OR. That is, if the value of RequestHeader in a user request matches any regular expression, the rule applies to the request.
- request
Header String - Indicates a specified request header. Header names are case-insensitive and must meet the following requirements: The name must not exceed 1,024 characters. The name cannot be Referer, User-Agent, or Origin. The name can contain letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit.
- rule
Type String - Indicates the type of list. This parameter has the following values: allow: defines an allowlist in this rule. If a user request does not match the allowlist, the CDN rejects the request and returns a 403 status code. deny: defines a denylist in this rule. If a user request matches the denylist, the CDN rejects the request and returns a 403 status code.
- allow
Empty boolean - Indicates whether the CDN accepts user requests where the RequestHeader value is empty. An empty header value refers to either of the following situations: The user request does not include RequestHeader. The user request includes RequestHeader, but the header value is empty ("").
- list
Rules string[] - Indicates a list of regular expressions used to match the value of the request header. The list can contain up to 20 regular expressions, and the total length of all expressions cannot exceed 1,024 characters. The relationship between the regular expressions is OR. That is, if the value of RequestHeader in a user request matches any regular expression, the rule applies to the request.
- request
Header string - Indicates a specified request header. Header names are case-insensitive and must meet the following requirements: The name must not exceed 1,024 characters. The name cannot be Referer, User-Agent, or Origin. The name can contain letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit.
- rule
Type string - Indicates the type of list. This parameter has the following values: allow: defines an allowlist in this rule. If a user request does not match the allowlist, the CDN rejects the request and returns a 403 status code. deny: defines a denylist in this rule. If a user request matches the denylist, the CDN rejects the request and returns a 403 status code.
- allow_
empty bool - Indicates whether the CDN accepts user requests where the RequestHeader value is empty. An empty header value refers to either of the following situations: The user request does not include RequestHeader. The user request includes RequestHeader, but the header value is empty ("").
- list_
rules Sequence[str] - Indicates a list of regular expressions used to match the value of the request header. The list can contain up to 20 regular expressions, and the total length of all expressions cannot exceed 1,024 characters. The relationship between the regular expressions is OR. That is, if the value of RequestHeader in a user request matches any regular expression, the rule applies to the request.
- request_
header str - Indicates a specified request header. Header names are case-insensitive and must meet the following requirements: The name must not exceed 1,024 characters. The name cannot be Referer, User-Agent, or Origin. The name can contain letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit.
- rule_
type str - Indicates the type of list. This parameter has the following values: allow: defines an allowlist in this rule. If a user request does not match the allowlist, the CDN rejects the request and returns a 403 status code. deny: defines a denylist in this rule. If a user request matches the denylist, the CDN rejects the request and returns a 403 status code.
- allow
Empty Boolean - Indicates whether the CDN accepts user requests where the RequestHeader value is empty. An empty header value refers to either of the following situations: The user request does not include RequestHeader. The user request includes RequestHeader, but the header value is empty ("").
- list
Rules List<String> - Indicates a list of regular expressions used to match the value of the request header. The list can contain up to 20 regular expressions, and the total length of all expressions cannot exceed 1,024 characters. The relationship between the regular expressions is OR. That is, if the value of RequestHeader in a user request matches any regular expression, the rule applies to the request.
- request
Header String - Indicates a specified request header. Header names are case-insensitive and must meet the following requirements: The name must not exceed 1,024 characters. The name cannot be Referer, User-Agent, or Origin. The name can contain letters, digits, underscores (_), and hyphens (-). The name cannot start with a digit.
- rule
Type String - Indicates the type of list. This parameter has the following values: allow: defines an allowlist in this rule. If a user request does not match the allowlist, the CDN rejects the request and returns a 403 status code. deny: defines a denylist in this rule. If a user request matches the denylist, the CDN rejects the request and returns a 403 status code.
DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleCondition, DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Customize Access Rule Customize Instance Customize Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainCustomize Access Rule Customize Instance Customize Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainCustomize Access Rule Customize Instance Customize Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainCustomize Access Rule Customize Instance Customize Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainCustomize Access Rule Customize Instance Customize Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionConditionRule, DomainCustomizeAccessRuleCustomizeInstanceCustomizeRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainDomainLock, DomainDomainLockArgs
- Remark string
- Indicates the reason why the acceleration domain is locked. If Status is on, this parameter provides a description of the reason. If Status is off, this parameter is empty ("")
- Status string
- Indicates the lock status of the acceleration domain name. The parameter has the following values: on: the acceleration domain name is locked. off: the acceleration domain name is not locked.
- Remark string
- Indicates the reason why the acceleration domain is locked. If Status is on, this parameter provides a description of the reason. If Status is off, this parameter is empty ("")
- Status string
- Indicates the lock status of the acceleration domain name. The parameter has the following values: on: the acceleration domain name is locked. off: the acceleration domain name is not locked.
- remark String
- Indicates the reason why the acceleration domain is locked. If Status is on, this parameter provides a description of the reason. If Status is off, this parameter is empty ("")
- status String
- Indicates the lock status of the acceleration domain name. The parameter has the following values: on: the acceleration domain name is locked. off: the acceleration domain name is not locked.
- remark string
- Indicates the reason why the acceleration domain is locked. If Status is on, this parameter provides a description of the reason. If Status is off, this parameter is empty ("")
- status string
- Indicates the lock status of the acceleration domain name. The parameter has the following values: on: the acceleration domain name is locked. off: the acceleration domain name is not locked.
- remark str
- Indicates the reason why the acceleration domain is locked. If Status is on, this parameter provides a description of the reason. If Status is off, this parameter is empty ("")
- status str
- Indicates the lock status of the acceleration domain name. The parameter has the following values: on: the acceleration domain name is locked. off: the acceleration domain name is not locked.
- remark String
- Indicates the reason why the acceleration domain is locked. If Status is on, this parameter provides a description of the reason. If Status is off, this parameter is empty ("")
- status String
- Indicates the lock status of the acceleration domain name. The parameter has the following values: on: the acceleration domain name is locked. off: the acceleration domain name is not locked.
DomainDownloadSpeedLimit, DomainDownloadSpeedLimitArgs
- Download
Speed List<Byteplus.Limit Rules Domain Download Speed Limit Download Speed Limit Rule> - Switch bool
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- Download
Speed []DomainLimit Rules Download Speed Limit Download Speed Limit Rule - Switch bool
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- download
Speed List<DomainLimit Rules Download Speed Limit Download Speed Limit Rule> - switch_ Boolean
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- download
Speed DomainLimit Rules Download Speed Limit Download Speed Limit Rule[] - switch boolean
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- download_
speed_ Sequence[Domainlimit_ rules Download Speed Limit Download Speed Limit Rule] - switch bool
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
- download
Speed List<Property Map>Limit Rules - switch Boolean
- Indicates whether this feature is enabled. The parameter has the following values: true: enables the feature. false: disables the feature. The default value is false.
DomainDownloadSpeedLimitDownloadSpeedLimitRule, DomainDownloadSpeedLimitDownloadSpeedLimitRuleArgs
- Condition
Byteplus.
Domain Download Speed Limit Download Speed Limit Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Download
Speed Byteplus.Limit Action Domain Download Speed Limit Download Speed Limit Rule Download Speed Limit Action - Indicates the rate limiting configuration.
- Condition
Domain
Download Speed Limit Download Speed Limit Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Download
Speed DomainLimit Action Download Speed Limit Download Speed Limit Rule Download Speed Limit Action - Indicates the rate limiting configuration.
- condition
Domain
Download Speed Limit Download Speed Limit Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- download
Speed DomainLimit Action Download Speed Limit Download Speed Limit Rule Download Speed Limit Action - Indicates the rate limiting configuration.
- condition
Domain
Download Speed Limit Download Speed Limit Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- download
Speed DomainLimit Action Download Speed Limit Download Speed Limit Rule Download Speed Limit Action - Indicates the rate limiting configuration.
- condition
Domain
Download Speed Limit Download Speed Limit Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- download_
speed_ Domainlimit_ action Download Speed Limit Download Speed Limit Rule Download Speed Limit Action - Indicates the rate limiting configuration.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- download
Speed Property MapLimit Action - Indicates the rate limiting configuration.
DomainDownloadSpeedLimitDownloadSpeedLimitRuleCondition, DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Download Speed Limit Download Speed Limit Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainDownload Speed Limit Download Speed Limit Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainDownload Speed Limit Download Speed Limit Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainDownload Speed Limit Download Speed Limit Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainDownload Speed Limit Download Speed Limit Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionConditionRule, DomainDownloadSpeedLimitDownloadSpeedLimitRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitAction, DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionArgs
- Speed
Limit intRate - Indicates the maximum download speed for a single request, measured in B/S. The parameter range is 1–1,073,741,824,000,000, using a base conversion of 1,024.
- Speed
Limit intRate After - Represents a data volume. Download throttling is enabled for a request only when the amount of data downloaded in a single request reaches this value. Unit: Byte. The parameter range is 0–1,073,741,824,000,000, using a base of 1,024 for conversion.
- Speed
Limit Byteplus.Time Domain Download Speed Limit Download Speed Limit Rule Download Speed Limit Action Speed Limit Time - Indicates the date and time period when rate limiting occurs.
- Speed
Limit intRate - Indicates the maximum download speed for a single request, measured in B/S. The parameter range is 1–1,073,741,824,000,000, using a base conversion of 1,024.
- Speed
Limit intRate After - Represents a data volume. Download throttling is enabled for a request only when the amount of data downloaded in a single request reaches this value. Unit: Byte. The parameter range is 0–1,073,741,824,000,000, using a base of 1,024 for conversion.
- Speed
Limit DomainTime Download Speed Limit Download Speed Limit Rule Download Speed Limit Action Speed Limit Time - Indicates the date and time period when rate limiting occurs.
- speed
Limit IntegerRate - Indicates the maximum download speed for a single request, measured in B/S. The parameter range is 1–1,073,741,824,000,000, using a base conversion of 1,024.
- speed
Limit IntegerRate After - Represents a data volume. Download throttling is enabled for a request only when the amount of data downloaded in a single request reaches this value. Unit: Byte. The parameter range is 0–1,073,741,824,000,000, using a base of 1,024 for conversion.
- speed
Limit DomainTime Download Speed Limit Download Speed Limit Rule Download Speed Limit Action Speed Limit Time - Indicates the date and time period when rate limiting occurs.
- speed
Limit numberRate - Indicates the maximum download speed for a single request, measured in B/S. The parameter range is 1–1,073,741,824,000,000, using a base conversion of 1,024.
- speed
Limit numberRate After - Represents a data volume. Download throttling is enabled for a request only when the amount of data downloaded in a single request reaches this value. Unit: Byte. The parameter range is 0–1,073,741,824,000,000, using a base of 1,024 for conversion.
- speed
Limit DomainTime Download Speed Limit Download Speed Limit Rule Download Speed Limit Action Speed Limit Time - Indicates the date and time period when rate limiting occurs.
- speed_
limit_ intrate - Indicates the maximum download speed for a single request, measured in B/S. The parameter range is 1–1,073,741,824,000,000, using a base conversion of 1,024.
- speed_
limit_ intrate_ after - Represents a data volume. Download throttling is enabled for a request only when the amount of data downloaded in a single request reaches this value. Unit: Byte. The parameter range is 0–1,073,741,824,000,000, using a base of 1,024 for conversion.
- speed_
limit_ Domaintime Download Speed Limit Download Speed Limit Rule Download Speed Limit Action Speed Limit Time - Indicates the date and time period when rate limiting occurs.
- speed
Limit NumberRate - Indicates the maximum download speed for a single request, measured in B/S. The parameter range is 1–1,073,741,824,000,000, using a base conversion of 1,024.
- speed
Limit NumberRate After - Represents a data volume. Download throttling is enabled for a request only when the amount of data downloaded in a single request reaches this value. Unit: Byte. The parameter range is 0–1,073,741,824,000,000, using a base of 1,024 for conversion.
- speed
Limit Property MapTime - Indicates the date and time period when rate limiting occurs.
DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionSpeedLimitTime, DomainDownloadSpeedLimitDownloadSpeedLimitRuleDownloadSpeedLimitActionSpeedLimitTimeArgs
- Begin
Time string - Indicates the start time for rate limiting. The time format is mm:ss. If the DayWeek parameter value is unlimited, the default values for BeginTime and EndTime will be set to 00:00 and 23:59, respectively.
- Day
Week string - Specifies the date when rate limiting occurs. This parameter has the following values: monday, tuesday, wednesday, thursday, friday, saturday, sunday, unlimited. unlimited means every day. You can specify one or more values. Separate multiple values with a semicolon (;).
- End
Time string - Indicates the end time for rate limiting. The time format is mm:ss. If the DayWeek parameter is set to unlimited, the default values for BeginTime and EndTime are 00:00 and 23:59, respectively.
- Begin
Time string - Indicates the start time for rate limiting. The time format is mm:ss. If the DayWeek parameter value is unlimited, the default values for BeginTime and EndTime will be set to 00:00 and 23:59, respectively.
- Day
Week string - Specifies the date when rate limiting occurs. This parameter has the following values: monday, tuesday, wednesday, thursday, friday, saturday, sunday, unlimited. unlimited means every day. You can specify one or more values. Separate multiple values with a semicolon (;).
- End
Time string - Indicates the end time for rate limiting. The time format is mm:ss. If the DayWeek parameter is set to unlimited, the default values for BeginTime and EndTime are 00:00 and 23:59, respectively.
- begin
Time String - Indicates the start time for rate limiting. The time format is mm:ss. If the DayWeek parameter value is unlimited, the default values for BeginTime and EndTime will be set to 00:00 and 23:59, respectively.
- day
Week String - Specifies the date when rate limiting occurs. This parameter has the following values: monday, tuesday, wednesday, thursday, friday, saturday, sunday, unlimited. unlimited means every day. You can specify one or more values. Separate multiple values with a semicolon (;).
- end
Time String - Indicates the end time for rate limiting. The time format is mm:ss. If the DayWeek parameter is set to unlimited, the default values for BeginTime and EndTime are 00:00 and 23:59, respectively.
- begin
Time string - Indicates the start time for rate limiting. The time format is mm:ss. If the DayWeek parameter value is unlimited, the default values for BeginTime and EndTime will be set to 00:00 and 23:59, respectively.
- day
Week string - Specifies the date when rate limiting occurs. This parameter has the following values: monday, tuesday, wednesday, thursday, friday, saturday, sunday, unlimited. unlimited means every day. You can specify one or more values. Separate multiple values with a semicolon (;).
- end
Time string - Indicates the end time for rate limiting. The time format is mm:ss. If the DayWeek parameter is set to unlimited, the default values for BeginTime and EndTime are 00:00 and 23:59, respectively.
- begin_
time str - Indicates the start time for rate limiting. The time format is mm:ss. If the DayWeek parameter value is unlimited, the default values for BeginTime and EndTime will be set to 00:00 and 23:59, respectively.
- day_
week str - Specifies the date when rate limiting occurs. This parameter has the following values: monday, tuesday, wednesday, thursday, friday, saturday, sunday, unlimited. unlimited means every day. You can specify one or more values. Separate multiple values with a semicolon (;).
- end_
time str - Indicates the end time for rate limiting. The time format is mm:ss. If the DayWeek parameter is set to unlimited, the default values for BeginTime and EndTime are 00:00 and 23:59, respectively.
- begin
Time String - Indicates the start time for rate limiting. The time format is mm:ss. If the DayWeek parameter value is unlimited, the default values for BeginTime and EndTime will be set to 00:00 and 23:59, respectively.
- day
Week String - Specifies the date when rate limiting occurs. This parameter has the following values: monday, tuesday, wednesday, thursday, friday, saturday, sunday, unlimited. unlimited means every day. You can specify one or more values. Separate multiple values with a semicolon (;).
- end
Time String - Indicates the end time for rate limiting. The time format is mm:ss. If the DayWeek parameter is set to unlimited, the default values for BeginTime and EndTime are 00:00 and 23:59, respectively.
DomainHttpForcedRedirect, DomainHttpForcedRedirectArgs
- Enable
Forced boolRedirect - Indicates whether this feature is enabled. The parameter values are: true: enables the feature. When enabled, the content delivery network redirects incoming HTTPS requests to HTTP requests. false: disables the feature. The content delivery network does not redirect HTTPS requests to HTTP requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- Status
Code string - Indicates the redirect status code returned by the content delivery network when it receives an HTTPS request. This parameter has the following values: 301: indicates the 301 response status code. 302: indicates the 302 response status code. The default value for this parameter is 301.
- Enable
Forced boolRedirect - Indicates whether this feature is enabled. The parameter values are: true: enables the feature. When enabled, the content delivery network redirects incoming HTTPS requests to HTTP requests. false: disables the feature. The content delivery network does not redirect HTTPS requests to HTTP requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- Status
Code string - Indicates the redirect status code returned by the content delivery network when it receives an HTTPS request. This parameter has the following values: 301: indicates the 301 response status code. 302: indicates the 302 response status code. The default value for this parameter is 301.
- enable
Forced BooleanRedirect - Indicates whether this feature is enabled. The parameter values are: true: enables the feature. When enabled, the content delivery network redirects incoming HTTPS requests to HTTP requests. false: disables the feature. The content delivery network does not redirect HTTPS requests to HTTP requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status
Code String - Indicates the redirect status code returned by the content delivery network when it receives an HTTPS request. This parameter has the following values: 301: indicates the 301 response status code. 302: indicates the 302 response status code. The default value for this parameter is 301.
- enable
Forced booleanRedirect - Indicates whether this feature is enabled. The parameter values are: true: enables the feature. When enabled, the content delivery network redirects incoming HTTPS requests to HTTP requests. false: disables the feature. The content delivery network does not redirect HTTPS requests to HTTP requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status
Code string - Indicates the redirect status code returned by the content delivery network when it receives an HTTPS request. This parameter has the following values: 301: indicates the 301 response status code. 302: indicates the 302 response status code. The default value for this parameter is 301.
- enable_
forced_ boolredirect - Indicates whether this feature is enabled. The parameter values are: true: enables the feature. When enabled, the content delivery network redirects incoming HTTPS requests to HTTP requests. false: disables the feature. The content delivery network does not redirect HTTPS requests to HTTP requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status_
code str - Indicates the redirect status code returned by the content delivery network when it receives an HTTPS request. This parameter has the following values: 301: indicates the 301 response status code. 302: indicates the 302 response status code. The default value for this parameter is 301.
- enable
Forced BooleanRedirect - Indicates whether this feature is enabled. The parameter values are: true: enables the feature. When enabled, the content delivery network redirects incoming HTTPS requests to HTTP requests. false: disables the feature. The content delivery network does not redirect HTTPS requests to HTTP requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status
Code String - Indicates the redirect status code returned by the content delivery network when it receives an HTTPS request. This parameter has the following values: 301: indicates the 301 response status code. 302: indicates the 302 response status code. The default value for this parameter is 301.
DomainHttps, DomainHttpsArgs
- Cert
Check Byteplus.Domain Https Cert Check - Indicates the configuration module for the 'mutual authentication' feature. To configure 'mutual authentication'.
- Cert
Info Byteplus.Domain Https Cert Info - Indicates the single certificate to be associated with the acceleration domain name.
- Cert
Info List<Byteplus.Lists Domain Https Cert Info List> - Disable
Http bool - Indicates whether to allow requests where the URL scheme is HTTP. The parameter values are: true: allows requests with HTTP scheme. false: does not allow requests with HTTP scheme. The default value is false.
- Forced
Redirect Byteplus.Domain Https Forced Redirect - Indicates the configuration module for the 'HTTP Forced Redirect to HTTPS' feature. This feature is disabled by default.
- Hsts
Byteplus.
Domain Https Hsts - Indicates the configuration module for the HSTS feature. This feature is disabled by default.
- Http2 bool
- HTTP/2 configuration switch. This parameter has the following values: true: enables HTTP/2. false: disables HTTP/2. To enable HTTP/2, you must first enable HTTPS. This feature is disabled by default. However, HTTP/2 is enabled by default in the following scenarios: The business type of the accelerated domain is web (ServiceType is web). The accelerated domain has already enabled HTTPS.
- Ocsp bool
- Specify whether to enable OCSP stapling. This parameter has the following values: true: enables OCSP stapling. false: disables OCSP stapling. To enable OCSP stapling, you must first enable HTTPS. The default value is false.
- Switch bool
- Indicates whether to enable the HTTPS feature. This parameter has the following values: true: enables the feature; false: disables the feature. If Switch is true, you must specify a certificate. If you specify a single certificate, you need to provide CertInfo. If you specify dual certificates, you need to provide CertInfoList. The certificate you specify can be hosted in the certificate center or on the content delivery network.
- Tls
Versions List<string> - Indicates the configuration module for the "TLS Version" feature. This parameter specifies the TLS versions that user requests can use, with the following options: tlsv1.0: TLS 1.0 tlsv1.1: TLS 1.1 tlsv1.2: TLS 1.2 tlsv1.3: TLS 1.3 The default value for this parameter is ["tlsv1.1", "tlsv1.2", "tlsv1.3"]
- Cert
Check DomainHttps Cert Check - Indicates the configuration module for the 'mutual authentication' feature. To configure 'mutual authentication'.
- Cert
Info DomainHttps Cert Info - Indicates the single certificate to be associated with the acceleration domain name.
- Cert
Info []DomainLists Https Cert Info List - Disable
Http bool - Indicates whether to allow requests where the URL scheme is HTTP. The parameter values are: true: allows requests with HTTP scheme. false: does not allow requests with HTTP scheme. The default value is false.
- Forced
Redirect DomainHttps Forced Redirect - Indicates the configuration module for the 'HTTP Forced Redirect to HTTPS' feature. This feature is disabled by default.
- Hsts
Domain
Https Hsts - Indicates the configuration module for the HSTS feature. This feature is disabled by default.
- Http2 bool
- HTTP/2 configuration switch. This parameter has the following values: true: enables HTTP/2. false: disables HTTP/2. To enable HTTP/2, you must first enable HTTPS. This feature is disabled by default. However, HTTP/2 is enabled by default in the following scenarios: The business type of the accelerated domain is web (ServiceType is web). The accelerated domain has already enabled HTTPS.
- Ocsp bool
- Specify whether to enable OCSP stapling. This parameter has the following values: true: enables OCSP stapling. false: disables OCSP stapling. To enable OCSP stapling, you must first enable HTTPS. The default value is false.
- Switch bool
- Indicates whether to enable the HTTPS feature. This parameter has the following values: true: enables the feature; false: disables the feature. If Switch is true, you must specify a certificate. If you specify a single certificate, you need to provide CertInfo. If you specify dual certificates, you need to provide CertInfoList. The certificate you specify can be hosted in the certificate center or on the content delivery network.
- Tls
Versions []string - Indicates the configuration module for the "TLS Version" feature. This parameter specifies the TLS versions that user requests can use, with the following options: tlsv1.0: TLS 1.0 tlsv1.1: TLS 1.1 tlsv1.2: TLS 1.2 tlsv1.3: TLS 1.3 The default value for this parameter is ["tlsv1.1", "tlsv1.2", "tlsv1.3"]
- cert
Check DomainHttps Cert Check - Indicates the configuration module for the 'mutual authentication' feature. To configure 'mutual authentication'.
- cert
Info DomainHttps Cert Info - Indicates the single certificate to be associated with the acceleration domain name.
- cert
Info List<DomainLists Https Cert Info List> - disable
Http Boolean - Indicates whether to allow requests where the URL scheme is HTTP. The parameter values are: true: allows requests with HTTP scheme. false: does not allow requests with HTTP scheme. The default value is false.
- forced
Redirect DomainHttps Forced Redirect - Indicates the configuration module for the 'HTTP Forced Redirect to HTTPS' feature. This feature is disabled by default.
- hsts
Domain
Https Hsts - Indicates the configuration module for the HSTS feature. This feature is disabled by default.
- http2 Boolean
- HTTP/2 configuration switch. This parameter has the following values: true: enables HTTP/2. false: disables HTTP/2. To enable HTTP/2, you must first enable HTTPS. This feature is disabled by default. However, HTTP/2 is enabled by default in the following scenarios: The business type of the accelerated domain is web (ServiceType is web). The accelerated domain has already enabled HTTPS.
- ocsp Boolean
- Specify whether to enable OCSP stapling. This parameter has the following values: true: enables OCSP stapling. false: disables OCSP stapling. To enable OCSP stapling, you must first enable HTTPS. The default value is false.
- switch_ Boolean
- Indicates whether to enable the HTTPS feature. This parameter has the following values: true: enables the feature; false: disables the feature. If Switch is true, you must specify a certificate. If you specify a single certificate, you need to provide CertInfo. If you specify dual certificates, you need to provide CertInfoList. The certificate you specify can be hosted in the certificate center or on the content delivery network.
- tls
Versions List<String> - Indicates the configuration module for the "TLS Version" feature. This parameter specifies the TLS versions that user requests can use, with the following options: tlsv1.0: TLS 1.0 tlsv1.1: TLS 1.1 tlsv1.2: TLS 1.2 tlsv1.3: TLS 1.3 The default value for this parameter is ["tlsv1.1", "tlsv1.2", "tlsv1.3"]
- cert
Check DomainHttps Cert Check - Indicates the configuration module for the 'mutual authentication' feature. To configure 'mutual authentication'.
- cert
Info DomainHttps Cert Info - Indicates the single certificate to be associated with the acceleration domain name.
- cert
Info DomainLists Https Cert Info List[] - disable
Http boolean - Indicates whether to allow requests where the URL scheme is HTTP. The parameter values are: true: allows requests with HTTP scheme. false: does not allow requests with HTTP scheme. The default value is false.
- forced
Redirect DomainHttps Forced Redirect - Indicates the configuration module for the 'HTTP Forced Redirect to HTTPS' feature. This feature is disabled by default.
- hsts
Domain
Https Hsts - Indicates the configuration module for the HSTS feature. This feature is disabled by default.
- http2 boolean
- HTTP/2 configuration switch. This parameter has the following values: true: enables HTTP/2. false: disables HTTP/2. To enable HTTP/2, you must first enable HTTPS. This feature is disabled by default. However, HTTP/2 is enabled by default in the following scenarios: The business type of the accelerated domain is web (ServiceType is web). The accelerated domain has already enabled HTTPS.
- ocsp boolean
- Specify whether to enable OCSP stapling. This parameter has the following values: true: enables OCSP stapling. false: disables OCSP stapling. To enable OCSP stapling, you must first enable HTTPS. The default value is false.
- switch boolean
- Indicates whether to enable the HTTPS feature. This parameter has the following values: true: enables the feature; false: disables the feature. If Switch is true, you must specify a certificate. If you specify a single certificate, you need to provide CertInfo. If you specify dual certificates, you need to provide CertInfoList. The certificate you specify can be hosted in the certificate center or on the content delivery network.
- tls
Versions string[] - Indicates the configuration module for the "TLS Version" feature. This parameter specifies the TLS versions that user requests can use, with the following options: tlsv1.0: TLS 1.0 tlsv1.1: TLS 1.1 tlsv1.2: TLS 1.2 tlsv1.3: TLS 1.3 The default value for this parameter is ["tlsv1.1", "tlsv1.2", "tlsv1.3"]
- cert_
check DomainHttps Cert Check - Indicates the configuration module for the 'mutual authentication' feature. To configure 'mutual authentication'.
- cert_
info DomainHttps Cert Info - Indicates the single certificate to be associated with the acceleration domain name.
- cert_
info_ Sequence[Domainlists Https Cert Info List] - disable_
http bool - Indicates whether to allow requests where the URL scheme is HTTP. The parameter values are: true: allows requests with HTTP scheme. false: does not allow requests with HTTP scheme. The default value is false.
- forced_
redirect DomainHttps Forced Redirect - Indicates the configuration module for the 'HTTP Forced Redirect to HTTPS' feature. This feature is disabled by default.
- hsts
Domain
Https Hsts - Indicates the configuration module for the HSTS feature. This feature is disabled by default.
- http2 bool
- HTTP/2 configuration switch. This parameter has the following values: true: enables HTTP/2. false: disables HTTP/2. To enable HTTP/2, you must first enable HTTPS. This feature is disabled by default. However, HTTP/2 is enabled by default in the following scenarios: The business type of the accelerated domain is web (ServiceType is web). The accelerated domain has already enabled HTTPS.
- ocsp bool
- Specify whether to enable OCSP stapling. This parameter has the following values: true: enables OCSP stapling. false: disables OCSP stapling. To enable OCSP stapling, you must first enable HTTPS. The default value is false.
- switch bool
- Indicates whether to enable the HTTPS feature. This parameter has the following values: true: enables the feature; false: disables the feature. If Switch is true, you must specify a certificate. If you specify a single certificate, you need to provide CertInfo. If you specify dual certificates, you need to provide CertInfoList. The certificate you specify can be hosted in the certificate center or on the content delivery network.
- tls_
versions Sequence[str] - Indicates the configuration module for the "TLS Version" feature. This parameter specifies the TLS versions that user requests can use, with the following options: tlsv1.0: TLS 1.0 tlsv1.1: TLS 1.1 tlsv1.2: TLS 1.2 tlsv1.3: TLS 1.3 The default value for this parameter is ["tlsv1.1", "tlsv1.2", "tlsv1.3"]
- cert
Check Property Map - Indicates the configuration module for the 'mutual authentication' feature. To configure 'mutual authentication'.
- cert
Info Property Map - Indicates the single certificate to be associated with the acceleration domain name.
- cert
Info List<Property Map>Lists - disable
Http Boolean - Indicates whether to allow requests where the URL scheme is HTTP. The parameter values are: true: allows requests with HTTP scheme. false: does not allow requests with HTTP scheme. The default value is false.
- forced
Redirect Property Map - Indicates the configuration module for the 'HTTP Forced Redirect to HTTPS' feature. This feature is disabled by default.
- hsts Property Map
- Indicates the configuration module for the HSTS feature. This feature is disabled by default.
- http2 Boolean
- HTTP/2 configuration switch. This parameter has the following values: true: enables HTTP/2. false: disables HTTP/2. To enable HTTP/2, you must first enable HTTPS. This feature is disabled by default. However, HTTP/2 is enabled by default in the following scenarios: The business type of the accelerated domain is web (ServiceType is web). The accelerated domain has already enabled HTTPS.
- ocsp Boolean
- Specify whether to enable OCSP stapling. This parameter has the following values: true: enables OCSP stapling. false: disables OCSP stapling. To enable OCSP stapling, you must first enable HTTPS. The default value is false.
- switch Boolean
- Indicates whether to enable the HTTPS feature. This parameter has the following values: true: enables the feature; false: disables the feature. If Switch is true, you must specify a certificate. If you specify a single certificate, you need to provide CertInfo. If you specify dual certificates, you need to provide CertInfoList. The certificate you specify can be hosted in the certificate center or on the content delivery network.
- tls
Versions List<String> - Indicates the configuration module for the "TLS Version" feature. This parameter specifies the TLS versions that user requests can use, with the following options: tlsv1.0: TLS 1.0 tlsv1.1: TLS 1.1 tlsv1.2: TLS 1.2 tlsv1.3: TLS 1.3 The default value for this parameter is ["tlsv1.1", "tlsv1.2", "tlsv1.3"]
DomainHttpsCertCheck, DomainHttpsCertCheckArgs
- Cert
Info List<Byteplus.Lists Domain Https Cert Check Cert Info List> - Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- Cert
Info []DomainLists Https Cert Check Cert Info List - Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cert
Info List<DomainLists Https Cert Check Cert Info List> - switch_ Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cert
Info DomainLists Https Cert Check Cert Info List[] - switch boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cert_
info_ Sequence[Domainlists Https Cert Check Cert Info List] - switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- cert
Info List<Property Map>Lists - switch Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
DomainHttpsCertCheckCertInfoList, DomainHttpsCertCheckCertInfoListArgs
- Cert
Id string - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- Cert
Name string - Represents the content of the Common Name (CN) field in the CA certificate.
- Certificate
Byteplus.
Domain Https Cert Check Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- Effective
Time int - Indicates the issuance time of the certificate, in Unix timestamp.
- Encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- Expire
Time int - Indicates the expiration time of the certificate, as a Unix timestamp.
- Source string
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- Cert
Id string - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- Cert
Name string - Represents the content of the Common Name (CN) field in the CA certificate.
- Certificate
Domain
Https Cert Check Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- Effective
Time int - Indicates the issuance time of the certificate, in Unix timestamp.
- Encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- Expire
Time int - Indicates the expiration time of the certificate, as a Unix timestamp.
- Source string
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert
Id String - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name String - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Check Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective
Time Integer - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type String - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time Integer - Indicates the expiration time of the certificate, as a Unix timestamp.
- source String
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert
Id string - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name string - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Check Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective
Time number - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time number - Indicates the expiration time of the certificate, as a Unix timestamp.
- source string
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert_
id str - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert_
name str - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Check Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective_
time int - Indicates the issuance time of the certificate, in Unix timestamp.
- encry_
type str - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire_
time int - Indicates the expiration time of the certificate, as a Unix timestamp.
- source str
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert
Id String - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name String - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate Property Map
- Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective
Time Number - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type String - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time Number - Indicates the expiration time of the certificate, as a Unix timestamp.
- source String
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
DomainHttpsCertCheckCertInfoListCertificate, DomainHttpsCertCheckCertInfoListCertificateArgs
- Certificate string
- 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.
- Encryption
Cert string - 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
- Encryption
Key string - 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 _encrypt.key.
- Private
Key string - 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 .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 _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.
- Certificate string
- 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.
- Encryption
Cert string - 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
- Encryption
Key string - 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 _encrypt.key.
- Private
Key string - 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 .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 _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.
- certificate String
- 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.
- encryption
Cert String - 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
- encryption
Key String - 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 _encrypt.key.
- private
Key String - 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 .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 _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.
- certificate string
- 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.
- encryption
Cert string - 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
- encryption
Key string - 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 _encrypt.key.
- private
Key string - 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 .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 _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.
- certificate str
- 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.
- encryption_
cert str - 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
- encryption_
key str - 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 _encrypt.key.
- private_
key str - 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 .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 _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.
- certificate String
- 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.
- encryption
Cert String - 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
- encryption
Key String - 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 _encrypt.key.
- private
Key String - 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 .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 _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.
DomainHttpsCertInfo, DomainHttpsCertInfoArgs
- Cert
Id string - Represents the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- Cert
Name string - Indicates the content of the Common Name (CN) field in the CA certificate.
- Certificate
Byteplus.
Domain Https Cert Info Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the CDN.
- Effective
Time int - Indicates the issuance time of the certificate, in Unix timestamp.
- Encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- Expire
Time int - Indicates the expiration time of the certificate, in Unix timestamp.
- Source string
- Indicates the location where the certificate is hosted. This parameter has the following values: volccertcenter: Certificate Center. cdncerthosting: Content Delivery Network.
- Cert
Id string - Represents the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- Cert
Name string - Indicates the content of the Common Name (CN) field in the CA certificate.
- Certificate
Domain
Https Cert Info Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the CDN.
- Effective
Time int - Indicates the issuance time of the certificate, in Unix timestamp.
- Encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- Expire
Time int - Indicates the expiration time of the certificate, in Unix timestamp.
- Source string
- Indicates the location where the certificate is hosted. This parameter has the following values: volccertcenter: Certificate Center. cdncerthosting: Content Delivery Network.
- cert
Id String - Represents the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name String - Indicates the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Info Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the CDN.
- effective
Time Integer - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type String - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time Integer - Indicates the expiration time of the certificate, in Unix timestamp.
- source String
- Indicates the location where the certificate is hosted. This parameter has the following values: volccertcenter: Certificate Center. cdncerthosting: Content Delivery Network.
- cert
Id string - Represents the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name string - Indicates the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Info Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the CDN.
- effective
Time number - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time number - Indicates the expiration time of the certificate, in Unix timestamp.
- source string
- Indicates the location where the certificate is hosted. This parameter has the following values: volccertcenter: Certificate Center. cdncerthosting: Content Delivery Network.
- cert_
id str - Represents the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert_
name str - Indicates the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Info Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the CDN.
- effective_
time int - Indicates the issuance time of the certificate, in Unix timestamp.
- encry_
type str - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire_
time int - Indicates the expiration time of the certificate, in Unix timestamp.
- source str
- Indicates the location where the certificate is hosted. This parameter has the following values: volccertcenter: Certificate Center. cdncerthosting: Content Delivery Network.
- cert
Id String - Represents the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name String - Indicates the content of the Common Name (CN) field in the CA certificate.
- certificate Property Map
- Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the CDN.
- effective
Time Number - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type String - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time Number - Indicates the expiration time of the certificate, in Unix timestamp.
- source String
- Indicates the location where the certificate is hosted. This parameter has the following values: volccertcenter: Certificate Center. cdncerthosting: Content Delivery Network.
DomainHttpsCertInfoCertificate, DomainHttpsCertInfoCertificateArgs
- Certificate string
- 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.
- Encryption
Cert string - 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
- Encryption
Key string - 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 _encrypt.key.
- Private
Key string - 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 .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 _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.
- Certificate string
- 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.
- Encryption
Cert string - 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
- Encryption
Key string - 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 _encrypt.key.
- Private
Key string - 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 .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 _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.
- certificate String
- 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.
- encryption
Cert String - 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
- encryption
Key String - 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 _encrypt.key.
- private
Key String - 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 .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 _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.
- certificate string
- 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.
- encryption
Cert string - 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
- encryption
Key string - 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 _encrypt.key.
- private
Key string - 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 .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 _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.
- certificate str
- 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.
- encryption_
cert str - 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
- encryption_
key str - 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 _encrypt.key.
- private_
key str - 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 .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 _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.
- certificate String
- 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.
- encryption
Cert String - 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
- encryption
Key String - 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 _encrypt.key.
- private
Key String - 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 .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 _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.
DomainHttpsCertInfoList, DomainHttpsCertInfoListArgs
- Cert
Id string - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- Cert
Name string - Represents the content of the Common Name (CN) field in the CA certificate.
- Certificate
Byteplus.
Domain Https Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- Effective
Time int - Indicates the issuance time of the certificate, in Unix timestamp.
- Encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- Expire
Time int - Indicates the expiration time of the certificate, as a Unix timestamp.
- Source string
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- Cert
Id string - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- Cert
Name string - Represents the content of the Common Name (CN) field in the CA certificate.
- Certificate
Domain
Https Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- Effective
Time int - Indicates the issuance time of the certificate, in Unix timestamp.
- Encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- Expire
Time int - Indicates the expiration time of the certificate, as a Unix timestamp.
- Source string
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert
Id String - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name String - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective
Time Integer - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type String - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time Integer - Indicates the expiration time of the certificate, as a Unix timestamp.
- source String
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert
Id string - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name string - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective
Time number - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type string - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time number - Indicates the expiration time of the certificate, as a Unix timestamp.
- source string
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert_
id str - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert_
name str - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate
Domain
Https Cert Info List Certificate - Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective_
time int - Indicates the issuance time of the certificate, in Unix timestamp.
- encry_
type str - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire_
time int - Indicates the expiration time of the certificate, as a Unix timestamp.
- source str
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
- cert
Id String - Indicates the ID of a CA certificate hosted on the content delivery network. The ID starts with cert_hosting-.
- cert
Name String - Represents the content of the Common Name (CN) field in the CA certificate.
- certificate Property Map
- Indicates a CA certificate to be uploaded. The uploaded certificate is hosted on the content delivery network.
- effective
Time Number - Indicates the issuance time of the certificate, in Unix timestamp.
- encry
Type String - Indicates the encryption algorithm used by the certificate. The parameter has the following values: intercert: RSA or ECC encryption algorithm. smcert: SM2 encryption algorithm.
- expire
Time Number - Indicates the expiration time of the certificate, as a Unix timestamp.
- source String
- Specifies the certificate hosting location. The parameter values are: volccertcenter: certificate center; cdncerthosting: content delivery network.
DomainHttpsCertInfoListCertificate, DomainHttpsCertInfoListCertificateArgs
- Certificate string
- 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.
- Encryption
Cert string - 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
- Encryption
Key string - 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 _encrypt.key.
- Private
Key string - 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 .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 _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.
- Certificate string
- 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.
- Encryption
Cert string - 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
- Encryption
Key string - 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 _encrypt.key.
- Private
Key string - 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 .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 _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.
- certificate String
- 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.
- encryption
Cert String - 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
- encryption
Key String - 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 _encrypt.key.
- private
Key String - 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 .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 _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.
- certificate string
- 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.
- encryption
Cert string - 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
- encryption
Key string - 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 _encrypt.key.
- private
Key string - 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 .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 _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.
- certificate str
- 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.
- encryption_
cert str - 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
- encryption_
key str - 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 _encrypt.key.
- private_
key str - 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 .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 _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.
- certificate String
- 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.
- encryption
Cert String - 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
- encryption
Key String - 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 _encrypt.key.
- private
Key String - 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 .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 _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.
DomainHttpsForcedRedirect, DomainHttpsForcedRedirectArgs
- Enable
Forced boolRedirect - Indicates whether to enable this feature. This parameter has the following values: true: enables the feature. When enabled, the content delivery network redirects HTTP requests to HTTPS requests. false: disables the feature. When disabled, the content delivery network does not redirect HTTP requests to HTTPS requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- Status
Code string - Indicates the redirect response status code for the CDN when receiving HTTPS requests. The parameter values are: 301: returns status code 301. 302: returns status code 302. The default value is 301.
- Enable
Forced boolRedirect - Indicates whether to enable this feature. This parameter has the following values: true: enables the feature. When enabled, the content delivery network redirects HTTP requests to HTTPS requests. false: disables the feature. When disabled, the content delivery network does not redirect HTTP requests to HTTPS requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- Status
Code string - Indicates the redirect response status code for the CDN when receiving HTTPS requests. The parameter values are: 301: returns status code 301. 302: returns status code 302. The default value is 301.
- enable
Forced BooleanRedirect - Indicates whether to enable this feature. This parameter has the following values: true: enables the feature. When enabled, the content delivery network redirects HTTP requests to HTTPS requests. false: disables the feature. When disabled, the content delivery network does not redirect HTTP requests to HTTPS requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status
Code String - Indicates the redirect response status code for the CDN when receiving HTTPS requests. The parameter values are: 301: returns status code 301. 302: returns status code 302. The default value is 301.
- enable
Forced booleanRedirect - Indicates whether to enable this feature. This parameter has the following values: true: enables the feature. When enabled, the content delivery network redirects HTTP requests to HTTPS requests. false: disables the feature. When disabled, the content delivery network does not redirect HTTP requests to HTTPS requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status
Code string - Indicates the redirect response status code for the CDN when receiving HTTPS requests. The parameter values are: 301: returns status code 301. 302: returns status code 302. The default value is 301.
- enable_
forced_ boolredirect - Indicates whether to enable this feature. This parameter has the following values: true: enables the feature. When enabled, the content delivery network redirects HTTP requests to HTTPS requests. false: disables the feature. When disabled, the content delivery network does not redirect HTTP requests to HTTPS requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status_
code str - Indicates the redirect response status code for the CDN when receiving HTTPS requests. The parameter values are: 301: returns status code 301. 302: returns status code 302. The default value is 301.
- enable
Forced BooleanRedirect - Indicates whether to enable this feature. This parameter has the following values: true: enables the feature. When enabled, the content delivery network redirects HTTP requests to HTTPS requests. false: disables the feature. When disabled, the content delivery network does not redirect HTTP requests to HTTPS requests. To enable this feature, your acceleration domain must have HTTPS enabled.
- status
Code String - Indicates the redirect response status code for the CDN when receiving HTTPS requests. The parameter values are: 301: returns status code 301. 302: returns status code 302. The default value is 301.
DomainHttpsHsts, DomainHttpsHstsArgs
- Subdomain string
- Indicates whether the HSTS configuration also applies to subdomains of the accelerated domain. The parameter has the following values: include: applies HSTS configuration to subdomain sites. exclude: does not apply HSTS configuration to subdomain sites. The default value is exclude.
- Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- Ttl int
- Indicates the cache expiration time for the Strict-Transport-Security response header in the browser, in seconds. If Switch is true, this parameter is required. The value range is 0–31,536,000. 31,536,000 seconds equals 365 days. If the value is 0, it is equivalent to disabling the HSTS setting.
- Subdomain string
- Indicates whether the HSTS configuration also applies to subdomains of the accelerated domain. The parameter has the following values: include: applies HSTS configuration to subdomain sites. exclude: does not apply HSTS configuration to subdomain sites. The default value is exclude.
- Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- Ttl int
- Indicates the cache expiration time for the Strict-Transport-Security response header in the browser, in seconds. If Switch is true, this parameter is required. The value range is 0–31,536,000. 31,536,000 seconds equals 365 days. If the value is 0, it is equivalent to disabling the HSTS setting.
- subdomain String
- Indicates whether the HSTS configuration also applies to subdomains of the accelerated domain. The parameter has the following values: include: applies HSTS configuration to subdomain sites. exclude: does not apply HSTS configuration to subdomain sites. The default value is exclude.
- switch_ Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- ttl Integer
- Indicates the cache expiration time for the Strict-Transport-Security response header in the browser, in seconds. If Switch is true, this parameter is required. The value range is 0–31,536,000. 31,536,000 seconds equals 365 days. If the value is 0, it is equivalent to disabling the HSTS setting.
- subdomain string
- Indicates whether the HSTS configuration also applies to subdomains of the accelerated domain. The parameter has the following values: include: applies HSTS configuration to subdomain sites. exclude: does not apply HSTS configuration to subdomain sites. The default value is exclude.
- switch boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- ttl number
- Indicates the cache expiration time for the Strict-Transport-Security response header in the browser, in seconds. If Switch is true, this parameter is required. The value range is 0–31,536,000. 31,536,000 seconds equals 365 days. If the value is 0, it is equivalent to disabling the HSTS setting.
- subdomain str
- Indicates whether the HSTS configuration also applies to subdomains of the accelerated domain. The parameter has the following values: include: applies HSTS configuration to subdomain sites. exclude: does not apply HSTS configuration to subdomain sites. The default value is exclude.
- switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- ttl int
- Indicates the cache expiration time for the Strict-Transport-Security response header in the browser, in seconds. If Switch is true, this parameter is required. The value range is 0–31,536,000. 31,536,000 seconds equals 365 days. If the value is 0, it is equivalent to disabling the HSTS setting.
- subdomain String
- Indicates whether the HSTS configuration also applies to subdomains of the accelerated domain. The parameter has the following values: include: applies HSTS configuration to subdomain sites. exclude: does not apply HSTS configuration to subdomain sites. The default value is exclude.
- switch Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: enables the feature; false: disables the feature. The default value is false.
- ttl Number
- Indicates the cache expiration time for the Strict-Transport-Security response header in the browser, in seconds. If Switch is true, this parameter is required. The value range is 0–31,536,000. 31,536,000 seconds equals 365 days. If the value is 0, it is equivalent to disabling the HSTS setting.
DomainIPv6, DomainIPv6Args
- Switch bool
- Specifies whether to enable IPv6 configuration. This parameter has the following values: true: Enables IPv6. false: Disables IPv6.
- Switch bool
- Specifies whether to enable IPv6 configuration. This parameter has the following values: true: Enables IPv6. false: Disables IPv6.
- switch_ Boolean
- Specifies whether to enable IPv6 configuration. This parameter has the following values: true: Enables IPv6. false: Disables IPv6.
- switch boolean
- Specifies whether to enable IPv6 configuration. This parameter has the following values: true: Enables IPv6. false: Disables IPv6.
- switch bool
- Specifies whether to enable IPv6 configuration. This parameter has the following values: true: Enables IPv6. false: Disables IPv6.
- switch Boolean
- Specifies whether to enable IPv6 configuration. This parameter has the following values: true: Enables IPv6. false: Disables IPv6.
DomainIpAccessRule, DomainIpAccessRuleArgs
- Ips List<string>
- Specifies IP addresses in the denylist or allowlist. This parameter is required when Switch is true. You can specify one or more IP addresses and IP address ranges. IP addresses and ranges can be in IPv4 or IPv6 format. You can enter up to 1,000 addresses. If you specify SharedConfig, you cannot specify this parameter.
- Rule
Type string - Indicates the type of IP list. This parameter is required when Switch is true. Valid values are: allow: indicates Allowlist. deny: indicates Denylist. If you specify SharedConfig, you cannot specify this parameter.
-
Byteplus.
Domain Ip Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify RuleType and Ip.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- Ips []string
- Specifies IP addresses in the denylist or allowlist. This parameter is required when Switch is true. You can specify one or more IP addresses and IP address ranges. IP addresses and ranges can be in IPv4 or IPv6 format. You can enter up to 1,000 addresses. If you specify SharedConfig, you cannot specify this parameter.
- Rule
Type string - Indicates the type of IP list. This parameter is required when Switch is true. Valid values are: allow: indicates Allowlist. deny: indicates Denylist. If you specify SharedConfig, you cannot specify this parameter.
-
Domain
Ip Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify RuleType and Ip.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- ips List<String>
- Specifies IP addresses in the denylist or allowlist. This parameter is required when Switch is true. You can specify one or more IP addresses and IP address ranges. IP addresses and ranges can be in IPv4 or IPv6 format. You can enter up to 1,000 addresses. If you specify SharedConfig, you cannot specify this parameter.
- rule
Type String - Indicates the type of IP list. This parameter is required when Switch is true. Valid values are: allow: indicates Allowlist. deny: indicates Denylist. If you specify SharedConfig, you cannot specify this parameter.
-
Domain
Ip Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify RuleType and Ip.
- switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- ips string[]
- Specifies IP addresses in the denylist or allowlist. This parameter is required when Switch is true. You can specify one or more IP addresses and IP address ranges. IP addresses and ranges can be in IPv4 or IPv6 format. You can enter up to 1,000 addresses. If you specify SharedConfig, you cannot specify this parameter.
- rule
Type string - Indicates the type of IP list. This parameter is required when Switch is true. Valid values are: allow: indicates Allowlist. deny: indicates Denylist. If you specify SharedConfig, you cannot specify this parameter.
-
Domain
Ip Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify RuleType and Ip.
- switch boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- ips Sequence[str]
- Specifies IP addresses in the denylist or allowlist. This parameter is required when Switch is true. You can specify one or more IP addresses and IP address ranges. IP addresses and ranges can be in IPv4 or IPv6 format. You can enter up to 1,000 addresses. If you specify SharedConfig, you cannot specify this parameter.
- rule_
type str - Indicates the type of IP list. This parameter is required when Switch is true. Valid values are: allow: indicates Allowlist. deny: indicates Denylist. If you specify SharedConfig, you cannot specify this parameter.
-
Domain
Ip Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify RuleType and Ip.
- switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- ips List<String>
- Specifies IP addresses in the denylist or allowlist. This parameter is required when Switch is true. You can specify one or more IP addresses and IP address ranges. IP addresses and ranges can be in IPv4 or IPv6 format. You can enter up to 1,000 addresses. If you specify SharedConfig, you cannot specify this parameter.
- rule
Type String - Indicates the type of IP list. This parameter is required when Switch is true. Valid values are: allow: indicates Allowlist. deny: indicates Denylist. If you specify SharedConfig, you cannot specify this parameter.
- Property Map
- Represents a global configuration. If you specify this parameter, you cannot specify RuleType and Ip.
- switch Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
DomainIpAccessRuleSharedConfig, DomainIpAccessRuleSharedConfigArgs
- Config
Name string - Indicates the name of a global configuration.
- Config
Name string - Indicates the name of a global configuration.
- config
Name String - Indicates the name of a global configuration.
- config
Name string - Indicates the name of a global configuration.
- config_
name str - Indicates the name of a global configuration.
- config
Name String - Indicates the name of a global configuration.
DomainMethodDeniedRule, DomainMethodDeniedRuleArgs
- Methods string
- Indicates one or more HTTP request methods that are disabled. When Switch is true, this parameter is required. Use commas (,) to separate multiple methods. The parameter values are: get: disables the GET request method. post: disables the POST request method. delete: disables the DELETE request method. put: disables the PUT request method. head: disables the HEAD request method. patch: disables the PATCH request method. connect: disables the CONNECT request method. options: disables the OPTIONS request method.
- Switch bool
- Configuration switch for disabling methods. Use commas to separate multiple methods. Required when enabled. choices: [get, post, head, delete, put]
- Methods string
- Indicates one or more HTTP request methods that are disabled. When Switch is true, this parameter is required. Use commas (,) to separate multiple methods. The parameter values are: get: disables the GET request method. post: disables the POST request method. delete: disables the DELETE request method. put: disables the PUT request method. head: disables the HEAD request method. patch: disables the PATCH request method. connect: disables the CONNECT request method. options: disables the OPTIONS request method.
- Switch bool
- Configuration switch for disabling methods. Use commas to separate multiple methods. Required when enabled. choices: [get, post, head, delete, put]
- methods String
- Indicates one or more HTTP request methods that are disabled. When Switch is true, this parameter is required. Use commas (,) to separate multiple methods. The parameter values are: get: disables the GET request method. post: disables the POST request method. delete: disables the DELETE request method. put: disables the PUT request method. head: disables the HEAD request method. patch: disables the PATCH request method. connect: disables the CONNECT request method. options: disables the OPTIONS request method.
- switch_ Boolean
- Configuration switch for disabling methods. Use commas to separate multiple methods. Required when enabled. choices: [get, post, head, delete, put]
- methods string
- Indicates one or more HTTP request methods that are disabled. When Switch is true, this parameter is required. Use commas (,) to separate multiple methods. The parameter values are: get: disables the GET request method. post: disables the POST request method. delete: disables the DELETE request method. put: disables the PUT request method. head: disables the HEAD request method. patch: disables the PATCH request method. connect: disables the CONNECT request method. options: disables the OPTIONS request method.
- switch boolean
- Configuration switch for disabling methods. Use commas to separate multiple methods. Required when enabled. choices: [get, post, head, delete, put]
- methods str
- Indicates one or more HTTP request methods that are disabled. When Switch is true, this parameter is required. Use commas (,) to separate multiple methods. The parameter values are: get: disables the GET request method. post: disables the POST request method. delete: disables the DELETE request method. put: disables the PUT request method. head: disables the HEAD request method. patch: disables the PATCH request method. connect: disables the CONNECT request method. options: disables the OPTIONS request method.
- switch bool
- Configuration switch for disabling methods. Use commas to separate multiple methods. Required when enabled. choices: [get, post, head, delete, put]
- methods String
- Indicates one or more HTTP request methods that are disabled. When Switch is true, this parameter is required. Use commas (,) to separate multiple methods. The parameter values are: get: disables the GET request method. post: disables the POST request method. delete: disables the DELETE request method. put: disables the PUT request method. head: disables the HEAD request method. patch: disables the PATCH request method. connect: disables the CONNECT request method. options: disables the OPTIONS request method.
- switch Boolean
- Configuration switch for disabling methods. Use commas to separate multiple methods. Required when enabled. choices: [get, post, head, delete, put]
DomainMultiRange, DomainMultiRangeArgs
- Switch bool
- Indicates whether the feature is enabled. This parameter has the following values: true: enables the feature. When enabled, CDN allows Range requests with multiple ranges. false: disables the feature. If a Range request with multiple ranges is received, CDN rejects the request and returns a 416 response status code. The default value is false.
- Switch bool
- Indicates whether the feature is enabled. This parameter has the following values: true: enables the feature. When enabled, CDN allows Range requests with multiple ranges. false: disables the feature. If a Range request with multiple ranges is received, CDN rejects the request and returns a 416 response status code. The default value is false.
- switch_ Boolean
- Indicates whether the feature is enabled. This parameter has the following values: true: enables the feature. When enabled, CDN allows Range requests with multiple ranges. false: disables the feature. If a Range request with multiple ranges is received, CDN rejects the request and returns a 416 response status code. The default value is false.
- switch boolean
- Indicates whether the feature is enabled. This parameter has the following values: true: enables the feature. When enabled, CDN allows Range requests with multiple ranges. false: disables the feature. If a Range request with multiple ranges is received, CDN rejects the request and returns a 416 response status code. The default value is false.
- switch bool
- Indicates whether the feature is enabled. This parameter has the following values: true: enables the feature. When enabled, CDN allows Range requests with multiple ranges. false: disables the feature. If a Range request with multiple ranges is received, CDN rejects the request and returns a 416 response status code. The default value is false.
- switch Boolean
- Indicates whether the feature is enabled. This parameter has the following values: true: enables the feature. When enabled, CDN allows Range requests with multiple ranges. false: disables the feature. If a Range request with multiple ranges is received, CDN rejects the request and returns a 416 response status code. The default value is false.
DomainNegativeCach, DomainNegativeCachArgs
- Condition
Byteplus.
Domain Negative Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Negative
Cache Byteplus.Rule Domain Negative Cach Negative Cache Rule - Represents a list. Each element in the list is a status code cache rule.
- Condition
Domain
Negative Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Negative
Cache DomainRule Negative Cach Negative Cache Rule - Represents a list. Each element in the list is a status code cache rule.
- condition
Domain
Negative Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- negative
Cache DomainRule Negative Cach Negative Cache Rule - Represents a list. Each element in the list is a status code cache rule.
- condition
Domain
Negative Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- negative
Cache DomainRule Negative Cach Negative Cache Rule - Represents a list. Each element in the list is a status code cache rule.
- condition
Domain
Negative Cach Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- negative_
cache_ Domainrule Negative Cach Negative Cache Rule - Represents a list. Each element in the list is a status code cache rule.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- negative
Cache Property MapRule - Represents a list. Each element in the list is a status code cache rule.
DomainNegativeCachCondition, DomainNegativeCachConditionArgs
- Condition
Rules List<Byteplus.Domain Negative Cach Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainNegative Cach Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainNegative Cach Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainNegative Cach Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainNegative Cach Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainNegativeCachConditionConditionRule, DomainNegativeCachConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainNegativeCachNegativeCacheRule, DomainNegativeCachNegativeCacheRuleArgs
- Action string
- Represents the cache behavior. Currently, you can only specify cache. cache means the behavior is caching.
- Ignore
Case bool - Indicates whether the CDN ignores case when matching files in a request with ConditionRule. The parameter has the following options: true: ignore case. false: do not ignore case. The default value is false.
- Status
Code string - Specify a status code to cache. The status code range is 400–599. You can also specify 4xx or 5xx. 4xx refers to all status codes from 400 to 499. 5xx refers to all status codes from 500 to 599.
- Ttl int
- Indicates the cache duration for status codes, in seconds. The range is 1–315,360,000. 315,360,000 means 10 years.
- Action string
- Represents the cache behavior. Currently, you can only specify cache. cache means the behavior is caching.
- Ignore
Case bool - Indicates whether the CDN ignores case when matching files in a request with ConditionRule. The parameter has the following options: true: ignore case. false: do not ignore case. The default value is false.
- Status
Code string - Specify a status code to cache. The status code range is 400–599. You can also specify 4xx or 5xx. 4xx refers to all status codes from 400 to 499. 5xx refers to all status codes from 500 to 599.
- Ttl int
- Indicates the cache duration for status codes, in seconds. The range is 1–315,360,000. 315,360,000 means 10 years.
- action String
- Represents the cache behavior. Currently, you can only specify cache. cache means the behavior is caching.
- ignore
Case Boolean - Indicates whether the CDN ignores case when matching files in a request with ConditionRule. The parameter has the following options: true: ignore case. false: do not ignore case. The default value is false.
- status
Code String - Specify a status code to cache. The status code range is 400–599. You can also specify 4xx or 5xx. 4xx refers to all status codes from 400 to 499. 5xx refers to all status codes from 500 to 599.
- ttl Integer
- Indicates the cache duration for status codes, in seconds. The range is 1–315,360,000. 315,360,000 means 10 years.
- action string
- Represents the cache behavior. Currently, you can only specify cache. cache means the behavior is caching.
- ignore
Case boolean - Indicates whether the CDN ignores case when matching files in a request with ConditionRule. The parameter has the following options: true: ignore case. false: do not ignore case. The default value is false.
- status
Code string - Specify a status code to cache. The status code range is 400–599. You can also specify 4xx or 5xx. 4xx refers to all status codes from 400 to 499. 5xx refers to all status codes from 500 to 599.
- ttl number
- Indicates the cache duration for status codes, in seconds. The range is 1–315,360,000. 315,360,000 means 10 years.
- action str
- Represents the cache behavior. Currently, you can only specify cache. cache means the behavior is caching.
- ignore_
case bool - Indicates whether the CDN ignores case when matching files in a request with ConditionRule. The parameter has the following options: true: ignore case. false: do not ignore case. The default value is false.
- status_
code str - Specify a status code to cache. The status code range is 400–599. You can also specify 4xx or 5xx. 4xx refers to all status codes from 400 to 499. 5xx refers to all status codes from 500 to 599.
- ttl int
- Indicates the cache duration for status codes, in seconds. The range is 1–315,360,000. 315,360,000 means 10 years.
- action String
- Represents the cache behavior. Currently, you can only specify cache. cache means the behavior is caching.
- ignore
Case Boolean - Indicates whether the CDN ignores case when matching files in a request with ConditionRule. The parameter has the following options: true: ignore case. false: do not ignore case. The default value is false.
- status
Code String - Specify a status code to cache. The status code range is 400–599. You can also specify 4xx or 5xx. 4xx refers to all status codes from 400 to 499. 5xx refers to all status codes from 500 to 599.
- ttl Number
- Indicates the cache duration for status codes, in seconds. The range is 1–315,360,000. 315,360,000 means 10 years.
DomainOfflineCache, DomainOfflineCacheArgs
- Object string
- Indicates the trigger conditions for this feature. The parameter has the following values: requesterror: indicates an origin request exception. When an origin request exception occurs, the CDN cannot retrieve files from the origin and does not receive any response status code from the origin. errorcode: indicates the CDN cannot retrieve files from the origin, and the origin's response status code is 5xx. requesterror,errorcode: indicates both conditions are included.
- Status
Code string - Specifies the specific 5xx response status codes, ranging from 500 to 599. Separate multiple status codes with a semicolon (;). You can also enter 5xx to indicate any status code starting with the digit 5. This parameter is valid only when Object is errorcode or requesterror,error_code.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- Object string
- Indicates the trigger conditions for this feature. The parameter has the following values: requesterror: indicates an origin request exception. When an origin request exception occurs, the CDN cannot retrieve files from the origin and does not receive any response status code from the origin. errorcode: indicates the CDN cannot retrieve files from the origin, and the origin's response status code is 5xx. requesterror,errorcode: indicates both conditions are included.
- Status
Code string - Specifies the specific 5xx response status codes, ranging from 500 to 599. Separate multiple status codes with a semicolon (;). You can also enter 5xx to indicate any status code starting with the digit 5. This parameter is valid only when Object is errorcode or requesterror,error_code.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- object String
- Indicates the trigger conditions for this feature. The parameter has the following values: requesterror: indicates an origin request exception. When an origin request exception occurs, the CDN cannot retrieve files from the origin and does not receive any response status code from the origin. errorcode: indicates the CDN cannot retrieve files from the origin, and the origin's response status code is 5xx. requesterror,errorcode: indicates both conditions are included.
- status
Code String - Specifies the specific 5xx response status codes, ranging from 500 to 599. Separate multiple status codes with a semicolon (;). You can also enter 5xx to indicate any status code starting with the digit 5. This parameter is valid only when Object is errorcode or requesterror,error_code.
- switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- object string
- Indicates the trigger conditions for this feature. The parameter has the following values: requesterror: indicates an origin request exception. When an origin request exception occurs, the CDN cannot retrieve files from the origin and does not receive any response status code from the origin. errorcode: indicates the CDN cannot retrieve files from the origin, and the origin's response status code is 5xx. requesterror,errorcode: indicates both conditions are included.
- status
Code string - Specifies the specific 5xx response status codes, ranging from 500 to 599. Separate multiple status codes with a semicolon (;). You can also enter 5xx to indicate any status code starting with the digit 5. This parameter is valid only when Object is errorcode or requesterror,error_code.
- switch boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- object str
- Indicates the trigger conditions for this feature. The parameter has the following values: requesterror: indicates an origin request exception. When an origin request exception occurs, the CDN cannot retrieve files from the origin and does not receive any response status code from the origin. errorcode: indicates the CDN cannot retrieve files from the origin, and the origin's response status code is 5xx. requesterror,errorcode: indicates both conditions are included.
- status_
code str - Specifies the specific 5xx response status codes, ranging from 500 to 599. Separate multiple status codes with a semicolon (;). You can also enter 5xx to indicate any status code starting with the digit 5. This parameter is valid only when Object is errorcode or requesterror,error_code.
- switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- object String
- Indicates the trigger conditions for this feature. The parameter has the following values: requesterror: indicates an origin request exception. When an origin request exception occurs, the CDN cannot retrieve files from the origin and does not receive any response status code from the origin. errorcode: indicates the CDN cannot retrieve files from the origin, and the origin's response status code is 5xx. requesterror,errorcode: indicates both conditions are included.
- status
Code String - Specifies the specific 5xx response status codes, ranging from 500 to 599. Separate multiple status codes with a semicolon (;). You can also enter 5xx to indicate any status code starting with the digit 5. This parameter is valid only when Object is errorcode or requesterror,error_code.
- switch Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
DomainOrigin, DomainOriginArgs
- Origin
Action Byteplus.Domain Origin Origin Action - Indicates origin configuration.
- Condition
Byteplus.
Domain Origin Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Origin
Action DomainOrigin Origin Action - Indicates origin configuration.
- Condition
Domain
Origin Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Action DomainOrigin Origin Action - Indicates origin configuration.
- condition
Domain
Origin Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Action DomainOrigin Origin Action - Indicates origin configuration.
- condition
Domain
Origin Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin_
action DomainOrigin Origin Action - Indicates origin configuration.
- condition
Domain
Origin Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Action Property Map - Indicates origin configuration.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
DomainOriginAccessRule, DomainOriginAccessRuleArgs
- Allow
Empty bool - Specifies whether requests are allowed when the Origin header in the user request is empty (""). The parameter values are: true: allow; false: do not allow. The default value is false.
- Ignore
Case bool - Indicates whether Origin is case sensitive. This parameter has the following values: true: Origin is case insensitive; false: Origin is case sensitive. The default value is true.
- Origins List<string>
- The address list corresponding to RuleType. When Switch is true, this parameter is required. You can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domain names. Domain names can be second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 100 addresses. When entering domain names, you do not need to include http:// or https://. The value length cannot exceed 3,000 characters.
- Rule
Type string - Origin list configuration type. When Switch is true, this parameter is required. The parameter has the following values: allow: indicates allowlist. deny: indicates denylist.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- Allow
Empty bool - Specifies whether requests are allowed when the Origin header in the user request is empty (""). The parameter values are: true: allow; false: do not allow. The default value is false.
- Ignore
Case bool - Indicates whether Origin is case sensitive. This parameter has the following values: true: Origin is case insensitive; false: Origin is case sensitive. The default value is true.
- Origins []string
- The address list corresponding to RuleType. When Switch is true, this parameter is required. You can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domain names. Domain names can be second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 100 addresses. When entering domain names, you do not need to include http:// or https://. The value length cannot exceed 3,000 characters.
- Rule
Type string - Origin list configuration type. When Switch is true, this parameter is required. The parameter has the following values: allow: indicates allowlist. deny: indicates denylist.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow
Empty Boolean - Specifies whether requests are allowed when the Origin header in the user request is empty (""). The parameter values are: true: allow; false: do not allow. The default value is false.
- ignore
Case Boolean - Indicates whether Origin is case sensitive. This parameter has the following values: true: Origin is case insensitive; false: Origin is case sensitive. The default value is true.
- origins List<String>
- The address list corresponding to RuleType. When Switch is true, this parameter is required. You can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domain names. Domain names can be second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 100 addresses. When entering domain names, you do not need to include http:// or https://. The value length cannot exceed 3,000 characters.
- rule
Type String - Origin list configuration type. When Switch is true, this parameter is required. The parameter has the following values: allow: indicates allowlist. deny: indicates denylist.
- switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow
Empty boolean - Specifies whether requests are allowed when the Origin header in the user request is empty (""). The parameter values are: true: allow; false: do not allow. The default value is false.
- ignore
Case boolean - Indicates whether Origin is case sensitive. This parameter has the following values: true: Origin is case insensitive; false: Origin is case sensitive. The default value is true.
- origins string[]
- The address list corresponding to RuleType. When Switch is true, this parameter is required. You can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domain names. Domain names can be second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 100 addresses. When entering domain names, you do not need to include http:// or https://. The value length cannot exceed 3,000 characters.
- rule
Type string - Origin list configuration type. When Switch is true, this parameter is required. The parameter has the following values: allow: indicates allowlist. deny: indicates denylist.
- switch boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow_
empty bool - Specifies whether requests are allowed when the Origin header in the user request is empty (""). The parameter values are: true: allow; false: do not allow. The default value is false.
- ignore_
case bool - Indicates whether Origin is case sensitive. This parameter has the following values: true: Origin is case insensitive; false: Origin is case sensitive. The default value is true.
- origins Sequence[str]
- The address list corresponding to RuleType. When Switch is true, this parameter is required. You can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domain names. Domain names can be second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 100 addresses. When entering domain names, you do not need to include http:// or https://. The value length cannot exceed 3,000 characters.
- rule_
type str - Origin list configuration type. When Switch is true, this parameter is required. The parameter has the following values: allow: indicates allowlist. deny: indicates denylist.
- switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow
Empty Boolean - Specifies whether requests are allowed when the Origin header in the user request is empty (""). The parameter values are: true: allow; false: do not allow. The default value is false.
- ignore
Case Boolean - Indicates whether Origin is case sensitive. This parameter has the following values: true: Origin is case insensitive; false: Origin is case sensitive. The default value is true.
- origins List<String>
- The address list corresponding to RuleType. When Switch is true, this parameter is required. You can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domain names. Domain names can be second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 100 addresses. When entering domain names, you do not need to include http:// or https://. The value length cannot exceed 3,000 characters.
- rule
Type String - Origin list configuration type. When Switch is true, this parameter is required. The parameter has the following values: allow: indicates allowlist. deny: indicates denylist.
- switch Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
DomainOriginArg, DomainOriginArgArgs
- Condition
Byteplus.
Domain Origin Arg Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Origin
Arg Byteplus.Action Domain Origin Arg Origin Arg Action - Represents the action performed when the Condition is met.
- Condition
Domain
Origin Arg Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Origin
Arg DomainAction Origin Arg Origin Arg Action - Represents the action performed when the Condition is met.
- condition
Domain
Origin Arg Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Arg DomainAction Origin Arg Origin Arg Action - Represents the action performed when the Condition is met.
- condition
Domain
Origin Arg Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Arg DomainAction Origin Arg Origin Arg Action - Represents the action performed when the Condition is met.
- condition
Domain
Origin Arg Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin_
arg_ Domainaction Origin Arg Origin Arg Action - Represents the action performed when the Condition is met.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Arg Property MapAction - Represents the action performed when the Condition is met.
DomainOriginArgCondition, DomainOriginArgConditionArgs
- Condition
Rules List<Byteplus.Domain Origin Arg Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainOrigin Arg Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainOrigin Arg Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainOrigin Arg Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainOrigin Arg Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainOriginArgConditionConditionRule, DomainOriginArgConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainOriginArgOriginArgAction, DomainOriginArgOriginArgActionArgs
DomainOriginArgOriginArgActionOriginArgComponent, DomainOriginArgOriginArgActionOriginArgComponentArgs
- Action string
- include: Indicates that the origin request URL includes all query parameters from the user request URL. exclude: Indicates that the origin request URL does not include any query parameters from the user request URL. addPart: Indicates that the origin request URL includes all query parameters from the user request URL, plus the query parameters specified in the Subobject. includePart: Indicates that if the user request URL contains the query parameters specified in the Subobject, the origin request URL will include these specified query parameters. excludePart: Indicates that the origin request URL includes all query parameters from the user request URL except those specified in the Subobject. set: Indicates that the origin request URL includes all query parameters from the user request URL. For the query parameters and values you specify in the Subobject, CDN will perform the following actions: If these query parameters exist in the user request URL, CDN will set their values in the origin request URL to the values you specify. If the user request URL does not contain these query parameters, CDN will add them to the origin request URL.
- Object string
- Indicates which object the CDN performs the Action on. Currently, this parameter can only be set to queryString, which refers to the query string in the request URL.
- Subobject string
- Represents one or more query parameters. Use semicolons (;) to separate multiple query parameters. The total length must not exceed 1,024 characters. Subobject can only contain letters, numbers, underscores (_), commas (,), hyphens (-), periods (.), and exclamation marks (!). When matching query parameters in the request URL, parameters in Subobject are case-sensitive. Additional notes for Subobject: When Action is include or exclude, Subobject must be *, which represents all query parameters in the request URL. When Action is includePart or excludePart, Subobject represents one or more query parameters, for example, param1;param2. When Action is addPart or set, Subobject represents one or more query parameters and their values in the format key=value, for example, param1=val1;param2=val2;param3=val3.
- Action string
- include: Indicates that the origin request URL includes all query parameters from the user request URL. exclude: Indicates that the origin request URL does not include any query parameters from the user request URL. addPart: Indicates that the origin request URL includes all query parameters from the user request URL, plus the query parameters specified in the Subobject. includePart: Indicates that if the user request URL contains the query parameters specified in the Subobject, the origin request URL will include these specified query parameters. excludePart: Indicates that the origin request URL includes all query parameters from the user request URL except those specified in the Subobject. set: Indicates that the origin request URL includes all query parameters from the user request URL. For the query parameters and values you specify in the Subobject, CDN will perform the following actions: If these query parameters exist in the user request URL, CDN will set their values in the origin request URL to the values you specify. If the user request URL does not contain these query parameters, CDN will add them to the origin request URL.
- Object string
- Indicates which object the CDN performs the Action on. Currently, this parameter can only be set to queryString, which refers to the query string in the request URL.
- Subobject string
- Represents one or more query parameters. Use semicolons (;) to separate multiple query parameters. The total length must not exceed 1,024 characters. Subobject can only contain letters, numbers, underscores (_), commas (,), hyphens (-), periods (.), and exclamation marks (!). When matching query parameters in the request URL, parameters in Subobject are case-sensitive. Additional notes for Subobject: When Action is include or exclude, Subobject must be *, which represents all query parameters in the request URL. When Action is includePart or excludePart, Subobject represents one or more query parameters, for example, param1;param2. When Action is addPart or set, Subobject represents one or more query parameters and their values in the format key=value, for example, param1=val1;param2=val2;param3=val3.
- action String
- include: Indicates that the origin request URL includes all query parameters from the user request URL. exclude: Indicates that the origin request URL does not include any query parameters from the user request URL. addPart: Indicates that the origin request URL includes all query parameters from the user request URL, plus the query parameters specified in the Subobject. includePart: Indicates that if the user request URL contains the query parameters specified in the Subobject, the origin request URL will include these specified query parameters. excludePart: Indicates that the origin request URL includes all query parameters from the user request URL except those specified in the Subobject. set: Indicates that the origin request URL includes all query parameters from the user request URL. For the query parameters and values you specify in the Subobject, CDN will perform the following actions: If these query parameters exist in the user request URL, CDN will set their values in the origin request URL to the values you specify. If the user request URL does not contain these query parameters, CDN will add them to the origin request URL.
- object String
- Indicates which object the CDN performs the Action on. Currently, this parameter can only be set to queryString, which refers to the query string in the request URL.
- subobject String
- Represents one or more query parameters. Use semicolons (;) to separate multiple query parameters. The total length must not exceed 1,024 characters. Subobject can only contain letters, numbers, underscores (_), commas (,), hyphens (-), periods (.), and exclamation marks (!). When matching query parameters in the request URL, parameters in Subobject are case-sensitive. Additional notes for Subobject: When Action is include or exclude, Subobject must be *, which represents all query parameters in the request URL. When Action is includePart or excludePart, Subobject represents one or more query parameters, for example, param1;param2. When Action is addPart or set, Subobject represents one or more query parameters and their values in the format key=value, for example, param1=val1;param2=val2;param3=val3.
- action string
- include: Indicates that the origin request URL includes all query parameters from the user request URL. exclude: Indicates that the origin request URL does not include any query parameters from the user request URL. addPart: Indicates that the origin request URL includes all query parameters from the user request URL, plus the query parameters specified in the Subobject. includePart: Indicates that if the user request URL contains the query parameters specified in the Subobject, the origin request URL will include these specified query parameters. excludePart: Indicates that the origin request URL includes all query parameters from the user request URL except those specified in the Subobject. set: Indicates that the origin request URL includes all query parameters from the user request URL. For the query parameters and values you specify in the Subobject, CDN will perform the following actions: If these query parameters exist in the user request URL, CDN will set their values in the origin request URL to the values you specify. If the user request URL does not contain these query parameters, CDN will add them to the origin request URL.
- object string
- Indicates which object the CDN performs the Action on. Currently, this parameter can only be set to queryString, which refers to the query string in the request URL.
- subobject string
- Represents one or more query parameters. Use semicolons (;) to separate multiple query parameters. The total length must not exceed 1,024 characters. Subobject can only contain letters, numbers, underscores (_), commas (,), hyphens (-), periods (.), and exclamation marks (!). When matching query parameters in the request URL, parameters in Subobject are case-sensitive. Additional notes for Subobject: When Action is include or exclude, Subobject must be *, which represents all query parameters in the request URL. When Action is includePart or excludePart, Subobject represents one or more query parameters, for example, param1;param2. When Action is addPart or set, Subobject represents one or more query parameters and their values in the format key=value, for example, param1=val1;param2=val2;param3=val3.
- action str
- include: Indicates that the origin request URL includes all query parameters from the user request URL. exclude: Indicates that the origin request URL does not include any query parameters from the user request URL. addPart: Indicates that the origin request URL includes all query parameters from the user request URL, plus the query parameters specified in the Subobject. includePart: Indicates that if the user request URL contains the query parameters specified in the Subobject, the origin request URL will include these specified query parameters. excludePart: Indicates that the origin request URL includes all query parameters from the user request URL except those specified in the Subobject. set: Indicates that the origin request URL includes all query parameters from the user request URL. For the query parameters and values you specify in the Subobject, CDN will perform the following actions: If these query parameters exist in the user request URL, CDN will set their values in the origin request URL to the values you specify. If the user request URL does not contain these query parameters, CDN will add them to the origin request URL.
- object str
- Indicates which object the CDN performs the Action on. Currently, this parameter can only be set to queryString, which refers to the query string in the request URL.
- subobject str
- Represents one or more query parameters. Use semicolons (;) to separate multiple query parameters. The total length must not exceed 1,024 characters. Subobject can only contain letters, numbers, underscores (_), commas (,), hyphens (-), periods (.), and exclamation marks (!). When matching query parameters in the request URL, parameters in Subobject are case-sensitive. Additional notes for Subobject: When Action is include or exclude, Subobject must be *, which represents all query parameters in the request URL. When Action is includePart or excludePart, Subobject represents one or more query parameters, for example, param1;param2. When Action is addPart or set, Subobject represents one or more query parameters and their values in the format key=value, for example, param1=val1;param2=val2;param3=val3.
- action String
- include: Indicates that the origin request URL includes all query parameters from the user request URL. exclude: Indicates that the origin request URL does not include any query parameters from the user request URL. addPart: Indicates that the origin request URL includes all query parameters from the user request URL, plus the query parameters specified in the Subobject. includePart: Indicates that if the user request URL contains the query parameters specified in the Subobject, the origin request URL will include these specified query parameters. excludePart: Indicates that the origin request URL includes all query parameters from the user request URL except those specified in the Subobject. set: Indicates that the origin request URL includes all query parameters from the user request URL. For the query parameters and values you specify in the Subobject, CDN will perform the following actions: If these query parameters exist in the user request URL, CDN will set their values in the origin request URL to the values you specify. If the user request URL does not contain these query parameters, CDN will add them to the origin request URL.
- object String
- Indicates which object the CDN performs the Action on. Currently, this parameter can only be set to queryString, which refers to the query string in the request URL.
- subobject String
- Represents one or more query parameters. Use semicolons (;) to separate multiple query parameters. The total length must not exceed 1,024 characters. Subobject can only contain letters, numbers, underscores (_), commas (,), hyphens (-), periods (.), and exclamation marks (!). When matching query parameters in the request URL, parameters in Subobject are case-sensitive. Additional notes for Subobject: When Action is include or exclude, Subobject must be *, which represents all query parameters in the request URL. When Action is includePart or excludePart, Subobject represents one or more query parameters, for example, param1;param2. When Action is addPart or set, Subobject represents one or more query parameters and their values in the format key=value, for example, param1=val1;param2=val2;param3=val3.
DomainOriginCertCheck, DomainOriginCertCheckArgs
- Switch bool
- Switch
- Switch bool
- Switch
- switch_ Boolean
- Switch
- switch boolean
- Switch
- switch bool
- Switch
- switch Boolean
- Switch
DomainOriginCondition, DomainOriginConditionArgs
- Condition
Rules List<Byteplus.Domain Origin Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainOrigin Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainOrigin Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainOrigin Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainOrigin Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainOriginConditionConditionRule, DomainOriginConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainOriginOriginAction, DomainOriginOriginActionArgs
DomainOriginOriginActionOriginLine, DomainOriginOriginActionOriginLineArgs
- Address string
- Indicates the origin address. The parameter has the following instructions: If InstanceType is ip, you can set an IP address. The IP address can be either IPv4 or IPv6. If InstanceType is domain, you can set a domain name. The domain name cannot be a wildcard domain. If InstanceType is tos, you can set the domain name of an object storage bucket. The bucket can be from Alibaba Cloud, Tencent Cloud, or AWS. If you specify multiple origin configurations in this API request: All primary origin configurations must have the same InstanceType. All backup origin configurations must also have the same InstanceType. If the InstanceType in the primary origin configuration is ip or domain, the InstanceType in the backup origin configuration must also be ip or domain. The total number of primary and backup origin addresses cannot exceed 50.
- Instance
Type string - Indicates the type of origin server. This parameter has the following values: ip: The origin server is accessed via IP address. domain: The origin server is accessed via domain name. tos: The origin server is an object storage bucket.
- Origin
Type string - Indicates the type of origin server. This parameter has the following values: - primary: Primary origin server. - backup: Backup origin server. At least one primary origin server configuration must be included in this API request. Backup origin server configuration is optional.
- Http
Port string - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The value range is 1–65535, and the default value is 80. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- Https
Port string - Indicates the port used by the content delivery network to access the origin server via HTTPS. The value range is 1-65535, and the default value is 443. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- Private
Bucket boolAccess - Indicates whether private read permissions are enabled for the object storage bucket. This parameter is only valid when InstanceType is tos. The parameter values are: true: Enabled. false: Not enabled. The default value is false.
- Private
Bucket Byteplus.Auth Domain Origin Origin Action Origin Line Private Bucket Auth - Represents the authentication information for the object storage bucket of a third-party cloud provider.
- Region string
- This parameter is not currently available externally. Do not use this parameter.
- Weight string
- Specifies the weight of the origin. Value range is 1–100, default is 1. The higher the weight, the more likely this origin is selected when the content delivery network sends a request to the origin. This parameter is only valid when InstanceType is ip or domain.
- Address string
- Indicates the origin address. The parameter has the following instructions: If InstanceType is ip, you can set an IP address. The IP address can be either IPv4 or IPv6. If InstanceType is domain, you can set a domain name. The domain name cannot be a wildcard domain. If InstanceType is tos, you can set the domain name of an object storage bucket. The bucket can be from Alibaba Cloud, Tencent Cloud, or AWS. If you specify multiple origin configurations in this API request: All primary origin configurations must have the same InstanceType. All backup origin configurations must also have the same InstanceType. If the InstanceType in the primary origin configuration is ip or domain, the InstanceType in the backup origin configuration must also be ip or domain. The total number of primary and backup origin addresses cannot exceed 50.
- Instance
Type string - Indicates the type of origin server. This parameter has the following values: ip: The origin server is accessed via IP address. domain: The origin server is accessed via domain name. tos: The origin server is an object storage bucket.
- Origin
Type string - Indicates the type of origin server. This parameter has the following values: - primary: Primary origin server. - backup: Backup origin server. At least one primary origin server configuration must be included in this API request. Backup origin server configuration is optional.
- Http
Port string - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The value range is 1–65535, and the default value is 80. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- Https
Port string - Indicates the port used by the content delivery network to access the origin server via HTTPS. The value range is 1-65535, and the default value is 443. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- Origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- Private
Bucket boolAccess - Indicates whether private read permissions are enabled for the object storage bucket. This parameter is only valid when InstanceType is tos. The parameter values are: true: Enabled. false: Not enabled. The default value is false.
- Private
Bucket DomainAuth Origin Origin Action Origin Line Private Bucket Auth - Represents the authentication information for the object storage bucket of a third-party cloud provider.
- Region string
- This parameter is not currently available externally. Do not use this parameter.
- Weight string
- Specifies the weight of the origin. Value range is 1–100, default is 1. The higher the weight, the more likely this origin is selected when the content delivery network sends a request to the origin. This parameter is only valid when InstanceType is ip or domain.
- address String
- Indicates the origin address. The parameter has the following instructions: If InstanceType is ip, you can set an IP address. The IP address can be either IPv4 or IPv6. If InstanceType is domain, you can set a domain name. The domain name cannot be a wildcard domain. If InstanceType is tos, you can set the domain name of an object storage bucket. The bucket can be from Alibaba Cloud, Tencent Cloud, or AWS. If you specify multiple origin configurations in this API request: All primary origin configurations must have the same InstanceType. All backup origin configurations must also have the same InstanceType. If the InstanceType in the primary origin configuration is ip or domain, the InstanceType in the backup origin configuration must also be ip or domain. The total number of primary and backup origin addresses cannot exceed 50.
- instance
Type String - Indicates the type of origin server. This parameter has the following values: ip: The origin server is accessed via IP address. domain: The origin server is accessed via domain name. tos: The origin server is an object storage bucket.
- origin
Type String - Indicates the type of origin server. This parameter has the following values: - primary: Primary origin server. - backup: Backup origin server. At least one primary origin server configuration must be included in this API request. Backup origin server configuration is optional.
- http
Port String - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The value range is 1–65535, and the default value is 80. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- https
Port String - Indicates the port used by the content delivery network to access the origin server via HTTPS. The value range is 1-65535, and the default value is 443. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- private
Bucket BooleanAccess - Indicates whether private read permissions are enabled for the object storage bucket. This parameter is only valid when InstanceType is tos. The parameter values are: true: Enabled. false: Not enabled. The default value is false.
- private
Bucket DomainAuth Origin Origin Action Origin Line Private Bucket Auth - Represents the authentication information for the object storage bucket of a third-party cloud provider.
- region String
- This parameter is not currently available externally. Do not use this parameter.
- weight String
- Specifies the weight of the origin. Value range is 1–100, default is 1. The higher the weight, the more likely this origin is selected when the content delivery network sends a request to the origin. This parameter is only valid when InstanceType is ip or domain.
- address string
- Indicates the origin address. The parameter has the following instructions: If InstanceType is ip, you can set an IP address. The IP address can be either IPv4 or IPv6. If InstanceType is domain, you can set a domain name. The domain name cannot be a wildcard domain. If InstanceType is tos, you can set the domain name of an object storage bucket. The bucket can be from Alibaba Cloud, Tencent Cloud, or AWS. If you specify multiple origin configurations in this API request: All primary origin configurations must have the same InstanceType. All backup origin configurations must also have the same InstanceType. If the InstanceType in the primary origin configuration is ip or domain, the InstanceType in the backup origin configuration must also be ip or domain. The total number of primary and backup origin addresses cannot exceed 50.
- instance
Type string - Indicates the type of origin server. This parameter has the following values: ip: The origin server is accessed via IP address. domain: The origin server is accessed via domain name. tos: The origin server is an object storage bucket.
- origin
Type string - Indicates the type of origin server. This parameter has the following values: - primary: Primary origin server. - backup: Backup origin server. At least one primary origin server configuration must be included in this API request. Backup origin server configuration is optional.
- http
Port string - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The value range is 1–65535, and the default value is 80. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- https
Port string - Indicates the port used by the content delivery network to access the origin server via HTTPS. The value range is 1-65535, and the default value is 443. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- origin
Host string - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- private
Bucket booleanAccess - Indicates whether private read permissions are enabled for the object storage bucket. This parameter is only valid when InstanceType is tos. The parameter values are: true: Enabled. false: Not enabled. The default value is false.
- private
Bucket DomainAuth Origin Origin Action Origin Line Private Bucket Auth - Represents the authentication information for the object storage bucket of a third-party cloud provider.
- region string
- This parameter is not currently available externally. Do not use this parameter.
- weight string
- Specifies the weight of the origin. Value range is 1–100, default is 1. The higher the weight, the more likely this origin is selected when the content delivery network sends a request to the origin. This parameter is only valid when InstanceType is ip or domain.
- address str
- Indicates the origin address. The parameter has the following instructions: If InstanceType is ip, you can set an IP address. The IP address can be either IPv4 or IPv6. If InstanceType is domain, you can set a domain name. The domain name cannot be a wildcard domain. If InstanceType is tos, you can set the domain name of an object storage bucket. The bucket can be from Alibaba Cloud, Tencent Cloud, or AWS. If you specify multiple origin configurations in this API request: All primary origin configurations must have the same InstanceType. All backup origin configurations must also have the same InstanceType. If the InstanceType in the primary origin configuration is ip or domain, the InstanceType in the backup origin configuration must also be ip or domain. The total number of primary and backup origin addresses cannot exceed 50.
- instance_
type str - Indicates the type of origin server. This parameter has the following values: ip: The origin server is accessed via IP address. domain: The origin server is accessed via domain name. tos: The origin server is an object storage bucket.
- origin_
type str - Indicates the type of origin server. This parameter has the following values: - primary: Primary origin server. - backup: Backup origin server. At least one primary origin server configuration must be included in this API request. Backup origin server configuration is optional.
- http_
port str - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The value range is 1–65535, and the default value is 80. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- https_
port str - Indicates the port used by the content delivery network to access the origin server via HTTPS. The value range is 1-65535, and the default value is 443. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- origin_
host str - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- private_
bucket_ boolaccess - Indicates whether private read permissions are enabled for the object storage bucket. This parameter is only valid when InstanceType is tos. The parameter values are: true: Enabled. false: Not enabled. The default value is false.
- private_
bucket_ Domainauth Origin Origin Action Origin Line Private Bucket Auth - Represents the authentication information for the object storage bucket of a third-party cloud provider.
- region str
- This parameter is not currently available externally. Do not use this parameter.
- weight str
- Specifies the weight of the origin. Value range is 1–100, default is 1. The higher the weight, the more likely this origin is selected when the content delivery network sends a request to the origin. This parameter is only valid when InstanceType is ip or domain.
- address String
- Indicates the origin address. The parameter has the following instructions: If InstanceType is ip, you can set an IP address. The IP address can be either IPv4 or IPv6. If InstanceType is domain, you can set a domain name. The domain name cannot be a wildcard domain. If InstanceType is tos, you can set the domain name of an object storage bucket. The bucket can be from Alibaba Cloud, Tencent Cloud, or AWS. If you specify multiple origin configurations in this API request: All primary origin configurations must have the same InstanceType. All backup origin configurations must also have the same InstanceType. If the InstanceType in the primary origin configuration is ip or domain, the InstanceType in the backup origin configuration must also be ip or domain. The total number of primary and backup origin addresses cannot exceed 50.
- instance
Type String - Indicates the type of origin server. This parameter has the following values: ip: The origin server is accessed via IP address. domain: The origin server is accessed via domain name. tos: The origin server is an object storage bucket.
- origin
Type String - Indicates the type of origin server. This parameter has the following values: - primary: Primary origin server. - backup: Backup origin server. At least one primary origin server configuration must be included in this API request. Backup origin server configuration is optional.
- http
Port String - Indicates the port used by the content delivery network to access the origin server via the HTTP protocol. The value range is 1–65535, and the default value is 80. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- https
Port String - Indicates the port used by the content delivery network to access the origin server via HTTPS. The value range is 1-65535, and the default value is 443. If the origin server does not support access on this port, you can specify the default value. This parameter is only valid when InstanceType is ip or domain.
- origin
Host String - If there are multiple sites on the origin server, this parameter specifies the domain name accessed by the origin request. This parameter applies to all origin configurations, but has lower priority than the OriginHost parameter in the origin configuration. The default value of this parameter is the same as Domain. If the origin is an object storage bucket, you do not need to specify this parameter. Its default value is the same as the Address in the origin configuration.
- private
Bucket BooleanAccess - Indicates whether private read permissions are enabled for the object storage bucket. This parameter is only valid when InstanceType is tos. The parameter values are: true: Enabled. false: Not enabled. The default value is false.
- private
Bucket Property MapAuth - Represents the authentication information for the object storage bucket of a third-party cloud provider.
- region String
- This parameter is not currently available externally. Do not use this parameter.
- weight String
- Specifies the weight of the origin. Value range is 1–100, default is 1. The higher the weight, the more likely this origin is selected when the content delivery network sends a request to the origin. This parameter is only valid when InstanceType is ip or domain.
DomainOriginOriginActionOriginLinePrivateBucketAuth, DomainOriginOriginActionOriginLinePrivateBucketAuthArgs
- Auth
Type string - Indicates the third-party cloud provider where the object storage bucket is located. The parameter values are: cos: Tencent Cloud. oss: Alibaba Cloud. aws: Amazon AWS.
- Switch bool
- Indicates whether the object storage bucket is from a third-party cloud provider. This parameter has the following values: true: the object storage bucket is from a third-party cloud provider. The default value is false
- Tos
Auth Byteplus.Information Domain Origin Origin Action Origin Line Private Bucket Auth Tos Auth Information - Specifies the access key for the third-party cloud provider. This parameter is only valid when Switch is true.
- Auth
Type string - Indicates the third-party cloud provider where the object storage bucket is located. The parameter values are: cos: Tencent Cloud. oss: Alibaba Cloud. aws: Amazon AWS.
- Switch bool
- Indicates whether the object storage bucket is from a third-party cloud provider. This parameter has the following values: true: the object storage bucket is from a third-party cloud provider. The default value is false
- Tos
Auth DomainInformation Origin Origin Action Origin Line Private Bucket Auth Tos Auth Information - Specifies the access key for the third-party cloud provider. This parameter is only valid when Switch is true.
- auth
Type String - Indicates the third-party cloud provider where the object storage bucket is located. The parameter values are: cos: Tencent Cloud. oss: Alibaba Cloud. aws: Amazon AWS.
- switch_ Boolean
- Indicates whether the object storage bucket is from a third-party cloud provider. This parameter has the following values: true: the object storage bucket is from a third-party cloud provider. The default value is false
- tos
Auth DomainInformation Origin Origin Action Origin Line Private Bucket Auth Tos Auth Information - Specifies the access key for the third-party cloud provider. This parameter is only valid when Switch is true.
- auth
Type string - Indicates the third-party cloud provider where the object storage bucket is located. The parameter values are: cos: Tencent Cloud. oss: Alibaba Cloud. aws: Amazon AWS.
- switch boolean
- Indicates whether the object storage bucket is from a third-party cloud provider. This parameter has the following values: true: the object storage bucket is from a third-party cloud provider. The default value is false
- tos
Auth DomainInformation Origin Origin Action Origin Line Private Bucket Auth Tos Auth Information - Specifies the access key for the third-party cloud provider. This parameter is only valid when Switch is true.
- auth_
type str - Indicates the third-party cloud provider where the object storage bucket is located. The parameter values are: cos: Tencent Cloud. oss: Alibaba Cloud. aws: Amazon AWS.
- switch bool
- Indicates whether the object storage bucket is from a third-party cloud provider. This parameter has the following values: true: the object storage bucket is from a third-party cloud provider. The default value is false
- tos_
auth_ Domaininformation Origin Origin Action Origin Line Private Bucket Auth Tos Auth Information - Specifies the access key for the third-party cloud provider. This parameter is only valid when Switch is true.
- auth
Type String - Indicates the third-party cloud provider where the object storage bucket is located. The parameter values are: cos: Tencent Cloud. oss: Alibaba Cloud. aws: Amazon AWS.
- switch Boolean
- Indicates whether the object storage bucket is from a third-party cloud provider. This parameter has the following values: true: the object storage bucket is from a third-party cloud provider. The default value is false
- tos
Auth Property MapInformation - Specifies the access key for the third-party cloud provider. This parameter is only valid when Switch is true.
DomainOriginOriginActionOriginLinePrivateBucketAuthTosAuthInformation, DomainOriginOriginActionOriginLinePrivateBucketAuthTosAuthInformationArgs
- Access
Key stringId - Specifies the AccessKey ID for your Alibaba Cloud account, SecretId for your Tencent Cloud account, or access key ID for your AWS account.
- Access
Key stringSecret - Indicates the AccessKey Secret for your Alibaba Cloud account, the SecretKey for your Tencent Cloud account, or the secret access key for your AWS account.
- Access
Key stringId - Specifies the AccessKey ID for your Alibaba Cloud account, SecretId for your Tencent Cloud account, or access key ID for your AWS account.
- Access
Key stringSecret - Indicates the AccessKey Secret for your Alibaba Cloud account, the SecretKey for your Tencent Cloud account, or the secret access key for your AWS account.
- access
Key StringId - Specifies the AccessKey ID for your Alibaba Cloud account, SecretId for your Tencent Cloud account, or access key ID for your AWS account.
- access
Key StringSecret - Indicates the AccessKey Secret for your Alibaba Cloud account, the SecretKey for your Tencent Cloud account, or the secret access key for your AWS account.
- access
Key stringId - Specifies the AccessKey ID for your Alibaba Cloud account, SecretId for your Tencent Cloud account, or access key ID for your AWS account.
- access
Key stringSecret - Indicates the AccessKey Secret for your Alibaba Cloud account, the SecretKey for your Tencent Cloud account, or the secret access key for your AWS account.
- access_
key_ strid - Specifies the AccessKey ID for your Alibaba Cloud account, SecretId for your Tencent Cloud account, or access key ID for your AWS account.
- access_
key_ strsecret - Indicates the AccessKey Secret for your Alibaba Cloud account, the SecretKey for your Tencent Cloud account, or the secret access key for your AWS account.
- access
Key StringId - Specifies the AccessKey ID for your Alibaba Cloud account, SecretId for your Tencent Cloud account, or access key ID for your AWS account.
- access
Key StringSecret - Indicates the AccessKey Secret for your Alibaba Cloud account, the SecretKey for your Tencent Cloud account, or the secret access key for your AWS account.
DomainOriginRetry, DomainOriginRetryArgs
- Status
Code string - Indicates one or more status codes in the range 400–599. Separate multiple status codes with a semicolon (;). You can enter 4xx or 5xx to represent all status codes starting with the digit 4 or 5.
- Switch bool
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- Status
Code string - Indicates one or more status codes in the range 400–599. Separate multiple status codes with a semicolon (;). You can enter 4xx or 5xx to represent all status codes starting with the digit 4 or 5.
- Switch bool
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- status
Code String - Indicates one or more status codes in the range 400–599. Separate multiple status codes with a semicolon (;). You can enter 4xx or 5xx to represent all status codes starting with the digit 4 or 5.
- switch_ Boolean
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- status
Code string - Indicates one or more status codes in the range 400–599. Separate multiple status codes with a semicolon (;). You can enter 4xx or 5xx to represent all status codes starting with the digit 4 or 5.
- switch boolean
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- status_
code str - Indicates one or more status codes in the range 400–599. Separate multiple status codes with a semicolon (;). You can enter 4xx or 5xx to represent all status codes starting with the digit 4 or 5.
- switch bool
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
- status
Code String - Indicates one or more status codes in the range 400–599. Separate multiple status codes with a semicolon (;). You can enter 4xx or 5xx to represent all status codes starting with the digit 4 or 5.
- switch Boolean
- Indicates whether this feature is enabled. The parameter values are: true: Enabled. false: Disabled. The default value is false.
DomainOriginRewrite, DomainOriginRewriteArgs
- Origin
Rewrite List<Byteplus.Rules Domain Origin Rewrite Origin Rewrite Rule> - Switch bool
- Indicates whether to enable this module. The parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- Origin
Rewrite []DomainRules Origin Rewrite Origin Rewrite Rule - Switch bool
- Indicates whether to enable this module. The parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- origin
Rewrite List<DomainRules Origin Rewrite Origin Rewrite Rule> - switch_ Boolean
- Indicates whether to enable this module. The parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- origin
Rewrite DomainRules Origin Rewrite Origin Rewrite Rule[] - switch boolean
- Indicates whether to enable this module. The parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- origin_
rewrite_ Sequence[Domainrules Origin Rewrite Origin Rewrite Rule] - switch bool
- Indicates whether to enable this module. The parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- origin
Rewrite List<Property Map>Rules - switch Boolean
- Indicates whether to enable this module. The parameter has the following values: true: enables the module. false: disables the module. The default value is false.
DomainOriginRewriteOriginRewriteRule, DomainOriginRewriteOriginRewriteRuleArgs
- Condition
Byteplus.
Domain Origin Rewrite Origin Rewrite Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Origin
Rewrite Byteplus.Action Domain Origin Rewrite Origin Rewrite Rule Origin Rewrite Action - Indicates a rule configuration for origin path rewrite.
- Condition
Domain
Origin Rewrite Origin Rewrite Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Origin
Rewrite DomainAction Origin Rewrite Origin Rewrite Rule Origin Rewrite Action - Indicates a rule configuration for origin path rewrite.
- condition
Domain
Origin Rewrite Origin Rewrite Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Rewrite DomainAction Origin Rewrite Origin Rewrite Rule Origin Rewrite Action - Indicates a rule configuration for origin path rewrite.
- condition
Domain
Origin Rewrite Origin Rewrite Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Rewrite DomainAction Origin Rewrite Origin Rewrite Rule Origin Rewrite Action - Indicates a rule configuration for origin path rewrite.
- condition
Domain
Origin Rewrite Origin Rewrite Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin_
rewrite_ Domainaction Origin Rewrite Origin Rewrite Rule Origin Rewrite Action - Indicates a rule configuration for origin path rewrite.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- origin
Rewrite Property MapAction - Indicates a rule configuration for origin path rewrite.
DomainOriginRewriteOriginRewriteRuleCondition, DomainOriginRewriteOriginRewriteRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Origin Rewrite Origin Rewrite Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainOrigin Rewrite Origin Rewrite Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainOrigin Rewrite Origin Rewrite Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainOrigin Rewrite Origin Rewrite Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainOrigin Rewrite Origin Rewrite Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainOriginRewriteOriginRewriteRuleConditionConditionRule, DomainOriginRewriteOriginRewriteRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainOriginRewriteOriginRewriteRuleOriginRewriteAction, DomainOriginRewriteOriginRewriteRuleOriginRewriteActionArgs
- Rewrite
Type string - Indicates the rewrite type. This parameter supports the following values: rewritepath: rewrites the path in the request URL. rewriteurl: rewrites both the path and query string in the request URL. The default value is rewrite_path.
- Source
Path string - Indicates a regular expression, with a maximum length of 1,024 characters, used to match objects in the user's request URL. For a user request, if the regular expression matches any part of the object, this rule applies to the request. When RewriteType is rewritepath, the object refers to the path in the request URL. When RewriteType is rewriteurl, the object refers to both the path and query string in the request URL.
- Target
Path string - Indicates the object in the origin request URL after rewriting. When RewriteType is rewritepath, this object is the path in the origin request URL. When RewriteType is rewriteurl, this object is the path and query string in the origin request URL. You can use $1, $2, $3, etc. in TargetPath to represent groups defined in the regular expression of SourcePath.
- Rewrite
Type string - Indicates the rewrite type. This parameter supports the following values: rewritepath: rewrites the path in the request URL. rewriteurl: rewrites both the path and query string in the request URL. The default value is rewrite_path.
- Source
Path string - Indicates a regular expression, with a maximum length of 1,024 characters, used to match objects in the user's request URL. For a user request, if the regular expression matches any part of the object, this rule applies to the request. When RewriteType is rewritepath, the object refers to the path in the request URL. When RewriteType is rewriteurl, the object refers to both the path and query string in the request URL.
- Target
Path string - Indicates the object in the origin request URL after rewriting. When RewriteType is rewritepath, this object is the path in the origin request URL. When RewriteType is rewriteurl, this object is the path and query string in the origin request URL. You can use $1, $2, $3, etc. in TargetPath to represent groups defined in the regular expression of SourcePath.
- rewrite
Type String - Indicates the rewrite type. This parameter supports the following values: rewritepath: rewrites the path in the request URL. rewriteurl: rewrites both the path and query string in the request URL. The default value is rewrite_path.
- source
Path String - Indicates a regular expression, with a maximum length of 1,024 characters, used to match objects in the user's request URL. For a user request, if the regular expression matches any part of the object, this rule applies to the request. When RewriteType is rewritepath, the object refers to the path in the request URL. When RewriteType is rewriteurl, the object refers to both the path and query string in the request URL.
- target
Path String - Indicates the object in the origin request URL after rewriting. When RewriteType is rewritepath, this object is the path in the origin request URL. When RewriteType is rewriteurl, this object is the path and query string in the origin request URL. You can use $1, $2, $3, etc. in TargetPath to represent groups defined in the regular expression of SourcePath.
- rewrite
Type string - Indicates the rewrite type. This parameter supports the following values: rewritepath: rewrites the path in the request URL. rewriteurl: rewrites both the path and query string in the request URL. The default value is rewrite_path.
- source
Path string - Indicates a regular expression, with a maximum length of 1,024 characters, used to match objects in the user's request URL. For a user request, if the regular expression matches any part of the object, this rule applies to the request. When RewriteType is rewritepath, the object refers to the path in the request URL. When RewriteType is rewriteurl, the object refers to both the path and query string in the request URL.
- target
Path string - Indicates the object in the origin request URL after rewriting. When RewriteType is rewritepath, this object is the path in the origin request URL. When RewriteType is rewriteurl, this object is the path and query string in the origin request URL. You can use $1, $2, $3, etc. in TargetPath to represent groups defined in the regular expression of SourcePath.
- rewrite_
type str - Indicates the rewrite type. This parameter supports the following values: rewritepath: rewrites the path in the request URL. rewriteurl: rewrites both the path and query string in the request URL. The default value is rewrite_path.
- source_
path str - Indicates a regular expression, with a maximum length of 1,024 characters, used to match objects in the user's request URL. For a user request, if the regular expression matches any part of the object, this rule applies to the request. When RewriteType is rewritepath, the object refers to the path in the request URL. When RewriteType is rewriteurl, the object refers to both the path and query string in the request URL.
- target_
path str - Indicates the object in the origin request URL after rewriting. When RewriteType is rewritepath, this object is the path in the origin request URL. When RewriteType is rewriteurl, this object is the path and query string in the origin request URL. You can use $1, $2, $3, etc. in TargetPath to represent groups defined in the regular expression of SourcePath.
- rewrite
Type String - Indicates the rewrite type. This parameter supports the following values: rewritepath: rewrites the path in the request URL. rewriteurl: rewrites both the path and query string in the request URL. The default value is rewrite_path.
- source
Path String - Indicates a regular expression, with a maximum length of 1,024 characters, used to match objects in the user's request URL. For a user request, if the regular expression matches any part of the object, this rule applies to the request. When RewriteType is rewritepath, the object refers to the path in the request URL. When RewriteType is rewriteurl, the object refers to both the path and query string in the request URL.
- target
Path String - Indicates the object in the origin request URL after rewriting. When RewriteType is rewritepath, this object is the path in the origin request URL. When RewriteType is rewriteurl, this object is the path and query string in the origin request URL. You can use $1, $2, $3, etc. in TargetPath to represent groups defined in the regular expression of SourcePath.
DomainOriginSni, DomainOriginSniArgs
- Sni
Domain string - Specifies the domain name for origin SNI. When Switch is true, this parameter is required. The value cannot exceed 1,024 characters.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- Sni
Domain string - Specifies the domain name for origin SNI. When Switch is true, this parameter is required. The value cannot exceed 1,024 characters.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sni
Domain String - Specifies the domain name for origin SNI. When Switch is true, this parameter is required. The value cannot exceed 1,024 characters.
- switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sni
Domain string - Specifies the domain name for origin SNI. When Switch is true, this parameter is required. The value cannot exceed 1,024 characters.
- switch boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sni_
domain str - Specifies the domain name for origin SNI. When Switch is true, this parameter is required. The value cannot exceed 1,024 characters.
- switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sni
Domain String - Specifies the domain name for origin SNI. When Switch is true, this parameter is required. The value cannot exceed 1,024 characters.
- switch Boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
DomainPageOptimization, DomainPageOptimizationArgs
- Optimization
Types List<string> - Specifies the optimization target. This parameter has the following values: html: HTML page. js: JavaScript code. css: CSS code. The default value is html. If you specify js or css, html must also be specified.
- Switch bool
- Indicates whether this feature is enabled. The parameter values are: true: The feature is enabled. false: The feature is disabled.
- Optimization
Types []string - Specifies the optimization target. This parameter has the following values: html: HTML page. js: JavaScript code. css: CSS code. The default value is html. If you specify js or css, html must also be specified.
- Switch bool
- Indicates whether this feature is enabled. The parameter values are: true: The feature is enabled. false: The feature is disabled.
- optimization
Types List<String> - Specifies the optimization target. This parameter has the following values: html: HTML page. js: JavaScript code. css: CSS code. The default value is html. If you specify js or css, html must also be specified.
- switch_ Boolean
- Indicates whether this feature is enabled. The parameter values are: true: The feature is enabled. false: The feature is disabled.
- optimization
Types string[] - Specifies the optimization target. This parameter has the following values: html: HTML page. js: JavaScript code. css: CSS code. The default value is html. If you specify js or css, html must also be specified.
- switch boolean
- Indicates whether this feature is enabled. The parameter values are: true: The feature is enabled. false: The feature is disabled.
- optimization_
types Sequence[str] - Specifies the optimization target. This parameter has the following values: html: HTML page. js: JavaScript code. css: CSS code. The default value is html. If you specify js or css, html must also be specified.
- switch bool
- Indicates whether this feature is enabled. The parameter values are: true: The feature is enabled. false: The feature is disabled.
- optimization
Types List<String> - Specifies the optimization target. This parameter has the following values: html: HTML page. js: JavaScript code. css: CSS code. The default value is html. If you specify js or css, html must also be specified.
- switch Boolean
- Indicates whether this feature is enabled. The parameter values are: true: The feature is enabled. false: The feature is disabled.
DomainQuic, DomainQuicArgs
- Switch bool
- QUIC configuration switch. The parameter values are as follows: true: enables QUIC. false: disables QUIC. To enable QUIC, you must first enable HTTPS.
- Switch bool
- QUIC configuration switch. The parameter values are as follows: true: enables QUIC. false: disables QUIC. To enable QUIC, you must first enable HTTPS.
- switch_ Boolean
- QUIC configuration switch. The parameter values are as follows: true: enables QUIC. false: disables QUIC. To enable QUIC, you must first enable HTTPS.
- switch boolean
- QUIC configuration switch. The parameter values are as follows: true: enables QUIC. false: disables QUIC. To enable QUIC, you must first enable HTTPS.
- switch bool
- QUIC configuration switch. The parameter values are as follows: true: enables QUIC. false: disables QUIC. To enable QUIC, you must first enable HTTPS.
- switch Boolean
- QUIC configuration switch. The parameter values are as follows: true: enables QUIC. false: disables QUIC. To enable QUIC, you must first enable HTTPS.
DomainRedirectionRewrite, DomainRedirectionRewriteArgs
- Redirection
Rules List<Byteplus.Domain Redirection Rewrite Redirection Rule> - Switch bool
- Indicates whether this configuration is enabled. This parameter has the following values: true: enables URL redirect rewrite. false: disables URL redirect rewrite.
- Redirection
Rules []DomainRedirection Rewrite Redirection Rule - Switch bool
- Indicates whether this configuration is enabled. This parameter has the following values: true: enables URL redirect rewrite. false: disables URL redirect rewrite.
- redirection
Rules List<DomainRedirection Rewrite Redirection Rule> - switch_ Boolean
- Indicates whether this configuration is enabled. This parameter has the following values: true: enables URL redirect rewrite. false: disables URL redirect rewrite.
- redirection
Rules DomainRedirection Rewrite Redirection Rule[] - switch boolean
- Indicates whether this configuration is enabled. This parameter has the following values: true: enables URL redirect rewrite. false: disables URL redirect rewrite.
- redirection_
rules Sequence[DomainRedirection Rewrite Redirection Rule] - switch bool
- Indicates whether this configuration is enabled. This parameter has the following values: true: enables URL redirect rewrite. false: disables URL redirect rewrite.
- redirection
Rules List<Property Map> - switch Boolean
- Indicates whether this configuration is enabled. This parameter has the following values: true: enables URL redirect rewrite. false: disables URL redirect rewrite.
DomainRedirectionRewriteRedirectionRule, DomainRedirectionRewriteRedirectionRuleArgs
- Redirection
Action Byteplus.Domain Redirection Rewrite Redirection Rule Redirection Action - Indicates a URL redirect rewrite rule
- Redirection
Action DomainRedirection Rewrite Redirection Rule Redirection Action - Indicates a URL redirect rewrite rule
- redirection
Action DomainRedirection Rewrite Redirection Rule Redirection Action - Indicates a URL redirect rewrite rule
- redirection
Action DomainRedirection Rewrite Redirection Rule Redirection Action - Indicates a URL redirect rewrite rule
- redirection_
action DomainRedirection Rewrite Redirection Rule Redirection Action - Indicates a URL redirect rewrite rule
- redirection
Action Property Map - Indicates a URL redirect rewrite rule
DomainRedirectionRewriteRedirectionRuleRedirectionAction, DomainRedirectionRewriteRedirectionRuleRedirectionActionArgs
- Redirect
Code string - Indicates the response status code for URL redirection. Valid values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original and is not changed.
- Source
Path string - Specifies the original file path, which is the path included in the request. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value of this parameter cannot exceed 1,024 characters.
- Target
Host string - Indicates the domain name or IP address of the site to which the target path belongs. The IP address must be IPv4. The parameter value cannot exceed 1,024 characters. The default value is your acceleration domain name.
- Target
Path string - Indicates the target path after redirection. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value cannot exceed 1,024 characters.
- Target
Protocol string - Specifies the protocol used for the new request after URL redirection. The parameter values are: followclient: use the protocol of the original request; http: force the new request to use HTTP; https: force the new request to use HTTPS.
- Target
Query Byteplus.Components Domain Redirection Rewrite Redirection Rule Redirection Action Target Query Components - Indicates how the query parameters in the original request URL are handled.
- Redirect
Code string - Indicates the response status code for URL redirection. Valid values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original and is not changed.
- Source
Path string - Specifies the original file path, which is the path included in the request. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value of this parameter cannot exceed 1,024 characters.
- Target
Host string - Indicates the domain name or IP address of the site to which the target path belongs. The IP address must be IPv4. The parameter value cannot exceed 1,024 characters. The default value is your acceleration domain name.
- Target
Path string - Indicates the target path after redirection. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value cannot exceed 1,024 characters.
- Target
Protocol string - Specifies the protocol used for the new request after URL redirection. The parameter values are: followclient: use the protocol of the original request; http: force the new request to use HTTP; https: force the new request to use HTTPS.
- Target
Query DomainComponents Redirection Rewrite Redirection Rule Redirection Action Target Query Components - Indicates how the query parameters in the original request URL are handled.
- redirect
Code String - Indicates the response status code for URL redirection. Valid values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original and is not changed.
- source
Path String - Specifies the original file path, which is the path included in the request. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value of this parameter cannot exceed 1,024 characters.
- target
Host String - Indicates the domain name or IP address of the site to which the target path belongs. The IP address must be IPv4. The parameter value cannot exceed 1,024 characters. The default value is your acceleration domain name.
- target
Path String - Indicates the target path after redirection. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value cannot exceed 1,024 characters.
- target
Protocol String - Specifies the protocol used for the new request after URL redirection. The parameter values are: followclient: use the protocol of the original request; http: force the new request to use HTTP; https: force the new request to use HTTPS.
- target
Query DomainComponents Redirection Rewrite Redirection Rule Redirection Action Target Query Components - Indicates how the query parameters in the original request URL are handled.
- redirect
Code string - Indicates the response status code for URL redirection. Valid values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original and is not changed.
- source
Path string - Specifies the original file path, which is the path included in the request. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value of this parameter cannot exceed 1,024 characters.
- target
Host string - Indicates the domain name or IP address of the site to which the target path belongs. The IP address must be IPv4. The parameter value cannot exceed 1,024 characters. The default value is your acceleration domain name.
- target
Path string - Indicates the target path after redirection. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value cannot exceed 1,024 characters.
- target
Protocol string - Specifies the protocol used for the new request after URL redirection. The parameter values are: followclient: use the protocol of the original request; http: force the new request to use HTTP; https: force the new request to use HTTPS.
- target
Query DomainComponents Redirection Rewrite Redirection Rule Redirection Action Target Query Components - Indicates how the query parameters in the original request URL are handled.
- redirect_
code str - Indicates the response status code for URL redirection. Valid values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original and is not changed.
- source_
path str - Specifies the original file path, which is the path included in the request. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value of this parameter cannot exceed 1,024 characters.
- target_
host str - Indicates the domain name or IP address of the site to which the target path belongs. The IP address must be IPv4. The parameter value cannot exceed 1,024 characters. The default value is your acceleration domain name.
- target_
path str - Indicates the target path after redirection. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value cannot exceed 1,024 characters.
- target_
protocol str - Specifies the protocol used for the new request after URL redirection. The parameter values are: followclient: use the protocol of the original request; http: force the new request to use HTTP; https: force the new request to use HTTPS.
- target_
query_ Domaincomponents Redirection Rewrite Redirection Rule Redirection Action Target Query Components - Indicates how the query parameters in the original request URL are handled.
- redirect
Code String - Indicates the response status code for URL redirection. Valid values are 301, 302, 303, 307, and 308. Note: For 301 and 302, if the original request method is not GET, the client may use GET when sending the new request to the new URL. For 303, the new request method is GET. For 307 and 308, the new request method remains the same as the original and is not changed.
- source
Path String - Specifies the original file path, which is the path included in the request. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value of this parameter cannot exceed 1,024 characters.
- target
Host String - Indicates the domain name or IP address of the site to which the target path belongs. The IP address must be IPv4. The parameter value cannot exceed 1,024 characters. The default value is your acceleration domain name.
- target
Path String - Indicates the target path after redirection. The path must start with a slash (/) and cannot contain consecutive slashes (//), percent signs (%), or spaces. The value cannot exceed 1,024 characters.
- target
Protocol String - Specifies the protocol used for the new request after URL redirection. The parameter values are: followclient: use the protocol of the original request; http: force the new request to use HTTP; https: force the new request to use HTTPS.
- target
Query Property MapComponents - Indicates how the query parameters in the original request URL are handled.
DomainRedirectionRewriteRedirectionRuleRedirectionActionTargetQueryComponents, DomainRedirectionRewriteRedirectionRuleRedirectionActionTargetQueryComponentsArgs
- Action string
- Indicates how to handle query parameters in the original request URL. This parameter has the following values: include: includes all query parameters from the original request URL in the redirected URL. exclude: excludes all query parameters from the original request URL in the redirected URL. includePart: includes specific query parameters from the original request URL in the redirected URL. excludePart: excludes specific query parameters from the original request URL in the redirected URL.
- Value string
- Indicates the query parameters to retain or remove. Multiple query parameters are separated by a semicolon (;). The specified query parameters cannot contain consecutive slashes (//), percent signs ("), or spaces. The default value of Value is *, which means all query parameters. If Action is include or exclude, Value must be *. If Action is includePart or excludePart, you can specify one or more query parameters. In this case, the specified query parameters cannot be *.
- Action string
- Indicates how to handle query parameters in the original request URL. This parameter has the following values: include: includes all query parameters from the original request URL in the redirected URL. exclude: excludes all query parameters from the original request URL in the redirected URL. includePart: includes specific query parameters from the original request URL in the redirected URL. excludePart: excludes specific query parameters from the original request URL in the redirected URL.
- Value string
- Indicates the query parameters to retain or remove. Multiple query parameters are separated by a semicolon (;). The specified query parameters cannot contain consecutive slashes (//), percent signs ("), or spaces. The default value of Value is *, which means all query parameters. If Action is include or exclude, Value must be *. If Action is includePart or excludePart, you can specify one or more query parameters. In this case, the specified query parameters cannot be *.
- action String
- Indicates how to handle query parameters in the original request URL. This parameter has the following values: include: includes all query parameters from the original request URL in the redirected URL. exclude: excludes all query parameters from the original request URL in the redirected URL. includePart: includes specific query parameters from the original request URL in the redirected URL. excludePart: excludes specific query parameters from the original request URL in the redirected URL.
- value String
- Indicates the query parameters to retain or remove. Multiple query parameters are separated by a semicolon (;). The specified query parameters cannot contain consecutive slashes (//), percent signs ("), or spaces. The default value of Value is *, which means all query parameters. If Action is include or exclude, Value must be *. If Action is includePart or excludePart, you can specify one or more query parameters. In this case, the specified query parameters cannot be *.
- action string
- Indicates how to handle query parameters in the original request URL. This parameter has the following values: include: includes all query parameters from the original request URL in the redirected URL. exclude: excludes all query parameters from the original request URL in the redirected URL. includePart: includes specific query parameters from the original request URL in the redirected URL. excludePart: excludes specific query parameters from the original request URL in the redirected URL.
- value string
- Indicates the query parameters to retain or remove. Multiple query parameters are separated by a semicolon (;). The specified query parameters cannot contain consecutive slashes (//), percent signs ("), or spaces. The default value of Value is *, which means all query parameters. If Action is include or exclude, Value must be *. If Action is includePart or excludePart, you can specify one or more query parameters. In this case, the specified query parameters cannot be *.
- action str
- Indicates how to handle query parameters in the original request URL. This parameter has the following values: include: includes all query parameters from the original request URL in the redirected URL. exclude: excludes all query parameters from the original request URL in the redirected URL. includePart: includes specific query parameters from the original request URL in the redirected URL. excludePart: excludes specific query parameters from the original request URL in the redirected URL.
- value str
- Indicates the query parameters to retain or remove. Multiple query parameters are separated by a semicolon (;). The specified query parameters cannot contain consecutive slashes (//), percent signs ("), or spaces. The default value of Value is *, which means all query parameters. If Action is include or exclude, Value must be *. If Action is includePart or excludePart, you can specify one or more query parameters. In this case, the specified query parameters cannot be *.
- action String
- Indicates how to handle query parameters in the original request URL. This parameter has the following values: include: includes all query parameters from the original request URL in the redirected URL. exclude: excludes all query parameters from the original request URL in the redirected URL. includePart: includes specific query parameters from the original request URL in the redirected URL. excludePart: excludes specific query parameters from the original request URL in the redirected URL.
- value String
- Indicates the query parameters to retain or remove. Multiple query parameters are separated by a semicolon (;). The specified query parameters cannot contain consecutive slashes (//), percent signs ("), or spaces. The default value of Value is *, which means all query parameters. If Action is include or exclude, Value must be *. If Action is includePart or excludePart, you can specify one or more query parameters. In this case, the specified query parameters cannot be *.
DomainRefererAccessRule, DomainRefererAccessRuleArgs
- Allow
Empty bool - Specifies whether the content delivery network accepts a request when the Referer header in the user's request is empty (""). This parameter has the following values: true: accepts the request; false: rejects the request. The default value is false.
- Referers List<string>
- Indicates a list of Referers. The input requirements for this parameter are consistent with those for Referers under the CommonType of ReferersType. We recommend using ReferersType to specify the Referer list. If you specify SharedConfig, you cannot specify this parameter.
- Referers
Type Byteplus.Domain Referer Access Rule Referers Type - Indicates a ReferersType object. It contains a CommonType object and a RegularType object, representing a standard Referer list and a Referer regular expression list, respectively. If you specify SharedConfig, you cannot specify this parameter.
- Rule
Type string - Indicates the type of Referer list. This parameter is required when Switch is true. This parameter has the following values: allow: indicates Allowlist. deny: indicates Denylist.
-
Byteplus.
Domain Referer Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify Referers or ReferersType.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- Allow
Empty bool - Specifies whether the content delivery network accepts a request when the Referer header in the user's request is empty (""). This parameter has the following values: true: accepts the request; false: rejects the request. The default value is false.
- Referers []string
- Indicates a list of Referers. The input requirements for this parameter are consistent with those for Referers under the CommonType of ReferersType. We recommend using ReferersType to specify the Referer list. If you specify SharedConfig, you cannot specify this parameter.
- Referers
Type DomainReferer Access Rule Referers Type - Indicates a ReferersType object. It contains a CommonType object and a RegularType object, representing a standard Referer list and a Referer regular expression list, respectively. If you specify SharedConfig, you cannot specify this parameter.
- Rule
Type string - Indicates the type of Referer list. This parameter is required when Switch is true. This parameter has the following values: allow: indicates Allowlist. deny: indicates Denylist.
-
Domain
Referer Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify Referers or ReferersType.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow
Empty Boolean - Specifies whether the content delivery network accepts a request when the Referer header in the user's request is empty (""). This parameter has the following values: true: accepts the request; false: rejects the request. The default value is false.
- referers List<String>
- Indicates a list of Referers. The input requirements for this parameter are consistent with those for Referers under the CommonType of ReferersType. We recommend using ReferersType to specify the Referer list. If you specify SharedConfig, you cannot specify this parameter.
- referers
Type DomainReferer Access Rule Referers Type - Indicates a ReferersType object. It contains a CommonType object and a RegularType object, representing a standard Referer list and a Referer regular expression list, respectively. If you specify SharedConfig, you cannot specify this parameter.
- rule
Type String - Indicates the type of Referer list. This parameter is required when Switch is true. This parameter has the following values: allow: indicates Allowlist. deny: indicates Denylist.
-
Domain
Referer Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify Referers or ReferersType.
- switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow
Empty boolean - Specifies whether the content delivery network accepts a request when the Referer header in the user's request is empty (""). This parameter has the following values: true: accepts the request; false: rejects the request. The default value is false.
- referers string[]
- Indicates a list of Referers. The input requirements for this parameter are consistent with those for Referers under the CommonType of ReferersType. We recommend using ReferersType to specify the Referer list. If you specify SharedConfig, you cannot specify this parameter.
- referers
Type DomainReferer Access Rule Referers Type - Indicates a ReferersType object. It contains a CommonType object and a RegularType object, representing a standard Referer list and a Referer regular expression list, respectively. If you specify SharedConfig, you cannot specify this parameter.
- rule
Type string - Indicates the type of Referer list. This parameter is required when Switch is true. This parameter has the following values: allow: indicates Allowlist. deny: indicates Denylist.
-
Domain
Referer Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify Referers or ReferersType.
- switch boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow_
empty bool - Specifies whether the content delivery network accepts a request when the Referer header in the user's request is empty (""). This parameter has the following values: true: accepts the request; false: rejects the request. The default value is false.
- referers Sequence[str]
- Indicates a list of Referers. The input requirements for this parameter are consistent with those for Referers under the CommonType of ReferersType. We recommend using ReferersType to specify the Referer list. If you specify SharedConfig, you cannot specify this parameter.
- referers_
type DomainReferer Access Rule Referers Type - Indicates a ReferersType object. It contains a CommonType object and a RegularType object, representing a standard Referer list and a Referer regular expression list, respectively. If you specify SharedConfig, you cannot specify this parameter.
- rule_
type str - Indicates the type of Referer list. This parameter is required when Switch is true. This parameter has the following values: allow: indicates Allowlist. deny: indicates Denylist.
-
Domain
Referer Access Rule Shared Config - Represents a global configuration. If you specify this parameter, you cannot specify Referers or ReferersType.
- switch bool
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
- allow
Empty Boolean - Specifies whether the content delivery network accepts a request when the Referer header in the user's request is empty (""). This parameter has the following values: true: accepts the request; false: rejects the request. The default value is false.
- referers List<String>
- Indicates a list of Referers. The input requirements for this parameter are consistent with those for Referers under the CommonType of ReferersType. We recommend using ReferersType to specify the Referer list. If you specify SharedConfig, you cannot specify this parameter.
- referers
Type Property Map - Indicates a ReferersType object. It contains a CommonType object and a RegularType object, representing a standard Referer list and a Referer regular expression list, respectively. If you specify SharedConfig, you cannot specify this parameter.
- rule
Type String - Indicates the type of Referer list. This parameter is required when Switch is true. This parameter has the following values: allow: indicates Allowlist. deny: indicates Denylist.
- Property Map
- Represents a global configuration. If you specify this parameter, you cannot specify Referers or ReferersType.
- switch Boolean
- Indicates whether this feature is enabled. This parameter has the following values: true: enables the feature. false: disables the feature.
DomainRefererAccessRuleReferersType, DomainRefererAccessRuleReferersTypeArgs
- Common
Type Byteplus.Domain Referer Access Rule Referers Type Common Type - Indicates a CommonType object that contains a list of standard Referers.
- Regular
Type Byteplus.Domain Referer Access Rule Referers Type Regular Type - Specifies a RegularType object, which contains a list of regular expressions used to match the Referer header value in requests This parameter provides the allowlist feature To use this parameter, submit a ticket Note that if the Referer header value in a request matches the Referers list under CommonType or the Referers list under RegularType, the content delivery network considers it a match
- Common
Type DomainReferer Access Rule Referers Type Common Type - Indicates a CommonType object that contains a list of standard Referers.
- Regular
Type DomainReferer Access Rule Referers Type Regular Type - Specifies a RegularType object, which contains a list of regular expressions used to match the Referer header value in requests This parameter provides the allowlist feature To use this parameter, submit a ticket Note that if the Referer header value in a request matches the Referers list under CommonType or the Referers list under RegularType, the content delivery network considers it a match
- common
Type DomainReferer Access Rule Referers Type Common Type - Indicates a CommonType object that contains a list of standard Referers.
- regular
Type DomainReferer Access Rule Referers Type Regular Type - Specifies a RegularType object, which contains a list of regular expressions used to match the Referer header value in requests This parameter provides the allowlist feature To use this parameter, submit a ticket Note that if the Referer header value in a request matches the Referers list under CommonType or the Referers list under RegularType, the content delivery network considers it a match
- common
Type DomainReferer Access Rule Referers Type Common Type - Indicates a CommonType object that contains a list of standard Referers.
- regular
Type DomainReferer Access Rule Referers Type Regular Type - Specifies a RegularType object, which contains a list of regular expressions used to match the Referer header value in requests This parameter provides the allowlist feature To use this parameter, submit a ticket Note that if the Referer header value in a request matches the Referers list under CommonType or the Referers list under RegularType, the content delivery network considers it a match
- common_
type DomainReferer Access Rule Referers Type Common Type - Indicates a CommonType object that contains a list of standard Referers.
- regular_
type DomainReferer Access Rule Referers Type Regular Type - Specifies a RegularType object, which contains a list of regular expressions used to match the Referer header value in requests This parameter provides the allowlist feature To use this parameter, submit a ticket Note that if the Referer header value in a request matches the Referers list under CommonType or the Referers list under RegularType, the content delivery network considers it a match
- common
Type Property Map - Indicates a CommonType object that contains a list of standard Referers.
- regular
Type Property Map - Specifies a RegularType object, which contains a list of regular expressions used to match the Referer header value in requests This parameter provides the allowlist feature To use this parameter, submit a ticket Note that if the Referer header value in a request matches the Referers list under CommonType or the Referers list under RegularType, the content delivery network considers it a match
DomainRefererAccessRuleReferersTypeCommonType, DomainRefererAccessRuleReferersTypeCommonTypeArgs
- Ignore
Case bool - Specifies whether the Referers list under CommonType is case sensitive during matching. The parameter supports the following values: true: not case sensitive. false: case sensitive. The default value is true.
- Ignore
Scheme bool - Indicates whether the Referer header value in this Referers list under CommonType must start with HTTP or HTTPS. This parameter has the following values: true: Referer header values that do not start with HTTP or HTTPS are valid. In this case, the content delivery network will attempt to match them with the Referers list. false: Referer header values that do not start with HTTP or HTTPS are invalid. In this case, the content delivery network determines that they do not match the Referers list under CommonType. The default value is false.
- Referers List<string>
- Represents a standard Referer list. In this list, you can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domains. Domain names can include second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 1,000 IP addresses. The domain names entered must not include http:// or https://. During matching, the content delivery network compares the domain name in the Referer header of the request with the Referer list. The value of this parameter must not exceed 30,000 characters.
- Ignore
Case bool - Specifies whether the Referers list under CommonType is case sensitive during matching. The parameter supports the following values: true: not case sensitive. false: case sensitive. The default value is true.
- Ignore
Scheme bool - Indicates whether the Referer header value in this Referers list under CommonType must start with HTTP or HTTPS. This parameter has the following values: true: Referer header values that do not start with HTTP or HTTPS are valid. In this case, the content delivery network will attempt to match them with the Referers list. false: Referer header values that do not start with HTTP or HTTPS are invalid. In this case, the content delivery network determines that they do not match the Referers list under CommonType. The default value is false.
- Referers []string
- Represents a standard Referer list. In this list, you can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domains. Domain names can include second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 1,000 IP addresses. The domain names entered must not include http:// or https://. During matching, the content delivery network compares the domain name in the Referer header of the request with the Referer list. The value of this parameter must not exceed 30,000 characters.
- ignore
Case Boolean - Specifies whether the Referers list under CommonType is case sensitive during matching. The parameter supports the following values: true: not case sensitive. false: case sensitive. The default value is true.
- ignore
Scheme Boolean - Indicates whether the Referer header value in this Referers list under CommonType must start with HTTP or HTTPS. This parameter has the following values: true: Referer header values that do not start with HTTP or HTTPS are valid. In this case, the content delivery network will attempt to match them with the Referers list. false: Referer header values that do not start with HTTP or HTTPS are invalid. In this case, the content delivery network determines that they do not match the Referers list under CommonType. The default value is false.
- referers List<String>
- Represents a standard Referer list. In this list, you can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domains. Domain names can include second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 1,000 IP addresses. The domain names entered must not include http:// or https://. During matching, the content delivery network compares the domain name in the Referer header of the request with the Referer list. The value of this parameter must not exceed 30,000 characters.
- ignore
Case boolean - Specifies whether the Referers list under CommonType is case sensitive during matching. The parameter supports the following values: true: not case sensitive. false: case sensitive. The default value is true.
- ignore
Scheme boolean - Indicates whether the Referer header value in this Referers list under CommonType must start with HTTP or HTTPS. This parameter has the following values: true: Referer header values that do not start with HTTP or HTTPS are valid. In this case, the content delivery network will attempt to match them with the Referers list. false: Referer header values that do not start with HTTP or HTTPS are invalid. In this case, the content delivery network determines that they do not match the Referers list under CommonType. The default value is false.
- referers string[]
- Represents a standard Referer list. In this list, you can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domains. Domain names can include second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 1,000 IP addresses. The domain names entered must not include http:// or https://. During matching, the content delivery network compares the domain name in the Referer header of the request with the Referer list. The value of this parameter must not exceed 30,000 characters.
- ignore_
case bool - Specifies whether the Referers list under CommonType is case sensitive during matching. The parameter supports the following values: true: not case sensitive. false: case sensitive. The default value is true.
- ignore_
scheme bool - Indicates whether the Referer header value in this Referers list under CommonType must start with HTTP or HTTPS. This parameter has the following values: true: Referer header values that do not start with HTTP or HTTPS are valid. In this case, the content delivery network will attempt to match them with the Referers list. false: Referer header values that do not start with HTTP or HTTPS are invalid. In this case, the content delivery network determines that they do not match the Referers list under CommonType. The default value is false.
- referers Sequence[str]
- Represents a standard Referer list. In this list, you can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domains. Domain names can include second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 1,000 IP addresses. The domain names entered must not include http:// or https://. During matching, the content delivery network compares the domain name in the Referer header of the request with the Referer list. The value of this parameter must not exceed 30,000 characters.
- ignore
Case Boolean - Specifies whether the Referers list under CommonType is case sensitive during matching. The parameter supports the following values: true: not case sensitive. false: case sensitive. The default value is true.
- ignore
Scheme Boolean - Indicates whether the Referer header value in this Referers list under CommonType must start with HTTP or HTTPS. This parameter has the following values: true: Referer header values that do not start with HTTP or HTTPS are valid. In this case, the content delivery network will attempt to match them with the Referers list. false: Referer header values that do not start with HTTP or HTTPS are invalid. In this case, the content delivery network determines that they do not match the Referers list under CommonType. The default value is false.
- referers List<String>
- Represents a standard Referer list. In this list, you can specify one or more IP addresses, CIDR blocks, domain names, and wildcard domains. Domain names can include second-level domains. IP addresses can be in IPv4 or IPv6 format. You can enter up to 1,000 IP addresses. The domain names entered must not include http:// or https://. During matching, the content delivery network compares the domain name in the Referer header of the request with the Referer list. The value of this parameter must not exceed 30,000 characters.
DomainRefererAccessRuleReferersTypeRegularType, DomainRefererAccessRuleReferersTypeRegularTypeArgs
- Referers List<string>
- Indicates a list of Referer regular expressions. The value of this parameter cannot exceed 30,000 characters.
- Referers []string
- Indicates a list of Referer regular expressions. The value of this parameter cannot exceed 30,000 characters.
- referers List<String>
- Indicates a list of Referer regular expressions. The value of this parameter cannot exceed 30,000 characters.
- referers string[]
- Indicates a list of Referer regular expressions. The value of this parameter cannot exceed 30,000 characters.
- referers Sequence[str]
- Indicates a list of Referer regular expressions. The value of this parameter cannot exceed 30,000 characters.
- referers List<String>
- Indicates a list of Referer regular expressions. The value of this parameter cannot exceed 30,000 characters.
DomainRefererAccessRuleSharedConfig, DomainRefererAccessRuleSharedConfigArgs
- Config
Name string - Indicates the name of a global configuration.
- Config
Name string - Indicates the name of a global configuration.
- config
Name String - Indicates the name of a global configuration.
- config
Name string - Indicates the name of a global configuration.
- config_
name str - Indicates the name of a global configuration.
- config
Name String - Indicates the name of a global configuration.
DomainRemoteAuth, DomainRemoteAuthArgs
- Remote
Auth List<Byteplus.Rules Domain Remote Auth Remote Auth Rule> - Switch bool
- Indicates whether this feature is enabled. The parameter values are as follows: true: enables the feature. false: disables the feature.
- Remote
Auth []DomainRules Remote Auth Remote Auth Rule - Switch bool
- Indicates whether this feature is enabled. The parameter values are as follows: true: enables the feature. false: disables the feature.
- remote
Auth List<DomainRules Remote Auth Remote Auth Rule> - switch_ Boolean
- Indicates whether this feature is enabled. The parameter values are as follows: true: enables the feature. false: disables the feature.
- remote
Auth DomainRules Remote Auth Remote Auth Rule[] - switch boolean
- Indicates whether this feature is enabled. The parameter values are as follows: true: enables the feature. false: disables the feature.
- remote_
auth_ Sequence[Domainrules Remote Auth Remote Auth Rule] - switch bool
- Indicates whether this feature is enabled. The parameter values are as follows: true: enables the feature. false: disables the feature.
- remote
Auth List<Property Map>Rules - switch Boolean
- Indicates whether this feature is enabled. The parameter values are as follows: true: enables the feature. false: disables the feature.
DomainRemoteAuthRemoteAuthRule, DomainRemoteAuthRemoteAuthRuleArgs
- Condition
Byteplus.
Domain Remote Auth Remote Auth Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Remote
Auth Byteplus.Rule Action Domain Remote Auth Remote Auth Rule Remote Auth Rule Action - Indicates the specific authentication configuration.
- Condition
Domain
Remote Auth Remote Auth Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Remote
Auth DomainRule Action Remote Auth Remote Auth Rule Remote Auth Rule Action - Indicates the specific authentication configuration.
- condition
Domain
Remote Auth Remote Auth Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- remote
Auth DomainRule Action Remote Auth Remote Auth Rule Remote Auth Rule Action - Indicates the specific authentication configuration.
- condition
Domain
Remote Auth Remote Auth Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- remote
Auth DomainRule Action Remote Auth Remote Auth Rule Remote Auth Rule Action - Indicates the specific authentication configuration.
- condition
Domain
Remote Auth Remote Auth Rule Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- remote_
auth_ Domainrule_ action Remote Auth Remote Auth Rule Remote Auth Rule Action - Indicates the specific authentication configuration.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- remote
Auth Property MapRule Action - Indicates the specific authentication configuration.
DomainRemoteAuthRemoteAuthRuleCondition, DomainRemoteAuthRemoteAuthRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Remote Auth Remote Auth Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainRemote Auth Remote Auth Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainRemote Auth Remote Auth Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainRemote Auth Remote Auth Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainRemote Auth Remote Auth Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainRemoteAuthRemoteAuthRuleConditionConditionRule, DomainRemoteAuthRemoteAuthRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleAction, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionArgs
- Auth
Mode Byteplus.Config Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Mode Config - Indicates the configuration of the authentication server.
- Auth
Response Byteplus.Config Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config - The content delivery network needs to handle the authentication status codes returned by the authentication server. This parameter specifies the relevant configuration.
- Query
String Byteplus.Rules Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules - Represents the parameter settings for authentication requests.
- Request
Body stringRules - Indicates the rule for the authentication request body. You can leave this parameter unspecified or set its value to default. default means the request body is empty ("").
- Request
Header Byteplus.Rules Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules - Indicates the settings for authentication request headers. You can set up to 50 request headers.
- Auth
Mode DomainConfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Mode Config - Indicates the configuration of the authentication server.
- Auth
Response DomainConfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config - The content delivery network needs to handle the authentication status codes returned by the authentication server. This parameter specifies the relevant configuration.
- Query
String DomainRules Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules - Represents the parameter settings for authentication requests.
- Request
Body stringRules - Indicates the rule for the authentication request body. You can leave this parameter unspecified or set its value to default. default means the request body is empty ("").
- Request
Header DomainRules Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules - Indicates the settings for authentication request headers. You can set up to 50 request headers.
- auth
Mode DomainConfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Mode Config - Indicates the configuration of the authentication server.
- auth
Response DomainConfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config - The content delivery network needs to handle the authentication status codes returned by the authentication server. This parameter specifies the relevant configuration.
- query
String DomainRules Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules - Represents the parameter settings for authentication requests.
- request
Body StringRules - Indicates the rule for the authentication request body. You can leave this parameter unspecified or set its value to default. default means the request body is empty ("").
- request
Header DomainRules Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules - Indicates the settings for authentication request headers. You can set up to 50 request headers.
- auth
Mode DomainConfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Mode Config - Indicates the configuration of the authentication server.
- auth
Response DomainConfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config - The content delivery network needs to handle the authentication status codes returned by the authentication server. This parameter specifies the relevant configuration.
- query
String DomainRules Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules - Represents the parameter settings for authentication requests.
- request
Body stringRules - Indicates the rule for the authentication request body. You can leave this parameter unspecified or set its value to default. default means the request body is empty ("").
- request
Header DomainRules Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules - Indicates the settings for authentication request headers. You can set up to 50 request headers.
- auth_
mode_ Domainconfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Mode Config - Indicates the configuration of the authentication server.
- auth_
response_ Domainconfig Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config - The content delivery network needs to handle the authentication status codes returned by the authentication server. This parameter specifies the relevant configuration.
- query_
string_ Domainrules Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules - Represents the parameter settings for authentication requests.
- request_
body_ strrules - Indicates the rule for the authentication request body. You can leave this parameter unspecified or set its value to default. default means the request body is empty ("").
- request_
header_ Domainrules Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules - Indicates the settings for authentication request headers. You can set up to 50 request headers.
- auth
Mode Property MapConfig - Indicates the configuration of the authentication server.
- auth
Response Property MapConfig - The content delivery network needs to handle the authentication status codes returned by the authentication server. This parameter specifies the relevant configuration.
- query
String Property MapRules - Represents the parameter settings for authentication requests.
- request
Body StringRules - Indicates the rule for the authentication request body. You can leave this parameter unspecified or set its value to default. default means the request body is empty ("").
- request
Header Property MapRules - Indicates the settings for authentication request headers. You can set up to 50 request headers.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthModeConfig, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthModeConfigArgs
- Backup
Remote stringAddr - Indicates the backup address of the authentication server. The address format and requirements are the same as the primary address.
- Master
Remote stringAddr - Indicates the primary address of the authentication server. The length must not exceed 100 characters. The primary address format is \n\n://\n\n:\n\n or \n\n://\n\n:\n\n, where: \n\n is http or https. \n\n cannot be localhost. \n\n cannot be 127.0.0.1. \n\n is optional.
- Path
Type string - Indicates the path for the authentication request. The authentication address and request path together form the complete authentication URL. The content delivery network forwards the user's request to this authentication URL. The parameter accepts the following values: constant: The path in the authentication request is the same as the path in the user's request. variable: You need to specify a path for the authentication request in the pathValue parameter.
- Path
Value string - Represents the path for an authentication request. The path cannot exceed 100 characters. It must start with a slash (/), and can include any printable ASCII characters except the following: consecutive slashes (//), percent sign (%), dollar sign ($), space, question mark (?), and Delete (ASCII code 127).
- Request
Method string - Indicates the request method used by the content delivery network when sending authentication requests. The parameter has the following values: default: uses the same method as the user's request. get: uses the GET method. post: uses the POST method. head: uses the HEAD method.
- Backup
Remote stringAddr - Indicates the backup address of the authentication server. The address format and requirements are the same as the primary address.
- Master
Remote stringAddr - Indicates the primary address of the authentication server. The length must not exceed 100 characters. The primary address format is \n\n://\n\n:\n\n or \n\n://\n\n:\n\n, where: \n\n is http or https. \n\n cannot be localhost. \n\n cannot be 127.0.0.1. \n\n is optional.
- Path
Type string - Indicates the path for the authentication request. The authentication address and request path together form the complete authentication URL. The content delivery network forwards the user's request to this authentication URL. The parameter accepts the following values: constant: The path in the authentication request is the same as the path in the user's request. variable: You need to specify a path for the authentication request in the pathValue parameter.
- Path
Value string - Represents the path for an authentication request. The path cannot exceed 100 characters. It must start with a slash (/), and can include any printable ASCII characters except the following: consecutive slashes (//), percent sign (%), dollar sign ($), space, question mark (?), and Delete (ASCII code 127).
- Request
Method string - Indicates the request method used by the content delivery network when sending authentication requests. The parameter has the following values: default: uses the same method as the user's request. get: uses the GET method. post: uses the POST method. head: uses the HEAD method.
- backup
Remote StringAddr - Indicates the backup address of the authentication server. The address format and requirements are the same as the primary address.
- master
Remote StringAddr - Indicates the primary address of the authentication server. The length must not exceed 100 characters. The primary address format is \n\n://\n\n:\n\n or \n\n://\n\n:\n\n, where: \n\n is http or https. \n\n cannot be localhost. \n\n cannot be 127.0.0.1. \n\n is optional.
- path
Type String - Indicates the path for the authentication request. The authentication address and request path together form the complete authentication URL. The content delivery network forwards the user's request to this authentication URL. The parameter accepts the following values: constant: The path in the authentication request is the same as the path in the user's request. variable: You need to specify a path for the authentication request in the pathValue parameter.
- path
Value String - Represents the path for an authentication request. The path cannot exceed 100 characters. It must start with a slash (/), and can include any printable ASCII characters except the following: consecutive slashes (//), percent sign (%), dollar sign ($), space, question mark (?), and Delete (ASCII code 127).
- request
Method String - Indicates the request method used by the content delivery network when sending authentication requests. The parameter has the following values: default: uses the same method as the user's request. get: uses the GET method. post: uses the POST method. head: uses the HEAD method.
- backup
Remote stringAddr - Indicates the backup address of the authentication server. The address format and requirements are the same as the primary address.
- master
Remote stringAddr - Indicates the primary address of the authentication server. The length must not exceed 100 characters. The primary address format is \n\n://\n\n:\n\n or \n\n://\n\n:\n\n, where: \n\n is http or https. \n\n cannot be localhost. \n\n cannot be 127.0.0.1. \n\n is optional.
- path
Type string - Indicates the path for the authentication request. The authentication address and request path together form the complete authentication URL. The content delivery network forwards the user's request to this authentication URL. The parameter accepts the following values: constant: The path in the authentication request is the same as the path in the user's request. variable: You need to specify a path for the authentication request in the pathValue parameter.
- path
Value string - Represents the path for an authentication request. The path cannot exceed 100 characters. It must start with a slash (/), and can include any printable ASCII characters except the following: consecutive slashes (//), percent sign (%), dollar sign ($), space, question mark (?), and Delete (ASCII code 127).
- request
Method string - Indicates the request method used by the content delivery network when sending authentication requests. The parameter has the following values: default: uses the same method as the user's request. get: uses the GET method. post: uses the POST method. head: uses the HEAD method.
- backup_
remote_ straddr - Indicates the backup address of the authentication server. The address format and requirements are the same as the primary address.
- master_
remote_ straddr - Indicates the primary address of the authentication server. The length must not exceed 100 characters. The primary address format is \n\n://\n\n:\n\n or \n\n://\n\n:\n\n, where: \n\n is http or https. \n\n cannot be localhost. \n\n cannot be 127.0.0.1. \n\n is optional.
- path_
type str - Indicates the path for the authentication request. The authentication address and request path together form the complete authentication URL. The content delivery network forwards the user's request to this authentication URL. The parameter accepts the following values: constant: The path in the authentication request is the same as the path in the user's request. variable: You need to specify a path for the authentication request in the pathValue parameter.
- path_
value str - Represents the path for an authentication request. The path cannot exceed 100 characters. It must start with a slash (/), and can include any printable ASCII characters except the following: consecutive slashes (//), percent sign (%), dollar sign ($), space, question mark (?), and Delete (ASCII code 127).
- request_
method str - Indicates the request method used by the content delivery network when sending authentication requests. The parameter has the following values: default: uses the same method as the user's request. get: uses the GET method. post: uses the POST method. head: uses the HEAD method.
- backup
Remote StringAddr - Indicates the backup address of the authentication server. The address format and requirements are the same as the primary address.
- master
Remote StringAddr - Indicates the primary address of the authentication server. The length must not exceed 100 characters. The primary address format is \n\n://\n\n:\n\n or \n\n://\n\n:\n\n, where: \n\n is http or https. \n\n cannot be localhost. \n\n cannot be 127.0.0.1. \n\n is optional.
- path
Type String - Indicates the path for the authentication request. The authentication address and request path together form the complete authentication URL. The content delivery network forwards the user's request to this authentication URL. The parameter accepts the following values: constant: The path in the authentication request is the same as the path in the user's request. variable: You need to specify a path for the authentication request in the pathValue parameter.
- path
Value String - Represents the path for an authentication request. The path cannot exceed 100 characters. It must start with a slash (/), and can include any printable ASCII characters except the following: consecutive slashes (//), percent sign (%), dollar sign ($), space, question mark (?), and Delete (ASCII code 127).
- request
Method String - Indicates the request method used by the content delivery network when sending authentication requests. The parameter has the following values: default: uses the same method as the user's request. get: uses the GET method. post: uses the POST method. head: uses the HEAD method.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfig, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigArgs
- Cache
Action Byteplus.Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Cache Action - The content delivery network can cache authentication status codes. This parameter indicates the related configuration.
- Response
Action Byteplus.Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Response Action - Indicates how the content delivery network responds to users when authentication fails.
- Status
Code Byteplus.Action Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Status Code Action - Specifies how the content delivery network handles authentication status codes.
- Time
Out Byteplus.Action Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Time Out Action - Specifies how the content delivery network handles authentication requests after authentication timeout.
- Cache
Action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Cache Action - The content delivery network can cache authentication status codes. This parameter indicates the related configuration.
- Response
Action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Response Action - Indicates how the content delivery network responds to users when authentication fails.
- Status
Code DomainAction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Status Code Action - Specifies how the content delivery network handles authentication status codes.
- Time
Out DomainAction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Time Out Action - Specifies how the content delivery network handles authentication requests after authentication timeout.
- cache
Action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Cache Action - The content delivery network can cache authentication status codes. This parameter indicates the related configuration.
- response
Action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Response Action - Indicates how the content delivery network responds to users when authentication fails.
- status
Code DomainAction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Status Code Action - Specifies how the content delivery network handles authentication status codes.
- time
Out DomainAction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Time Out Action - Specifies how the content delivery network handles authentication requests after authentication timeout.
- cache
Action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Cache Action - The content delivery network can cache authentication status codes. This parameter indicates the related configuration.
- response
Action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Response Action - Indicates how the content delivery network responds to users when authentication fails.
- status
Code DomainAction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Status Code Action - Specifies how the content delivery network handles authentication status codes.
- time
Out DomainAction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Time Out Action - Specifies how the content delivery network handles authentication requests after authentication timeout.
- cache_
action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Cache Action - The content delivery network can cache authentication status codes. This parameter indicates the related configuration.
- response_
action DomainRemote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Response Action - Indicates how the content delivery network responds to users when authentication fails.
- status_
code_ Domainaction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Status Code Action - Specifies how the content delivery network handles authentication status codes.
- time_
out_ Domainaction Remote Auth Remote Auth Rule Remote Auth Rule Action Auth Response Config Time Out Action - Specifies how the content delivery network handles authentication requests after authentication timeout.
- cache
Action Property Map - The content delivery network can cache authentication status codes. This parameter indicates the related configuration.
- response
Action Property Map - Indicates how the content delivery network responds to users when authentication fails.
- status
Code Property MapAction - Specifies how the content delivery network handles authentication status codes.
- time
Out Property MapAction - Specifies how the content delivery network handles authentication requests after authentication timeout.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigCacheAction, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigCacheActionArgs
- Action string
- Indicates whether the CDN caches authentication status codes. The parameter values are: nocache: CDN does not cache authentication status codes. cache: CDN caches authentication status codes.
- Cache
Keys List<string> - The cache key specifies the query parameters used to distinguish different request URIs. Each parameter must start with $.
- Ttl int
- Indicates the cache duration for authentication status codes, measured in seconds. The range is 1–86400. 86400 seconds equals 24 hours.
- Action string
- Indicates whether the CDN caches authentication status codes. The parameter values are: nocache: CDN does not cache authentication status codes. cache: CDN caches authentication status codes.
- Cache
Keys []string - The cache key specifies the query parameters used to distinguish different request URIs. Each parameter must start with $.
- Ttl int
- Indicates the cache duration for authentication status codes, measured in seconds. The range is 1–86400. 86400 seconds equals 24 hours.
- action String
- Indicates whether the CDN caches authentication status codes. The parameter values are: nocache: CDN does not cache authentication status codes. cache: CDN caches authentication status codes.
- cache
Keys List<String> - The cache key specifies the query parameters used to distinguish different request URIs. Each parameter must start with $.
- ttl Integer
- Indicates the cache duration for authentication status codes, measured in seconds. The range is 1–86400. 86400 seconds equals 24 hours.
- action string
- Indicates whether the CDN caches authentication status codes. The parameter values are: nocache: CDN does not cache authentication status codes. cache: CDN caches authentication status codes.
- cache
Keys string[] - The cache key specifies the query parameters used to distinguish different request URIs. Each parameter must start with $.
- ttl number
- Indicates the cache duration for authentication status codes, measured in seconds. The range is 1–86400. 86400 seconds equals 24 hours.
- action str
- Indicates whether the CDN caches authentication status codes. The parameter values are: nocache: CDN does not cache authentication status codes. cache: CDN caches authentication status codes.
- cache_
keys Sequence[str] - The cache key specifies the query parameters used to distinguish different request URIs. Each parameter must start with $.
- ttl int
- Indicates the cache duration for authentication status codes, measured in seconds. The range is 1–86400. 86400 seconds equals 24 hours.
- action String
- Indicates whether the CDN caches authentication status codes. The parameter values are: nocache: CDN does not cache authentication status codes. cache: CDN caches authentication status codes.
- cache
Keys List<String> - The cache key specifies the query parameters used to distinguish different request URIs. Each parameter must start with $.
- ttl Number
- Indicates the cache duration for authentication status codes, measured in seconds. The range is 1–86400. 86400 seconds equals 24 hours.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigResponseAction, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigResponseActionArgs
- Status
Code string - Indicates the status code returned by the content delivery network to the user when authentication fails. You can specify any status code in the range 400–499. The default value is 403.
- Status
Code string - Indicates the status code returned by the content delivery network to the user when authentication fails. You can specify any status code in the range 400–499. The default value is 403.
- status
Code String - Indicates the status code returned by the content delivery network to the user when authentication fails. You can specify any status code in the range 400–499. The default value is 403.
- status
Code string - Indicates the status code returned by the content delivery network to the user when authentication fails. You can specify any status code in the range 400–499. The default value is 403.
- status_
code str - Indicates the status code returned by the content delivery network to the user when authentication fails. You can specify any status code in the range 400–499. The default value is 403.
- status
Code String - Indicates the status code returned by the content delivery network to the user when authentication fails. You can specify any status code in the range 400–499. The default value is 403.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigStatusCodeAction, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigStatusCodeActionArgs
- Default
Action string - Specifies how the content delivery network handles authentication requests when the authentication status code is neither FailCode nor SuccessCode. This parameter has the following values: reject: the content delivery network considers authentication failed; pass: the content delivery network considers authentication successful.
- Fail
Code string - Indicates the authentication status code returned when authentication fails. You can specify one or more status codes in the range 400–499. Separate multiple status codes with a semicolon (;). You can also specify 4xx to indicate any status code between 400 and 499. The default value for this parameter is 401.
- Success
Code string - Indicates the authentication status code for successful authentication. You can specify one or more status codes in the range 200–299. Separate multiple status codes with a semicolon (;). You can also specify 2xx to represent any status code from 200–299. The default value is 200.
- Default
Action string - Specifies how the content delivery network handles authentication requests when the authentication status code is neither FailCode nor SuccessCode. This parameter has the following values: reject: the content delivery network considers authentication failed; pass: the content delivery network considers authentication successful.
- Fail
Code string - Indicates the authentication status code returned when authentication fails. You can specify one or more status codes in the range 400–499. Separate multiple status codes with a semicolon (;). You can also specify 4xx to indicate any status code between 400 and 499. The default value for this parameter is 401.
- Success
Code string - Indicates the authentication status code for successful authentication. You can specify one or more status codes in the range 200–299. Separate multiple status codes with a semicolon (;). You can also specify 2xx to represent any status code from 200–299. The default value is 200.
- default
Action String - Specifies how the content delivery network handles authentication requests when the authentication status code is neither FailCode nor SuccessCode. This parameter has the following values: reject: the content delivery network considers authentication failed; pass: the content delivery network considers authentication successful.
- fail
Code String - Indicates the authentication status code returned when authentication fails. You can specify one or more status codes in the range 400–499. Separate multiple status codes with a semicolon (;). You can also specify 4xx to indicate any status code between 400 and 499. The default value for this parameter is 401.
- success
Code String - Indicates the authentication status code for successful authentication. You can specify one or more status codes in the range 200–299. Separate multiple status codes with a semicolon (;). You can also specify 2xx to represent any status code from 200–299. The default value is 200.
- default
Action string - Specifies how the content delivery network handles authentication requests when the authentication status code is neither FailCode nor SuccessCode. This parameter has the following values: reject: the content delivery network considers authentication failed; pass: the content delivery network considers authentication successful.
- fail
Code string - Indicates the authentication status code returned when authentication fails. You can specify one or more status codes in the range 400–499. Separate multiple status codes with a semicolon (;). You can also specify 4xx to indicate any status code between 400 and 499. The default value for this parameter is 401.
- success
Code string - Indicates the authentication status code for successful authentication. You can specify one or more status codes in the range 200–299. Separate multiple status codes with a semicolon (;). You can also specify 2xx to represent any status code from 200–299. The default value is 200.
- default_
action str - Specifies how the content delivery network handles authentication requests when the authentication status code is neither FailCode nor SuccessCode. This parameter has the following values: reject: the content delivery network considers authentication failed; pass: the content delivery network considers authentication successful.
- fail_
code str - Indicates the authentication status code returned when authentication fails. You can specify one or more status codes in the range 400–499. Separate multiple status codes with a semicolon (;). You can also specify 4xx to indicate any status code between 400 and 499. The default value for this parameter is 401.
- success_
code str - Indicates the authentication status code for successful authentication. You can specify one or more status codes in the range 200–299. Separate multiple status codes with a semicolon (;). You can also specify 2xx to represent any status code from 200–299. The default value is 200.
- default
Action String - Specifies how the content delivery network handles authentication requests when the authentication status code is neither FailCode nor SuccessCode. This parameter has the following values: reject: the content delivery network considers authentication failed; pass: the content delivery network considers authentication successful.
- fail
Code String - Indicates the authentication status code returned when authentication fails. You can specify one or more status codes in the range 400–499. Separate multiple status codes with a semicolon (;). You can also specify 4xx to indicate any status code between 400 and 499. The default value for this parameter is 401.
- success
Code String - Indicates the authentication status code for successful authentication. You can specify one or more status codes in the range 200–299. Separate multiple status codes with a semicolon (;). You can also specify 2xx to represent any status code from 200–299. The default value is 200.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigTimeOutAction, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionAuthResponseConfigTimeOutActionArgs
- Action string
- Indicates the strategy for handling authentication requests after a timeout in the content delivery network. This parameter supports the following values: reject: The content delivery network considers authentication failed. pass: The content delivery network considers authentication successful.
- Time int
- Specifies the authentication timeout in milliseconds. The default value is 200. The valid range is 200–3600.
- Action string
- Indicates the strategy for handling authentication requests after a timeout in the content delivery network. This parameter supports the following values: reject: The content delivery network considers authentication failed. pass: The content delivery network considers authentication successful.
- Time int
- Specifies the authentication timeout in milliseconds. The default value is 200. The valid range is 200–3600.
- action String
- Indicates the strategy for handling authentication requests after a timeout in the content delivery network. This parameter supports the following values: reject: The content delivery network considers authentication failed. pass: The content delivery network considers authentication successful.
- time Integer
- Specifies the authentication timeout in milliseconds. The default value is 200. The valid range is 200–3600.
- action string
- Indicates the strategy for handling authentication requests after a timeout in the content delivery network. This parameter supports the following values: reject: The content delivery network considers authentication failed. pass: The content delivery network considers authentication successful.
- time number
- Specifies the authentication timeout in milliseconds. The default value is 200. The valid range is 200–3600.
- action str
- Indicates the strategy for handling authentication requests after a timeout in the content delivery network. This parameter supports the following values: reject: The content delivery network considers authentication failed. pass: The content delivery network considers authentication successful.
- time int
- Specifies the authentication timeout in milliseconds. The default value is 200. The valid range is 200–3600.
- action String
- Indicates the strategy for handling authentication requests after a timeout in the content delivery network. This parameter supports the following values: reject: The content delivery network considers authentication failed. pass: The content delivery network considers authentication successful.
- time Number
- Specifies the authentication timeout in milliseconds. The default value is 200. The valid range is 200–3600.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRules, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesArgs
- Query
String Byteplus.Components Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Components - Indicates the strategy for setting authentication request parameters.
- Query
String List<Byteplus.Instances Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Instance>
- Query
String DomainComponents Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Components - Indicates the strategy for setting authentication request parameters.
- Query
String []DomainInstances Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Instance
- query
String DomainComponents Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Components - Indicates the strategy for setting authentication request parameters.
- query
String List<DomainInstances Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Instance>
- query
String DomainComponents Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Components - Indicates the strategy for setting authentication request parameters.
- query
String DomainInstances Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Instance[]
- query_
string_ Domaincomponents Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Components - Indicates the strategy for setting authentication request parameters.
- query_
string_ Sequence[Domaininstances Remote Auth Remote Auth Rule Remote Auth Rule Action Query String Rules Query String Instance]
- query
String Property MapComponents - Indicates the strategy for setting authentication request parameters.
- query
String List<Property Map>Instances
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringComponents, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringComponentsArgs
- Action string
- Indicates whether the authentication request includes query parameters from the user's request URL. The parameter accepts the following values: exclude: The authentication request does not include any query parameters. include: The authentication request includes all query parameters. includePart: The authentication request includes specified query parameters.
- Value string
- Indicates the parameter value corresponding to the Action parameter. The length cannot exceed 1,024 characters. The parameter accepts the following values: If Action is exclude or include, Value must be *. If Action is includePart, you need to specify one or more query parameters from the user's request URL in the Value parameter, separated by semicolons (;). You cannot specify *. Query parameters are case-sensitive and can include printable ASCII characters except for the following: double quotes (") , spaces, and Delete (ASCII code 127). The default value for this parameter is *.
- Action string
- Indicates whether the authentication request includes query parameters from the user's request URL. The parameter accepts the following values: exclude: The authentication request does not include any query parameters. include: The authentication request includes all query parameters. includePart: The authentication request includes specified query parameters.
- Value string
- Indicates the parameter value corresponding to the Action parameter. The length cannot exceed 1,024 characters. The parameter accepts the following values: If Action is exclude or include, Value must be *. If Action is includePart, you need to specify one or more query parameters from the user's request URL in the Value parameter, separated by semicolons (;). You cannot specify *. Query parameters are case-sensitive and can include printable ASCII characters except for the following: double quotes (") , spaces, and Delete (ASCII code 127). The default value for this parameter is *.
- action String
- Indicates whether the authentication request includes query parameters from the user's request URL. The parameter accepts the following values: exclude: The authentication request does not include any query parameters. include: The authentication request includes all query parameters. includePart: The authentication request includes specified query parameters.
- value String
- Indicates the parameter value corresponding to the Action parameter. The length cannot exceed 1,024 characters. The parameter accepts the following values: If Action is exclude or include, Value must be *. If Action is includePart, you need to specify one or more query parameters from the user's request URL in the Value parameter, separated by semicolons (;). You cannot specify *. Query parameters are case-sensitive and can include printable ASCII characters except for the following: double quotes (") , spaces, and Delete (ASCII code 127). The default value for this parameter is *.
- action string
- Indicates whether the authentication request includes query parameters from the user's request URL. The parameter accepts the following values: exclude: The authentication request does not include any query parameters. include: The authentication request includes all query parameters. includePart: The authentication request includes specified query parameters.
- value string
- Indicates the parameter value corresponding to the Action parameter. The length cannot exceed 1,024 characters. The parameter accepts the following values: If Action is exclude or include, Value must be *. If Action is includePart, you need to specify one or more query parameters from the user's request URL in the Value parameter, separated by semicolons (;). You cannot specify *. Query parameters are case-sensitive and can include printable ASCII characters except for the following: double quotes (") , spaces, and Delete (ASCII code 127). The default value for this parameter is *.
- action str
- Indicates whether the authentication request includes query parameters from the user's request URL. The parameter accepts the following values: exclude: The authentication request does not include any query parameters. include: The authentication request includes all query parameters. includePart: The authentication request includes specified query parameters.
- value str
- Indicates the parameter value corresponding to the Action parameter. The length cannot exceed 1,024 characters. The parameter accepts the following values: If Action is exclude or include, Value must be *. If Action is includePart, you need to specify one or more query parameters from the user's request URL in the Value parameter, separated by semicolons (;). You cannot specify *. Query parameters are case-sensitive and can include printable ASCII characters except for the following: double quotes (") , spaces, and Delete (ASCII code 127). The default value for this parameter is *.
- action String
- Indicates whether the authentication request includes query parameters from the user's request URL. The parameter accepts the following values: exclude: The authentication request does not include any query parameters. include: The authentication request includes all query parameters. includePart: The authentication request includes specified query parameters.
- value String
- Indicates the parameter value corresponding to the Action parameter. The length cannot exceed 1,024 characters. The parameter accepts the following values: If Action is exclude or include, Value must be *. If Action is includePart, you need to specify one or more query parameters from the user's request URL in the Value parameter, separated by semicolons (;). You cannot specify *. Query parameters are case-sensitive and can include printable ASCII characters except for the following: double quotes (") , spaces, and Delete (ASCII code 127). The default value for this parameter is *.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringInstance, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionQueryStringRulesQueryStringInstanceArgs
- Action string
- Describes how to set authentication request parameters. Currently, you can only set Action to set. set means to configure parameters. You need to specify the authentication request parameter to set in Key. If the specified authentication request parameter does not exist, the content delivery network adds the parameter to the authentication request. If the specified authentication request parameter already exists, the content delivery network uses the value of Value as the parameter's value.
- Key string
- Indicates the authentication request parameter you need to set. The length must not exceed 1,024 characters. The authentication request parameter can contain printable ASCII characters except for the following: double quotes ("), space, and Delete (ASCII code 127)
- Value string
- Indicates the value of the authentication request parameter. The length cannot exceed 1,024 characters and is case-sensitive. Value has the following options: When ValueType is constant, the authentication request parameter value is a constant. You need to specify this constant value. The constant value cannot start with a dollar sign ($) and can include any printable ASCII character except the following: double quotes (") and Delete (ASCII code 127). When ValueType is variable, the authentication request parameter value comes from a variable. You can specify a variable from the variable list. When ValueType is customize, the authentication request parameter value is a string formed by concatenating variables from the list with fixed strings. In the concatenated string, variables are represented as ${variablename}. Example value: bind${requesturi}to${local_ip}done
- Value
Type string - Indicates the type of authentication request parameter set in Key. ValueType has the following options: constant: The authentication request parameter is a constant. In this case, you need to specify the constant value in Value. variable: The authentication request parameter value comes from a variable. See the description for Value. customize: The authentication request parameter value is a string formed by concatenating a variable and a fixed string.
- Action string
- Describes how to set authentication request parameters. Currently, you can only set Action to set. set means to configure parameters. You need to specify the authentication request parameter to set in Key. If the specified authentication request parameter does not exist, the content delivery network adds the parameter to the authentication request. If the specified authentication request parameter already exists, the content delivery network uses the value of Value as the parameter's value.
- Key string
- Indicates the authentication request parameter you need to set. The length must not exceed 1,024 characters. The authentication request parameter can contain printable ASCII characters except for the following: double quotes ("), space, and Delete (ASCII code 127)
- Value string
- Indicates the value of the authentication request parameter. The length cannot exceed 1,024 characters and is case-sensitive. Value has the following options: When ValueType is constant, the authentication request parameter value is a constant. You need to specify this constant value. The constant value cannot start with a dollar sign ($) and can include any printable ASCII character except the following: double quotes (") and Delete (ASCII code 127). When ValueType is variable, the authentication request parameter value comes from a variable. You can specify a variable from the variable list. When ValueType is customize, the authentication request parameter value is a string formed by concatenating variables from the list with fixed strings. In the concatenated string, variables are represented as ${variablename}. Example value: bind${requesturi}to${local_ip}done
- Value
Type string - Indicates the type of authentication request parameter set in Key. ValueType has the following options: constant: The authentication request parameter is a constant. In this case, you need to specify the constant value in Value. variable: The authentication request parameter value comes from a variable. See the description for Value. customize: The authentication request parameter value is a string formed by concatenating a variable and a fixed string.
- action String
- Describes how to set authentication request parameters. Currently, you can only set Action to set. set means to configure parameters. You need to specify the authentication request parameter to set in Key. If the specified authentication request parameter does not exist, the content delivery network adds the parameter to the authentication request. If the specified authentication request parameter already exists, the content delivery network uses the value of Value as the parameter's value.
- key String
- Indicates the authentication request parameter you need to set. The length must not exceed 1,024 characters. The authentication request parameter can contain printable ASCII characters except for the following: double quotes ("), space, and Delete (ASCII code 127)
- value String
- Indicates the value of the authentication request parameter. The length cannot exceed 1,024 characters and is case-sensitive. Value has the following options: When ValueType is constant, the authentication request parameter value is a constant. You need to specify this constant value. The constant value cannot start with a dollar sign ($) and can include any printable ASCII character except the following: double quotes (") and Delete (ASCII code 127). When ValueType is variable, the authentication request parameter value comes from a variable. You can specify a variable from the variable list. When ValueType is customize, the authentication request parameter value is a string formed by concatenating variables from the list with fixed strings. In the concatenated string, variables are represented as ${variablename}. Example value: bind${requesturi}to${local_ip}done
- value
Type String - Indicates the type of authentication request parameter set in Key. ValueType has the following options: constant: The authentication request parameter is a constant. In this case, you need to specify the constant value in Value. variable: The authentication request parameter value comes from a variable. See the description for Value. customize: The authentication request parameter value is a string formed by concatenating a variable and a fixed string.
- action string
- Describes how to set authentication request parameters. Currently, you can only set Action to set. set means to configure parameters. You need to specify the authentication request parameter to set in Key. If the specified authentication request parameter does not exist, the content delivery network adds the parameter to the authentication request. If the specified authentication request parameter already exists, the content delivery network uses the value of Value as the parameter's value.
- key string
- Indicates the authentication request parameter you need to set. The length must not exceed 1,024 characters. The authentication request parameter can contain printable ASCII characters except for the following: double quotes ("), space, and Delete (ASCII code 127)
- value string
- Indicates the value of the authentication request parameter. The length cannot exceed 1,024 characters and is case-sensitive. Value has the following options: When ValueType is constant, the authentication request parameter value is a constant. You need to specify this constant value. The constant value cannot start with a dollar sign ($) and can include any printable ASCII character except the following: double quotes (") and Delete (ASCII code 127). When ValueType is variable, the authentication request parameter value comes from a variable. You can specify a variable from the variable list. When ValueType is customize, the authentication request parameter value is a string formed by concatenating variables from the list with fixed strings. In the concatenated string, variables are represented as ${variablename}. Example value: bind${requesturi}to${local_ip}done
- value
Type string - Indicates the type of authentication request parameter set in Key. ValueType has the following options: constant: The authentication request parameter is a constant. In this case, you need to specify the constant value in Value. variable: The authentication request parameter value comes from a variable. See the description for Value. customize: The authentication request parameter value is a string formed by concatenating a variable and a fixed string.
- action str
- Describes how to set authentication request parameters. Currently, you can only set Action to set. set means to configure parameters. You need to specify the authentication request parameter to set in Key. If the specified authentication request parameter does not exist, the content delivery network adds the parameter to the authentication request. If the specified authentication request parameter already exists, the content delivery network uses the value of Value as the parameter's value.
- key str
- Indicates the authentication request parameter you need to set. The length must not exceed 1,024 characters. The authentication request parameter can contain printable ASCII characters except for the following: double quotes ("), space, and Delete (ASCII code 127)
- value str
- Indicates the value of the authentication request parameter. The length cannot exceed 1,024 characters and is case-sensitive. Value has the following options: When ValueType is constant, the authentication request parameter value is a constant. You need to specify this constant value. The constant value cannot start with a dollar sign ($) and can include any printable ASCII character except the following: double quotes (") and Delete (ASCII code 127). When ValueType is variable, the authentication request parameter value comes from a variable. You can specify a variable from the variable list. When ValueType is customize, the authentication request parameter value is a string formed by concatenating variables from the list with fixed strings. In the concatenated string, variables are represented as ${variablename}. Example value: bind${requesturi}to${local_ip}done
- value_
type str - Indicates the type of authentication request parameter set in Key. ValueType has the following options: constant: The authentication request parameter is a constant. In this case, you need to specify the constant value in Value. variable: The authentication request parameter value comes from a variable. See the description for Value. customize: The authentication request parameter value is a string formed by concatenating a variable and a fixed string.
- action String
- Describes how to set authentication request parameters. Currently, you can only set Action to set. set means to configure parameters. You need to specify the authentication request parameter to set in Key. If the specified authentication request parameter does not exist, the content delivery network adds the parameter to the authentication request. If the specified authentication request parameter already exists, the content delivery network uses the value of Value as the parameter's value.
- key String
- Indicates the authentication request parameter you need to set. The length must not exceed 1,024 characters. The authentication request parameter can contain printable ASCII characters except for the following: double quotes ("), space, and Delete (ASCII code 127)
- value String
- Indicates the value of the authentication request parameter. The length cannot exceed 1,024 characters and is case-sensitive. Value has the following options: When ValueType is constant, the authentication request parameter value is a constant. You need to specify this constant value. The constant value cannot start with a dollar sign ($) and can include any printable ASCII character except the following: double quotes (") and Delete (ASCII code 127). When ValueType is variable, the authentication request parameter value comes from a variable. You can specify a variable from the variable list. When ValueType is customize, the authentication request parameter value is a string formed by concatenating variables from the list with fixed strings. In the concatenated string, variables are represented as ${variablename}. Example value: bind${requesturi}to${local_ip}done
- value
Type String - Indicates the type of authentication request parameter set in Key. ValueType has the following options: constant: The authentication request parameter is a constant. In this case, you need to specify the constant value in Value. variable: The authentication request parameter value comes from a variable. See the description for Value. customize: The authentication request parameter value is a string formed by concatenating a variable and a fixed string.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRules, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesArgs
- Request
Header Byteplus.Components Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Components - Indicates the configuration policy for authentication request headers.
- Request
Header List<Byteplus.Instances Domain Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Instance> - Request
Host string - Indicates the value of the HOST header in authentication requests. The default value for this parameter is default, meaning the HOST header matches your acceleration domain name.
- Request
Header DomainComponents Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Components - Indicates the configuration policy for authentication request headers.
- Request
Header []DomainInstances Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Instance - Request
Host string - Indicates the value of the HOST header in authentication requests. The default value for this parameter is default, meaning the HOST header matches your acceleration domain name.
- request
Header DomainComponents Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Components - Indicates the configuration policy for authentication request headers.
- request
Header List<DomainInstances Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Instance> - request
Host String - Indicates the value of the HOST header in authentication requests. The default value for this parameter is default, meaning the HOST header matches your acceleration domain name.
- request
Header DomainComponents Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Components - Indicates the configuration policy for authentication request headers.
- request
Header DomainInstances Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Instance[] - request
Host string - Indicates the value of the HOST header in authentication requests. The default value for this parameter is default, meaning the HOST header matches your acceleration domain name.
- request_
header_ Domaincomponents Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Components - Indicates the configuration policy for authentication request headers.
- request_
header_ Sequence[Domaininstances Remote Auth Remote Auth Rule Remote Auth Rule Action Request Header Rules Request Header Instance] - request_
host str - Indicates the value of the HOST header in authentication requests. The default value for this parameter is default, meaning the HOST header matches your acceleration domain name.
- request
Header Property MapComponents - Indicates the configuration policy for authentication request headers.
- request
Header List<Property Map>Instances - request
Host String - Indicates the value of the HOST header in authentication requests. The default value for this parameter is default, meaning the HOST header matches your acceleration domain name.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderComponents, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderComponentsArgs
- Action string
- Indicates whether the authentication request header includes user request headers. The parameter values are: exclude: the authentication request header does not include any user request headers. include: the authentication request header includes all user request headers. includePart: the authentication request header includes specified user request headers.
- Value string
- Indicates the parameter value corresponding to the Action parameter. The length must not exceed 1,024 characters. The parameter has the following notes: If Action is exclude or include, Value must be *. If Action is includePart, the Value parameter can be one or more headers from the user's request. Multiple headers are separated by a semicolon (;). The value cannot be only *, and can include printable ASCII characters except for the following: underscore (_), space, double quotes ("), Delete (ASCII code 127). The default value for this parameter is *.
- Action string
- Indicates whether the authentication request header includes user request headers. The parameter values are: exclude: the authentication request header does not include any user request headers. include: the authentication request header includes all user request headers. includePart: the authentication request header includes specified user request headers.
- Value string
- Indicates the parameter value corresponding to the Action parameter. The length must not exceed 1,024 characters. The parameter has the following notes: If Action is exclude or include, Value must be *. If Action is includePart, the Value parameter can be one or more headers from the user's request. Multiple headers are separated by a semicolon (;). The value cannot be only *, and can include printable ASCII characters except for the following: underscore (_), space, double quotes ("), Delete (ASCII code 127). The default value for this parameter is *.
- action String
- Indicates whether the authentication request header includes user request headers. The parameter values are: exclude: the authentication request header does not include any user request headers. include: the authentication request header includes all user request headers. includePart: the authentication request header includes specified user request headers.
- value String
- Indicates the parameter value corresponding to the Action parameter. The length must not exceed 1,024 characters. The parameter has the following notes: If Action is exclude or include, Value must be *. If Action is includePart, the Value parameter can be one or more headers from the user's request. Multiple headers are separated by a semicolon (;). The value cannot be only *, and can include printable ASCII characters except for the following: underscore (_), space, double quotes ("), Delete (ASCII code 127). The default value for this parameter is *.
- action string
- Indicates whether the authentication request header includes user request headers. The parameter values are: exclude: the authentication request header does not include any user request headers. include: the authentication request header includes all user request headers. includePart: the authentication request header includes specified user request headers.
- value string
- Indicates the parameter value corresponding to the Action parameter. The length must not exceed 1,024 characters. The parameter has the following notes: If Action is exclude or include, Value must be *. If Action is includePart, the Value parameter can be one or more headers from the user's request. Multiple headers are separated by a semicolon (;). The value cannot be only *, and can include printable ASCII characters except for the following: underscore (_), space, double quotes ("), Delete (ASCII code 127). The default value for this parameter is *.
- action str
- Indicates whether the authentication request header includes user request headers. The parameter values are: exclude: the authentication request header does not include any user request headers. include: the authentication request header includes all user request headers. includePart: the authentication request header includes specified user request headers.
- value str
- Indicates the parameter value corresponding to the Action parameter. The length must not exceed 1,024 characters. The parameter has the following notes: If Action is exclude or include, Value must be *. If Action is includePart, the Value parameter can be one or more headers from the user's request. Multiple headers are separated by a semicolon (;). The value cannot be only *, and can include printable ASCII characters except for the following: underscore (_), space, double quotes ("), Delete (ASCII code 127). The default value for this parameter is *.
- action String
- Indicates whether the authentication request header includes user request headers. The parameter values are: exclude: the authentication request header does not include any user request headers. include: the authentication request header includes all user request headers. includePart: the authentication request header includes specified user request headers.
- value String
- Indicates the parameter value corresponding to the Action parameter. The length must not exceed 1,024 characters. The parameter has the following notes: If Action is exclude or include, Value must be *. If Action is includePart, the Value parameter can be one or more headers from the user's request. Multiple headers are separated by a semicolon (;). The value cannot be only *, and can include printable ASCII characters except for the following: underscore (_), space, double quotes ("), Delete (ASCII code 127). The default value for this parameter is *.
DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderInstance, DomainRemoteAuthRemoteAuthRuleRemoteAuthRuleActionRequestHeaderRulesRequestHeaderInstanceArgs
- Action string
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- Key string
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- Value string
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- Value
Type string - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- Action string
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- Key string
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- Value string
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- Value
Type string - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action String
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key String
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value String
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value
Type String - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action string
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key string
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value string
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value
Type string - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action str
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key str
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value str
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value_
type str - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action String
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key String
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value String
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value
Type String - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
DomainRequestBlockRule, DomainRequestBlockRuleArgs
- Block
Rules List<Byteplus.Domain Request Block Rule Block Rule> - Switch bool
- Indicates the configuration switch for this module. This parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- Block
Rules []DomainRequest Block Rule Block Rule - Switch bool
- Indicates the configuration switch for this module. This parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- block
Rules List<DomainRequest Block Rule Block Rule> - switch_ Boolean
- Indicates the configuration switch for this module. This parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- block
Rules DomainRequest Block Rule Block Rule[] - switch boolean
- Indicates the configuration switch for this module. This parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- block_
rules Sequence[DomainRequest Block Rule Block Rule] - switch bool
- Indicates the configuration switch for this module. This parameter has the following values: true: enables the module. false: disables the module. The default value is false.
- block
Rules List<Property Map> - switch Boolean
- Indicates the configuration switch for this module. This parameter has the following values: true: enables the module. false: disables the module. The default value is false.
DomainRequestBlockRuleBlockRule, DomainRequestBlockRuleBlockRuleArgs
- Block
Action Byteplus.Domain Request Block Rule Block Rule Block Action - Indicates the interception configuration for a rule in the list.
- Condition
Byteplus.
Domain Request Block Rule Block Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Rule
Name string - Indicates the name of the rule, which must not exceed 20 characters and can include letters, numbers, underscores (_), hyphens (-), and Chinese characters. One Chinese character counts as 3 characters.
- Block
Action DomainRequest Block Rule Block Rule Block Action - Indicates the interception configuration for a rule in the list.
- Condition
Domain
Request Block Rule Block Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Rule
Name string - Indicates the name of the rule, which must not exceed 20 characters and can include letters, numbers, underscores (_), hyphens (-), and Chinese characters. One Chinese character counts as 3 characters.
- block
Action DomainRequest Block Rule Block Rule Block Action - Indicates the interception configuration for a rule in the list.
- condition
Domain
Request Block Rule Block Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- rule
Name String - Indicates the name of the rule, which must not exceed 20 characters and can include letters, numbers, underscores (_), hyphens (-), and Chinese characters. One Chinese character counts as 3 characters.
- block
Action DomainRequest Block Rule Block Rule Block Action - Indicates the interception configuration for a rule in the list.
- condition
Domain
Request Block Rule Block Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- rule
Name string - Indicates the name of the rule, which must not exceed 20 characters and can include letters, numbers, underscores (_), hyphens (-), and Chinese characters. One Chinese character counts as 3 characters.
- block_
action DomainRequest Block Rule Block Rule Block Action - Indicates the interception configuration for a rule in the list.
- condition
Domain
Request Block Rule Block Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- rule_
name str - Indicates the name of the rule, which must not exceed 20 characters and can include letters, numbers, underscores (_), hyphens (-), and Chinese characters. One Chinese character counts as 3 characters.
- block
Action Property Map - Indicates the interception configuration for a rule in the list.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- rule
Name String - Indicates the name of the rule, which must not exceed 20 characters and can include letters, numbers, underscores (_), hyphens (-), and Chinese characters. One Chinese character counts as 3 characters.
DomainRequestBlockRuleBlockRuleBlockAction, DomainRequestBlockRuleBlockRuleBlockActionArgs
- Action string
- Specifies how the content delivery network intercepts matching requests. This parameter has the following values: refuse: The content delivery network rejects the request and returns a 4xx error code. The error code is specified in StatusCode. redirect: The content delivery network redirects the request to the URL specified in RedirectUrl.
- Error
Page string - When Action is refuse, this parameter is optional, as explained below: If specified, this parameter indicates the name of a custom response page under global configuration. When the content delivery network refuses a request, it returns this custom page. Note that 'global configuration' is an Allowlist feature. To use this feature, submit a ticket. If this parameter is not specified, the content delivery network uses the standard response body for the error code specified in StatusCode. When Action is redirect, this parameter is invalid and can be omitted.
- Redirect
Url string - When Action is redirect, this parameter is required and specifies the redirect URL. The URL must start with http:// or https:// and cannot exceed 1,024 characters. When Action is refuse, this parameter is invalid and can be omitted.
- Status
Code string - Represents the response status code from the content delivery network for intercepted requests. When Action is refuse, this parameter specifies an error code in the range 400–499. When Action is redirect, this parameter can be: 301: The response status code is 301. 302: The response status code is 302.
- Action string
- Specifies how the content delivery network intercepts matching requests. This parameter has the following values: refuse: The content delivery network rejects the request and returns a 4xx error code. The error code is specified in StatusCode. redirect: The content delivery network redirects the request to the URL specified in RedirectUrl.
- Error
Page string - When Action is refuse, this parameter is optional, as explained below: If specified, this parameter indicates the name of a custom response page under global configuration. When the content delivery network refuses a request, it returns this custom page. Note that 'global configuration' is an Allowlist feature. To use this feature, submit a ticket. If this parameter is not specified, the content delivery network uses the standard response body for the error code specified in StatusCode. When Action is redirect, this parameter is invalid and can be omitted.
- Redirect
Url string - When Action is redirect, this parameter is required and specifies the redirect URL. The URL must start with http:// or https:// and cannot exceed 1,024 characters. When Action is refuse, this parameter is invalid and can be omitted.
- Status
Code string - Represents the response status code from the content delivery network for intercepted requests. When Action is refuse, this parameter specifies an error code in the range 400–499. When Action is redirect, this parameter can be: 301: The response status code is 301. 302: The response status code is 302.
- action String
- Specifies how the content delivery network intercepts matching requests. This parameter has the following values: refuse: The content delivery network rejects the request and returns a 4xx error code. The error code is specified in StatusCode. redirect: The content delivery network redirects the request to the URL specified in RedirectUrl.
- error
Page String - When Action is refuse, this parameter is optional, as explained below: If specified, this parameter indicates the name of a custom response page under global configuration. When the content delivery network refuses a request, it returns this custom page. Note that 'global configuration' is an Allowlist feature. To use this feature, submit a ticket. If this parameter is not specified, the content delivery network uses the standard response body for the error code specified in StatusCode. When Action is redirect, this parameter is invalid and can be omitted.
- redirect
Url String - When Action is redirect, this parameter is required and specifies the redirect URL. The URL must start with http:// or https:// and cannot exceed 1,024 characters. When Action is refuse, this parameter is invalid and can be omitted.
- status
Code String - Represents the response status code from the content delivery network for intercepted requests. When Action is refuse, this parameter specifies an error code in the range 400–499. When Action is redirect, this parameter can be: 301: The response status code is 301. 302: The response status code is 302.
- action string
- Specifies how the content delivery network intercepts matching requests. This parameter has the following values: refuse: The content delivery network rejects the request and returns a 4xx error code. The error code is specified in StatusCode. redirect: The content delivery network redirects the request to the URL specified in RedirectUrl.
- error
Page string - When Action is refuse, this parameter is optional, as explained below: If specified, this parameter indicates the name of a custom response page under global configuration. When the content delivery network refuses a request, it returns this custom page. Note that 'global configuration' is an Allowlist feature. To use this feature, submit a ticket. If this parameter is not specified, the content delivery network uses the standard response body for the error code specified in StatusCode. When Action is redirect, this parameter is invalid and can be omitted.
- redirect
Url string - When Action is redirect, this parameter is required and specifies the redirect URL. The URL must start with http:// or https:// and cannot exceed 1,024 characters. When Action is refuse, this parameter is invalid and can be omitted.
- status
Code string - Represents the response status code from the content delivery network for intercepted requests. When Action is refuse, this parameter specifies an error code in the range 400–499. When Action is redirect, this parameter can be: 301: The response status code is 301. 302: The response status code is 302.
- action str
- Specifies how the content delivery network intercepts matching requests. This parameter has the following values: refuse: The content delivery network rejects the request and returns a 4xx error code. The error code is specified in StatusCode. redirect: The content delivery network redirects the request to the URL specified in RedirectUrl.
- error_
page str - When Action is refuse, this parameter is optional, as explained below: If specified, this parameter indicates the name of a custom response page under global configuration. When the content delivery network refuses a request, it returns this custom page. Note that 'global configuration' is an Allowlist feature. To use this feature, submit a ticket. If this parameter is not specified, the content delivery network uses the standard response body for the error code specified in StatusCode. When Action is redirect, this parameter is invalid and can be omitted.
- redirect_
url str - When Action is redirect, this parameter is required and specifies the redirect URL. The URL must start with http:// or https:// and cannot exceed 1,024 characters. When Action is refuse, this parameter is invalid and can be omitted.
- status_
code str - Represents the response status code from the content delivery network for intercepted requests. When Action is refuse, this parameter specifies an error code in the range 400–499. When Action is redirect, this parameter can be: 301: The response status code is 301. 302: The response status code is 302.
- action String
- Specifies how the content delivery network intercepts matching requests. This parameter has the following values: refuse: The content delivery network rejects the request and returns a 4xx error code. The error code is specified in StatusCode. redirect: The content delivery network redirects the request to the URL specified in RedirectUrl.
- error
Page String - When Action is refuse, this parameter is optional, as explained below: If specified, this parameter indicates the name of a custom response page under global configuration. When the content delivery network refuses a request, it returns this custom page. Note that 'global configuration' is an Allowlist feature. To use this feature, submit a ticket. If this parameter is not specified, the content delivery network uses the standard response body for the error code specified in StatusCode. When Action is redirect, this parameter is invalid and can be omitted.
- redirect
Url String - When Action is redirect, this parameter is required and specifies the redirect URL. The URL must start with http:// or https:// and cannot exceed 1,024 characters. When Action is refuse, this parameter is invalid and can be omitted.
- status
Code String - Represents the response status code from the content delivery network for intercepted requests. When Action is refuse, this parameter specifies an error code in the range 400–499. When Action is redirect, this parameter can be: 301: The response status code is 301. 302: The response status code is 302.
DomainRequestBlockRuleBlockRuleCondition, DomainRequestBlockRuleBlockRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Request Block Rule Block Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainRequest Block Rule Block Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainRequest Block Rule Block Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainRequest Block Rule Block Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainRequest Block Rule Block Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainRequestBlockRuleBlockRuleConditionConditionRule, DomainRequestBlockRuleBlockRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainRequestHeader, DomainRequestHeaderArgs
- Condition
Byteplus.
Domain Request Header Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Request
Header Byteplus.Action Domain Request Header Request Header Action - Represents a list of configuration rules for request headers. Each rule includes settings for header operations. You can add up to 50 rules.
- Condition
Domain
Request Header Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Request
Header DomainAction Request Header Request Header Action - Represents a list of configuration rules for request headers. Each rule includes settings for header operations. You can add up to 50 rules.
- condition
Domain
Request Header Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- request
Header DomainAction Request Header Request Header Action - Represents a list of configuration rules for request headers. Each rule includes settings for header operations. You can add up to 50 rules.
- condition
Domain
Request Header Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- request
Header DomainAction Request Header Request Header Action - Represents a list of configuration rules for request headers. Each rule includes settings for header operations. You can add up to 50 rules.
- condition
Domain
Request Header Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- request_
header_ Domainaction Request Header Request Header Action - Represents a list of configuration rules for request headers. Each rule includes settings for header operations. You can add up to 50 rules.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- request
Header Property MapAction - Represents a list of configuration rules for request headers. Each rule includes settings for header operations. You can add up to 50 rules.
DomainRequestHeaderCondition, DomainRequestHeaderConditionArgs
- Condition
Rules List<Byteplus.Domain Request Header Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainRequest Header Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainRequest Header Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainRequest Header Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainRequest Header Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainRequestHeaderConditionConditionRule, DomainRequestHeaderConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainRequestHeaderRequestHeaderAction, DomainRequestHeaderRequestHeaderActionArgs
DomainRequestHeaderRequestHeaderActionRequestHeaderInstance, DomainRequestHeaderRequestHeaderActionRequestHeaderInstanceArgs
- Action string
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- Key string
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- Value string
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- Value
Type string - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- Action string
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- Key string
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- Value string
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- Value
Type string - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action String
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key String
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value String
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value
Type String - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action string
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key string
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value string
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value
Type string - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action str
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key str
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value str
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value_
type str - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
- action String
- Indicates how to set the authentication request header. Currently, you can only set this parameter to set. set means to configure the request header. You need to specify the request header in Key. If the request header does not exist, the content delivery network adds it to the authentication request. If the request header already exists, the content delivery network uses the value specified in Value as the header value.
- key String
- Specifies the name of a header. The name cannot exceed 1,024 characters and is case insensitive. It can contain any printable ASCII character except: underscore (_), space, double quotes ("), and Delete (ASCII code 127).
- value String
- Indicates the value of the Key. This parameter is only valid when Action equals "set". If Action does not equal "set", this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can contain any printable ASCII character except the following: dollar sign ($), Delete (ASCII code 127)
- value
Type String - Specifies the value type for the Key. This parameter is only valid when Action is set to 'set'. If Action is not 'set', this parameter is invalid. The parameter has the following values: constant: the Key value is a fixed string. variable: the Key value comes from a variable. customize: the Key value is a string formed by concatenating a variable and a fixed string.
DomainResponseHeader, DomainResponseHeaderArgs
- Condition
Byteplus.
Domain Response Header Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Response
Header Byteplus.Action Domain Response Header Response Header Action - Indicates operations on the response header performed by the Content Delivery Network when responding to user requests.
- Condition
Domain
Response Header Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- Response
Header DomainAction Response Header Response Header Action - Indicates operations on the response header performed by the Content Delivery Network when responding to user requests.
- condition
Domain
Response Header Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- response
Header DomainAction Response Header Response Header Action - Indicates operations on the response header performed by the Content Delivery Network when responding to user requests.
- condition
Domain
Response Header Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- response
Header DomainAction Response Header Response Header Action - Indicates operations on the response header performed by the Content Delivery Network when responding to user requests.
- condition
Domain
Response Header Condition - Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- response_
header_ Domainaction Response Header Response Header Action - Indicates operations on the response header performed by the Content Delivery Network when responding to user requests.
- condition Property Map
- Indicates the conditions under which this configuration module takes effect, consisting of a set of rules.
- response
Header Property MapAction - Indicates operations on the response header performed by the Content Delivery Network when responding to user requests.
DomainResponseHeaderCondition, DomainResponseHeaderConditionArgs
- Condition
Rules List<Byteplus.Domain Response Header Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainResponse Header Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainResponse Header Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainResponse Header Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainResponse Header Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainResponseHeaderConditionConditionRule, DomainResponseHeaderConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainResponseHeaderResponseHeaderAction, DomainResponseHeaderResponseHeaderActionArgs
DomainResponseHeaderResponseHeaderActionResponseHeaderInstance, DomainResponseHeaderResponseHeaderActionResponseHeaderInstanceArgs
- Access
Origin boolControl - Indicates whether the Origin field in the request header is validated when the content delivery network responds to user requests. Valid values are: true: The content delivery network validates the Origin field. If validation succeeds, the response header includes the Access-Control-Allow-Origin field, with the value matching the Origin field. If validation fails, the response header does not include the Access-Control-Allow-Origin field. false: The content delivery network does not validate the Origin field. The response header includes the Access-Control-Allow-Origin field, with the value set to your configured Access-Control-Allow-Origin content. The default value is false. This parameter is only effective when all the following conditions are met: Action is set. Key is Access-Control-Allow-Origin. ValueType is constant.
- Action string
- Specifies the operation on the response header. This parameter has the following values: set: sets a header. The set operation includes adding and modifying. If the header already exists in the origin response, its value will be overwritten. If the header does not exist in the origin response, it will be added. delete: deletes a header
- Key string
- Specifies the name of a header. The name cannot exceed 1,024 characters, is case-insensitive, and can include any printable ASCII character except the following: underscore (_), space, double quotes ("), and Delete (ASCII code 127)
- Value string
- Indicates the value of the Key. This parameter is valid only when Action is set. If Action is not set, this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can include printable ASCII characters except for the following: dollar sign ($), Delete (ASCII code 127).
- Value
Type string - Specifies the value type for Key. This parameter is only valid when Action is set. If Action is not set, this parameter is invalid. The parameter supports the following values: constant: Key is a fixed string. variable: Key is sourced from a variable. customize: Key is a string formed by concatenating a variable and a fixed string.
- Access
Origin boolControl - Indicates whether the Origin field in the request header is validated when the content delivery network responds to user requests. Valid values are: true: The content delivery network validates the Origin field. If validation succeeds, the response header includes the Access-Control-Allow-Origin field, with the value matching the Origin field. If validation fails, the response header does not include the Access-Control-Allow-Origin field. false: The content delivery network does not validate the Origin field. The response header includes the Access-Control-Allow-Origin field, with the value set to your configured Access-Control-Allow-Origin content. The default value is false. This parameter is only effective when all the following conditions are met: Action is set. Key is Access-Control-Allow-Origin. ValueType is constant.
- Action string
- Specifies the operation on the response header. This parameter has the following values: set: sets a header. The set operation includes adding and modifying. If the header already exists in the origin response, its value will be overwritten. If the header does not exist in the origin response, it will be added. delete: deletes a header
- Key string
- Specifies the name of a header. The name cannot exceed 1,024 characters, is case-insensitive, and can include any printable ASCII character except the following: underscore (_), space, double quotes ("), and Delete (ASCII code 127)
- Value string
- Indicates the value of the Key. This parameter is valid only when Action is set. If Action is not set, this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can include printable ASCII characters except for the following: dollar sign ($), Delete (ASCII code 127).
- Value
Type string - Specifies the value type for Key. This parameter is only valid when Action is set. If Action is not set, this parameter is invalid. The parameter supports the following values: constant: Key is a fixed string. variable: Key is sourced from a variable. customize: Key is a string formed by concatenating a variable and a fixed string.
- access
Origin BooleanControl - Indicates whether the Origin field in the request header is validated when the content delivery network responds to user requests. Valid values are: true: The content delivery network validates the Origin field. If validation succeeds, the response header includes the Access-Control-Allow-Origin field, with the value matching the Origin field. If validation fails, the response header does not include the Access-Control-Allow-Origin field. false: The content delivery network does not validate the Origin field. The response header includes the Access-Control-Allow-Origin field, with the value set to your configured Access-Control-Allow-Origin content. The default value is false. This parameter is only effective when all the following conditions are met: Action is set. Key is Access-Control-Allow-Origin. ValueType is constant.
- action String
- Specifies the operation on the response header. This parameter has the following values: set: sets a header. The set operation includes adding and modifying. If the header already exists in the origin response, its value will be overwritten. If the header does not exist in the origin response, it will be added. delete: deletes a header
- key String
- Specifies the name of a header. The name cannot exceed 1,024 characters, is case-insensitive, and can include any printable ASCII character except the following: underscore (_), space, double quotes ("), and Delete (ASCII code 127)
- value String
- Indicates the value of the Key. This parameter is valid only when Action is set. If Action is not set, this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can include printable ASCII characters except for the following: dollar sign ($), Delete (ASCII code 127).
- value
Type String - Specifies the value type for Key. This parameter is only valid when Action is set. If Action is not set, this parameter is invalid. The parameter supports the following values: constant: Key is a fixed string. variable: Key is sourced from a variable. customize: Key is a string formed by concatenating a variable and a fixed string.
- access
Origin booleanControl - Indicates whether the Origin field in the request header is validated when the content delivery network responds to user requests. Valid values are: true: The content delivery network validates the Origin field. If validation succeeds, the response header includes the Access-Control-Allow-Origin field, with the value matching the Origin field. If validation fails, the response header does not include the Access-Control-Allow-Origin field. false: The content delivery network does not validate the Origin field. The response header includes the Access-Control-Allow-Origin field, with the value set to your configured Access-Control-Allow-Origin content. The default value is false. This parameter is only effective when all the following conditions are met: Action is set. Key is Access-Control-Allow-Origin. ValueType is constant.
- action string
- Specifies the operation on the response header. This parameter has the following values: set: sets a header. The set operation includes adding and modifying. If the header already exists in the origin response, its value will be overwritten. If the header does not exist in the origin response, it will be added. delete: deletes a header
- key string
- Specifies the name of a header. The name cannot exceed 1,024 characters, is case-insensitive, and can include any printable ASCII character except the following: underscore (_), space, double quotes ("), and Delete (ASCII code 127)
- value string
- Indicates the value of the Key. This parameter is valid only when Action is set. If Action is not set, this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can include printable ASCII characters except for the following: dollar sign ($), Delete (ASCII code 127).
- value
Type string - Specifies the value type for Key. This parameter is only valid when Action is set. If Action is not set, this parameter is invalid. The parameter supports the following values: constant: Key is a fixed string. variable: Key is sourced from a variable. customize: Key is a string formed by concatenating a variable and a fixed string.
- access_
origin_ boolcontrol - Indicates whether the Origin field in the request header is validated when the content delivery network responds to user requests. Valid values are: true: The content delivery network validates the Origin field. If validation succeeds, the response header includes the Access-Control-Allow-Origin field, with the value matching the Origin field. If validation fails, the response header does not include the Access-Control-Allow-Origin field. false: The content delivery network does not validate the Origin field. The response header includes the Access-Control-Allow-Origin field, with the value set to your configured Access-Control-Allow-Origin content. The default value is false. This parameter is only effective when all the following conditions are met: Action is set. Key is Access-Control-Allow-Origin. ValueType is constant.
- action str
- Specifies the operation on the response header. This parameter has the following values: set: sets a header. The set operation includes adding and modifying. If the header already exists in the origin response, its value will be overwritten. If the header does not exist in the origin response, it will be added. delete: deletes a header
- key str
- Specifies the name of a header. The name cannot exceed 1,024 characters, is case-insensitive, and can include any printable ASCII character except the following: underscore (_), space, double quotes ("), and Delete (ASCII code 127)
- value str
- Indicates the value of the Key. This parameter is valid only when Action is set. If Action is not set, this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can include printable ASCII characters except for the following: dollar sign ($), Delete (ASCII code 127).
- value_
type str - Specifies the value type for Key. This parameter is only valid when Action is set. If Action is not set, this parameter is invalid. The parameter supports the following values: constant: Key is a fixed string. variable: Key is sourced from a variable. customize: Key is a string formed by concatenating a variable and a fixed string.
- access
Origin BooleanControl - Indicates whether the Origin field in the request header is validated when the content delivery network responds to user requests. Valid values are: true: The content delivery network validates the Origin field. If validation succeeds, the response header includes the Access-Control-Allow-Origin field, with the value matching the Origin field. If validation fails, the response header does not include the Access-Control-Allow-Origin field. false: The content delivery network does not validate the Origin field. The response header includes the Access-Control-Allow-Origin field, with the value set to your configured Access-Control-Allow-Origin content. The default value is false. This parameter is only effective when all the following conditions are met: Action is set. Key is Access-Control-Allow-Origin. ValueType is constant.
- action String
- Specifies the operation on the response header. This parameter has the following values: set: sets a header. The set operation includes adding and modifying. If the header already exists in the origin response, its value will be overwritten. If the header does not exist in the origin response, it will be added. delete: deletes a header
- key String
- Specifies the name of a header. The name cannot exceed 1,024 characters, is case-insensitive, and can include any printable ASCII character except the following: underscore (_), space, double quotes ("), and Delete (ASCII code 127)
- value String
- Indicates the value of the Key. This parameter is valid only when Action is set. If Action is not set, this parameter is invalid. When ValueType is constant, you must specify a fixed string as the header value. The header value cannot exceed 1,024 characters and can include printable ASCII characters except for the following: dollar sign ($), Delete (ASCII code 127).
- value
Type String - Specifies the value type for Key. This parameter is only valid when Action is set. If Action is not set, this parameter is invalid. The parameter supports the following values: constant: Key is a fixed string. variable: Key is sourced from a variable. customize: Key is a string formed by concatenating a variable and a fixed string.
DomainRewriteHls, DomainRewriteHlsArgs
- Sign
Name string - Indicates the name of the signature parameter, which cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!). The default value is DrmAuthToken.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- Sign
Name string - Indicates the name of the signature parameter, which cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!). The default value is DrmAuthToken.
- Switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sign
Name String - Indicates the name of the signature parameter, which cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!). The default value is DrmAuthToken.
- switch_ Boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sign
Name string - Indicates the name of the signature parameter, which cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!). The default value is DrmAuthToken.
- switch boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sign_
name str - Indicates the name of the signature parameter, which cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!). The default value is DrmAuthToken.
- switch bool
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
- sign
Name String - Indicates the name of the signature parameter, which cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!). The default value is DrmAuthToken.
- switch Boolean
- Indicates whether this feature is enabled. This parameter has the following options: true: Enable this feature. false: Disable this feature. The default value for this parameter is false.
DomainSignedUrlAuth, DomainSignedUrlAuthArgs
- Signed
Url List<Byteplus.Auth Rules Domain Signed Url Auth Signed Url Auth Rule> - Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- Signed
Url []DomainAuth Rules Signed Url Auth Signed Url Auth Rule - Switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- signed
Url List<DomainAuth Rules Signed Url Auth Signed Url Auth Rule> - switch_ Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- signed
Url DomainAuth Rules Signed Url Auth Signed Url Auth Rule[] - switch boolean
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- signed_
url_ Sequence[Domainauth_ rules Signed Url Auth Signed Url Auth Rule] - switch bool
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
- signed
Url List<Property Map>Auth Rules - switch Boolean
- Indicates whether to enable this feature. This parameter has the following values: true: Enables this feature. false: Disables this feature.
DomainSignedUrlAuthSignedUrlAuthRule, DomainSignedUrlAuthSignedUrlAuthRuleArgs
- Condition
Byteplus.
Domain Signed Url Auth Signed Url Auth Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Signed
Url Byteplus.Auth Action Domain Signed Url Auth Signed Url Auth Rule Signed Url Auth Action - Indicates the configuration for signature calculation.
- Condition
Domain
Signed Url Auth Signed Url Auth Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Signed
Url DomainAuth Action Signed Url Auth Signed Url Auth Rule Signed Url Auth Action - Indicates the configuration for signature calculation.
- condition
Domain
Signed Url Auth Signed Url Auth Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- signed
Url DomainAuth Action Signed Url Auth Signed Url Auth Rule Signed Url Auth Action - Indicates the configuration for signature calculation.
- condition
Domain
Signed Url Auth Signed Url Auth Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- signed
Url DomainAuth Action Signed Url Auth Signed Url Auth Rule Signed Url Auth Action - Indicates the configuration for signature calculation.
- condition
Domain
Signed Url Auth Signed Url Auth Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- signed_
url_ Domainauth_ action Signed Url Auth Signed Url Auth Rule Signed Url Auth Action - Indicates the configuration for signature calculation.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- signed
Url Property MapAuth Action - Indicates the configuration for signature calculation.
DomainSignedUrlAuthSignedUrlAuthRuleCondition, DomainSignedUrlAuthSignedUrlAuthRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Signed Url Auth Signed Url Auth Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainSigned Url Auth Signed Url Auth Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainSigned Url Auth Signed Url Auth Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainSigned Url Auth Signed Url Auth Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainSigned Url Auth Signed Url Auth Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainSignedUrlAuthSignedUrlAuthRuleConditionConditionRule, DomainSignedUrlAuthSignedUrlAuthRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthAction, DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionArgs
- Auth
Algorithm string - Indicates the algorithm used for signature calculation. This configuration has the following values: md5: MD5 algorithm. sha256: SHA-256 algorithm. The default value for this parameter is md5.
- Backup
Secret stringKey - Indicates the backup secret key. The backup secret key must be 6–40 characters long and can contain any printable ASCII character except Delete (ASCII code 127).
- Custom
Variable Byteplus.Rules Domain Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Custom Variable Rules - Indicates custom signature calculation variables.
- Duration int
- The validity period of the signature, in seconds. This parameter is used with the timestamp included in the request to calculate the expiration time of the signature. The value range for this parameter is 0–315,360,000. Signature expiration time = timestamp + Duration. When the content delivery network receives a request, if the signature expiration time is less than the current time, the content delivery network determines that the signature has expired.
- Keep
Origin boolArg - This parameter is not currently available to external users. Do not use this parameter.
- Master
Secret stringKey - Indicates the primary key, with a length of 6–40 characters. It can include printable ASCII characters except Delete (ASCII code 127)
- Rewrite
M3U8 bool - Indicates whether the content delivery network adds signature parameters to the URL of each segment file in a .m3u8 file when responding to a .m3u8 file request. The signature for each segment URL is calculated based on the rewritten segment URL using the signature rules. The parameter values are as follows: true: enabled. false: disabled.
- Rewrite
M3U8Rule Byteplus.Domain Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Rewrite M3U8Rule - Specifies the configuration for the 'M3U8 Rewrite' feature. This configuration is valid only when both of the following conditions are met: RewriteM3u8 is true; URLAuthType is not typee.
- Sign
Name string - Indicates the name of the signature parameter. The length cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!).
- Signature
Rules List<string> - When URLAuthType is set to typee, this parameter is required and specifies the fields to be included in the signature calculation. The following fields must be included in the signature calculation: key: the secret key, which is the parameter value for MasterSecretKey or BackupSecretKey. uri: the URI of the resource requested by the user. If the URI contains Chinese characters, you need to encode the URI. TimeName: the parameter value for the timestamp. The following fields can optionally be included in the signature calculation: domain: the acceleration domain name. referer: the referer value carried in the user's request. ua: the User-Agent value carried in the user's request. ip: the client IP of the user's request. origin: the Origin value carried in the user's request. Custom variables: the variable names you define in CustomVariableInstances. The order in which the fields are listed determines the order of values in MD5() during signature calculation.
- Time
Format string - Numeral system configuration. This parameter has the following values: decimal: decimal system; hexadecimal: hexadecimal system. When URLAuthType is typed or typee, this parameter is required. When URLAuthType is typec, regardless of your setting, this parameter is forcibly set to hexadecimal. For other URLAuthType values, this parameter is not effective.
- Time
Name string - Indicates the name of the timestamp parameter. The value of TimeName can include English letters, numbers, underscores (_), hyphens (-), periods (.), commas (,), and exclamation marks (!), with a length of 1–100 characters. TimeName cannot be the same as SignName. When URLAuthType is typed or typee, this parameter is required. For other types, this parameter does not apply.
- Url
Auth stringType - Signature type
- Auth
Algorithm string - Indicates the algorithm used for signature calculation. This configuration has the following values: md5: MD5 algorithm. sha256: SHA-256 algorithm. The default value for this parameter is md5.
- Backup
Secret stringKey - Indicates the backup secret key. The backup secret key must be 6–40 characters long and can contain any printable ASCII character except Delete (ASCII code 127).
- Custom
Variable DomainRules Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Custom Variable Rules - Indicates custom signature calculation variables.
- Duration int
- The validity period of the signature, in seconds. This parameter is used with the timestamp included in the request to calculate the expiration time of the signature. The value range for this parameter is 0–315,360,000. Signature expiration time = timestamp + Duration. When the content delivery network receives a request, if the signature expiration time is less than the current time, the content delivery network determines that the signature has expired.
- Keep
Origin boolArg - This parameter is not currently available to external users. Do not use this parameter.
- Master
Secret stringKey - Indicates the primary key, with a length of 6–40 characters. It can include printable ASCII characters except Delete (ASCII code 127)
- Rewrite
M3U8 bool - Indicates whether the content delivery network adds signature parameters to the URL of each segment file in a .m3u8 file when responding to a .m3u8 file request. The signature for each segment URL is calculated based on the rewritten segment URL using the signature rules. The parameter values are as follows: true: enabled. false: disabled.
- Rewrite
M3U8Rule DomainSigned Url Auth Signed Url Auth Rule Signed Url Auth Action Rewrite M3U8Rule - Specifies the configuration for the 'M3U8 Rewrite' feature. This configuration is valid only when both of the following conditions are met: RewriteM3u8 is true; URLAuthType is not typee.
- Sign
Name string - Indicates the name of the signature parameter. The length cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!).
- Signature
Rules []string - When URLAuthType is set to typee, this parameter is required and specifies the fields to be included in the signature calculation. The following fields must be included in the signature calculation: key: the secret key, which is the parameter value for MasterSecretKey or BackupSecretKey. uri: the URI of the resource requested by the user. If the URI contains Chinese characters, you need to encode the URI. TimeName: the parameter value for the timestamp. The following fields can optionally be included in the signature calculation: domain: the acceleration domain name. referer: the referer value carried in the user's request. ua: the User-Agent value carried in the user's request. ip: the client IP of the user's request. origin: the Origin value carried in the user's request. Custom variables: the variable names you define in CustomVariableInstances. The order in which the fields are listed determines the order of values in MD5() during signature calculation.
- Time
Format string - Numeral system configuration. This parameter has the following values: decimal: decimal system; hexadecimal: hexadecimal system. When URLAuthType is typed or typee, this parameter is required. When URLAuthType is typec, regardless of your setting, this parameter is forcibly set to hexadecimal. For other URLAuthType values, this parameter is not effective.
- Time
Name string - Indicates the name of the timestamp parameter. The value of TimeName can include English letters, numbers, underscores (_), hyphens (-), periods (.), commas (,), and exclamation marks (!), with a length of 1–100 characters. TimeName cannot be the same as SignName. When URLAuthType is typed or typee, this parameter is required. For other types, this parameter does not apply.
- Url
Auth stringType - Signature type
- auth
Algorithm String - Indicates the algorithm used for signature calculation. This configuration has the following values: md5: MD5 algorithm. sha256: SHA-256 algorithm. The default value for this parameter is md5.
- backup
Secret StringKey - Indicates the backup secret key. The backup secret key must be 6–40 characters long and can contain any printable ASCII character except Delete (ASCII code 127).
- custom
Variable DomainRules Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Custom Variable Rules - Indicates custom signature calculation variables.
- duration Integer
- The validity period of the signature, in seconds. This parameter is used with the timestamp included in the request to calculate the expiration time of the signature. The value range for this parameter is 0–315,360,000. Signature expiration time = timestamp + Duration. When the content delivery network receives a request, if the signature expiration time is less than the current time, the content delivery network determines that the signature has expired.
- keep
Origin BooleanArg - This parameter is not currently available to external users. Do not use this parameter.
- master
Secret StringKey - Indicates the primary key, with a length of 6–40 characters. It can include printable ASCII characters except Delete (ASCII code 127)
- rewrite
M3U8 Boolean - Indicates whether the content delivery network adds signature parameters to the URL of each segment file in a .m3u8 file when responding to a .m3u8 file request. The signature for each segment URL is calculated based on the rewritten segment URL using the signature rules. The parameter values are as follows: true: enabled. false: disabled.
- rewrite
M3U8Rule DomainSigned Url Auth Signed Url Auth Rule Signed Url Auth Action Rewrite M3U8Rule - Specifies the configuration for the 'M3U8 Rewrite' feature. This configuration is valid only when both of the following conditions are met: RewriteM3u8 is true; URLAuthType is not typee.
- sign
Name String - Indicates the name of the signature parameter. The length cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!).
- signature
Rules List<String> - When URLAuthType is set to typee, this parameter is required and specifies the fields to be included in the signature calculation. The following fields must be included in the signature calculation: key: the secret key, which is the parameter value for MasterSecretKey or BackupSecretKey. uri: the URI of the resource requested by the user. If the URI contains Chinese characters, you need to encode the URI. TimeName: the parameter value for the timestamp. The following fields can optionally be included in the signature calculation: domain: the acceleration domain name. referer: the referer value carried in the user's request. ua: the User-Agent value carried in the user's request. ip: the client IP of the user's request. origin: the Origin value carried in the user's request. Custom variables: the variable names you define in CustomVariableInstances. The order in which the fields are listed determines the order of values in MD5() during signature calculation.
- time
Format String - Numeral system configuration. This parameter has the following values: decimal: decimal system; hexadecimal: hexadecimal system. When URLAuthType is typed or typee, this parameter is required. When URLAuthType is typec, regardless of your setting, this parameter is forcibly set to hexadecimal. For other URLAuthType values, this parameter is not effective.
- time
Name String - Indicates the name of the timestamp parameter. The value of TimeName can include English letters, numbers, underscores (_), hyphens (-), periods (.), commas (,), and exclamation marks (!), with a length of 1–100 characters. TimeName cannot be the same as SignName. When URLAuthType is typed or typee, this parameter is required. For other types, this parameter does not apply.
- url
Auth StringType - Signature type
- auth
Algorithm string - Indicates the algorithm used for signature calculation. This configuration has the following values: md5: MD5 algorithm. sha256: SHA-256 algorithm. The default value for this parameter is md5.
- backup
Secret stringKey - Indicates the backup secret key. The backup secret key must be 6–40 characters long and can contain any printable ASCII character except Delete (ASCII code 127).
- custom
Variable DomainRules Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Custom Variable Rules - Indicates custom signature calculation variables.
- duration number
- The validity period of the signature, in seconds. This parameter is used with the timestamp included in the request to calculate the expiration time of the signature. The value range for this parameter is 0–315,360,000. Signature expiration time = timestamp + Duration. When the content delivery network receives a request, if the signature expiration time is less than the current time, the content delivery network determines that the signature has expired.
- keep
Origin booleanArg - This parameter is not currently available to external users. Do not use this parameter.
- master
Secret stringKey - Indicates the primary key, with a length of 6–40 characters. It can include printable ASCII characters except Delete (ASCII code 127)
- rewrite
M3U8 boolean - Indicates whether the content delivery network adds signature parameters to the URL of each segment file in a .m3u8 file when responding to a .m3u8 file request. The signature for each segment URL is calculated based on the rewritten segment URL using the signature rules. The parameter values are as follows: true: enabled. false: disabled.
- rewrite
M3U8Rule DomainSigned Url Auth Signed Url Auth Rule Signed Url Auth Action Rewrite M3U8Rule - Specifies the configuration for the 'M3U8 Rewrite' feature. This configuration is valid only when both of the following conditions are met: RewriteM3u8 is true; URLAuthType is not typee.
- sign
Name string - Indicates the name of the signature parameter. The length cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!).
- signature
Rules string[] - When URLAuthType is set to typee, this parameter is required and specifies the fields to be included in the signature calculation. The following fields must be included in the signature calculation: key: the secret key, which is the parameter value for MasterSecretKey or BackupSecretKey. uri: the URI of the resource requested by the user. If the URI contains Chinese characters, you need to encode the URI. TimeName: the parameter value for the timestamp. The following fields can optionally be included in the signature calculation: domain: the acceleration domain name. referer: the referer value carried in the user's request. ua: the User-Agent value carried in the user's request. ip: the client IP of the user's request. origin: the Origin value carried in the user's request. Custom variables: the variable names you define in CustomVariableInstances. The order in which the fields are listed determines the order of values in MD5() during signature calculation.
- time
Format string - Numeral system configuration. This parameter has the following values: decimal: decimal system; hexadecimal: hexadecimal system. When URLAuthType is typed or typee, this parameter is required. When URLAuthType is typec, regardless of your setting, this parameter is forcibly set to hexadecimal. For other URLAuthType values, this parameter is not effective.
- time
Name string - Indicates the name of the timestamp parameter. The value of TimeName can include English letters, numbers, underscores (_), hyphens (-), periods (.), commas (,), and exclamation marks (!), with a length of 1–100 characters. TimeName cannot be the same as SignName. When URLAuthType is typed or typee, this parameter is required. For other types, this parameter does not apply.
- url
Auth stringType - Signature type
- auth_
algorithm str - Indicates the algorithm used for signature calculation. This configuration has the following values: md5: MD5 algorithm. sha256: SHA-256 algorithm. The default value for this parameter is md5.
- backup_
secret_ strkey - Indicates the backup secret key. The backup secret key must be 6–40 characters long and can contain any printable ASCII character except Delete (ASCII code 127).
- custom_
variable_ Domainrules Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Custom Variable Rules - Indicates custom signature calculation variables.
- duration int
- The validity period of the signature, in seconds. This parameter is used with the timestamp included in the request to calculate the expiration time of the signature. The value range for this parameter is 0–315,360,000. Signature expiration time = timestamp + Duration. When the content delivery network receives a request, if the signature expiration time is less than the current time, the content delivery network determines that the signature has expired.
- keep_
origin_ boolarg - This parameter is not currently available to external users. Do not use this parameter.
- master_
secret_ strkey - Indicates the primary key, with a length of 6–40 characters. It can include printable ASCII characters except Delete (ASCII code 127)
- rewrite_
m3_ boolu8 - Indicates whether the content delivery network adds signature parameters to the URL of each segment file in a .m3u8 file when responding to a .m3u8 file request. The signature for each segment URL is calculated based on the rewritten segment URL using the signature rules. The parameter values are as follows: true: enabled. false: disabled.
- rewrite_
m3_ Domainu8_ rule Signed Url Auth Signed Url Auth Rule Signed Url Auth Action Rewrite M3U8Rule - Specifies the configuration for the 'M3U8 Rewrite' feature. This configuration is valid only when both of the following conditions are met: RewriteM3u8 is true; URLAuthType is not typee.
- sign_
name str - Indicates the name of the signature parameter. The length cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!).
- signature_
rules Sequence[str] - When URLAuthType is set to typee, this parameter is required and specifies the fields to be included in the signature calculation. The following fields must be included in the signature calculation: key: the secret key, which is the parameter value for MasterSecretKey or BackupSecretKey. uri: the URI of the resource requested by the user. If the URI contains Chinese characters, you need to encode the URI. TimeName: the parameter value for the timestamp. The following fields can optionally be included in the signature calculation: domain: the acceleration domain name. referer: the referer value carried in the user's request. ua: the User-Agent value carried in the user's request. ip: the client IP of the user's request. origin: the Origin value carried in the user's request. Custom variables: the variable names you define in CustomVariableInstances. The order in which the fields are listed determines the order of values in MD5() during signature calculation.
- time_
format str - Numeral system configuration. This parameter has the following values: decimal: decimal system; hexadecimal: hexadecimal system. When URLAuthType is typed or typee, this parameter is required. When URLAuthType is typec, regardless of your setting, this parameter is forcibly set to hexadecimal. For other URLAuthType values, this parameter is not effective.
- time_
name str - Indicates the name of the timestamp parameter. The value of TimeName can include English letters, numbers, underscores (_), hyphens (-), periods (.), commas (,), and exclamation marks (!), with a length of 1–100 characters. TimeName cannot be the same as SignName. When URLAuthType is typed or typee, this parameter is required. For other types, this parameter does not apply.
- url_
auth_ strtype - Signature type
- auth
Algorithm String - Indicates the algorithm used for signature calculation. This configuration has the following values: md5: MD5 algorithm. sha256: SHA-256 algorithm. The default value for this parameter is md5.
- backup
Secret StringKey - Indicates the backup secret key. The backup secret key must be 6–40 characters long and can contain any printable ASCII character except Delete (ASCII code 127).
- custom
Variable Property MapRules - Indicates custom signature calculation variables.
- duration Number
- The validity period of the signature, in seconds. This parameter is used with the timestamp included in the request to calculate the expiration time of the signature. The value range for this parameter is 0–315,360,000. Signature expiration time = timestamp + Duration. When the content delivery network receives a request, if the signature expiration time is less than the current time, the content delivery network determines that the signature has expired.
- keep
Origin BooleanArg - This parameter is not currently available to external users. Do not use this parameter.
- master
Secret StringKey - Indicates the primary key, with a length of 6–40 characters. It can include printable ASCII characters except Delete (ASCII code 127)
- rewrite
M3U8 Boolean - Indicates whether the content delivery network adds signature parameters to the URL of each segment file in a .m3u8 file when responding to a .m3u8 file request. The signature for each segment URL is calculated based on the rewritten segment URL using the signature rules. The parameter values are as follows: true: enabled. false: disabled.
- rewrite
M3U8Rule Property Map - Specifies the configuration for the 'M3U8 Rewrite' feature. This configuration is valid only when both of the following conditions are met: RewriteM3u8 is true; URLAuthType is not typee.
- sign
Name String - Indicates the name of the signature parameter. The length cannot exceed 100 characters. Parameter names are case-sensitive and can include letters, numbers, underscores (_), hyphens (-), commas (,), periods (.), and exclamation marks (!).
- signature
Rules List<String> - When URLAuthType is set to typee, this parameter is required and specifies the fields to be included in the signature calculation. The following fields must be included in the signature calculation: key: the secret key, which is the parameter value for MasterSecretKey or BackupSecretKey. uri: the URI of the resource requested by the user. If the URI contains Chinese characters, you need to encode the URI. TimeName: the parameter value for the timestamp. The following fields can optionally be included in the signature calculation: domain: the acceleration domain name. referer: the referer value carried in the user's request. ua: the User-Agent value carried in the user's request. ip: the client IP of the user's request. origin: the Origin value carried in the user's request. Custom variables: the variable names you define in CustomVariableInstances. The order in which the fields are listed determines the order of values in MD5() during signature calculation.
- time
Format String - Numeral system configuration. This parameter has the following values: decimal: decimal system; hexadecimal: hexadecimal system. When URLAuthType is typed or typee, this parameter is required. When URLAuthType is typec, regardless of your setting, this parameter is forcibly set to hexadecimal. For other URLAuthType values, this parameter is not effective.
- time
Name String - Indicates the name of the timestamp parameter. The value of TimeName can include English letters, numbers, underscores (_), hyphens (-), periods (.), commas (,), and exclamation marks (!), with a length of 1–100 characters. TimeName cannot be the same as SignName. When URLAuthType is typed or typee, this parameter is required. For other types, this parameter does not apply.
- url
Auth StringType - Signature type
DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRules, DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesArgs
DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesCustomVariableInstance, DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionCustomVariableRulesCustomVariableInstanceArgs
- Operator string
- Indicates the matching method for the variable. The value of this parameter can only be match.
- Type string
- Indicates the variable type. This parameter has the following values: queryString: indicates the variable is a query parameter in the request. requestHeader: indicates the variable is a header field in the request.
- Value string
- Specifies the variable name, with a maximum length of 100 characters. Variable name requirements are as follows: If Type is queryString, the variable name can include letters, numbers, hyphens (-), commas (,), periods (.), and exclamation marks (!). If Type is requestHeader, the variable name can include any printable ASCII character except: underscore (_), space, double quotes ("), colon (:), and Delete (ASCII code 127).
- Operator string
- Indicates the matching method for the variable. The value of this parameter can only be match.
- Type string
- Indicates the variable type. This parameter has the following values: queryString: indicates the variable is a query parameter in the request. requestHeader: indicates the variable is a header field in the request.
- Value string
- Specifies the variable name, with a maximum length of 100 characters. Variable name requirements are as follows: If Type is queryString, the variable name can include letters, numbers, hyphens (-), commas (,), periods (.), and exclamation marks (!). If Type is requestHeader, the variable name can include any printable ASCII character except: underscore (_), space, double quotes ("), colon (:), and Delete (ASCII code 127).
- operator String
- Indicates the matching method for the variable. The value of this parameter can only be match.
- type String
- Indicates the variable type. This parameter has the following values: queryString: indicates the variable is a query parameter in the request. requestHeader: indicates the variable is a header field in the request.
- value String
- Specifies the variable name, with a maximum length of 100 characters. Variable name requirements are as follows: If Type is queryString, the variable name can include letters, numbers, hyphens (-), commas (,), periods (.), and exclamation marks (!). If Type is requestHeader, the variable name can include any printable ASCII character except: underscore (_), space, double quotes ("), colon (:), and Delete (ASCII code 127).
- operator string
- Indicates the matching method for the variable. The value of this parameter can only be match.
- type string
- Indicates the variable type. This parameter has the following values: queryString: indicates the variable is a query parameter in the request. requestHeader: indicates the variable is a header field in the request.
- value string
- Specifies the variable name, with a maximum length of 100 characters. Variable name requirements are as follows: If Type is queryString, the variable name can include letters, numbers, hyphens (-), commas (,), periods (.), and exclamation marks (!). If Type is requestHeader, the variable name can include any printable ASCII character except: underscore (_), space, double quotes ("), colon (:), and Delete (ASCII code 127).
- operator str
- Indicates the matching method for the variable. The value of this parameter can only be match.
- type str
- Indicates the variable type. This parameter has the following values: queryString: indicates the variable is a query parameter in the request. requestHeader: indicates the variable is a header field in the request.
- value str
- Specifies the variable name, with a maximum length of 100 characters. Variable name requirements are as follows: If Type is queryString, the variable name can include letters, numbers, hyphens (-), commas (,), periods (.), and exclamation marks (!). If Type is requestHeader, the variable name can include any printable ASCII character except: underscore (_), space, double quotes ("), colon (:), and Delete (ASCII code 127).
- operator String
- Indicates the matching method for the variable. The value of this parameter can only be match.
- type String
- Indicates the variable type. This parameter has the following values: queryString: indicates the variable is a query parameter in the request. requestHeader: indicates the variable is a header field in the request.
- value String
- Specifies the variable name, with a maximum length of 100 characters. Variable name requirements are as follows: If Type is queryString, the variable name can include letters, numbers, hyphens (-), commas (,), periods (.), and exclamation marks (!). If Type is requestHeader, the variable name can include any printable ASCII character except: underscore (_), space, double quotes ("), colon (:), and Delete (ASCII code 127).
DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionRewriteM3U8Rule, DomainSignedUrlAuthSignedUrlAuthRuleSignedUrlAuthActionRewriteM3U8RuleArgs
- Delete
Param bool - Indicates whether to retain the original parameters in the URL when rewriting the shard URL. This parameter has the following values: true: removes the original parameters. false: retains the original parameters.
- Keep
M3U8Param bool - Indicates whether to add unsigned query parameters from the M3U8 file request to the segment URL. The parameter has the following options: true: add query parameters to the segment URL. false: do not add query parameters.
- Delete
Param bool - Indicates whether to retain the original parameters in the URL when rewriting the shard URL. This parameter has the following values: true: removes the original parameters. false: retains the original parameters.
- Keep
M3U8Param bool - Indicates whether to add unsigned query parameters from the M3U8 file request to the segment URL. The parameter has the following options: true: add query parameters to the segment URL. false: do not add query parameters.
- delete
Param Boolean - Indicates whether to retain the original parameters in the URL when rewriting the shard URL. This parameter has the following values: true: removes the original parameters. false: retains the original parameters.
- keep
M3U8Param Boolean - Indicates whether to add unsigned query parameters from the M3U8 file request to the segment URL. The parameter has the following options: true: add query parameters to the segment URL. false: do not add query parameters.
- delete
Param boolean - Indicates whether to retain the original parameters in the URL when rewriting the shard URL. This parameter has the following values: true: removes the original parameters. false: retains the original parameters.
- keep
M3U8Param boolean - Indicates whether to add unsigned query parameters from the M3U8 file request to the segment URL. The parameter has the following options: true: add query parameters to the segment URL. false: do not add query parameters.
- delete_
param bool - Indicates whether to retain the original parameters in the URL when rewriting the shard URL. This parameter has the following values: true: removes the original parameters. false: retains the original parameters.
- keep_
m3_ boolu8_ param - Indicates whether to add unsigned query parameters from the M3U8 file request to the segment URL. The parameter has the following options: true: add query parameters to the segment URL. false: do not add query parameters.
- delete
Param Boolean - Indicates whether to retain the original parameters in the URL when rewriting the shard URL. This parameter has the following values: true: removes the original parameters. false: retains the original parameters.
- keep
M3U8Param Boolean - Indicates whether to add unsigned query parameters from the M3U8 file request to the segment URL. The parameter has the following options: true: add query parameters to the segment URL. false: do not add query parameters.
DomainTag, DomainTagArgs
DomainTimeout, DomainTimeoutArgs
- Switch bool
- Specify whether to enable origin timeout configuration. This parameter has the following values: true: enables origin timeout configuration. false: disables origin timeout configuration. In this case, the system default timeout values are used for TCP and HTTP requests, which are 2 seconds and 60 seconds respectively.
- Timeout
Rules List<Byteplus.Domain Timeout Timeout Rule>
- Switch bool
- Specify whether to enable origin timeout configuration. This parameter has the following values: true: enables origin timeout configuration. false: disables origin timeout configuration. In this case, the system default timeout values are used for TCP and HTTP requests, which are 2 seconds and 60 seconds respectively.
- Timeout
Rules []DomainTimeout Timeout Rule
- switch_ Boolean
- Specify whether to enable origin timeout configuration. This parameter has the following values: true: enables origin timeout configuration. false: disables origin timeout configuration. In this case, the system default timeout values are used for TCP and HTTP requests, which are 2 seconds and 60 seconds respectively.
- timeout
Rules List<DomainTimeout Timeout Rule>
- switch boolean
- Specify whether to enable origin timeout configuration. This parameter has the following values: true: enables origin timeout configuration. false: disables origin timeout configuration. In this case, the system default timeout values are used for TCP and HTTP requests, which are 2 seconds and 60 seconds respectively.
- timeout
Rules DomainTimeout Timeout Rule[]
- switch bool
- Specify whether to enable origin timeout configuration. This parameter has the following values: true: enables origin timeout configuration. false: disables origin timeout configuration. In this case, the system default timeout values are used for TCP and HTTP requests, which are 2 seconds and 60 seconds respectively.
- timeout_
rules Sequence[DomainTimeout Timeout Rule]
- switch Boolean
- Specify whether to enable origin timeout configuration. This parameter has the following values: true: enables origin timeout configuration. false: disables origin timeout configuration. In this case, the system default timeout values are used for TCP and HTTP requests, which are 2 seconds and 60 seconds respectively.
- timeout
Rules List<Property Map>
DomainTimeoutTimeoutRule, DomainTimeoutTimeoutRuleArgs
- Condition
Byteplus.
Domain Timeout Timeout Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Timeout
Action Byteplus.Domain Timeout Timeout Rule Timeout Action - Indicates the timeout configuration.
- Condition
Domain
Timeout Timeout Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- Timeout
Action DomainTimeout Timeout Rule Timeout Action - Indicates the timeout configuration.
- condition
Domain
Timeout Timeout Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- timeout
Action DomainTimeout Timeout Rule Timeout Action - Indicates the timeout configuration.
- condition
Domain
Timeout Timeout Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- timeout
Action DomainTimeout Timeout Rule Timeout Action - Indicates the timeout configuration.
- condition
Domain
Timeout Timeout Rule Condition - Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- timeout_
action DomainTimeout Timeout Rule Timeout Action - Indicates the timeout configuration.
- condition Property Map
- Represents the conditions under which this configuration module takes effect, consisting of a set of rules.
- timeout
Action Property Map - Indicates the timeout configuration.
DomainTimeoutTimeoutRuleCondition, DomainTimeoutTimeoutRuleConditionArgs
- Condition
Rules List<Byteplus.Domain Timeout Timeout Rule Condition Condition Rule> - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- Condition
Rules []DomainTimeout Timeout Rule Condition Condition Rule - Connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<DomainTimeout Timeout Rule Condition Condition Rule> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules DomainTimeout Timeout Rule Condition Condition Rule[] - connective string
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition_
rules Sequence[DomainTimeout Timeout Rule Condition Condition Rule] - connective str
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
- condition
Rules List<Property Map> - connective String
- Represents the logical relationship between multiple ConditionRule entries. This parameter has the following values: AND: indicates the logical relationship is 'AND'. OR: indicates the logical relationship is 'OR'. The default value is OR.
DomainTimeoutTimeoutRuleConditionConditionRule, DomainTimeoutTimeoutRuleConditionConditionRuleArgs
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- Name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- Object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- Operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- Type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- Value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name string
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object string
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator string
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type string
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value string
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name str
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object str
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator str
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type str
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value str
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
- name String
- When Object is queryname or customize, this parameter is valid. If Object is queryname, this parameter indicates the name of a query parameter. If Object is customize, this parameter indicates the name of a custom header. The length of Name cannot exceed 256 characters and can include digits, letters, percent sign (%), underscore (_), and hyphen (-).
- object String
- Specifies the type of matching object. The content delivery network applies matching rules to objects of the specified type in the target. This parameter supports the following values: path: matches the path in the target. directory: matches the directory in the target. filetype: matches the file extension in the target.
- operator String
- Indicates the matching method. This parameter has the following value: match: If any value in Value exists, it is considered a match.
- type String
- Specifies the target type. The value of this parameter is url, indicating the target is a URL.
- value String
- Represents a set of values separated by semicolons (;). The total length must not exceed 1,024 characters. Printable ASCII characters are allowed, except for the following: consecutive slashes (//), spaces, dollar sign ($), question mark (?), and Delete (ASCII code 127). If any value in the set matches the request, it is considered a match. When Object is path, this parameter specifies one or more paths. Paths must start with a slash (/). You can use one or more asterisks () in the path, where each asterisk represents one or more characters. When Object is directory, this parameter specifies one or more directories. Directories must start and end with a slash (/). You can use one or more asterisks () in the directory, where each asterisk represents one or more characters. When Object is filetype, this parameter specifies one or more file extensions. Extensions do not need to start with a period (.).
DomainTimeoutTimeoutRuleTimeoutAction, DomainTimeoutTimeoutRuleTimeoutActionArgs
- Http
Timeout int - Indicates the timeout period for HTTP requests. The value range for this parameter is 5–60.
- Tcp
Timeout int - Indicates the timeout for TCP requests. The valid range for this parameter is 2–60.
- Http
Timeout int - Indicates the timeout period for HTTP requests. The value range for this parameter is 5–60.
- Tcp
Timeout int - Indicates the timeout for TCP requests. The valid range for this parameter is 2–60.
- http
Timeout Integer - Indicates the timeout period for HTTP requests. The value range for this parameter is 5–60.
- tcp
Timeout Integer - Indicates the timeout for TCP requests. The valid range for this parameter is 2–60.
- http
Timeout number - Indicates the timeout period for HTTP requests. The value range for this parameter is 5–60.
- tcp
Timeout number - Indicates the timeout for TCP requests. The valid range for this parameter is 2–60.
- http_
timeout int - Indicates the timeout period for HTTP requests. The value range for this parameter is 5–60.
- tcp_
timeout int - Indicates the timeout for TCP requests. The valid range for this parameter is 2–60.
- http
Timeout Number - Indicates the timeout period for HTTP requests. The value range for this parameter is 5–60.
- tcp
Timeout Number - Indicates the timeout for TCP requests. The valid range for this parameter is 2–60.
DomainUaAccessRule, DomainUaAccessRuleArgs
- Allow
Empty bool - Indicates whether requests with an empty UA ("") or without a UA field are allowed to access the acceleration domain. The parameter has the following values: true: allowed. false: not allowed. The default value is false.
- Ignore
Case bool - Indicates whether the UA string is case-sensitive. The parameter has the following options: true: The UA string is case-insensitive. false: The UA string is case-sensitive. The default value for this parameter is false.
- Rule
Type string - Specifies whether a denylist or allowlist is used. When Switch is true, this parameter is required. The parameter values are as follows: deny: specifies a denylist. allow: specifies an allowlist.
- Switch bool
- Indicates whether the UA allowlist and blocklist feature is enabled. This parameter has the following values: true: enabled. false: disabled.
- User
Agents List<string> - Represents a list of UAs. When Switch is true, this parameter is required. The list can contain up to 1,000 UAs. The parameter details are as follows: The value length cannot exceed 30,000 characters. If RuleType is allow, only requests containing UAs in the list are permitted to access the acceleration domain. If RuleType is deny, requests containing UAs in the list are not permitted to access the acceleration domain. UA character restrictions are as follows: You can use * in a UA to represent one or more characters. * can only appear at the beginning or end of the UA. A UA cannot consist only of * or spaces. A UA can contain printable ASCII characters except Delete (ASCII code 127). If a UA contains symbols, the symbols must be HTML encoded.
- Allow
Empty bool - Indicates whether requests with an empty UA ("") or without a UA field are allowed to access the acceleration domain. The parameter has the following values: true: allowed. false: not allowed. The default value is false.
- Ignore
Case bool - Indicates whether the UA string is case-sensitive. The parameter has the following options: true: The UA string is case-insensitive. false: The UA string is case-sensitive. The default value for this parameter is false.
- Rule
Type string - Specifies whether a denylist or allowlist is used. When Switch is true, this parameter is required. The parameter values are as follows: deny: specifies a denylist. allow: specifies an allowlist.
- Switch bool
- Indicates whether the UA allowlist and blocklist feature is enabled. This parameter has the following values: true: enabled. false: disabled.
- User
Agents []string - Represents a list of UAs. When Switch is true, this parameter is required. The list can contain up to 1,000 UAs. The parameter details are as follows: The value length cannot exceed 30,000 characters. If RuleType is allow, only requests containing UAs in the list are permitted to access the acceleration domain. If RuleType is deny, requests containing UAs in the list are not permitted to access the acceleration domain. UA character restrictions are as follows: You can use * in a UA to represent one or more characters. * can only appear at the beginning or end of the UA. A UA cannot consist only of * or spaces. A UA can contain printable ASCII characters except Delete (ASCII code 127). If a UA contains symbols, the symbols must be HTML encoded.
- allow
Empty Boolean - Indicates whether requests with an empty UA ("") or without a UA field are allowed to access the acceleration domain. The parameter has the following values: true: allowed. false: not allowed. The default value is false.
- ignore
Case Boolean - Indicates whether the UA string is case-sensitive. The parameter has the following options: true: The UA string is case-insensitive. false: The UA string is case-sensitive. The default value for this parameter is false.
- rule
Type String - Specifies whether a denylist or allowlist is used. When Switch is true, this parameter is required. The parameter values are as follows: deny: specifies a denylist. allow: specifies an allowlist.
- switch_ Boolean
- Indicates whether the UA allowlist and blocklist feature is enabled. This parameter has the following values: true: enabled. false: disabled.
- user
Agents List<String> - Represents a list of UAs. When Switch is true, this parameter is required. The list can contain up to 1,000 UAs. The parameter details are as follows: The value length cannot exceed 30,000 characters. If RuleType is allow, only requests containing UAs in the list are permitted to access the acceleration domain. If RuleType is deny, requests containing UAs in the list are not permitted to access the acceleration domain. UA character restrictions are as follows: You can use * in a UA to represent one or more characters. * can only appear at the beginning or end of the UA. A UA cannot consist only of * or spaces. A UA can contain printable ASCII characters except Delete (ASCII code 127). If a UA contains symbols, the symbols must be HTML encoded.
- allow
Empty boolean - Indicates whether requests with an empty UA ("") or without a UA field are allowed to access the acceleration domain. The parameter has the following values: true: allowed. false: not allowed. The default value is false.
- ignore
Case boolean - Indicates whether the UA string is case-sensitive. The parameter has the following options: true: The UA string is case-insensitive. false: The UA string is case-sensitive. The default value for this parameter is false.
- rule
Type string - Specifies whether a denylist or allowlist is used. When Switch is true, this parameter is required. The parameter values are as follows: deny: specifies a denylist. allow: specifies an allowlist.
- switch boolean
- Indicates whether the UA allowlist and blocklist feature is enabled. This parameter has the following values: true: enabled. false: disabled.
- user
Agents string[] - Represents a list of UAs. When Switch is true, this parameter is required. The list can contain up to 1,000 UAs. The parameter details are as follows: The value length cannot exceed 30,000 characters. If RuleType is allow, only requests containing UAs in the list are permitted to access the acceleration domain. If RuleType is deny, requests containing UAs in the list are not permitted to access the acceleration domain. UA character restrictions are as follows: You can use * in a UA to represent one or more characters. * can only appear at the beginning or end of the UA. A UA cannot consist only of * or spaces. A UA can contain printable ASCII characters except Delete (ASCII code 127). If a UA contains symbols, the symbols must be HTML encoded.
- allow_
empty bool - Indicates whether requests with an empty UA ("") or without a UA field are allowed to access the acceleration domain. The parameter has the following values: true: allowed. false: not allowed. The default value is false.
- ignore_
case bool - Indicates whether the UA string is case-sensitive. The parameter has the following options: true: The UA string is case-insensitive. false: The UA string is case-sensitive. The default value for this parameter is false.
- rule_
type str - Specifies whether a denylist or allowlist is used. When Switch is true, this parameter is required. The parameter values are as follows: deny: specifies a denylist. allow: specifies an allowlist.
- switch bool
- Indicates whether the UA allowlist and blocklist feature is enabled. This parameter has the following values: true: enabled. false: disabled.
- user_
agents Sequence[str] - Represents a list of UAs. When Switch is true, this parameter is required. The list can contain up to 1,000 UAs. The parameter details are as follows: The value length cannot exceed 30,000 characters. If RuleType is allow, only requests containing UAs in the list are permitted to access the acceleration domain. If RuleType is deny, requests containing UAs in the list are not permitted to access the acceleration domain. UA character restrictions are as follows: You can use * in a UA to represent one or more characters. * can only appear at the beginning or end of the UA. A UA cannot consist only of * or spaces. A UA can contain printable ASCII characters except Delete (ASCII code 127). If a UA contains symbols, the symbols must be HTML encoded.
- allow
Empty Boolean - Indicates whether requests with an empty UA ("") or without a UA field are allowed to access the acceleration domain. The parameter has the following values: true: allowed. false: not allowed. The default value is false.
- ignore
Case Boolean - Indicates whether the UA string is case-sensitive. The parameter has the following options: true: The UA string is case-insensitive. false: The UA string is case-sensitive. The default value for this parameter is false.
- rule
Type String - Specifies whether a denylist or allowlist is used. When Switch is true, this parameter is required. The parameter values are as follows: deny: specifies a denylist. allow: specifies an allowlist.
- switch Boolean
- Indicates whether the UA allowlist and blocklist feature is enabled. This parameter has the following values: true: enabled. false: disabled.
- user
Agents List<String> - Represents a list of UAs. When Switch is true, this parameter is required. The list can contain up to 1,000 UAs. The parameter details are as follows: The value length cannot exceed 30,000 characters. If RuleType is allow, only requests containing UAs in the list are permitted to access the acceleration domain. If RuleType is deny, requests containing UAs in the list are not permitted to access the acceleration domain. UA character restrictions are as follows: You can use * in a UA to represent one or more characters. * can only appear at the beginning or end of the UA. A UA cannot consist only of * or spaces. A UA can contain printable ASCII characters except Delete (ASCII code 127). If a UA contains symbols, the symbols must be HTML encoded.
DomainUrlNormalize, DomainUrlNormalizeArgs
- Normalize
Objects List<string> - This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- Switch bool
- This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- Normalize
Objects []string - This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- Switch bool
- This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- normalize
Objects List<String> - This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- switch_ Boolean
- This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- normalize
Objects string[] - This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- switch boolean
- This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- normalize_
objects Sequence[str] - This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- switch bool
- This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- normalize
Objects List<String> - This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
- switch Boolean
- This specifies the list of URL normalization options you need to enable. When Switch is true, this parameter is required. The list can include the following options: dotsegments: replaces the following in the request URL: /./: replaced with a single slash (/). /../: if there is a directory level before /../, removes /../ and that directory. If there is no directory before /../, the original URL is retained. backslashes: replaces backslashes () in the request URL with a single slash (/). successive_slashes: replaces consecutive slashes (//) in the request URL with a single slash (/).
DomainVideoDrag, DomainVideoDragArgs
- Switch bool
- Smart compression configuration switch. The parameter has the following options: true: enable video seeking. false: disable video seeking.
- Switch bool
- Smart compression configuration switch. The parameter has the following options: true: enable video seeking. false: disable video seeking.
- switch_ Boolean
- Smart compression configuration switch. The parameter has the following options: true: enable video seeking. false: disable video seeking.
- switch boolean
- Smart compression configuration switch. The parameter has the following options: true: enable video seeking. false: disable video seeking.
- switch bool
- Smart compression configuration switch. The parameter has the following options: true: enable video seeking. false: disable video seeking.
- switch Boolean
- Smart compression configuration switch. The parameter has the following options: true: enable video seeking. false: disable video seeking.
Import
$ pulumi import bytepluscc:cdn/domain:Domain example "domain"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Apr 2, 2026 by Byteplus
