Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::CLB::Rule
Using getRule
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 getRule(args: GetRuleArgs, opts?: InvokeOptions): Promise<GetRuleResult>
function getRuleOutput(args: GetRuleOutputArgs, opts?: InvokeOptions): Output<GetRuleResult>def get_rule(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRuleResult
def get_rule_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuleResult]func LookupRule(ctx *Context, args *LookupRuleArgs, opts ...InvokeOption) (*LookupRuleResult, error)
func LookupRuleOutput(ctx *Context, args *LookupRuleOutputArgs, opts ...InvokeOption) LookupRuleResultOutput> Note: This function is named LookupRule in the Go SDK.
public static class GetRule
{
public static Task<GetRuleResult> InvokeAsync(GetRuleArgs args, InvokeOptions? opts = null)
public static Output<GetRuleResult> Invoke(GetRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuleResult> getRule(GetRuleArgs args, InvokeOptions options)
public static Output<GetRuleResult> getRule(GetRuleArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:clb/getRule:getRule
arguments:
# arguments dictionaryThe 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 str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getRule Result
The following output properties are available:
- Action
Type string - Forwarding rule action. Options: Forward: Forward to. Redirect: Redirect to.
- Description string
- Description of the forwarding rule. Default value is an empty string. Specifications: Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length must be between 0 and 255 characters.
- Domain string
- Domain name of the forwarding rule.
- Id string
- Uniquely identifies the resource.
- Listener
Id string - Listener ID.
- Redirect
Config Volcengine.Get Rule Redirect Config - Redirection-related configuration information.
- Rule
Id string - Forwarding rule ID.
- Server
Group stringId - ID of the backend server group associated with the forwarding rule.
-
List<Volcengine.
Get Rule Tag> - Tag list.
- Url string
- URL of the forwarding rule.
- Action
Type string - Forwarding rule action. Options: Forward: Forward to. Redirect: Redirect to.
- Description string
- Description of the forwarding rule. Default value is an empty string. Specifications: Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length must be between 0 and 255 characters.
- Domain string
- Domain name of the forwarding rule.
- Id string
- Uniquely identifies the resource.
- Listener
Id string - Listener ID.
- Redirect
Config GetRule Redirect Config - Redirection-related configuration information.
- Rule
Id string - Forwarding rule ID.
- Server
Group stringId - ID of the backend server group associated with the forwarding rule.
-
[]Get
Rule Tag - Tag list.
- Url string
- URL of the forwarding rule.
- action
Type String - Forwarding rule action. Options: Forward: Forward to. Redirect: Redirect to.
- description String
- Description of the forwarding rule. Default value is an empty string. Specifications: Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length must be between 0 and 255 characters.
- domain String
- Domain name of the forwarding rule.
- id String
- Uniquely identifies the resource.
- listener
Id String - Listener ID.
- redirect
Config GetRule Redirect Config - Redirection-related configuration information.
- rule
Id String - Forwarding rule ID.
- server
Group StringId - ID of the backend server group associated with the forwarding rule.
-
List<Get
Rule Tag> - Tag list.
- url String
- URL of the forwarding rule.
- action
Type string - Forwarding rule action. Options: Forward: Forward to. Redirect: Redirect to.
- description string
- Description of the forwarding rule. Default value is an empty string. Specifications: Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length must be between 0 and 255 characters.
- domain string
- Domain name of the forwarding rule.
- id string
- Uniquely identifies the resource.
- listener
Id string - Listener ID.
- redirect
Config GetRule Redirect Config - Redirection-related configuration information.
- rule
Id string - Forwarding rule ID.
- server
Group stringId - ID of the backend server group associated with the forwarding rule.
-
Get
Rule Tag[] - Tag list.
- url string
- URL of the forwarding rule.
- action_
type str - Forwarding rule action. Options: Forward: Forward to. Redirect: Redirect to.
- description str
- Description of the forwarding rule. Default value is an empty string. Specifications: Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length must be between 0 and 255 characters.
- domain str
- Domain name of the forwarding rule.
- id str
- Uniquely identifies the resource.
- listener_
id str - Listener ID.
- redirect_
config GetRule Redirect Config - Redirection-related configuration information.
- rule_
id str - Forwarding rule ID.
- server_
group_ strid - ID of the backend server group associated with the forwarding rule.
-
Sequence[Get
Rule Tag] - Tag list.
- url str
- URL of the forwarding rule.
- action
Type String - Forwarding rule action. Options: Forward: Forward to. Redirect: Redirect to.
- description String
- Description of the forwarding rule. Default value is an empty string. Specifications: Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), Chinese period (。). Length must be between 0 and 255 characters.
- domain String
- Domain name of the forwarding rule.
- id String
- Uniquely identifies the resource.
- listener
Id String - Listener ID.
- redirect
Config Property Map - Redirection-related configuration information.
- rule
Id String - Forwarding rule ID.
- server
Group StringId - ID of the backend server group associated with the forwarding rule.
- List<Property Map>
- Tag list.
- url String
- URL of the forwarding rule.
Supporting Types
GetRuleRedirectConfig
- Host string
- The domain name for forwarding rule redirection currently supports only exact domain names. Specifications: Must contain at least one '.', and cannot start or end with '.'. Only letters, numbers, '.', and '-' are allowed. Length must be between 1 and 128 characters. Example of a valid exact domain name: www.test.com.
- Path string
- Path for forwarding rule redirection. Specifications: Must start with a forward slash '/'. Consecutive '/' characters are not allowed. Only letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=', and other specified characters are allowed. Length must be between 1 and 128 characters.
- Port string
- Port for forwarding rule redirection. Value range: 1~65535.
- Protocol string
- Protocol for forwarding rule redirection. Options: HTTP. HTTPS (default).
- Status
Code string - Status code for forwarding rule redirection. Options: 301 (default): Indicates the requested resource has been permanently moved to a new URL. The client should use the new URL for subsequent requests. 302: Indicates the requested resource has been temporarily moved to a new URL and may change again in the future. The client should use the new URL for subsequent requests. 307: Similar to 302, but requires the client to keep the request method unchanged during redirection. For example, if the original request is GET, the redirected request remains GET. 308: Similar to 301, but requires the client to keep the request method unchanged during redirection.
- Host string
- The domain name for forwarding rule redirection currently supports only exact domain names. Specifications: Must contain at least one '.', and cannot start or end with '.'. Only letters, numbers, '.', and '-' are allowed. Length must be between 1 and 128 characters. Example of a valid exact domain name: www.test.com.
- Path string
- Path for forwarding rule redirection. Specifications: Must start with a forward slash '/'. Consecutive '/' characters are not allowed. Only letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=', and other specified characters are allowed. Length must be between 1 and 128 characters.
- Port string
- Port for forwarding rule redirection. Value range: 1~65535.
- Protocol string
- Protocol for forwarding rule redirection. Options: HTTP. HTTPS (default).
- Status
Code string - Status code for forwarding rule redirection. Options: 301 (default): Indicates the requested resource has been permanently moved to a new URL. The client should use the new URL for subsequent requests. 302: Indicates the requested resource has been temporarily moved to a new URL and may change again in the future. The client should use the new URL for subsequent requests. 307: Similar to 302, but requires the client to keep the request method unchanged during redirection. For example, if the original request is GET, the redirected request remains GET. 308: Similar to 301, but requires the client to keep the request method unchanged during redirection.
- host String
- The domain name for forwarding rule redirection currently supports only exact domain names. Specifications: Must contain at least one '.', and cannot start or end with '.'. Only letters, numbers, '.', and '-' are allowed. Length must be between 1 and 128 characters. Example of a valid exact domain name: www.test.com.
- path String
- Path for forwarding rule redirection. Specifications: Must start with a forward slash '/'. Consecutive '/' characters are not allowed. Only letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=', and other specified characters are allowed. Length must be between 1 and 128 characters.
- port String
- Port for forwarding rule redirection. Value range: 1~65535.
- protocol String
- Protocol for forwarding rule redirection. Options: HTTP. HTTPS (default).
- status
Code String - Status code for forwarding rule redirection. Options: 301 (default): Indicates the requested resource has been permanently moved to a new URL. The client should use the new URL for subsequent requests. 302: Indicates the requested resource has been temporarily moved to a new URL and may change again in the future. The client should use the new URL for subsequent requests. 307: Similar to 302, but requires the client to keep the request method unchanged during redirection. For example, if the original request is GET, the redirected request remains GET. 308: Similar to 301, but requires the client to keep the request method unchanged during redirection.
- host string
- The domain name for forwarding rule redirection currently supports only exact domain names. Specifications: Must contain at least one '.', and cannot start or end with '.'. Only letters, numbers, '.', and '-' are allowed. Length must be between 1 and 128 characters. Example of a valid exact domain name: www.test.com.
- path string
- Path for forwarding rule redirection. Specifications: Must start with a forward slash '/'. Consecutive '/' characters are not allowed. Only letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=', and other specified characters are allowed. Length must be between 1 and 128 characters.
- port string
- Port for forwarding rule redirection. Value range: 1~65535.
- protocol string
- Protocol for forwarding rule redirection. Options: HTTP. HTTPS (default).
- status
Code string - Status code for forwarding rule redirection. Options: 301 (default): Indicates the requested resource has been permanently moved to a new URL. The client should use the new URL for subsequent requests. 302: Indicates the requested resource has been temporarily moved to a new URL and may change again in the future. The client should use the new URL for subsequent requests. 307: Similar to 302, but requires the client to keep the request method unchanged during redirection. For example, if the original request is GET, the redirected request remains GET. 308: Similar to 301, but requires the client to keep the request method unchanged during redirection.
- host str
- The domain name for forwarding rule redirection currently supports only exact domain names. Specifications: Must contain at least one '.', and cannot start or end with '.'. Only letters, numbers, '.', and '-' are allowed. Length must be between 1 and 128 characters. Example of a valid exact domain name: www.test.com.
- path str
- Path for forwarding rule redirection. Specifications: Must start with a forward slash '/'. Consecutive '/' characters are not allowed. Only letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=', and other specified characters are allowed. Length must be between 1 and 128 characters.
- port str
- Port for forwarding rule redirection. Value range: 1~65535.
- protocol str
- Protocol for forwarding rule redirection. Options: HTTP. HTTPS (default).
- status_
code str - Status code for forwarding rule redirection. Options: 301 (default): Indicates the requested resource has been permanently moved to a new URL. The client should use the new URL for subsequent requests. 302: Indicates the requested resource has been temporarily moved to a new URL and may change again in the future. The client should use the new URL for subsequent requests. 307: Similar to 302, but requires the client to keep the request method unchanged during redirection. For example, if the original request is GET, the redirected request remains GET. 308: Similar to 301, but requires the client to keep the request method unchanged during redirection.
- host String
- The domain name for forwarding rule redirection currently supports only exact domain names. Specifications: Must contain at least one '.', and cannot start or end with '.'. Only letters, numbers, '.', and '-' are allowed. Length must be between 1 and 128 characters. Example of a valid exact domain name: www.test.com.
- path String
- Path for forwarding rule redirection. Specifications: Must start with a forward slash '/'. Consecutive '/' characters are not allowed. Only letters, numbers, '-', '_', '/', '.', '%', '?', '#', '&', '=', and other specified characters are allowed. Length must be between 1 and 128 characters.
- port String
- Port for forwarding rule redirection. Value range: 1~65535.
- protocol String
- Protocol for forwarding rule redirection. Options: HTTP. HTTPS (default).
- status
Code String - Status code for forwarding rule redirection. Options: 301 (default): Indicates the requested resource has been permanently moved to a new URL. The client should use the new URL for subsequent requests. 302: Indicates the requested resource has been temporarily moved to a new URL and may change again in the future. The client should use the new URL for subsequent requests. 307: Similar to 302, but requires the client to keep the request method unchanged during redirection. For example, if the original request is GET, the redirected request remains GET. 308: Similar to 301, but requires the client to keep the request method unchanged during redirection.
GetRuleTag
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.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
