1. Packages
  2. Volcengine
  3. API Docs
  4. apig
  5. Routes
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.apig.Routes

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
    Deprecated: volcengine.apig.Routes has been deprecated in favor of volcengine.apig.getRoutes

    Use this data source to query detailed information of apig routes

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.apig.getRoutes({
        gatewayId: "gd1ek1ki9optek6ooabh0",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.apig.get_routes(gateway_id="gd1ek1ki9optek6ooabh0")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/apig"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apig.GetRoutes(ctx, &apig.GetRoutesArgs{
    			GatewayId: pulumi.StringRef("gd1ek1ki9optek6ooabh0"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Apig.GetRoutes.Invoke(new()
        {
            GatewayId = "gd1ek1ki9optek6ooabh0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.apig.ApigFunctions;
    import com.pulumi.volcengine.apig.inputs.GetRoutesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var foo = ApigFunctions.getRoutes(GetRoutesArgs.builder()
                .gatewayId("gd1ek1ki9optek6ooabh0")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:apig:getRoutes
          Arguments:
            gatewayId: gd1ek1ki9optek6ooabh0
    

    Using Routes

    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 routes(args: RoutesArgs, opts?: InvokeOptions): Promise<RoutesResult>
    function routesOutput(args: RoutesOutputArgs, opts?: InvokeOptions): Output<RoutesResult>
    def routes(gateway_id: Optional[str] = None,
               name: Optional[str] = None,
               name_regex: Optional[str] = None,
               output_file: Optional[str] = None,
               path: Optional[str] = None,
               resource_type: Optional[str] = None,
               service_id: Optional[str] = None,
               upstream_id: Optional[str] = None,
               upstream_version: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> RoutesResult
    def routes_output(gateway_id: Optional[pulumi.Input[str]] = None,
               name: Optional[pulumi.Input[str]] = None,
               name_regex: Optional[pulumi.Input[str]] = None,
               output_file: Optional[pulumi.Input[str]] = None,
               path: Optional[pulumi.Input[str]] = None,
               resource_type: Optional[pulumi.Input[str]] = None,
               service_id: Optional[pulumi.Input[str]] = None,
               upstream_id: Optional[pulumi.Input[str]] = None,
               upstream_version: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[RoutesResult]
    func Routes(ctx *Context, args *RoutesArgs, opts ...InvokeOption) (*RoutesResult, error)
    func RoutesOutput(ctx *Context, args *RoutesOutputArgs, opts ...InvokeOption) RoutesResultOutput
    public static class Routes 
    {
        public static Task<RoutesResult> InvokeAsync(RoutesArgs args, InvokeOptions? opts = null)
        public static Output<RoutesResult> Invoke(RoutesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<RoutesResult> routes(RoutesArgs args, InvokeOptions options)
    public static Output<RoutesResult> routes(RoutesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:apig:Routes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GatewayId string
    The id of api gateway.
    Name string
    The name of api gateway route. This field support fuzzy query.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Path string
    The path of api gateway route.
    ResourceType string
    The resource type of route. Valid values: Console, Ingress.
    ServiceId string
    The id of api gateway service.
    UpstreamId string
    The id of api gateway upstream.
    UpstreamVersion string
    The version of api gateway upstream.
    GatewayId string
    The id of api gateway.
    Name string
    The name of api gateway route. This field support fuzzy query.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    Path string
    The path of api gateway route.
    ResourceType string
    The resource type of route. Valid values: Console, Ingress.
    ServiceId string
    The id of api gateway service.
    UpstreamId string
    The id of api gateway upstream.
    UpstreamVersion string
    The version of api gateway upstream.
    gatewayId String
    The id of api gateway.
    name String
    The name of api gateway route. This field support fuzzy query.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    path String
    The path of api gateway route.
    resourceType String
    The resource type of route. Valid values: Console, Ingress.
    serviceId String
    The id of api gateway service.
    upstreamId String
    The id of api gateway upstream.
    upstreamVersion String
    The version of api gateway upstream.
    gatewayId string
    The id of api gateway.
    name string
    The name of api gateway route. This field support fuzzy query.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    path string
    The path of api gateway route.
    resourceType string
    The resource type of route. Valid values: Console, Ingress.
    serviceId string
    The id of api gateway service.
    upstreamId string
    The id of api gateway upstream.
    upstreamVersion string
    The version of api gateway upstream.
    gateway_id str
    The id of api gateway.
    name str
    The name of api gateway route. This field support fuzzy query.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    path str
    The path of api gateway route.
    resource_type str
    The resource type of route. Valid values: Console, Ingress.
    service_id str
    The id of api gateway service.
    upstream_id str
    The id of api gateway upstream.
    upstream_version str
    The version of api gateway upstream.
    gatewayId String
    The id of api gateway.
    name String
    The name of api gateway route. This field support fuzzy query.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    path String
    The path of api gateway route.
    resourceType String
    The resource type of route. Valid values: Console, Ingress.
    serviceId String
    The id of api gateway service.
    upstreamId String
    The id of api gateway upstream.
    upstreamVersion String
    The version of api gateway upstream.

    Routes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Routes List<RoutesRoute>
    The collection of query.
    TotalCount int
    The total count of query.
    GatewayId string
    Name string
    The name of the api gateway route.
    NameRegex string
    OutputFile string
    Path string
    The path of the api gateway route.
    ResourceType string
    The resource type of route. Valid values: Console, Ingress.
    ServiceId string
    The id of the api gateway service.
    UpstreamId string
    The id of the api gateway upstream.
    UpstreamVersion string
    Id string
    The provider-assigned unique ID for this managed resource.
    Routes []RoutesRoute
    The collection of query.
    TotalCount int
    The total count of query.
    GatewayId string
    Name string
    The name of the api gateway route.
    NameRegex string
    OutputFile string
    Path string
    The path of the api gateway route.
    ResourceType string
    The resource type of route. Valid values: Console, Ingress.
    ServiceId string
    The id of the api gateway service.
    UpstreamId string
    The id of the api gateway upstream.
    UpstreamVersion string
    id String
    The provider-assigned unique ID for this managed resource.
    routes List<RoutesRoute>
    The collection of query.
    totalCount Integer
    The total count of query.
    gatewayId String
    name String
    The name of the api gateway route.
    nameRegex String
    outputFile String
    path String
    The path of the api gateway route.
    resourceType String
    The resource type of route. Valid values: Console, Ingress.
    serviceId String
    The id of the api gateway service.
    upstreamId String
    The id of the api gateway upstream.
    upstreamVersion String
    id string
    The provider-assigned unique ID for this managed resource.
    routes RoutesRoute[]
    The collection of query.
    totalCount number
    The total count of query.
    gatewayId string
    name string
    The name of the api gateway route.
    nameRegex string
    outputFile string
    path string
    The path of the api gateway route.
    resourceType string
    The resource type of route. Valid values: Console, Ingress.
    serviceId string
    The id of the api gateway service.
    upstreamId string
    The id of the api gateway upstream.
    upstreamVersion string
    id str
    The provider-assigned unique ID for this managed resource.
    routes Sequence[RoutesRoute]
    The collection of query.
    total_count int
    The total count of query.
    gateway_id str
    name str
    The name of the api gateway route.
    name_regex str
    output_file str
    path str
    The path of the api gateway route.
    resource_type str
    The resource type of route. Valid values: Console, Ingress.
    service_id str
    The id of the api gateway service.
    upstream_id str
    The id of the api gateway upstream.
    upstream_version str
    id String
    The provider-assigned unique ID for this managed resource.
    routes List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    gatewayId String
    name String
    The name of the api gateway route.
    nameRegex String
    outputFile String
    path String
    The path of the api gateway route.
    resourceType String
    The resource type of route. Valid values: Console, Ingress.
    serviceId String
    The id of the api gateway service.
    upstreamId String
    The id of the api gateway upstream.
    upstreamVersion String

    Supporting Types

    RoutesRoute

    AdvancedSettings List<RoutesRouteAdvancedSetting>
    The advanced setting of the api gateway route.
    CreateTime string
    The create time of the api gateway route.
    CustomDomains List<RoutesRouteCustomDomain>
    The custom domains of the api gateway route.
    Domains List<RoutesRouteDomain>
    The domains of the api gateway route.
    Enable bool
    Whether the api gateway route is enabled.
    Id string
    The id of the api gateway route.
    MatchRules List<RoutesRouteMatchRule>
    The match rule of the api gateway route.
    Name string
    The name of api gateway route. This field support fuzzy query.
    Priority int
    The priority of the api gateway route.
    Reason string
    The reason of the api gateway route.
    ResourceType string
    The resource type of route. Valid values: Console, Ingress.
    ServiceId string
    The id of api gateway service.
    ServiceName string
    The name of the api gateway service.
    Status string
    The status of the api gateway route.
    UpdateTime string
    The update time of the api gateway route.
    UpstreamLists List<RoutesRouteUpstreamList>
    The upstream list of the api gateway route.
    AdvancedSettings []RoutesRouteAdvancedSetting
    The advanced setting of the api gateway route.
    CreateTime string
    The create time of the api gateway route.
    CustomDomains []RoutesRouteCustomDomain
    The custom domains of the api gateway route.
    Domains []RoutesRouteDomain
    The domains of the api gateway route.
    Enable bool
    Whether the api gateway route is enabled.
    Id string
    The id of the api gateway route.
    MatchRules []RoutesRouteMatchRule
    The match rule of the api gateway route.
    Name string
    The name of api gateway route. This field support fuzzy query.
    Priority int
    The priority of the api gateway route.
    Reason string
    The reason of the api gateway route.
    ResourceType string
    The resource type of route. Valid values: Console, Ingress.
    ServiceId string
    The id of api gateway service.
    ServiceName string
    The name of the api gateway service.
    Status string
    The status of the api gateway route.
    UpdateTime string
    The update time of the api gateway route.
    UpstreamLists []RoutesRouteUpstreamList
    The upstream list of the api gateway route.
    advancedSettings List<RoutesRouteAdvancedSetting>
    The advanced setting of the api gateway route.
    createTime String
    The create time of the api gateway route.
    customDomains List<RoutesRouteCustomDomain>
    The custom domains of the api gateway route.
    domains List<RoutesRouteDomain>
    The domains of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    id String
    The id of the api gateway route.
    matchRules List<RoutesRouteMatchRule>
    The match rule of the api gateway route.
    name String
    The name of api gateway route. This field support fuzzy query.
    priority Integer
    The priority of the api gateway route.
    reason String
    The reason of the api gateway route.
    resourceType String
    The resource type of route. Valid values: Console, Ingress.
    serviceId String
    The id of api gateway service.
    serviceName String
    The name of the api gateway service.
    status String
    The status of the api gateway route.
    updateTime String
    The update time of the api gateway route.
    upstreamLists List<RoutesRouteUpstreamList>
    The upstream list of the api gateway route.
    advancedSettings RoutesRouteAdvancedSetting[]
    The advanced setting of the api gateway route.
    createTime string
    The create time of the api gateway route.
    customDomains RoutesRouteCustomDomain[]
    The custom domains of the api gateway route.
    domains RoutesRouteDomain[]
    The domains of the api gateway route.
    enable boolean
    Whether the api gateway route is enabled.
    id string
    The id of the api gateway route.
    matchRules RoutesRouteMatchRule[]
    The match rule of the api gateway route.
    name string
    The name of api gateway route. This field support fuzzy query.
    priority number
    The priority of the api gateway route.
    reason string
    The reason of the api gateway route.
    resourceType string
    The resource type of route. Valid values: Console, Ingress.
    serviceId string
    The id of api gateway service.
    serviceName string
    The name of the api gateway service.
    status string
    The status of the api gateway route.
    updateTime string
    The update time of the api gateway route.
    upstreamLists RoutesRouteUpstreamList[]
    The upstream list of the api gateway route.
    advanced_settings Sequence[RoutesRouteAdvancedSetting]
    The advanced setting of the api gateway route.
    create_time str
    The create time of the api gateway route.
    custom_domains Sequence[RoutesRouteCustomDomain]
    The custom domains of the api gateway route.
    domains Sequence[RoutesRouteDomain]
    The domains of the api gateway route.
    enable bool
    Whether the api gateway route is enabled.
    id str
    The id of the api gateway route.
    match_rules Sequence[RoutesRouteMatchRule]
    The match rule of the api gateway route.
    name str
    The name of api gateway route. This field support fuzzy query.
    priority int
    The priority of the api gateway route.
    reason str
    The reason of the api gateway route.
    resource_type str
    The resource type of route. Valid values: Console, Ingress.
    service_id str
    The id of api gateway service.
    service_name str
    The name of the api gateway service.
    status str
    The status of the api gateway route.
    update_time str
    The update time of the api gateway route.
    upstream_lists Sequence[RoutesRouteUpstreamList]
    The upstream list of the api gateway route.
    advancedSettings List<Property Map>
    The advanced setting of the api gateway route.
    createTime String
    The create time of the api gateway route.
    customDomains List<Property Map>
    The custom domains of the api gateway route.
    domains List<Property Map>
    The domains of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    id String
    The id of the api gateway route.
    matchRules List<Property Map>
    The match rule of the api gateway route.
    name String
    The name of api gateway route. This field support fuzzy query.
    priority Number
    The priority of the api gateway route.
    reason String
    The reason of the api gateway route.
    resourceType String
    The resource type of route. Valid values: Console, Ingress.
    serviceId String
    The id of api gateway service.
    serviceName String
    The name of the api gateway service.
    status String
    The status of the api gateway route.
    updateTime String
    The update time of the api gateway route.
    upstreamLists List<Property Map>
    The upstream list of the api gateway route.

    RoutesRouteAdvancedSetting

    CorsPolicySettings List<RoutesRouteAdvancedSettingCorsPolicySetting>
    The cors policy setting of the api gateway route.
    HeaderOperations List<RoutesRouteAdvancedSettingHeaderOperation>
    The header operations of the api gateway route.
    MirrorPolicies List<RoutesRouteAdvancedSettingMirrorPolicy>
    The mirror policies of the api gateway route.
    RetryPolicySettings List<RoutesRouteAdvancedSettingRetryPolicySetting>
    The retry policy setting of the api gateway route.
    TimeoutSettings List<RoutesRouteAdvancedSettingTimeoutSetting>
    The timeout setting of the api gateway route.
    UrlRewriteSettings List<RoutesRouteAdvancedSettingUrlRewriteSetting>
    The url rewrite setting of the api gateway route.
    CorsPolicySettings []RoutesRouteAdvancedSettingCorsPolicySetting
    The cors policy setting of the api gateway route.
    HeaderOperations []RoutesRouteAdvancedSettingHeaderOperation
    The header operations of the api gateway route.
    MirrorPolicies []RoutesRouteAdvancedSettingMirrorPolicy
    The mirror policies of the api gateway route.
    RetryPolicySettings []RoutesRouteAdvancedSettingRetryPolicySetting
    The retry policy setting of the api gateway route.
    TimeoutSettings []RoutesRouteAdvancedSettingTimeoutSetting
    The timeout setting of the api gateway route.
    UrlRewriteSettings []RoutesRouteAdvancedSettingUrlRewriteSetting
    The url rewrite setting of the api gateway route.
    corsPolicySettings List<RoutesRouteAdvancedSettingCorsPolicySetting>
    The cors policy setting of the api gateway route.
    headerOperations List<RoutesRouteAdvancedSettingHeaderOperation>
    The header operations of the api gateway route.
    mirrorPolicies List<RoutesRouteAdvancedSettingMirrorPolicy>
    The mirror policies of the api gateway route.
    retryPolicySettings List<RoutesRouteAdvancedSettingRetryPolicySetting>
    The retry policy setting of the api gateway route.
    timeoutSettings List<RoutesRouteAdvancedSettingTimeoutSetting>
    The timeout setting of the api gateway route.
    urlRewriteSettings List<RoutesRouteAdvancedSettingUrlRewriteSetting>
    The url rewrite setting of the api gateway route.
    corsPolicySettings RoutesRouteAdvancedSettingCorsPolicySetting[]
    The cors policy setting of the api gateway route.
    headerOperations RoutesRouteAdvancedSettingHeaderOperation[]
    The header operations of the api gateway route.
    mirrorPolicies RoutesRouteAdvancedSettingMirrorPolicy[]
    The mirror policies of the api gateway route.
    retryPolicySettings RoutesRouteAdvancedSettingRetryPolicySetting[]
    The retry policy setting of the api gateway route.
    timeoutSettings RoutesRouteAdvancedSettingTimeoutSetting[]
    The timeout setting of the api gateway route.
    urlRewriteSettings RoutesRouteAdvancedSettingUrlRewriteSetting[]
    The url rewrite setting of the api gateway route.
    cors_policy_settings Sequence[RoutesRouteAdvancedSettingCorsPolicySetting]
    The cors policy setting of the api gateway route.
    header_operations Sequence[RoutesRouteAdvancedSettingHeaderOperation]
    The header operations of the api gateway route.
    mirror_policies Sequence[RoutesRouteAdvancedSettingMirrorPolicy]
    The mirror policies of the api gateway route.
    retry_policy_settings Sequence[RoutesRouteAdvancedSettingRetryPolicySetting]
    The retry policy setting of the api gateway route.
    timeout_settings Sequence[RoutesRouteAdvancedSettingTimeoutSetting]
    The timeout setting of the api gateway route.
    url_rewrite_settings Sequence[RoutesRouteAdvancedSettingUrlRewriteSetting]
    The url rewrite setting of the api gateway route.
    corsPolicySettings List<Property Map>
    The cors policy setting of the api gateway route.
    headerOperations List<Property Map>
    The header operations of the api gateway route.
    mirrorPolicies List<Property Map>
    The mirror policies of the api gateway route.
    retryPolicySettings List<Property Map>
    The retry policy setting of the api gateway route.
    timeoutSettings List<Property Map>
    The timeout setting of the api gateway route.
    urlRewriteSettings List<Property Map>
    The url rewrite setting of the api gateway route.

    RoutesRouteAdvancedSettingCorsPolicySetting

    Enable bool
    Whether the api gateway route is enabled.
    Enable bool
    Whether the api gateway route is enabled.
    enable Boolean
    Whether the api gateway route is enabled.
    enable boolean
    Whether the api gateway route is enabled.
    enable bool
    Whether the api gateway route is enabled.
    enable Boolean
    Whether the api gateway route is enabled.

    RoutesRouteAdvancedSettingHeaderOperation

    DirectionType string
    The direction type of the header.
    Key string
    The key of the query string.
    Operation string
    The operation of the header.
    Value string
    The path of the api gateway route.
    DirectionType string
    The direction type of the header.
    Key string
    The key of the query string.
    Operation string
    The operation of the header.
    Value string
    The path of the api gateway route.
    directionType String
    The direction type of the header.
    key String
    The key of the query string.
    operation String
    The operation of the header.
    value String
    The path of the api gateway route.
    directionType string
    The direction type of the header.
    key string
    The key of the query string.
    operation string
    The operation of the header.
    value string
    The path of the api gateway route.
    direction_type str
    The direction type of the header.
    key str
    The key of the query string.
    operation str
    The operation of the header.
    value str
    The path of the api gateway route.
    directionType String
    The direction type of the header.
    key String
    The key of the query string.
    operation String
    The operation of the header.
    value String
    The path of the api gateway route.

    RoutesRouteAdvancedSettingMirrorPolicy

    percents List<Property Map>
    The percent of the mirror policy.
    upstreams List<Property Map>
    The upstream of the mirror policy.

    RoutesRouteAdvancedSettingMirrorPolicyPercent

    Value int
    The path of the api gateway route.
    Value int
    The path of the api gateway route.
    value Integer
    The path of the api gateway route.
    value number
    The path of the api gateway route.
    value int
    The path of the api gateway route.
    value Number
    The path of the api gateway route.

    RoutesRouteAdvancedSettingMirrorPolicyUpstream

    Type string
    The type of the domain.
    UpstreamId string
    The id of api gateway upstream.
    Version string
    The version of the api gateway upstream.
    Type string
    The type of the domain.
    UpstreamId string
    The id of api gateway upstream.
    Version string
    The version of the api gateway upstream.
    type String
    The type of the domain.
    upstreamId String
    The id of api gateway upstream.
    version String
    The version of the api gateway upstream.
    type string
    The type of the domain.
    upstreamId string
    The id of api gateway upstream.
    version string
    The version of the api gateway upstream.
    type str
    The type of the domain.
    upstream_id str
    The id of api gateway upstream.
    version str
    The version of the api gateway upstream.
    type String
    The type of the domain.
    upstreamId String
    The id of api gateway upstream.
    version String
    The version of the api gateway upstream.

    RoutesRouteAdvancedSettingRetryPolicySetting

    Attempts int
    The attempts of the api gateway route.
    Enable bool
    Whether the api gateway route is enabled.
    HttpCodes List<string>
    The http codes of the api gateway route.
    PerTryTimeout int
    The per try timeout of the api gateway route.
    RetryOns List<string>
    The retry on of the api gateway route.
    Attempts int
    The attempts of the api gateway route.
    Enable bool
    Whether the api gateway route is enabled.
    HttpCodes []string
    The http codes of the api gateway route.
    PerTryTimeout int
    The per try timeout of the api gateway route.
    RetryOns []string
    The retry on of the api gateway route.
    attempts Integer
    The attempts of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    httpCodes List<String>
    The http codes of the api gateway route.
    perTryTimeout Integer
    The per try timeout of the api gateway route.
    retryOns List<String>
    The retry on of the api gateway route.
    attempts number
    The attempts of the api gateway route.
    enable boolean
    Whether the api gateway route is enabled.
    httpCodes string[]
    The http codes of the api gateway route.
    perTryTimeout number
    The per try timeout of the api gateway route.
    retryOns string[]
    The retry on of the api gateway route.
    attempts int
    The attempts of the api gateway route.
    enable bool
    Whether the api gateway route is enabled.
    http_codes Sequence[str]
    The http codes of the api gateway route.
    per_try_timeout int
    The per try timeout of the api gateway route.
    retry_ons Sequence[str]
    The retry on of the api gateway route.
    attempts Number
    The attempts of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    httpCodes List<String>
    The http codes of the api gateway route.
    perTryTimeout Number
    The per try timeout of the api gateway route.
    retryOns List<String>
    The retry on of the api gateway route.

    RoutesRouteAdvancedSettingTimeoutSetting

    Enable bool
    Whether the api gateway route is enabled.
    Timeout int
    The timeout of the api gateway route.
    Enable bool
    Whether the api gateway route is enabled.
    Timeout int
    The timeout of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    timeout Integer
    The timeout of the api gateway route.
    enable boolean
    Whether the api gateway route is enabled.
    timeout number
    The timeout of the api gateway route.
    enable bool
    Whether the api gateway route is enabled.
    timeout int
    The timeout of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    timeout Number
    The timeout of the api gateway route.

    RoutesRouteAdvancedSettingUrlRewriteSetting

    Enable bool
    Whether the api gateway route is enabled.
    UrlRewrite string
    The url rewrite path of the api gateway route.
    Enable bool
    Whether the api gateway route is enabled.
    UrlRewrite string
    The url rewrite path of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    urlRewrite String
    The url rewrite path of the api gateway route.
    enable boolean
    Whether the api gateway route is enabled.
    urlRewrite string
    The url rewrite path of the api gateway route.
    enable bool
    Whether the api gateway route is enabled.
    url_rewrite str
    The url rewrite path of the api gateway route.
    enable Boolean
    Whether the api gateway route is enabled.
    urlRewrite String
    The url rewrite path of the api gateway route.

    RoutesRouteCustomDomain

    Domain string
    The domain of the api gateway route.
    Id string
    The id of the api gateway route.
    Domain string
    The domain of the api gateway route.
    Id string
    The id of the api gateway route.
    domain String
    The domain of the api gateway route.
    id String
    The id of the api gateway route.
    domain string
    The domain of the api gateway route.
    id string
    The id of the api gateway route.
    domain str
    The domain of the api gateway route.
    id str
    The id of the api gateway route.
    domain String
    The domain of the api gateway route.
    id String
    The id of the api gateway route.

    RoutesRouteDomain

    Domain string
    The domain of the api gateway route.
    Type string
    The type of the domain.
    Domain string
    The domain of the api gateway route.
    Type string
    The type of the domain.
    domain String
    The domain of the api gateway route.
    type String
    The type of the domain.
    domain string
    The domain of the api gateway route.
    type string
    The type of the domain.
    domain str
    The domain of the api gateway route.
    type str
    The type of the domain.
    domain String
    The domain of the api gateway route.
    type String
    The type of the domain.

    RoutesRouteMatchRule

    Headers List<RoutesRouteMatchRuleHeader>
    The header of the api gateway route.
    Methods List<string>
    The method of the api gateway route.
    Paths List<RoutesRouteMatchRulePath>
    The path of api gateway route.
    QueryStrings List<RoutesRouteMatchRuleQueryString>
    The query string of the api gateway route.
    Headers []RoutesRouteMatchRuleHeader
    The header of the api gateway route.
    Methods []string
    The method of the api gateway route.
    Paths []RoutesRouteMatchRulePath
    The path of api gateway route.
    QueryStrings []RoutesRouteMatchRuleQueryString
    The query string of the api gateway route.
    headers List<RoutesRouteMatchRuleHeader>
    The header of the api gateway route.
    methods List<String>
    The method of the api gateway route.
    paths List<RoutesRouteMatchRulePath>
    The path of api gateway route.
    queryStrings List<RoutesRouteMatchRuleQueryString>
    The query string of the api gateway route.
    headers RoutesRouteMatchRuleHeader[]
    The header of the api gateway route.
    methods string[]
    The method of the api gateway route.
    paths RoutesRouteMatchRulePath[]
    The path of api gateway route.
    queryStrings RoutesRouteMatchRuleQueryString[]
    The query string of the api gateway route.
    headers Sequence[RoutesRouteMatchRuleHeader]
    The header of the api gateway route.
    methods Sequence[str]
    The method of the api gateway route.
    paths Sequence[RoutesRouteMatchRulePath]
    The path of api gateway route.
    query_strings Sequence[RoutesRouteMatchRuleQueryString]
    The query string of the api gateway route.
    headers List<Property Map>
    The header of the api gateway route.
    methods List<String>
    The method of the api gateway route.
    paths List<Property Map>
    The path of api gateway route.
    queryStrings List<Property Map>
    The query string of the api gateway route.

    RoutesRouteMatchRuleHeader

    Key string
    The key of the query string.
    Values List<RoutesRouteMatchRuleHeaderValue>
    The path of the api gateway route.
    Key string
    The key of the query string.
    Values []RoutesRouteMatchRuleHeaderValue
    The path of the api gateway route.
    key String
    The key of the query string.
    values List<RoutesRouteMatchRuleHeaderValue>
    The path of the api gateway route.
    key string
    The key of the query string.
    values RoutesRouteMatchRuleHeaderValue[]
    The path of the api gateway route.
    key str
    The key of the query string.
    values Sequence[RoutesRouteMatchRuleHeaderValue]
    The path of the api gateway route.
    key String
    The key of the query string.
    values List<Property Map>
    The path of the api gateway route.

    RoutesRouteMatchRuleHeaderValue

    MatchContent string
    The match content of the api gateway route.
    MatchType string
    The match type of the api gateway route.
    MatchContent string
    The match content of the api gateway route.
    MatchType string
    The match type of the api gateway route.
    matchContent String
    The match content of the api gateway route.
    matchType String
    The match type of the api gateway route.
    matchContent string
    The match content of the api gateway route.
    matchType string
    The match type of the api gateway route.
    match_content str
    The match content of the api gateway route.
    match_type str
    The match type of the api gateway route.
    matchContent String
    The match content of the api gateway route.
    matchType String
    The match type of the api gateway route.

    RoutesRouteMatchRulePath

    MatchContent string
    The match content of the api gateway route.
    MatchType string
    The match type of the api gateway route.
    MatchContent string
    The match content of the api gateway route.
    MatchType string
    The match type of the api gateway route.
    matchContent String
    The match content of the api gateway route.
    matchType String
    The match type of the api gateway route.
    matchContent string
    The match content of the api gateway route.
    matchType string
    The match type of the api gateway route.
    match_content str
    The match content of the api gateway route.
    match_type str
    The match type of the api gateway route.
    matchContent String
    The match content of the api gateway route.
    matchType String
    The match type of the api gateway route.

    RoutesRouteMatchRuleQueryString

    Key string
    The key of the query string.
    Values List<RoutesRouteMatchRuleQueryStringValue>
    The path of the api gateway route.
    Key string
    The key of the query string.
    Values []RoutesRouteMatchRuleQueryStringValue
    The path of the api gateway route.
    key String
    The key of the query string.
    values List<RoutesRouteMatchRuleQueryStringValue>
    The path of the api gateway route.
    key string
    The key of the query string.
    values RoutesRouteMatchRuleQueryStringValue[]
    The path of the api gateway route.
    key str
    The key of the query string.
    values Sequence[RoutesRouteMatchRuleQueryStringValue]
    The path of the api gateway route.
    key String
    The key of the query string.
    values List<Property Map>
    The path of the api gateway route.

    RoutesRouteMatchRuleQueryStringValue

    MatchContent string
    The match content of the api gateway route.
    MatchType string
    The match type of the api gateway route.
    MatchContent string
    The match content of the api gateway route.
    MatchType string
    The match type of the api gateway route.
    matchContent String
    The match content of the api gateway route.
    matchType String
    The match type of the api gateway route.
    matchContent string
    The match content of the api gateway route.
    matchType string
    The match type of the api gateway route.
    match_content str
    The match content of the api gateway route.
    match_type str
    The match type of the api gateway route.
    matchContent String
    The match content of the api gateway route.
    matchType String
    The match type of the api gateway route.

    RoutesRouteUpstreamList

    AiProviderSettings List<RoutesRouteUpstreamListAiProviderSetting>
    The ai provider settings of the api gateway route.
    UpstreamId string
    The id of api gateway upstream.
    Version string
    The version of the api gateway upstream.
    Weight int
    The weight of the api gateway upstream.
    AiProviderSettings []RoutesRouteUpstreamListAiProviderSetting
    The ai provider settings of the api gateway route.
    UpstreamId string
    The id of api gateway upstream.
    Version string
    The version of the api gateway upstream.
    Weight int
    The weight of the api gateway upstream.
    aiProviderSettings List<RoutesRouteUpstreamListAiProviderSetting>
    The ai provider settings of the api gateway route.
    upstreamId String
    The id of api gateway upstream.
    version String
    The version of the api gateway upstream.
    weight Integer
    The weight of the api gateway upstream.
    aiProviderSettings RoutesRouteUpstreamListAiProviderSetting[]
    The ai provider settings of the api gateway route.
    upstreamId string
    The id of api gateway upstream.
    version string
    The version of the api gateway upstream.
    weight number
    The weight of the api gateway upstream.
    ai_provider_settings Sequence[RoutesRouteUpstreamListAiProviderSetting]
    The ai provider settings of the api gateway route.
    upstream_id str
    The id of api gateway upstream.
    version str
    The version of the api gateway upstream.
    weight int
    The weight of the api gateway upstream.
    aiProviderSettings List<Property Map>
    The ai provider settings of the api gateway route.
    upstreamId String
    The id of api gateway upstream.
    version String
    The version of the api gateway upstream.
    weight Number
    The weight of the api gateway upstream.

    RoutesRouteUpstreamListAiProviderSetting

    Model string
    The model of the ai provider.
    TargetPath string
    The target path of the ai provider.
    Model string
    The model of the ai provider.
    TargetPath string
    The target path of the ai provider.
    model String
    The model of the ai provider.
    targetPath String
    The target path of the ai provider.
    model string
    The model of the ai provider.
    targetPath string
    The target path of the ai provider.
    model str
    The model of the ai provider.
    target_path str
    The target path of the ai provider.
    model String
    The model of the ai provider.
    targetPath String
    The target path of the ai provider.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine