Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
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 getRoutes
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 getRoutes(args: GetRoutesArgs, opts?: InvokeOptions): Promise<GetRoutesResult>
function getRoutesOutput(args: GetRoutesOutputArgs, opts?: InvokeOptions): Output<GetRoutesResult>def get_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) -> GetRoutesResult
def get_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[GetRoutesResult]func GetRoutes(ctx *Context, args *GetRoutesArgs, opts ...InvokeOption) (*GetRoutesResult, error)
func GetRoutesOutput(ctx *Context, args *GetRoutesOutputArgs, opts ...InvokeOption) GetRoutesResultOutput> Note: This function is named GetRoutes in the Go SDK.
public static class GetRoutes
{
public static Task<GetRoutesResult> InvokeAsync(GetRoutesArgs args, InvokeOptions? opts = null)
public static Output<GetRoutesResult> Invoke(GetRoutesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRoutesResult> getRoutes(GetRoutesArgs args, InvokeOptions options)
public static Output<GetRoutesResult> getRoutes(GetRoutesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:apig/getRoutes:getRoutes
arguments:
# arguments dictionaryThe following arguments are supported:
- Gateway
Id string - The id of api gateway.
- Name string
- The name of api gateway route. This field support fuzzy query.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Path string
- The path of api gateway route.
- Resource
Type string - The resource type of route. Valid values:
Console,Ingress. - Service
Id string - The id of api gateway service.
- Upstream
Id string - The id of api gateway upstream.
- Upstream
Version string - The version of api gateway upstream.
- Gateway
Id string - The id of api gateway.
- Name string
- The name of api gateway route. This field support fuzzy query.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Path string
- The path of api gateway route.
- Resource
Type string - The resource type of route. Valid values:
Console,Ingress. - Service
Id string - The id of api gateway service.
- Upstream
Id string - The id of api gateway upstream.
- Upstream
Version string - The version of api gateway upstream.
- gateway
Id String - The id of api gateway.
- name String
- The name of api gateway route. This field support fuzzy query.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- path String
- The path of api gateway route.
- resource
Type String - The resource type of route. Valid values:
Console,Ingress. - service
Id String - The id of api gateway service.
- upstream
Id String - The id of api gateway upstream.
- upstream
Version String - The version of api gateway upstream.
- gateway
Id string - The id of api gateway.
- name string
- The name of api gateway route. This field support fuzzy query.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- path string
- The path of api gateway route.
- resource
Type string - The resource type of route. Valid values:
Console,Ingress. - service
Id string - The id of api gateway service.
- upstream
Id string - The id of api gateway upstream.
- upstream
Version 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.
- gateway
Id String - The id of api gateway.
- name String
- The name of api gateway route. This field support fuzzy query.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- path String
- The path of api gateway route.
- resource
Type String - The resource type of route. Valid values:
Console,Ingress. - service
Id String - The id of api gateway service.
- upstream
Id String - The id of api gateway upstream.
- upstream
Version String - The version of api gateway upstream.
getRoutes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Routes
List<Get
Routes Route> - The collection of query.
- Total
Count int - The total count of query.
- Gateway
Id string - Name string
- The name of the api gateway route.
- Name
Regex string - Output
File string - Path string
- The path of the api gateway route.
- Resource
Type string - The resource type of route. Valid values:
Console,Ingress. - Service
Id string - The id of the api gateway service.
- Upstream
Id string - The id of the api gateway upstream.
- Upstream
Version string
- Id string
- The provider-assigned unique ID for this managed resource.
- Routes
[]Get
Routes Route - The collection of query.
- Total
Count int - The total count of query.
- Gateway
Id string - Name string
- The name of the api gateway route.
- Name
Regex string - Output
File string - Path string
- The path of the api gateway route.
- Resource
Type string - The resource type of route. Valid values:
Console,Ingress. - Service
Id string - The id of the api gateway service.
- Upstream
Id string - The id of the api gateway upstream.
- Upstream
Version string
- id String
- The provider-assigned unique ID for this managed resource.
- routes
List<Get
Routes Route> - The collection of query.
- total
Count Integer - The total count of query.
- gateway
Id String - name String
- The name of the api gateway route.
- name
Regex String - output
File String - path String
- The path of the api gateway route.
- resource
Type String - The resource type of route. Valid values:
Console,Ingress. - service
Id String - The id of the api gateway service.
- upstream
Id String - The id of the api gateway upstream.
- upstream
Version String
- id string
- The provider-assigned unique ID for this managed resource.
- routes
Get
Routes Route[] - The collection of query.
- total
Count number - The total count of query.
- gateway
Id string - name string
- The name of the api gateway route.
- name
Regex string - output
File string - path string
- The path of the api gateway route.
- resource
Type string - The resource type of route. Valid values:
Console,Ingress. - service
Id string - The id of the api gateway service.
- upstream
Id string - The id of the api gateway upstream.
- upstream
Version string
- id str
- The provider-assigned unique ID for this managed resource.
- routes
Sequence[Get
Routes Route] - 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.
- total
Count Number - The total count of query.
- gateway
Id String - name String
- The name of the api gateway route.
- name
Regex String - output
File String - path String
- The path of the api gateway route.
- resource
Type String - The resource type of route. Valid values:
Console,Ingress. - service
Id String - The id of the api gateway service.
- upstream
Id String - The id of the api gateway upstream.
- upstream
Version String
Supporting Types
GetRoutesRoute
- Advanced
Settings List<GetRoutes Route Advanced Setting> - The advanced setting of the api gateway route.
- Create
Time string - The create time of the api gateway route.
- Custom
Domains List<GetRoutes Route Custom Domain> - The custom domains of the api gateway route.
- Domains
List<Get
Routes Route Domain> - 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.
- Match
Rules List<GetRoutes Route Match Rule> - 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.
- Resource
Type string - The resource type of route. Valid values:
Console,Ingress. - Service
Id string - The id of api gateway service.
- Service
Name string - The name of the api gateway service.
- Status string
- The status of the api gateway route.
- Update
Time string - The update time of the api gateway route.
- Upstream
Lists List<GetRoutes Route Upstream List> - The upstream list of the api gateway route.
- Advanced
Settings []GetRoutes Route Advanced Setting - The advanced setting of the api gateway route.
- Create
Time string - The create time of the api gateway route.
- Custom
Domains []GetRoutes Route Custom Domain - The custom domains of the api gateway route.
- Domains
[]Get
Routes Route Domain - 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.
- Match
Rules []GetRoutes Route Match Rule - 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.
- Resource
Type string - The resource type of route. Valid values:
Console,Ingress. - Service
Id string - The id of api gateway service.
- Service
Name string - The name of the api gateway service.
- Status string
- The status of the api gateway route.
- Update
Time string - The update time of the api gateway route.
- Upstream
Lists []GetRoutes Route Upstream List - The upstream list of the api gateway route.
- advanced
Settings List<GetRoutes Route Advanced Setting> - The advanced setting of the api gateway route.
- create
Time String - The create time of the api gateway route.
- custom
Domains List<GetRoutes Route Custom Domain> - The custom domains of the api gateway route.
- domains
List<Get
Routes Route Domain> - 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.
- match
Rules List<GetRoutes Route Match Rule> - 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.
- resource
Type String - The resource type of route. Valid values:
Console,Ingress. - service
Id String - The id of api gateway service.
- service
Name String - The name of the api gateway service.
- status String
- The status of the api gateway route.
- update
Time String - The update time of the api gateway route.
- upstream
Lists List<GetRoutes Route Upstream List> - The upstream list of the api gateway route.
- advanced
Settings GetRoutes Route Advanced Setting[] - The advanced setting of the api gateway route.
- create
Time string - The create time of the api gateway route.
- custom
Domains GetRoutes Route Custom Domain[] - The custom domains of the api gateway route.
- domains
Get
Routes Route Domain[] - 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.
- match
Rules GetRoutes Route Match Rule[] - 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.
- resource
Type string - The resource type of route. Valid values:
Console,Ingress. - service
Id string - The id of api gateway service.
- service
Name string - The name of the api gateway service.
- status string
- The status of the api gateway route.
- update
Time string - The update time of the api gateway route.
- upstream
Lists GetRoutes Route Upstream List[] - The upstream list of the api gateway route.
- advanced_
settings Sequence[GetRoutes Route Advanced Setting] - The advanced setting of the api gateway route.
- create_
time str - The create time of the api gateway route.
- custom_
domains Sequence[GetRoutes Route Custom Domain] - The custom domains of the api gateway route.
- domains
Sequence[Get
Routes Route Domain] - 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[GetRoutes Route Match Rule] - 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[GetRoutes Route Upstream List] - The upstream list of the api gateway route.
- advanced
Settings List<Property Map> - The advanced setting of the api gateway route.
- create
Time String - The create time of the api gateway route.
- custom
Domains 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.
- match
Rules 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.
- resource
Type String - The resource type of route. Valid values:
Console,Ingress. - service
Id String - The id of api gateway service.
- service
Name String - The name of the api gateway service.
- status String
- The status of the api gateway route.
- update
Time String - The update time of the api gateway route.
- upstream
Lists List<Property Map> - The upstream list of the api gateway route.
GetRoutesRouteAdvancedSetting
- Cors
Policy List<GetSettings Routes Route Advanced Setting Cors Policy Setting> - The cors policy setting of the api gateway route.
- Header
Operations List<GetRoutes Route Advanced Setting Header Operation> - The header operations of the api gateway route.
- Mirror
Policies List<GetRoutes Route Advanced Setting Mirror Policy> - The mirror policies of the api gateway route.
- Retry
Policy List<GetSettings Routes Route Advanced Setting Retry Policy Setting> - The retry policy setting of the api gateway route.
- Timeout
Settings List<GetRoutes Route Advanced Setting Timeout Setting> - The timeout setting of the api gateway route.
- Url
Rewrite List<GetSettings Routes Route Advanced Setting Url Rewrite Setting> - The url rewrite setting of the api gateway route.
- Cors
Policy []GetSettings Routes Route Advanced Setting Cors Policy Setting - The cors policy setting of the api gateway route.
- Header
Operations []GetRoutes Route Advanced Setting Header Operation - The header operations of the api gateway route.
- Mirror
Policies []GetRoutes Route Advanced Setting Mirror Policy - The mirror policies of the api gateway route.
- Retry
Policy []GetSettings Routes Route Advanced Setting Retry Policy Setting - The retry policy setting of the api gateway route.
- Timeout
Settings []GetRoutes Route Advanced Setting Timeout Setting - The timeout setting of the api gateway route.
- Url
Rewrite []GetSettings Routes Route Advanced Setting Url Rewrite Setting - The url rewrite setting of the api gateway route.
- cors
Policy List<GetSettings Routes Route Advanced Setting Cors Policy Setting> - The cors policy setting of the api gateway route.
- header
Operations List<GetRoutes Route Advanced Setting Header Operation> - The header operations of the api gateway route.
- mirror
Policies List<GetRoutes Route Advanced Setting Mirror Policy> - The mirror policies of the api gateway route.
- retry
Policy List<GetSettings Routes Route Advanced Setting Retry Policy Setting> - The retry policy setting of the api gateway route.
- timeout
Settings List<GetRoutes Route Advanced Setting Timeout Setting> - The timeout setting of the api gateway route.
- url
Rewrite List<GetSettings Routes Route Advanced Setting Url Rewrite Setting> - The url rewrite setting of the api gateway route.
- cors
Policy GetSettings Routes Route Advanced Setting Cors Policy Setting[] - The cors policy setting of the api gateway route.
- header
Operations GetRoutes Route Advanced Setting Header Operation[] - The header operations of the api gateway route.
- mirror
Policies GetRoutes Route Advanced Setting Mirror Policy[] - The mirror policies of the api gateway route.
- retry
Policy GetSettings Routes Route Advanced Setting Retry Policy Setting[] - The retry policy setting of the api gateway route.
- timeout
Settings GetRoutes Route Advanced Setting Timeout Setting[] - The timeout setting of the api gateway route.
- url
Rewrite GetSettings Routes Route Advanced Setting Url Rewrite Setting[] - The url rewrite setting of the api gateway route.
- cors_
policy_ Sequence[Getsettings Routes Route Advanced Setting Cors Policy Setting] - The cors policy setting of the api gateway route.
- header_
operations Sequence[GetRoutes Route Advanced Setting Header Operation] - The header operations of the api gateway route.
- mirror_
policies Sequence[GetRoutes Route Advanced Setting Mirror Policy] - The mirror policies of the api gateway route.
- retry_
policy_ Sequence[Getsettings Routes Route Advanced Setting Retry Policy Setting] - The retry policy setting of the api gateway route.
- timeout_
settings Sequence[GetRoutes Route Advanced Setting Timeout Setting] - The timeout setting of the api gateway route.
- url_
rewrite_ Sequence[Getsettings Routes Route Advanced Setting Url Rewrite Setting] - The url rewrite setting of the api gateway route.
- cors
Policy List<Property Map>Settings - The cors policy setting of the api gateway route.
- header
Operations List<Property Map> - The header operations of the api gateway route.
- mirror
Policies List<Property Map> - The mirror policies of the api gateway route.
- retry
Policy List<Property Map>Settings - The retry policy setting of the api gateway route.
- timeout
Settings List<Property Map> - The timeout setting of the api gateway route.
- url
Rewrite List<Property Map>Settings - The url rewrite setting of the api gateway route.
GetRoutesRouteAdvancedSettingCorsPolicySetting
- 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.
GetRoutesRouteAdvancedSettingHeaderOperation
- Direction
Type 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 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 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 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.
- direction
Type 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.
GetRoutesRouteAdvancedSettingMirrorPolicy
- Percents
List<Get
Routes Route Advanced Setting Mirror Policy Percent> - The percent of the mirror policy.
- Upstreams
List<Get
Routes Route Advanced Setting Mirror Policy Upstream> - The upstream of the mirror policy.
- Percents
[]Get
Routes Route Advanced Setting Mirror Policy Percent - The percent of the mirror policy.
- Upstreams
[]Get
Routes Route Advanced Setting Mirror Policy Upstream - The upstream of the mirror policy.
- percents
List<Get
Routes Route Advanced Setting Mirror Policy Percent> - The percent of the mirror policy.
- upstreams
List<Get
Routes Route Advanced Setting Mirror Policy Upstream> - The upstream of the mirror policy.
- percents
Get
Routes Route Advanced Setting Mirror Policy Percent[] - The percent of the mirror policy.
- upstreams
Get
Routes Route Advanced Setting Mirror Policy Upstream[] - The upstream of the mirror policy.
- percents
Sequence[Get
Routes Route Advanced Setting Mirror Policy Percent] - The percent of the mirror policy.
- upstreams
Sequence[Get
Routes Route Advanced Setting Mirror Policy Upstream] - The upstream of the mirror policy.
- percents List<Property Map>
- The percent of the mirror policy.
- upstreams List<Property Map>
- The upstream of the mirror policy.
GetRoutesRouteAdvancedSettingMirrorPolicyPercent
- 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.
GetRoutesRouteAdvancedSettingMirrorPolicyUpstream
- Type string
- The type of the domain.
- Upstream
Id string - The id of api gateway upstream.
- Version string
- The version of the api gateway upstream.
- Type string
- The type of the domain.
- Upstream
Id string - The id of api gateway upstream.
- Version string
- The version of the api gateway upstream.
- type String
- The type of the domain.
- upstream
Id String - The id of api gateway upstream.
- version String
- The version of the api gateway upstream.
- type string
- The type of the domain.
- upstream
Id 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.
- upstream
Id String - The id of api gateway upstream.
- version String
- The version of the api gateway upstream.
GetRoutesRouteAdvancedSettingRetryPolicySetting
- Attempts int
- The attempts of the api gateway route.
- Enable bool
- Whether the api gateway route is enabled.
- Http
Codes List<string> - The http codes of the api gateway route.
- Per
Try intTimeout - The per try timeout of the api gateway route.
- Retry
Ons 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.
- Http
Codes []string - The http codes of the api gateway route.
- Per
Try intTimeout - The per try timeout of the api gateway route.
- Retry
Ons []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.
- http
Codes List<String> - The http codes of the api gateway route.
- per
Try IntegerTimeout - The per try timeout of the api gateway route.
- retry
Ons 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.
- http
Codes string[] - The http codes of the api gateway route.
- per
Try numberTimeout - The per try timeout of the api gateway route.
- retry
Ons 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_ inttimeout - 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.
- http
Codes List<String> - The http codes of the api gateway route.
- per
Try NumberTimeout - The per try timeout of the api gateway route.
- retry
Ons List<String> - The retry on of the api gateway route.
GetRoutesRouteAdvancedSettingTimeoutSetting
GetRoutesRouteAdvancedSettingUrlRewriteSetting
- Enable bool
- Whether the api gateway route is enabled.
- Url
Rewrite string - The url rewrite path of the api gateway route.
- Enable bool
- Whether the api gateway route is enabled.
- Url
Rewrite string - The url rewrite path of the api gateway route.
- enable Boolean
- Whether the api gateway route is enabled.
- url
Rewrite String - The url rewrite path of the api gateway route.
- enable boolean
- Whether the api gateway route is enabled.
- url
Rewrite 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.
- url
Rewrite String - The url rewrite path of the api gateway route.
GetRoutesRouteCustomDomain
GetRoutesRouteDomain
GetRoutesRouteMatchRule
- Headers
List<Get
Routes Route Match Rule Header> - The header of the api gateway route.
- Methods List<string>
- The method of the api gateway route.
- Paths
List<Get
Routes Route Match Rule Path> - The path of api gateway route.
- Query
Strings List<GetRoutes Route Match Rule Query String> - The query string of the api gateway route.
- Headers
[]Get
Routes Route Match Rule Header - The header of the api gateway route.
- Methods []string
- The method of the api gateway route.
- Paths
[]Get
Routes Route Match Rule Path - The path of api gateway route.
- Query
Strings []GetRoutes Route Match Rule Query String - The query string of the api gateway route.
- headers
List<Get
Routes Route Match Rule Header> - The header of the api gateway route.
- methods List<String>
- The method of the api gateway route.
- paths
List<Get
Routes Route Match Rule Path> - The path of api gateway route.
- query
Strings List<GetRoutes Route Match Rule Query String> - The query string of the api gateway route.
- headers
Get
Routes Route Match Rule Header[] - The header of the api gateway route.
- methods string[]
- The method of the api gateway route.
- paths
Get
Routes Route Match Rule Path[] - The path of api gateway route.
- query
Strings GetRoutes Route Match Rule Query String[] - The query string of the api gateway route.
- headers
Sequence[Get
Routes Route Match Rule Header] - The header of the api gateway route.
- methods Sequence[str]
- The method of the api gateway route.
- paths
Sequence[Get
Routes Route Match Rule Path] - The path of api gateway route.
- query_
strings Sequence[GetRoutes Route Match Rule Query String] - 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.
- query
Strings List<Property Map> - The query string of the api gateway route.
GetRoutesRouteMatchRuleHeader
- Key string
- The key of the query string.
- Values
List<Get
Routes Route Match Rule Header Value> - The path of the api gateway route.
- Key string
- The key of the query string.
- Values
[]Get
Routes Route Match Rule Header Value - The path of the api gateway route.
- key String
- The key of the query string.
- values
List<Get
Routes Route Match Rule Header Value> - The path of the api gateway route.
- key string
- The key of the query string.
- values
Get
Routes Route Match Rule Header Value[] - The path of the api gateway route.
- key str
- The key of the query string.
- values
Sequence[Get
Routes Route Match Rule Header Value] - 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.
GetRoutesRouteMatchRuleHeaderValue
- Match
Content string - The match content of the api gateway route.
- Match
Type string - The match type of the api gateway route.
- Match
Content string - The match content of the api gateway route.
- Match
Type string - The match type of the api gateway route.
- match
Content String - The match content of the api gateway route.
- match
Type String - The match type of the api gateway route.
- match
Content string - The match content of the api gateway route.
- match
Type 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.
- match
Content String - The match content of the api gateway route.
- match
Type String - The match type of the api gateway route.
GetRoutesRouteMatchRulePath
- Match
Content string - The match content of the api gateway route.
- Match
Type string - The match type of the api gateway route.
- Match
Content string - The match content of the api gateway route.
- Match
Type string - The match type of the api gateway route.
- match
Content String - The match content of the api gateway route.
- match
Type String - The match type of the api gateway route.
- match
Content string - The match content of the api gateway route.
- match
Type 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.
- match
Content String - The match content of the api gateway route.
- match
Type String - The match type of the api gateway route.
GetRoutesRouteMatchRuleQueryString
- Key string
- The key of the query string.
- Values
List<Get
Routes Route Match Rule Query String Value> - The path of the api gateway route.
- Key string
- The key of the query string.
- Values
[]Get
Routes Route Match Rule Query String Value - The path of the api gateway route.
- key String
- The key of the query string.
- values
List<Get
Routes Route Match Rule Query String Value> - The path of the api gateway route.
- key string
- The key of the query string.
- values
Get
Routes Route Match Rule Query String Value[] - The path of the api gateway route.
- key str
- The key of the query string.
- values
Sequence[Get
Routes Route Match Rule Query String Value] - 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.
GetRoutesRouteMatchRuleQueryStringValue
- Match
Content string - The match content of the api gateway route.
- Match
Type string - The match type of the api gateway route.
- Match
Content string - The match content of the api gateway route.
- Match
Type string - The match type of the api gateway route.
- match
Content String - The match content of the api gateway route.
- match
Type String - The match type of the api gateway route.
- match
Content string - The match content of the api gateway route.
- match
Type 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.
- match
Content String - The match content of the api gateway route.
- match
Type String - The match type of the api gateway route.
GetRoutesRouteUpstreamList
- Ai
Provider List<GetSettings Routes Route Upstream List Ai Provider Setting> - The ai provider settings of the api gateway route.
- Upstream
Id 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.
- Ai
Provider []GetSettings Routes Route Upstream List Ai Provider Setting - The ai provider settings of the api gateway route.
- Upstream
Id 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.
- ai
Provider List<GetSettings Routes Route Upstream List Ai Provider Setting> - The ai provider settings of the api gateway route.
- upstream
Id 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.
- ai
Provider GetSettings Routes Route Upstream List Ai Provider Setting[] - The ai provider settings of the api gateway route.
- upstream
Id 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_ Sequence[Getsettings Routes Route Upstream List Ai Provider Setting] - 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.
- ai
Provider List<Property Map>Settings - The ai provider settings of the api gateway route.
- upstream
Id 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.
GetRoutesRouteUpstreamListAiProviderSetting
- Model string
- The model of the ai provider.
- Target
Path string - The target path of the ai provider.
- Model string
- The model of the ai provider.
- Target
Path string - The target path of the ai provider.
- model String
- The model of the ai provider.
- target
Path String - The target path of the ai provider.
- model string
- The model of the ai provider.
- target
Path 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.
- target
Path 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
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
