Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine
published on Thursday, Sep 3, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine
published on Thursday, Sep 3, 2026 by Volcengine
Data Source schema for Volcengine::WAF::CustomPage
Using getCustomPage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomPage(args: GetCustomPageArgs, opts?: InvokeOptions): Promise<GetCustomPageResult>
function getCustomPageOutput(args: GetCustomPageOutputArgs, opts?: InvokeOutputOptions): Output<GetCustomPageResult>def get_custom_page(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomPageResult
def get_custom_page_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCustomPageResult]func LookupCustomPage(ctx *Context, args *LookupCustomPageArgs, opts ...InvokeOption) (*LookupCustomPageResult, error)
func LookupCustomPageOutput(ctx *Context, args *LookupCustomPageOutputArgs, opts ...InvokeOption) LookupCustomPageResultOutput> Note: This function is named LookupCustomPage in the Go SDK.
public static class GetCustomPage
{
public static Task<GetCustomPageResult> InvokeAsync(GetCustomPageArgs args, InvokeOptions? opts = null)
public static Output<GetCustomPageResult> Invoke(GetCustomPageInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCustomPageResult> Invoke(GetCustomPageInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCustomPageResult> getCustomPage(GetCustomPageArgs args, InvokeOptions options)
public static Output<GetCustomPageResult> getCustomPage(GetCustomPageArgs args, InvokeOptions options)
public static Output<GetCustomPageResult> getCustomPage(GetCustomPageArgs args, InvokeOutputOptions options)
fn::invoke:
function: volcenginecc:waf/getCustomPage:getCustomPage
arguments:
# arguments dictionarydata "volcenginecc_waf_get_custom_page" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getCustomPage Result
The following output properties are available:
- Accurate
Volcengine.
Get Custom Page Accurate - Advanced condition configuration. Only takes effect when Advanced=1.
- Advanced int
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- Body string
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- Client
Ip string - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- Code string
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- Content
Type string - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- Description string
- Rule description.
- Enable int
- Rule switch. 0: Off; 1: On.
- Host string
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- Id string
- Uniquely identifies the resource.
- Name string
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- Page
Mode int - Response page mode. 0: Custom response body; 2: Redirect URL.
- Policy int
- Associated protection policy. 1: Observe; 8: Block.
- Project
Name string - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- Redirect
Url string - Redirect target URL. Only effective when PageMode=2.
- Rule
Id string - Custom block response rule ID.
- Rule
Tag string - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- Update
Time string - Last updated time of the rule.
- Url string
- URL path where the rule takes effect.
- Accurate
Get
Custom Page Accurate - Advanced condition configuration. Only takes effect when Advanced=1.
- Advanced int
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- Body string
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- Client
Ip string - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- Code string
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- Content
Type string - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- Description string
- Rule description.
- Enable int
- Rule switch. 0: Off; 1: On.
- Host string
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- Id string
- Uniquely identifies the resource.
- Name string
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- Page
Mode int - Response page mode. 0: Custom response body; 2: Redirect URL.
- Policy int
- Associated protection policy. 1: Observe; 8: Block.
- Project
Name string - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- Redirect
Url string - Redirect target URL. Only effective when PageMode=2.
- Rule
Id string - Custom block response rule ID.
- Rule
Tag string - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- Update
Time string - Last updated time of the rule.
- Url string
- URL path where the rule takes effect.
- accurate object
- Advanced condition configuration. Only takes effect when Advanced=1.
- advanced number
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- body string
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- client_
ip string - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- code string
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- content_
type string - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- description string
- Rule description.
- enable number
- Rule switch. 0: Off; 1: On.
- host string
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- id string
- Uniquely identifies the resource.
- name string
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- page_
mode number - Response page mode. 0: Custom response body; 2: Redirect URL.
- policy number
- Associated protection policy. 1: Observe; 8: Block.
- project_
name string - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- redirect_
url string - Redirect target URL. Only effective when PageMode=2.
- rule_
id string - Custom block response rule ID.
- rule_
tag string - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- update_
time string - Last updated time of the rule.
- url string
- URL path where the rule takes effect.
- accurate
Get
Custom Page Accurate - Advanced condition configuration. Only takes effect when Advanced=1.
- advanced Integer
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- body String
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- client
Ip String - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- code String
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- content
Type String - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- description String
- Rule description.
- enable Integer
- Rule switch. 0: Off; 1: On.
- host String
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- id String
- Uniquely identifies the resource.
- name String
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- page
Mode Integer - Response page mode. 0: Custom response body; 2: Redirect URL.
- policy Integer
- Associated protection policy. 1: Observe; 8: Block.
- project
Name String - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- redirect
Url String - Redirect target URL. Only effective when PageMode=2.
- rule
Id String - Custom block response rule ID.
- rule
Tag String - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- update
Time String - Last updated time of the rule.
- url String
- URL path where the rule takes effect.
- accurate
Get
Custom Page Accurate - Advanced condition configuration. Only takes effect when Advanced=1.
- advanced number
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- body string
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- client
Ip string - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- code string
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- content
Type string - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- description string
- Rule description.
- enable number
- Rule switch. 0: Off; 1: On.
- host string
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- id string
- Uniquely identifies the resource.
- name string
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- page
Mode number - Response page mode. 0: Custom response body; 2: Redirect URL.
- policy number
- Associated protection policy. 1: Observe; 8: Block.
- project
Name string - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- redirect
Url string - Redirect target URL. Only effective when PageMode=2.
- rule
Id string - Custom block response rule ID.
- rule
Tag string - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- update
Time string - Last updated time of the rule.
- url string
- URL path where the rule takes effect.
- accurate
Get
Custom Page Accurate - Advanced condition configuration. Only takes effect when Advanced=1.
- advanced int
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- body str
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- client_
ip str - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- code str
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- content_
type str - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- description str
- Rule description.
- enable int
- Rule switch. 0: Off; 1: On.
- host str
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- id str
- Uniquely identifies the resource.
- name str
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- page_
mode int - Response page mode. 0: Custom response body; 2: Redirect URL.
- policy int
- Associated protection policy. 1: Observe; 8: Block.
- project_
name str - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- redirect_
url str - Redirect target URL. Only effective when PageMode=2.
- rule_
id str - Custom block response rule ID.
- rule_
tag str - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- update_
time str - Last updated time of the rule.
- url str
- URL path where the rule takes effect.
- accurate Property Map
- Advanced condition configuration. Only takes effect when Advanced=1.
- advanced Number
- Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
- body String
- Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
- client
Ip String - Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
- code String
- Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
- content
Type String - Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
- description String
- Rule description.
- enable Number
- Rule switch. 0: Off; 1: On.
- host String
- Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
- id String
- Uniquely identifies the resource.
- name String
- Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
- page
Mode Number - Response page mode. 0: Custom response body; 2: Redirect URL.
- policy Number
- Associated protection policy. 1: Observe; 8: Block.
- project
Name String - Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
- redirect
Url String - Redirect target URL. Only effective when PageMode=2.
- rule
Id String - Custom block response rule ID.
- rule
Tag String - Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
- update
Time String - Last updated time of the rule.
- url String
- URL path where the rule takes effect.
Supporting Types
GetCustomPageAccurate
- Accurate
Rules List<Volcengine.Get Custom Page Accurate Accurate Rule> - Sub-rule list in advanced conditions.
- Logic int
- Logical relationship between sub-rules. 0: OR; 1: AND.
- Accurate
Rules []GetCustom Page Accurate Accurate Rule - Sub-rule list in advanced conditions.
- Logic int
- Logical relationship between sub-rules. 0: OR; 1: AND.
- accurate_
rules list(object) - Sub-rule list in advanced conditions.
- logic number
- Logical relationship between sub-rules. 0: OR; 1: AND.
- accurate
Rules List<GetCustom Page Accurate Accurate Rule> - Sub-rule list in advanced conditions.
- logic Integer
- Logical relationship between sub-rules. 0: OR; 1: AND.
- accurate
Rules GetCustom Page Accurate Accurate Rule[] - Sub-rule list in advanced conditions.
- logic number
- Logical relationship between sub-rules. 0: OR; 1: AND.
- accurate_
rules Sequence[GetCustom Page Accurate Accurate Rule] - Sub-rule list in advanced conditions.
- logic int
- Logical relationship between sub-rules. 0: OR; 1: AND.
- accurate
Rules List<Property Map> - Sub-rule list in advanced conditions.
- logic Number
- Logical relationship between sub-rules. 0: OR; 1: AND.
GetCustomPageAccurateAccurateRule
- Http
Obj string - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- Obj
Type int - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- Opretar int
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- Property int
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- Value
String string - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
- Http
Obj string - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- Obj
Type int - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- Opretar int
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- Property int
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- Value
String string - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
- http_
obj string - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- obj_
type number - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- opretar number
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- property number
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- value_
string string - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
- http
Obj String - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- obj
Type Integer - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- opretar Integer
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- property Integer
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- value
String String - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
- http
Obj string - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- obj
Type number - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- opretar number
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- property number
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- value
String string - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
- http_
obj str - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- obj_
type int - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- opretar int
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- property int
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- value_
string str - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
- http
Obj String - Matching object. For example: request.uri, request.header, request.header.clientip, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc.
- obj
Type Number - Matching object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameter; 5: Request header; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie.
- opretar Number
- Matching operator enumeration. 0–5: numerical comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP recognition (only for request.header.clientip or custom objects).
- property Number
- Matching attribute type enumeration. 0: Value; 5: IP (used only when Operator=17~21).
- value
String String - Matching value. For IP recognition operations with Operator=17~21, no matching content is involved and this can be an empty string; for other operators, enter the actual matching value.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine
published on Thursday, Sep 3, 2026 by Volcengine