1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. alb
  5. getRule
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus

    Data Source schema for Byteplus::ALB::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: bytepluscc:alb/getRule:getRule
      arguments:
        # arguments dictionary

    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 str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getRule Result

    The following output properties are available:

    Description string
    转发规则的描述。
    Domain string
    转发规则的域名。
    ForwardGroupConfig Byteplus.GetRuleForwardGroupConfig
    转发规则服务器组配置
    Id string
    Uniquely identifies the resource.
    ListenerId string
    监听器ID。
    Priority int
    标准版转发规则优先级。
    RedirectConfig Byteplus.GetRuleRedirectConfig
    重定向相关配置信息。
    RewriteConfig Byteplus.GetRuleRewriteConfig
    重定向相关配置信息。
    RewriteEnabled string
    转发规则重写配置开关。on:开启。off:关闭。
    RuleAction string
    转发规则动作。空:默认转发至服务器组。Redirect:重定向。
    RuleActions List<Byteplus.GetRuleRuleAction>
    标准版转发规则动作。
    RuleConditions List<Byteplus.GetRuleRuleCondition>
    标准版转发规则条件。
    RuleId string
    转发规则ID。
    ServerGroupId string
    转发规则关联的后端服务器组ID。
    TrafficLimitEnabled string
    转发规则 QPS 限速开关。on:开启。off:关闭。
    TrafficLimitQps int
    每秒请求数。取值范围:100~100000。
    Url string
    转发规则的URL。
    Description string
    转发规则的描述。
    Domain string
    转发规则的域名。
    ForwardGroupConfig GetRuleForwardGroupConfig
    转发规则服务器组配置
    Id string
    Uniquely identifies the resource.
    ListenerId string
    监听器ID。
    Priority int
    标准版转发规则优先级。
    RedirectConfig GetRuleRedirectConfig
    重定向相关配置信息。
    RewriteConfig GetRuleRewriteConfig
    重定向相关配置信息。
    RewriteEnabled string
    转发规则重写配置开关。on:开启。off:关闭。
    RuleAction string
    转发规则动作。空:默认转发至服务器组。Redirect:重定向。
    RuleActions []GetRuleRuleAction
    标准版转发规则动作。
    RuleConditions []GetRuleRuleCondition
    标准版转发规则条件。
    RuleId string
    转发规则ID。
    ServerGroupId string
    转发规则关联的后端服务器组ID。
    TrafficLimitEnabled string
    转发规则 QPS 限速开关。on:开启。off:关闭。
    TrafficLimitQps int
    每秒请求数。取值范围:100~100000。
    Url string
    转发规则的URL。
    description String
    转发规则的描述。
    domain String
    转发规则的域名。
    forwardGroupConfig GetRuleForwardGroupConfig
    转发规则服务器组配置
    id String
    Uniquely identifies the resource.
    listenerId String
    监听器ID。
    priority Integer
    标准版转发规则优先级。
    redirectConfig GetRuleRedirectConfig
    重定向相关配置信息。
    rewriteConfig GetRuleRewriteConfig
    重定向相关配置信息。
    rewriteEnabled String
    转发规则重写配置开关。on:开启。off:关闭。
    ruleAction String
    转发规则动作。空:默认转发至服务器组。Redirect:重定向。
    ruleActions List<GetRuleRuleAction>
    标准版转发规则动作。
    ruleConditions List<GetRuleRuleCondition>
    标准版转发规则条件。
    ruleId String
    转发规则ID。
    serverGroupId String
    转发规则关联的后端服务器组ID。
    trafficLimitEnabled String
    转发规则 QPS 限速开关。on:开启。off:关闭。
    trafficLimitQps Integer
    每秒请求数。取值范围:100~100000。
    url String
    转发规则的URL。
    description string
    转发规则的描述。
    domain string
    转发规则的域名。
    forwardGroupConfig GetRuleForwardGroupConfig
    转发规则服务器组配置
    id string
    Uniquely identifies the resource.
    listenerId string
    监听器ID。
    priority number
    标准版转发规则优先级。
    redirectConfig GetRuleRedirectConfig
    重定向相关配置信息。
    rewriteConfig GetRuleRewriteConfig
    重定向相关配置信息。
    rewriteEnabled string
    转发规则重写配置开关。on:开启。off:关闭。
    ruleAction string
    转发规则动作。空:默认转发至服务器组。Redirect:重定向。
    ruleActions GetRuleRuleAction[]
    标准版转发规则动作。
    ruleConditions GetRuleRuleCondition[]
    标准版转发规则条件。
    ruleId string
    转发规则ID。
    serverGroupId string
    转发规则关联的后端服务器组ID。
    trafficLimitEnabled string
    转发规则 QPS 限速开关。on:开启。off:关闭。
    trafficLimitQps number
    每秒请求数。取值范围:100~100000。
    url string
    转发规则的URL。
    description str
    转发规则的描述。
    domain str
    转发规则的域名。
    forward_group_config GetRuleForwardGroupConfig
    转发规则服务器组配置
    id str
    Uniquely identifies the resource.
    listener_id str
    监听器ID。
    priority int
    标准版转发规则优先级。
    redirect_config GetRuleRedirectConfig
    重定向相关配置信息。
    rewrite_config GetRuleRewriteConfig
    重定向相关配置信息。
    rewrite_enabled str
    转发规则重写配置开关。on:开启。off:关闭。
    rule_action str
    转发规则动作。空:默认转发至服务器组。Redirect:重定向。
    rule_actions Sequence[GetRuleRuleAction]
    标准版转发规则动作。
    rule_conditions Sequence[GetRuleRuleCondition]
    标准版转发规则条件。
    rule_id str
    转发规则ID。
    server_group_id str
    转发规则关联的后端服务器组ID。
    traffic_limit_enabled str
    转发规则 QPS 限速开关。on:开启。off:关闭。
    traffic_limit_qps int
    每秒请求数。取值范围:100~100000。
    url str
    转发规则的URL。
    description String
    转发规则的描述。
    domain String
    转发规则的域名。
    forwardGroupConfig Property Map
    转发规则服务器组配置
    id String
    Uniquely identifies the resource.
    listenerId String
    监听器ID。
    priority Number
    标准版转发规则优先级。
    redirectConfig Property Map
    重定向相关配置信息。
    rewriteConfig Property Map
    重定向相关配置信息。
    rewriteEnabled String
    转发规则重写配置开关。on:开启。off:关闭。
    ruleAction String
    转发规则动作。空:默认转发至服务器组。Redirect:重定向。
    ruleActions List<Property Map>
    标准版转发规则动作。
    ruleConditions List<Property Map>
    标准版转发规则条件。
    ruleId String
    转发规则ID。
    serverGroupId String
    转发规则关联的后端服务器组ID。
    trafficLimitEnabled String
    转发规则 QPS 限速开关。on:开启。off:关闭。
    trafficLimitQps Number
    每秒请求数。取值范围:100~100000。
    url String
    转发规则的URL。

    Supporting Types

    GetRuleForwardGroupConfig

    ServerGroupTuples List<Byteplus.GetRuleForwardGroupConfigServerGroupTuple>
    转发到的目的服务器组列表。
    StickySessionEnabled string
    是否开启组间会话保持。on:开启。off:不开启。
    StickySessionTimeout int
    组件回话保持的超时时间。单位:秒。
    ServerGroupTuples []GetRuleForwardGroupConfigServerGroupTuple
    转发到的目的服务器组列表。
    StickySessionEnabled string
    是否开启组间会话保持。on:开启。off:不开启。
    StickySessionTimeout int
    组件回话保持的超时时间。单位:秒。
    serverGroupTuples List<GetRuleForwardGroupConfigServerGroupTuple>
    转发到的目的服务器组列表。
    stickySessionEnabled String
    是否开启组间会话保持。on:开启。off:不开启。
    stickySessionTimeout Integer
    组件回话保持的超时时间。单位:秒。
    serverGroupTuples GetRuleForwardGroupConfigServerGroupTuple[]
    转发到的目的服务器组列表。
    stickySessionEnabled string
    是否开启组间会话保持。on:开启。off:不开启。
    stickySessionTimeout number
    组件回话保持的超时时间。单位:秒。
    server_group_tuples Sequence[GetRuleForwardGroupConfigServerGroupTuple]
    转发到的目的服务器组列表。
    sticky_session_enabled str
    是否开启组间会话保持。on:开启。off:不开启。
    sticky_session_timeout int
    组件回话保持的超时时间。单位:秒。
    serverGroupTuples List<Property Map>
    转发到的目的服务器组列表。
    stickySessionEnabled String
    是否开启组间会话保持。on:开启。off:不开启。
    stickySessionTimeout Number
    组件回话保持的超时时间。单位:秒。

    GetRuleForwardGroupConfigServerGroupTuple

    ServerGroupId string
    转发到的目的服务器组 ID。
    Weight int
    服务器组权重。
    ServerGroupId string
    转发到的目的服务器组 ID。
    Weight int
    服务器组权重。
    serverGroupId String
    转发到的目的服务器组 ID。
    weight Integer
    服务器组权重。
    serverGroupId string
    转发到的目的服务器组 ID。
    weight number
    服务器组权重。
    server_group_id str
    转发到的目的服务器组 ID。
    weight int
    服务器组权重。
    serverGroupId String
    转发到的目的服务器组 ID。
    weight Number
    服务器组权重。

    GetRuleRedirectConfig

    RedirectDomain string
    重定向的域名。若创建/修改重定向类型的转发规则时,重定向域名设置为空,接口会返回${host},该变量含义为重定向域名与请求域名保持一致,但不支持创建/修改时,将重定向域名设置为${host}.。
    RedirectHttpCode string
    重定向状态码。301、302、307、308。
    RedirectPort string
    重定向的端口。若创建/修改重定向类型的转发规则时,重定向端口设置为空,接口会返回${port},该变量含义为重定向端口与请求端口(监听器端口)保持一致,但不支持创建/修改时,将重定向端口设置为${port}.。
    RedirectProtocol string
    重定向使用的协议。HTTP、HTTPS。
    RedirectUri string
    重定向的URI。若创建/修改重定向类型的转发规则时,重定向uri设置为空,接口会返回${requesturi},该变量含义为重定向uri与请求uri保持一致,但不支持创建/修改时,将重定向uri设置为${requesturi}.。
    RedirectDomain string
    重定向的域名。若创建/修改重定向类型的转发规则时,重定向域名设置为空,接口会返回${host},该变量含义为重定向域名与请求域名保持一致,但不支持创建/修改时,将重定向域名设置为${host}.。
    RedirectHttpCode string
    重定向状态码。301、302、307、308。
    RedirectPort string
    重定向的端口。若创建/修改重定向类型的转发规则时,重定向端口设置为空,接口会返回${port},该变量含义为重定向端口与请求端口(监听器端口)保持一致,但不支持创建/修改时,将重定向端口设置为${port}.。
    RedirectProtocol string
    重定向使用的协议。HTTP、HTTPS。
    RedirectUri string
    重定向的URI。若创建/修改重定向类型的转发规则时,重定向uri设置为空,接口会返回${requesturi},该变量含义为重定向uri与请求uri保持一致,但不支持创建/修改时,将重定向uri设置为${requesturi}.。
    redirectDomain String
    重定向的域名。若创建/修改重定向类型的转发规则时,重定向域名设置为空,接口会返回${host},该变量含义为重定向域名与请求域名保持一致,但不支持创建/修改时,将重定向域名设置为${host}.。
    redirectHttpCode String
    重定向状态码。301、302、307、308。
    redirectPort String
    重定向的端口。若创建/修改重定向类型的转发规则时,重定向端口设置为空,接口会返回${port},该变量含义为重定向端口与请求端口(监听器端口)保持一致,但不支持创建/修改时,将重定向端口设置为${port}.。
    redirectProtocol String
    重定向使用的协议。HTTP、HTTPS。
    redirectUri String
    重定向的URI。若创建/修改重定向类型的转发规则时,重定向uri设置为空,接口会返回${requesturi},该变量含义为重定向uri与请求uri保持一致,但不支持创建/修改时,将重定向uri设置为${requesturi}.。
    redirectDomain string
    重定向的域名。若创建/修改重定向类型的转发规则时,重定向域名设置为空,接口会返回${host},该变量含义为重定向域名与请求域名保持一致,但不支持创建/修改时,将重定向域名设置为${host}.。
    redirectHttpCode string
    重定向状态码。301、302、307、308。
    redirectPort string
    重定向的端口。若创建/修改重定向类型的转发规则时,重定向端口设置为空,接口会返回${port},该变量含义为重定向端口与请求端口(监听器端口)保持一致,但不支持创建/修改时,将重定向端口设置为${port}.。
    redirectProtocol string
    重定向使用的协议。HTTP、HTTPS。
    redirectUri string
    重定向的URI。若创建/修改重定向类型的转发规则时,重定向uri设置为空,接口会返回${requesturi},该变量含义为重定向uri与请求uri保持一致,但不支持创建/修改时,将重定向uri设置为${requesturi}.。
    redirect_domain str
    重定向的域名。若创建/修改重定向类型的转发规则时,重定向域名设置为空,接口会返回${host},该变量含义为重定向域名与请求域名保持一致,但不支持创建/修改时,将重定向域名设置为${host}.。
    redirect_http_code str
    重定向状态码。301、302、307、308。
    redirect_port str
    重定向的端口。若创建/修改重定向类型的转发规则时,重定向端口设置为空,接口会返回${port},该变量含义为重定向端口与请求端口(监听器端口)保持一致,但不支持创建/修改时,将重定向端口设置为${port}.。
    redirect_protocol str
    重定向使用的协议。HTTP、HTTPS。
    redirect_uri str
    重定向的URI。若创建/修改重定向类型的转发规则时,重定向uri设置为空,接口会返回${requesturi},该变量含义为重定向uri与请求uri保持一致,但不支持创建/修改时,将重定向uri设置为${requesturi}.。
    redirectDomain String
    重定向的域名。若创建/修改重定向类型的转发规则时,重定向域名设置为空,接口会返回${host},该变量含义为重定向域名与请求域名保持一致,但不支持创建/修改时,将重定向域名设置为${host}.。
    redirectHttpCode String
    重定向状态码。301、302、307、308。
    redirectPort String
    重定向的端口。若创建/修改重定向类型的转发规则时,重定向端口设置为空,接口会返回${port},该变量含义为重定向端口与请求端口(监听器端口)保持一致,但不支持创建/修改时,将重定向端口设置为${port}.。
    redirectProtocol String
    重定向使用的协议。HTTP、HTTPS。
    redirectUri String
    重定向的URI。若创建/修改重定向类型的转发规则时,重定向uri设置为空,接口会返回${requesturi},该变量含义为重定向uri与请求uri保持一致,但不支持创建/修改时,将重定向uri设置为${requesturi}.。

    GetRuleRewriteConfig

    RewritePath string
    重写路径。
    RewritePath string
    重写路径。
    rewritePath String
    重写路径。
    rewritePath string
    重写路径。
    rewrite_path str
    重写路径。
    rewritePath String
    重写路径。

    GetRuleRuleAction

    FixedResponseConfig Byteplus.GetRuleRuleActionFixedResponseConfig
    FixedResponseConfig
    ForwardGroupConfig Byteplus.GetRuleRuleActionForwardGroupConfig
    ForwardGroupConfig
    RedirectConfig Byteplus.GetRuleRuleActionRedirectConfig
    RedirectConfig
    RewriteConfig Byteplus.GetRuleRuleActionRewriteConfig
    RewriteConfig
    TrafficLimitConfig Byteplus.GetRuleRuleActionTrafficLimitConfig
    TrafficLimitConfig
    Type string
    转发规则动作类型。ForwardGroup:转发至多个虚拟服务器组。Redirect: 重定向。Rewrite: 重写。TrafficLimit:流量限速。
    FixedResponseConfig GetRuleRuleActionFixedResponseConfig
    FixedResponseConfig
    ForwardGroupConfig GetRuleRuleActionForwardGroupConfig
    ForwardGroupConfig
    RedirectConfig GetRuleRuleActionRedirectConfig
    RedirectConfig
    RewriteConfig GetRuleRuleActionRewriteConfig
    RewriteConfig
    TrafficLimitConfig GetRuleRuleActionTrafficLimitConfig
    TrafficLimitConfig
    Type string
    转发规则动作类型。ForwardGroup:转发至多个虚拟服务器组。Redirect: 重定向。Rewrite: 重写。TrafficLimit:流量限速。
    fixedResponseConfig GetRuleRuleActionFixedResponseConfig
    FixedResponseConfig
    forwardGroupConfig GetRuleRuleActionForwardGroupConfig
    ForwardGroupConfig
    redirectConfig GetRuleRuleActionRedirectConfig
    RedirectConfig
    rewriteConfig GetRuleRuleActionRewriteConfig
    RewriteConfig
    trafficLimitConfig GetRuleRuleActionTrafficLimitConfig
    TrafficLimitConfig
    type String
    转发规则动作类型。ForwardGroup:转发至多个虚拟服务器组。Redirect: 重定向。Rewrite: 重写。TrafficLimit:流量限速。
    fixedResponseConfig GetRuleRuleActionFixedResponseConfig
    FixedResponseConfig
    forwardGroupConfig GetRuleRuleActionForwardGroupConfig
    ForwardGroupConfig
    redirectConfig GetRuleRuleActionRedirectConfig
    RedirectConfig
    rewriteConfig GetRuleRuleActionRewriteConfig
    RewriteConfig
    trafficLimitConfig GetRuleRuleActionTrafficLimitConfig
    TrafficLimitConfig
    type string
    转发规则动作类型。ForwardGroup:转发至多个虚拟服务器组。Redirect: 重定向。Rewrite: 重写。TrafficLimit:流量限速。
    fixed_response_config GetRuleRuleActionFixedResponseConfig
    FixedResponseConfig
    forward_group_config GetRuleRuleActionForwardGroupConfig
    ForwardGroupConfig
    redirect_config GetRuleRuleActionRedirectConfig
    RedirectConfig
    rewrite_config GetRuleRuleActionRewriteConfig
    RewriteConfig
    traffic_limit_config GetRuleRuleActionTrafficLimitConfig
    TrafficLimitConfig
    type str
    转发规则动作类型。ForwardGroup:转发至多个虚拟服务器组。Redirect: 重定向。Rewrite: 重写。TrafficLimit:流量限速。
    fixedResponseConfig Property Map
    FixedResponseConfig
    forwardGroupConfig Property Map
    ForwardGroupConfig
    redirectConfig Property Map
    RedirectConfig
    rewriteConfig Property Map
    RewriteConfig
    trafficLimitConfig Property Map
    TrafficLimitConfig
    type String
    转发规则动作类型。ForwardGroup:转发至多个虚拟服务器组。Redirect: 重定向。Rewrite: 重写。TrafficLimit:流量限速。

    GetRuleRuleActionFixedResponseConfig

    Content string
    返回的固定内容。
    ContentType string
    返回的固定内容的格式。text/plain、text/css、text/html、application/javascript、application/json
    HttpCode string
    返回的 HTTP 状态码。
    Content string
    返回的固定内容。
    ContentType string
    返回的固定内容的格式。text/plain、text/css、text/html、application/javascript、application/json
    HttpCode string
    返回的 HTTP 状态码。
    content String
    返回的固定内容。
    contentType String
    返回的固定内容的格式。text/plain、text/css、text/html、application/javascript、application/json
    httpCode String
    返回的 HTTP 状态码。
    content string
    返回的固定内容。
    contentType string
    返回的固定内容的格式。text/plain、text/css、text/html、application/javascript、application/json
    httpCode string
    返回的 HTTP 状态码。
    content str
    返回的固定内容。
    content_type str
    返回的固定内容的格式。text/plain、text/css、text/html、application/javascript、application/json
    http_code str
    返回的 HTTP 状态码。
    content String
    返回的固定内容。
    contentType String
    返回的固定内容的格式。text/plain、text/css、text/html、application/javascript、application/json
    httpCode String
    返回的 HTTP 状态码。

    GetRuleRuleActionForwardGroupConfig

    GetRuleRuleActionForwardGroupConfigServerGroupStickySession

    Enabled string
    是否开启组间会话保持。on:开启。off:不开启。
    Timeout int
    组件回话保持的超时时间。单位:秒。
    Enabled string
    是否开启组间会话保持。on:开启。off:不开启。
    Timeout int
    组件回话保持的超时时间。单位:秒。
    enabled String
    是否开启组间会话保持。on:开启。off:不开启。
    timeout Integer
    组件回话保持的超时时间。单位:秒。
    enabled string
    是否开启组间会话保持。on:开启。off:不开启。
    timeout number
    组件回话保持的超时时间。单位:秒。
    enabled str
    是否开启组间会话保持。on:开启。off:不开启。
    timeout int
    组件回话保持的超时时间。单位:秒。
    enabled String
    是否开启组间会话保持。on:开启。off:不开启。
    timeout Number
    组件回话保持的超时时间。单位:秒。

    GetRuleRuleActionForwardGroupConfigServerGroupTuple

    ServerGroupId string
    转发到的目的服务器组 ID。
    Weight int
    服务器组权重。
    ServerGroupId string
    转发到的目的服务器组 ID。
    Weight int
    服务器组权重。
    serverGroupId String
    转发到的目的服务器组 ID。
    weight Integer
    服务器组权重。
    serverGroupId string
    转发到的目的服务器组 ID。
    weight number
    服务器组权重。
    server_group_id str
    转发到的目的服务器组 ID。
    weight int
    服务器组权重。
    serverGroupId String
    转发到的目的服务器组 ID。
    weight Number
    服务器组权重。

    GetRuleRuleActionRedirectConfig

    Host string
    重定向域名,仅支持精确域名。
    HttpCode string
    重定向状态码,支持301,302,307,308。
    Path string
    重定向 URI。。
    Port string
    重定向端口。
    Protocol string
    重定向使用的协议,支持HTTP,HTTPS。
    Host string
    重定向域名,仅支持精确域名。
    HttpCode string
    重定向状态码,支持301,302,307,308。
    Path string
    重定向 URI。。
    Port string
    重定向端口。
    Protocol string
    重定向使用的协议,支持HTTP,HTTPS。
    host String
    重定向域名,仅支持精确域名。
    httpCode String
    重定向状态码,支持301,302,307,308。
    path String
    重定向 URI。。
    port String
    重定向端口。
    protocol String
    重定向使用的协议,支持HTTP,HTTPS。
    host string
    重定向域名,仅支持精确域名。
    httpCode string
    重定向状态码,支持301,302,307,308。
    path string
    重定向 URI。。
    port string
    重定向端口。
    protocol string
    重定向使用的协议,支持HTTP,HTTPS。
    host str
    重定向域名,仅支持精确域名。
    http_code str
    重定向状态码,支持301,302,307,308。
    path str
    重定向 URI。。
    port str
    重定向端口。
    protocol str
    重定向使用的协议,支持HTTP,HTTPS。
    host String
    重定向域名,仅支持精确域名。
    httpCode String
    重定向状态码,支持301,302,307,308。
    path String
    重定向 URI。。
    port String
    重定向端口。
    protocol String
    重定向使用的协议,支持HTTP,HTTPS。

    GetRuleRuleActionRewriteConfig

    Path string
    重写路径。
    Path string
    重写路径。
    path String
    重写路径。
    path string
    重写路径。
    path str
    重写路径。
    path String
    重写路径。

    GetRuleRuleActionTrafficLimitConfig

    Qps int
    每秒请求数。
    Qps int
    每秒请求数。
    qps Integer
    每秒请求数。
    qps number
    每秒请求数。
    qps int
    每秒请求数。
    qps Number
    每秒请求数。

    GetRuleRuleCondition

    HeaderConfig Byteplus.GetRuleRuleConditionHeaderConfig
    HeaderConfig。
    HostConfig Byteplus.GetRuleRuleConditionHostConfig
    HostConfig。
    MethodConfig Byteplus.GetRuleRuleConditionMethodConfig
    MethodConfig。
    PathConfig Byteplus.GetRuleRuleConditionPathConfig
    PathConfig。
    QueryStringConfig Byteplus.GetRuleRuleConditionQueryStringConfig
    QueryStringConfig。
    Type string
    标准版转发规则条件类型。Host: 域名。Path: 路径。Header:HTTP头字段。Method: 请求方法。QueryString: 查询参数。
    HeaderConfig GetRuleRuleConditionHeaderConfig
    HeaderConfig。
    HostConfig GetRuleRuleConditionHostConfig
    HostConfig。
    MethodConfig GetRuleRuleConditionMethodConfig
    MethodConfig。
    PathConfig GetRuleRuleConditionPathConfig
    PathConfig。
    QueryStringConfig GetRuleRuleConditionQueryStringConfig
    QueryStringConfig。
    Type string
    标准版转发规则条件类型。Host: 域名。Path: 路径。Header:HTTP头字段。Method: 请求方法。QueryString: 查询参数。
    headerConfig GetRuleRuleConditionHeaderConfig
    HeaderConfig。
    hostConfig GetRuleRuleConditionHostConfig
    HostConfig。
    methodConfig GetRuleRuleConditionMethodConfig
    MethodConfig。
    pathConfig GetRuleRuleConditionPathConfig
    PathConfig。
    queryStringConfig GetRuleRuleConditionQueryStringConfig
    QueryStringConfig。
    type String
    标准版转发规则条件类型。Host: 域名。Path: 路径。Header:HTTP头字段。Method: 请求方法。QueryString: 查询参数。
    headerConfig GetRuleRuleConditionHeaderConfig
    HeaderConfig。
    hostConfig GetRuleRuleConditionHostConfig
    HostConfig。
    methodConfig GetRuleRuleConditionMethodConfig
    MethodConfig。
    pathConfig GetRuleRuleConditionPathConfig
    PathConfig。
    queryStringConfig GetRuleRuleConditionQueryStringConfig
    QueryStringConfig。
    type string
    标准版转发规则条件类型。Host: 域名。Path: 路径。Header:HTTP头字段。Method: 请求方法。QueryString: 查询参数。
    header_config GetRuleRuleConditionHeaderConfig
    HeaderConfig。
    host_config GetRuleRuleConditionHostConfig
    HostConfig。
    method_config GetRuleRuleConditionMethodConfig
    MethodConfig。
    path_config GetRuleRuleConditionPathConfig
    PathConfig。
    query_string_config GetRuleRuleConditionQueryStringConfig
    QueryStringConfig。
    type str
    标准版转发规则条件类型。Host: 域名。Path: 路径。Header:HTTP头字段。Method: 请求方法。QueryString: 查询参数。
    headerConfig Property Map
    HeaderConfig。
    hostConfig Property Map
    HostConfig。
    methodConfig Property Map
    MethodConfig。
    pathConfig Property Map
    PathConfig。
    queryStringConfig Property Map
    QueryStringConfig。
    type String
    标准版转发规则条件类型。Host: 域名。Path: 路径。Header:HTTP头字段。Method: 请求方法。QueryString: 查询参数。

    GetRuleRuleConditionHeaderConfig

    Key string
    头字段键。
    Values List<string>
    头字段值。
    Key string
    头字段键。
    Values []string
    头字段值。
    key String
    头字段键。
    values List<String>
    头字段值。
    key string
    头字段键。
    values string[]
    头字段值。
    key str
    头字段键。
    values Sequence[str]
    头字段值。
    key String
    头字段键。
    values List<String>
    头字段值。

    GetRuleRuleConditionHostConfig

    Values List<string>
    转发规则的域名,支持泛域名和精确域名。
    Values []string
    转发规则的域名,支持泛域名和精确域名。
    values List<String>
    转发规则的域名,支持泛域名和精确域名。
    values string[]
    转发规则的域名,支持泛域名和精确域名。
    values Sequence[str]
    转发规则的域名,支持泛域名和精确域名。
    values List<String>
    转发规则的域名,支持泛域名和精确域名。

    GetRuleRuleConditionMethodConfig

    Values List<string>
    请求方法。支持HEAD、GET、POST、OPTIONS、PUT、PATCH、DELETE。
    Values []string
    请求方法。支持HEAD、GET、POST、OPTIONS、PUT、PATCH、DELETE。
    values List<String>
    请求方法。支持HEAD、GET、POST、OPTIONS、PUT、PATCH、DELETE。
    values string[]
    请求方法。支持HEAD、GET、POST、OPTIONS、PUT、PATCH、DELETE。
    values Sequence[str]
    请求方法。支持HEAD、GET、POST、OPTIONS、PUT、PATCH、DELETE。
    values List<String>
    请求方法。支持HEAD、GET、POST、OPTIONS、PUT、PATCH、DELETE。

    GetRuleRuleConditionPathConfig

    Values List<string>
    转发规则的URL,仅支持绝对路径。
    Values []string
    转发规则的URL,仅支持绝对路径。
    values List<String>
    转发规则的URL,仅支持绝对路径。
    values string[]
    转发规则的URL,仅支持绝对路径。
    values Sequence[str]
    转发规则的URL,仅支持绝对路径。
    values List<String>
    转发规则的URL,仅支持绝对路径。

    GetRuleRuleConditionQueryStringConfig

    GetRuleRuleConditionQueryStringConfigValue

    Key string
    查询字符串键。
    Value string
    查询字符串值。
    Key string
    查询字符串键。
    Value string
    查询字符串值。
    key String
    查询字符串键。
    value String
    查询字符串值。
    key string
    查询字符串键。
    value string
    查询字符串值。
    key str
    查询字符串键。
    value str
    查询字符串值。
    key String
    查询字符串键。
    value String
    查询字符串值。

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.16
    published on Monday, Mar 9, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.