1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. apig
  6. getRoutes
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.108.0
published on Thursday, Sep 17, 2026 by Pulumi

    This data source provides Apig Route available to the user.What is Route

    NOTE: Available since v1.287.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const routeHttpapiArr = new alicloud.apig.HttpApi("route_httpapi_arr", {
        httpApiName: "cspec-route-arr-httpapi",
        protocols: ["HTTP"],
        type: "Rest",
        description: "array test httpapi",
        basePath: "/cspec-route-arr",
    });
    const defaultRoute = new alicloud.apig.Route("default", {
        domainInfos: [
            {},
            {},
        ],
        backend: {
            services: [
                {
                    version: "v1.0",
                    port: 8080,
                    protocol: "HTTP",
                    weight: 70,
                    serviceId: "svc-a",
                },
                {
                    version: "v1.0",
                    port: 8081,
                    protocol: "HTTP",
                    weight: 30,
                    serviceId: "svc-b",
                },
            ],
            scene: "SingleService",
        },
        description: "array route description",
        routeName: "cspec-arr-route",
        httpApiId: routeHttpapiArr.id,
        match: {
            path: {
                type: "Prefix",
                value: "/arr-path",
            },
            headers: [
                {
                    type: "Exact",
                    value: "v1",
                    name: "h1",
                },
                {
                    type: "Prefix",
                    value: "v2",
                    name: "h2",
                },
            ],
            queryParams: [
                {
                    type: "Exact",
                    value: "v1",
                    name: "q1",
                },
                {
                    type: "Prefix",
                    value: "v2",
                    name: "q2",
                },
            ],
            methods: [
                "GET",
                "POST",
                "PUT",
            ],
            ignoreUriCase: false,
        },
    });
    const _default = alicloud.apig.getRoutesOutput({
        ids: [defaultRoute.id],
        nameRegex: defaultRoute.routeName,
        httpApiId: routeHttpapiArr.id,
        routeName: "cspec-arr-route",
    });
    export const alicloudApigRouteExampleId = _default.apply(_default => _default.routes?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    route_httpapi_arr = alicloud.apig.HttpApi("route_httpapi_arr",
        http_api_name="cspec-route-arr-httpapi",
        protocols=["HTTP"],
        type="Rest",
        description="array test httpapi",
        base_path="/cspec-route-arr")
    default_route = alicloud.apig.Route("default",
        domain_infos=[
            {},
            {},
        ],
        backend={
            "services": [
                {
                    "version": "v1.0",
                    "port": 8080,
                    "protocol": "HTTP",
                    "weight": 70,
                    "service_id": "svc-a",
                },
                {
                    "version": "v1.0",
                    "port": 8081,
                    "protocol": "HTTP",
                    "weight": 30,
                    "service_id": "svc-b",
                },
            ],
            "scene": "SingleService",
        },
        description="array route description",
        route_name="cspec-arr-route",
        http_api_id=route_httpapi_arr.id,
        match={
            "path": {
                "type": "Prefix",
                "value": "/arr-path",
            },
            "headers": [
                {
                    "type": "Exact",
                    "value": "v1",
                    "name": "h1",
                },
                {
                    "type": "Prefix",
                    "value": "v2",
                    "name": "h2",
                },
            ],
            "query_params": [
                {
                    "type": "Exact",
                    "value": "v1",
                    "name": "q1",
                },
                {
                    "type": "Prefix",
                    "value": "v2",
                    "name": "q2",
                },
            ],
            "methods": [
                "GET",
                "POST",
                "PUT",
            ],
            "ignore_uri_case": False,
        })
    default = alicloud.apig.get_routes_output(ids=[default_route.id],
        name_regex=default_route.route_name,
        http_api_id=route_httpapi_arr.id,
        route_name="cspec-arr-route")
    pulumi.export("alicloudApigRouteExampleId", default.routes[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/apig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		routeHttpapiArr, err := apig.NewHttpApi(ctx, "route_httpapi_arr", &apig.HttpApiArgs{
    			HttpApiName: pulumi.String("cspec-route-arr-httpapi"),
    			Protocols: pulumi.StringArray{
    				pulumi.String("HTTP"),
    			},
    			Type:        pulumi.String("Rest"),
    			Description: pulumi.String("array test httpapi"),
    			BasePath:    pulumi.String("/cspec-route-arr"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultRoute, err := apig.NewRoute(ctx, "default", &apig.RouteArgs{
    			DomainInfos: []map[string]interface{}{
    				map[string]interface{}{},
    				map[string]interface{}{},
    			},
    			Backend: &apig.RouteBackendArgs{
    				Services: apig.RouteBackendServiceArray{
    					&apig.RouteBackendServiceArgs{
    						Version:   pulumi.String("v1.0"),
    						Port:      pulumi.Int(8080),
    						Protocol:  pulumi.String("HTTP"),
    						Weight:    pulumi.Int(70),
    						ServiceId: pulumi.String("svc-a"),
    					},
    					&apig.RouteBackendServiceArgs{
    						Version:   pulumi.String("v1.0"),
    						Port:      pulumi.Int(8081),
    						Protocol:  pulumi.String("HTTP"),
    						Weight:    pulumi.Int(30),
    						ServiceId: pulumi.String("svc-b"),
    					},
    				},
    				Scene: pulumi.String("SingleService"),
    			},
    			Description: pulumi.String("array route description"),
    			RouteName:   pulumi.String("cspec-arr-route"),
    			HttpApiId:   routeHttpapiArr.ID().ToIDOutput().ToStringOutput(),
    			Match: &apig.RouteMatchArgs{
    				Path: &apig.RouteMatchPathArgs{
    					Type:  pulumi.String("Prefix"),
    					Value: pulumi.String("/arr-path"),
    				},
    				Headers: apig.RouteMatchHeaderArray{
    					&apig.RouteMatchHeaderArgs{
    						Type:  pulumi.String("Exact"),
    						Value: pulumi.String("v1"),
    						Name:  pulumi.String("h1"),
    					},
    					&apig.RouteMatchHeaderArgs{
    						Type:  pulumi.String("Prefix"),
    						Value: pulumi.String("v2"),
    						Name:  pulumi.String("h2"),
    					},
    				},
    				QueryParams: apig.RouteMatchQueryParamArray{
    					&apig.RouteMatchQueryParamArgs{
    						Type:  pulumi.String("Exact"),
    						Value: pulumi.String("v1"),
    						Name:  pulumi.String("q1"),
    					},
    					&apig.RouteMatchQueryParamArgs{
    						Type:  pulumi.String("Prefix"),
    						Value: pulumi.String("v2"),
    						Name:  pulumi.String("q2"),
    					},
    				},
    				Methods: pulumi.StringArray{
    					pulumi.String("GET"),
    					pulumi.String("POST"),
    					pulumi.String("PUT"),
    				},
    				IgnoreUriCase: pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_default := apig.GetRoutesOutput(ctx, apig.GetRoutesOutputArgs{
    			Ids: pulumi.StringArray{
    				defaultRoute.ID().ToIDOutput().ToStringOutput(),
    			},
    			NameRegex: defaultRoute.RouteName,
    			HttpApiId: routeHttpapiArr.ID().ToIDOutput().ToStringOutput(),
    			RouteName: pulumi.String("cspec-arr-route"),
    		}, nil)
    		ctx.Export("alicloudApigRouteExampleId", _default.ApplyT(func(_default apig.GetRoutesResult) (*string, error) {
    			return _default.Routes[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var routeHttpapiArr = new AliCloud.Apig.HttpApi("route_httpapi_arr", new()
        {
            HttpApiName = "cspec-route-arr-httpapi",
            Protocols = new[]
            {
                "HTTP",
            },
            Type = "Rest",
            Description = "array test httpapi",
            BasePath = "/cspec-route-arr",
        });
    
        var defaultRoute = new AliCloud.Apig.Route("default", new()
        {
            DomainInfos = new[]
            {
                null,
                null,
            },
            Backend = new AliCloud.Apig.Inputs.RouteBackendArgs
            {
                Services = new[]
                {
                    new AliCloud.Apig.Inputs.RouteBackendServiceArgs
                    {
                        Version = "v1.0",
                        Port = 8080,
                        Protocol = "HTTP",
                        Weight = 70,
                        ServiceId = "svc-a",
                    },
                    new AliCloud.Apig.Inputs.RouteBackendServiceArgs
                    {
                        Version = "v1.0",
                        Port = 8081,
                        Protocol = "HTTP",
                        Weight = 30,
                        ServiceId = "svc-b",
                    },
                },
                Scene = "SingleService",
            },
            Description = "array route description",
            RouteName = "cspec-arr-route",
            HttpApiId = routeHttpapiArr.Id,
            Match = new AliCloud.Apig.Inputs.RouteMatchArgs
            {
                Path = new AliCloud.Apig.Inputs.RouteMatchPathArgs
                {
                    Type = "Prefix",
                    Value = "/arr-path",
                },
                Headers = new[]
                {
                    new AliCloud.Apig.Inputs.RouteMatchHeaderArgs
                    {
                        Type = "Exact",
                        Value = "v1",
                        Name = "h1",
                    },
                    new AliCloud.Apig.Inputs.RouteMatchHeaderArgs
                    {
                        Type = "Prefix",
                        Value = "v2",
                        Name = "h2",
                    },
                },
                QueryParams = new[]
                {
                    new AliCloud.Apig.Inputs.RouteMatchQueryParamArgs
                    {
                        Type = "Exact",
                        Value = "v1",
                        Name = "q1",
                    },
                    new AliCloud.Apig.Inputs.RouteMatchQueryParamArgs
                    {
                        Type = "Prefix",
                        Value = "v2",
                        Name = "q2",
                    },
                },
                Methods = new[]
                {
                    "GET",
                    "POST",
                    "PUT",
                },
                IgnoreUriCase = false,
            },
        });
    
        var @default = AliCloud.Apig.GetRoutes.Invoke(new()
        {
            Ids = new[]
            {
                defaultRoute.Id,
            },
            NameRegex = defaultRoute.RouteName,
            HttpApiId = routeHttpapiArr.Id,
            RouteName = "cspec-arr-route",
        });
    
        return new Dictionary<string, object?>
        {
            ["alicloudApigRouteExampleId"] = @default.Apply(@default => @default.Apply(getRoutesResult => getRoutesResult.Routes[0]?.Id)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.apig.HttpApi;
    import com.pulumi.alicloud.apig.HttpApiArgs;
    import com.pulumi.alicloud.apig.Route;
    import com.pulumi.alicloud.apig.RouteArgs;
    import com.pulumi.alicloud.apig.inputs.RouteBackendArgs;
    import com.pulumi.alicloud.apig.inputs.RouteBackendServiceArgs;
    import com.pulumi.alicloud.apig.inputs.RouteMatchArgs;
    import com.pulumi.alicloud.apig.inputs.RouteMatchPathArgs;
    import com.pulumi.alicloud.apig.inputs.RouteMatchHeaderArgs;
    import com.pulumi.alicloud.apig.inputs.RouteMatchQueryParamArgs;
    import com.pulumi.alicloud.apig.ApigFunctions;
    import com.pulumi.alicloud.apig.inputs.GetRoutesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var routeHttpapiArr = new HttpApi("routeHttpapiArr", HttpApiArgs.builder()
                .httpApiName("cspec-route-arr-httpapi")
                .protocols("HTTP")
                .type("Rest")
                .description("array test httpapi")
                .basePath("/cspec-route-arr")
                .build());
    
            var defaultRoute = new Route("defaultRoute", RouteArgs.builder()
                .domainInfos(Arrays.asList(            
                    Map.ofEntries(
                    ),
                    Map.ofEntries(
                    )))
                .backend(RouteBackendArgs.builder()
                    .services(                
                        RouteBackendServiceArgs.builder()
                            .version("v1.0")
                            .port(8080)
                            .protocol("HTTP")
                            .weight(70)
                            .serviceId("svc-a")
                            .build(),
                        RouteBackendServiceArgs.builder()
                            .version("v1.0")
                            .port(8081)
                            .protocol("HTTP")
                            .weight(30)
                            .serviceId("svc-b")
                            .build())
                    .scene("SingleService")
                    .build())
                .description("array route description")
                .routeName("cspec-arr-route")
                .httpApiId(routeHttpapiArr.id())
                .match(RouteMatchArgs.builder()
                    .path(RouteMatchPathArgs.builder()
                        .type("Prefix")
                        .value("/arr-path")
                        .build())
                    .headers(                
                        RouteMatchHeaderArgs.builder()
                            .type("Exact")
                            .value("v1")
                            .name("h1")
                            .build(),
                        RouteMatchHeaderArgs.builder()
                            .type("Prefix")
                            .value("v2")
                            .name("h2")
                            .build())
                    .queryParams(                
                        RouteMatchQueryParamArgs.builder()
                            .type("Exact")
                            .value("v1")
                            .name("q1")
                            .build(),
                        RouteMatchQueryParamArgs.builder()
                            .type("Prefix")
                            .value("v2")
                            .name("q2")
                            .build())
                    .methods(                
                        "GET",
                        "POST",
                        "PUT")
                    .ignoreUriCase(false)
                    .build())
                .build());
    
            final var default = ApigFunctions.getRoutes(GetRoutesArgs.builder()
                .ids(defaultRoute.id())
                .nameRegex(defaultRoute.routeName())
                .httpApiId(routeHttpapiArr.id())
                .routeName("cspec-arr-route")
                .build());
    
            ctx.export("alicloudApigRouteExampleId", default_.applyValue(_default_ -> _default_.routes()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      routeHttpapiArr:
        type: alicloud:apig:HttpApi
        name: route_httpapi_arr
        properties:
          httpApiName: cspec-route-arr-httpapi
          protocols:
            - HTTP
          type: Rest
          description: array test httpapi
          basePath: /cspec-route-arr
      defaultRoute:
        type: alicloud:apig:Route
        name: default
        properties:
          domainInfos:
            - {}
            - {}
          backend:
            services:
              - version: v1.0
                port: '8080'
                protocol: HTTP
                weight: '70'
                serviceId: svc-a
              - version: v1.0
                port: '8081'
                protocol: HTTP
                weight: '30'
                serviceId: svc-b
            scene: SingleService
          description: array route description
          routeName: cspec-arr-route
          httpApiId: ${routeHttpapiArr.id}
          match:
            path:
              type: Prefix
              value: /arr-path
            headers:
              - type: Exact
                value: v1
                name: h1
              - type: Prefix
                value: v2
                name: h2
            queryParams:
              - type: Exact
                value: v1
                name: q1
              - type: Prefix
                value: v2
                name: q2
            methods:
              - GET
              - POST
              - PUT
            ignoreUriCase: false
    variables:
      default:
        fn::invoke:
          function: alicloud:apig:getRoutes
          arguments:
            ids:
              - ${defaultRoute.id}
            nameRegex: ${defaultRoute.routeName}
            httpApiId: ${routeHttpapiArr.id}
            routeName: cspec-arr-route
    outputs:
      alicloudApigRouteExampleId: ${default.routes[0].id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_apig_getroutes" "default" {
      ids         = [alicloud_apig_route.default.id]
      name_regex  = alicloud_apig_route.default.route_name
      http_api_id = alicloud_apig_httpapi.route_httpapi_arr.id
      route_name  = "cspec-arr-route"
    }
    
    resource "alicloud_apig_httpapi" "route_httpapi_arr" {
      http_api_name = "cspec-route-arr-httpapi"
      protocols     = ["HTTP"]
      type          = "Rest"
      description   = "array test httpapi"
      base_path     = "/cspec-route-arr"
    }
    resource "alicloud_apig_route" "default" {
      domain_infos = [{}, {}]
      backend = {
        services = [{
          "version"   = "v1.0"
          "port"      = "8080"
          "protocol"  = "HTTP"
          "weight"    = "70"
          "serviceId" = "svc-a"
          }, {
          "version"   = "v1.0"
          "port"      = "8081"
          "protocol"  = "HTTP"
          "weight"    = "30"
          "serviceId" = "svc-b"
        }]
        scene = "SingleService"
      }
      description = "array route description"
      route_name  = "cspec-arr-route"
      http_api_id = alicloud_apig_httpapi.route_httpapi_arr.id
      match = {
        path = {
          type  = "Prefix"
          value = "/arr-path"
        }
        headers = [{
          "type"  = "Exact"
          "value" = "v1"
          "name"  = "h1"
          }, {
          "type"  = "Prefix"
          "value" = "v2"
          "name"  = "h2"
        }]
        query_params = [{
          "type"  = "Exact"
          "value" = "v1"
          "name"  = "q1"
          }, {
          "type"  = "Prefix"
          "value" = "v2"
          "name"  = "q2"
        }]
        methods         = ["GET", "POST", "PUT"]
        ignore_uri_case = false
      }
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    output "alicloudApigRouteExampleId" {
      value = data.alicloud_apig_getroutes.default.routes[0].id
    }
    

    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?: InvokeOutputOptions): Output<GetRoutesResult>
    def get_routes(environment_info: Optional[GetRoutesEnvironmentInfo] = None,
                   http_api_id: Optional[str] = None,
                   ids: Optional[Sequence[str]] = None,
                   name_regex: Optional[str] = None,
                   output_file: Optional[str] = None,
                   route_name: Optional[str] = None,
                   status: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRoutesResult
    def get_routes_output(environment_info: pulumi.Input[Optional[GetRoutesEnvironmentInfoArgs]] = None,
                   http_api_id: pulumi.Input[Optional[str]] = None,
                   ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                   name_regex: pulumi.Input[Optional[str]] = None,
                   output_file: pulumi.Input[Optional[str]] = None,
                   route_name: pulumi.Input[Optional[str]] = None,
                   status: pulumi.Input[Optional[str]] = None,
                   opts: Optional[InvokeOutputOptions] = 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 Output<GetRoutesResult> Invoke(GetRoutesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRoutesResult> getRoutes(GetRoutesArgs args, InvokeOptions options)
    public static Output<GetRoutesResult> getRoutes(GetRoutesArgs args, InvokeOptions options)
    public static Output<GetRoutesResult> getRoutes(GetRoutesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: alicloud:apig/getRoutes:getRoutes
      arguments:
        # arguments dictionary
    data "alicloud_apig_get_routes" "name" {
        # arguments
    }

    The following arguments are supported:

    HttpApiId string
    The ID of the HTTP API to which the route belongs.
    EnvironmentInfo Pulumi.AliCloud.Apig.Inputs.GetRoutesEnvironmentInfo
    The environment information of the route. See environmentInfo below.
    Ids List<string>
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    NameRegex string
    A regex string to filter results by Route name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    RouteName string
    The name of the route.
    Status string
    The deployment status of the route.
    HttpApiId string
    The ID of the HTTP API to which the route belongs.
    EnvironmentInfo GetRoutesEnvironmentInfo
    The environment information of the route. See environmentInfo below.
    Ids []string
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    NameRegex string
    A regex string to filter results by Route name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    RouteName string
    The name of the route.
    Status string
    The deployment status of the route.
    http_api_id string
    The ID of the HTTP API to which the route belongs.
    environment_info object
    The environment information of the route. See environmentInfo below.
    ids list(string)
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    name_regex string
    A regex string to filter results by Route name.
    output_file string
    File name where to save data source results (after running pulumi preview).
    route_name string
    The name of the route.
    status string
    The deployment status of the route.
    httpApiId String
    The ID of the HTTP API to which the route belongs.
    environmentInfo GetRoutesEnvironmentInfo
    The environment information of the route. See environmentInfo below.
    ids List<String>
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    nameRegex String
    A regex string to filter results by Route name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    routeName String
    The name of the route.
    status String
    The deployment status of the route.
    httpApiId string
    The ID of the HTTP API to which the route belongs.
    environmentInfo GetRoutesEnvironmentInfo
    The environment information of the route. See environmentInfo below.
    ids string[]
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    nameRegex string
    A regex string to filter results by Route name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    routeName string
    The name of the route.
    status string
    The deployment status of the route.
    http_api_id str
    The ID of the HTTP API to which the route belongs.
    environment_info GetRoutesEnvironmentInfo
    The environment information of the route. See environmentInfo below.
    ids Sequence[str]
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    name_regex str
    A regex string to filter results by Route name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    route_name str
    The name of the route.
    status str
    The deployment status of the route.
    httpApiId String
    The ID of the HTTP API to which the route belongs.
    environmentInfo Property Map
    The environment information of the route. See environmentInfo below.
    ids List<String>
    A list of Route IDs. The value is formulated as <http_api_id>:<route_id>.
    nameRegex String
    A regex string to filter results by Route name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    routeName String
    The name of the route.
    status String
    The deployment status of the route.

    getRoutes Result

    The following output properties are available:

    HttpApiId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    A list of Route IDs.
    Names List<string>
    A list of name of Routes.
    Routes List<Pulumi.AliCloud.Apig.Outputs.GetRoutesRoute>
    A list of Route Entries. Each element contains the following attributes:
    EnvironmentInfo Pulumi.AliCloud.Apig.Outputs.GetRoutesEnvironmentInfo
    The environment information of the route.
    NameRegex string
    OutputFile string
    RouteName string
    The name of the route.
    Status string
    The deployment status of the route.
    HttpApiId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    A list of Route IDs.
    Names []string
    A list of name of Routes.
    Routes []GetRoutesRoute
    A list of Route Entries. Each element contains the following attributes:
    EnvironmentInfo GetRoutesEnvironmentInfo
    The environment information of the route.
    NameRegex string
    OutputFile string
    RouteName string
    The name of the route.
    Status string
    The deployment status of the route.
    http_api_id string
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    A list of Route IDs.
    names list(string)
    A list of name of Routes.
    routes list(object)
    A list of Route Entries. Each element contains the following attributes:
    environment_info object
    The environment information of the route.
    name_regex string
    output_file string
    route_name string
    The name of the route.
    status string
    The deployment status of the route.
    httpApiId String
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Route IDs.
    names List<String>
    A list of name of Routes.
    routes List<GetRoutesRoute>
    A list of Route Entries. Each element contains the following attributes:
    environmentInfo GetRoutesEnvironmentInfo
    The environment information of the route.
    nameRegex String
    outputFile String
    routeName String
    The name of the route.
    status String
    The deployment status of the route.
    httpApiId string
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    A list of Route IDs.
    names string[]
    A list of name of Routes.
    routes GetRoutesRoute[]
    A list of Route Entries. Each element contains the following attributes:
    environmentInfo GetRoutesEnvironmentInfo
    The environment information of the route.
    nameRegex string
    outputFile string
    routeName string
    The name of the route.
    status string
    The deployment status of the route.
    http_api_id str
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    A list of Route IDs.
    names Sequence[str]
    A list of name of Routes.
    routes Sequence[GetRoutesRoute]
    A list of Route Entries. Each element contains the following attributes:
    environment_info GetRoutesEnvironmentInfo
    The environment information of the route.
    name_regex str
    output_file str
    route_name str
    The name of the route.
    status str
    The deployment status of the route.
    httpApiId String
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    A list of Route IDs.
    names List<String>
    A list of name of Routes.
    routes List<Property Map>
    A list of Route Entries. Each element contains the following attributes:
    environmentInfo Property Map
    The environment information of the route.
    nameRegex String
    outputFile String
    routeName String
    The name of the route.
    status String
    The deployment status of the route.

    Supporting Types

    GetRoutesEnvironmentInfo

    Alias string
    The alias of the environment name.
    GatewayInfos List<Pulumi.AliCloud.Apig.Inputs.GetRoutesEnvironmentInfoGatewayInfo>
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    Name string
    The name of the second-level domain name.
    SubDomains List<Pulumi.AliCloud.Apig.Inputs.GetRoutesEnvironmentInfoSubDomain>
    The default second-level domain names of the environment. See subDomains below.
    EnvironmentId string
    The environment ID.
    Alias string
    The alias of the environment name.
    GatewayInfos []GetRoutesEnvironmentInfoGatewayInfo
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    Name string
    The name of the second-level domain name.
    SubDomains []GetRoutesEnvironmentInfoSubDomain
    The default second-level domain names of the environment. See subDomains below.
    EnvironmentId string
    The environment ID.
    alias string
    The alias of the environment name.
    gateway_infos list(object)
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name string
    The name of the second-level domain name.
    sub_domains list(object)
    The default second-level domain names of the environment. See subDomains below.
    environment_id string
    The environment ID.
    alias String
    The alias of the environment name.
    gatewayInfos List<GetRoutesEnvironmentInfoGatewayInfo>
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name String
    The name of the second-level domain name.
    subDomains List<GetRoutesEnvironmentInfoSubDomain>
    The default second-level domain names of the environment. See subDomains below.
    environmentId String
    The environment ID.
    alias string
    The alias of the environment name.
    gatewayInfos GetRoutesEnvironmentInfoGatewayInfo[]
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name string
    The name of the second-level domain name.
    subDomains GetRoutesEnvironmentInfoSubDomain[]
    The default second-level domain names of the environment. See subDomains below.
    environmentId string
    The environment ID.
    alias str
    The alias of the environment name.
    gateway_infos Sequence[GetRoutesEnvironmentInfoGatewayInfo]
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name str
    The name of the second-level domain name.
    sub_domains Sequence[GetRoutesEnvironmentInfoSubDomain]
    The default second-level domain names of the environment. See subDomains below.
    environment_id str
    The environment ID.
    alias String
    The alias of the environment name.
    gatewayInfos List<Property Map>
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name String
    The name of the second-level domain name.
    subDomains List<Property Map>
    The default second-level domain names of the environment. See subDomains below.
    environmentId String
    The environment ID.

    GetRoutesEnvironmentInfoGatewayInfo

    GatewayEdition string
    The edition of the gateway instance.
    GatewayId string
    The ID of the Cloud-native API Gateway.
    Name string
    The parameter name.
    GatewayEdition string
    The edition of the gateway instance.
    GatewayId string
    The ID of the Cloud-native API Gateway.
    Name string
    The parameter name.
    gateway_edition string
    The edition of the gateway instance.
    gateway_id string
    The ID of the Cloud-native API Gateway.
    name string
    The parameter name.
    gatewayEdition String
    The edition of the gateway instance.
    gatewayId String
    The ID of the Cloud-native API Gateway.
    name String
    The parameter name.
    gatewayEdition string
    The edition of the gateway instance.
    gatewayId string
    The ID of the Cloud-native API Gateway.
    name string
    The parameter name.
    gateway_edition str
    The edition of the gateway instance.
    gateway_id str
    The ID of the Cloud-native API Gateway.
    name str
    The parameter name.
    gatewayEdition String
    The edition of the gateway instance.
    gatewayId String
    The ID of the Cloud-native API Gateway.
    name String
    The parameter name.

    GetRoutesEnvironmentInfoSubDomain

    DomainId string
    The ID of the second-level domain name.
    Name string
    The parameter name.
    NetworkType string
    The domain access type, such as Intranet or Internet.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    DomainId string
    The ID of the second-level domain name.
    Name string
    The parameter name.
    NetworkType string
    The domain access type, such as Intranet or Internet.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    domain_id string
    The ID of the second-level domain name.
    name string
    The parameter name.
    network_type string
    The domain access type, such as Intranet or Internet.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    domainId String
    The ID of the second-level domain name.
    name String
    The parameter name.
    networkType String
    The domain access type, such as Intranet or Internet.
    protocol String
    The domain protocol, such as HTTP or HTTPS.
    domainId string
    The ID of the second-level domain name.
    name string
    The parameter name.
    networkType string
    The domain access type, such as Intranet or Internet.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    domain_id str
    The ID of the second-level domain name.
    name str
    The parameter name.
    network_type str
    The domain access type, such as Intranet or Internet.
    protocol str
    The domain protocol, such as HTTP or HTTPS.
    domainId String
    The ID of the second-level domain name.
    name String
    The parameter name.
    networkType String
    The domain access type, such as Intranet or Internet.
    protocol String
    The domain protocol, such as HTTP or HTTPS.

    GetRoutesRoute

    Backends List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteBackend>
    Backend service.
    Builtin string
    Indicates whether the route is a built-in route.
    CreateTime string
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    Description string
    The description of the route.
    DomainInfos List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteDomainInfo>
    The domain name information.
    EnvironmentInfos List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteEnvironmentInfo>
    The environment information of the route. See environmentInfo below.
    GatewayStatus Dictionary<string, string>
    The publishing status of the route on each gateway.
    Id string
    The ID of the resource supplied above.
    Matches List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteMatch>
    The route match rule.
    RouteId string
    The route ID.
    RouteName string
    The name of the route.
    Status string
    The deployment status of the route.
    UpdateTime string
    The update time in Greenwich Mean Time (GMT).
    Backends []GetRoutesRouteBackend
    Backend service.
    Builtin string
    Indicates whether the route is a built-in route.
    CreateTime string
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    Description string
    The description of the route.
    DomainInfos []GetRoutesRouteDomainInfo
    The domain name information.
    EnvironmentInfos []GetRoutesRouteEnvironmentInfo
    The environment information of the route. See environmentInfo below.
    GatewayStatus map[string]string
    The publishing status of the route on each gateway.
    Id string
    The ID of the resource supplied above.
    Matches []GetRoutesRouteMatch
    The route match rule.
    RouteId string
    The route ID.
    RouteName string
    The name of the route.
    Status string
    The deployment status of the route.
    UpdateTime string
    The update time in Greenwich Mean Time (GMT).
    backends list(object)
    Backend service.
    builtin string
    Indicates whether the route is a built-in route.
    create_time string
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    description string
    The description of the route.
    domain_infos list(object)
    The domain name information.
    environment_infos list(object)
    The environment information of the route. See environmentInfo below.
    gateway_status map(string)
    The publishing status of the route on each gateway.
    id string
    The ID of the resource supplied above.
    matches list(object)
    The route match rule.
    route_id string
    The route ID.
    route_name string
    The name of the route.
    status string
    The deployment status of the route.
    update_time string
    The update time in Greenwich Mean Time (GMT).
    backends List<GetRoutesRouteBackend>
    Backend service.
    builtin String
    Indicates whether the route is a built-in route.
    createTime String
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    description String
    The description of the route.
    domainInfos List<GetRoutesRouteDomainInfo>
    The domain name information.
    environmentInfos List<GetRoutesRouteEnvironmentInfo>
    The environment information of the route. See environmentInfo below.
    gatewayStatus Map<String,String>
    The publishing status of the route on each gateway.
    id String
    The ID of the resource supplied above.
    matches List<GetRoutesRouteMatch>
    The route match rule.
    routeId String
    The route ID.
    routeName String
    The name of the route.
    status String
    The deployment status of the route.
    updateTime String
    The update time in Greenwich Mean Time (GMT).
    backends GetRoutesRouteBackend[]
    Backend service.
    builtin string
    Indicates whether the route is a built-in route.
    createTime string
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    description string
    The description of the route.
    domainInfos GetRoutesRouteDomainInfo[]
    The domain name information.
    environmentInfos GetRoutesRouteEnvironmentInfo[]
    The environment information of the route. See environmentInfo below.
    gatewayStatus {[key: string]: string}
    The publishing status of the route on each gateway.
    id string
    The ID of the resource supplied above.
    matches GetRoutesRouteMatch[]
    The route match rule.
    routeId string
    The route ID.
    routeName string
    The name of the route.
    status string
    The deployment status of the route.
    updateTime string
    The update time in Greenwich Mean Time (GMT).
    backends Sequence[GetRoutesRouteBackend]
    Backend service.
    builtin str
    Indicates whether the route is a built-in route.
    create_time str
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    description str
    The description of the route.
    domain_infos Sequence[GetRoutesRouteDomainInfo]
    The domain name information.
    environment_infos Sequence[GetRoutesRouteEnvironmentInfo]
    The environment information of the route. See environmentInfo below.
    gateway_status Mapping[str, str]
    The publishing status of the route on each gateway.
    id str
    The ID of the resource supplied above.
    matches Sequence[GetRoutesRouteMatch]
    The route match rule.
    route_id str
    The route ID.
    route_name str
    The name of the route.
    status str
    The deployment status of the route.
    update_time str
    The update time in Greenwich Mean Time (GMT).
    backends List<Property Map>
    Backend service.
    builtin String
    Indicates whether the route is a built-in route.
    createTime String
    The creation time in UTC format: yyyy-MM-ddTHH:mm:ssZ.
    description String
    The description of the route.
    domainInfos List<Property Map>
    The domain name information.
    environmentInfos List<Property Map>
    The environment information of the route. See environmentInfo below.
    gatewayStatus Map<String>
    The publishing status of the route on each gateway.
    id String
    The ID of the resource supplied above.
    matches List<Property Map>
    The route match rule.
    routeId String
    The route ID.
    routeName String
    The name of the route.
    status String
    The deployment status of the route.
    updateTime String
    The update time in Greenwich Mean Time (GMT).

    GetRoutesRouteBackend

    Scene string
    The backend service scenario.
    Services List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteBackendService>
    Backend service.
    Scene string
    The backend service scenario.
    Services []GetRoutesRouteBackendService
    Backend service.
    scene string
    The backend service scenario.
    services list(object)
    Backend service.
    scene String
    The backend service scenario.
    services List<GetRoutesRouteBackendService>
    Backend service.
    scene string
    The backend service scenario.
    services GetRoutesRouteBackendService[]
    Backend service.
    scene str
    The backend service scenario.
    services Sequence[GetRoutesRouteBackendService]
    Backend service.
    scene String
    The backend service scenario.
    services List<Property Map>
    Backend service.

    GetRoutesRouteBackendService

    Name string
    The parameter name.
    Port int
    Service port.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    ServiceId string
    Service ID.
    Version string
    Service version.
    Weight int
    The percentage value of the traffic ratio.
    Name string
    The parameter name.
    Port int
    Service port.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    ServiceId string
    Service ID.
    Version string
    Service version.
    Weight int
    The percentage value of the traffic ratio.
    name string
    The parameter name.
    port number
    Service port.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    service_id string
    Service ID.
    version string
    Service version.
    weight number
    The percentage value of the traffic ratio.
    name String
    The parameter name.
    port Integer
    Service port.
    protocol String
    The domain protocol, such as HTTP or HTTPS.
    serviceId String
    Service ID.
    version String
    Service version.
    weight Integer
    The percentage value of the traffic ratio.
    name string
    The parameter name.
    port number
    Service port.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    serviceId string
    Service ID.
    version string
    Service version.
    weight number
    The percentage value of the traffic ratio.
    name str
    The parameter name.
    port int
    Service port.
    protocol str
    The domain protocol, such as HTTP or HTTPS.
    service_id str
    Service ID.
    version str
    Service version.
    weight int
    The percentage value of the traffic ratio.
    name String
    The parameter name.
    port Number
    Service port.
    protocol String
    The domain protocol, such as HTTP or HTTPS.
    serviceId String
    Service ID.
    version String
    Service version.
    weight Number
    The percentage value of the traffic ratio.

    GetRoutesRouteDomainInfo

    DomainId string
    The ID of the second-level domain name.
    Name string
    The parameter name.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    DomainId string
    The ID of the second-level domain name.
    Name string
    The parameter name.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    domain_id string
    The ID of the second-level domain name.
    name string
    The parameter name.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    domainId String
    The ID of the second-level domain name.
    name String
    The parameter name.
    protocol String
    The domain protocol, such as HTTP or HTTPS.
    domainId string
    The ID of the second-level domain name.
    name string
    The parameter name.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    domain_id str
    The ID of the second-level domain name.
    name str
    The parameter name.
    protocol str
    The domain protocol, such as HTTP or HTTPS.
    domainId String
    The ID of the second-level domain name.
    name String
    The parameter name.
    protocol String
    The domain protocol, such as HTTP or HTTPS.

    GetRoutesRouteEnvironmentInfo

    Alias string
    The alias of the environment name.
    EnvironmentId string
    The environment ID.
    GatewayInfos List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteEnvironmentInfoGatewayInfo>
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    Name string
    The name of the second-level domain name.
    SubDomains List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteEnvironmentInfoSubDomain>
    The default second-level domain names of the environment. See subDomains below.
    Alias string
    The alias of the environment name.
    EnvironmentId string
    The environment ID.
    GatewayInfos []GetRoutesRouteEnvironmentInfoGatewayInfo
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    Name string
    The name of the second-level domain name.
    SubDomains []GetRoutesRouteEnvironmentInfoSubDomain
    The default second-level domain names of the environment. See subDomains below.
    alias string
    The alias of the environment name.
    environment_id string
    The environment ID.
    gateway_infos list(object)
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name string
    The name of the second-level domain name.
    sub_domains list(object)
    The default second-level domain names of the environment. See subDomains below.
    alias String
    The alias of the environment name.
    environmentId String
    The environment ID.
    gatewayInfos List<GetRoutesRouteEnvironmentInfoGatewayInfo>
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name String
    The name of the second-level domain name.
    subDomains List<GetRoutesRouteEnvironmentInfoSubDomain>
    The default second-level domain names of the environment. See subDomains below.
    alias string
    The alias of the environment name.
    environmentId string
    The environment ID.
    gatewayInfos GetRoutesRouteEnvironmentInfoGatewayInfo[]
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name string
    The name of the second-level domain name.
    subDomains GetRoutesRouteEnvironmentInfoSubDomain[]
    The default second-level domain names of the environment. See subDomains below.
    alias str
    The alias of the environment name.
    environment_id str
    The environment ID.
    gateway_infos Sequence[GetRoutesRouteEnvironmentInfoGatewayInfo]
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name str
    The name of the second-level domain name.
    sub_domains Sequence[GetRoutesRouteEnvironmentInfoSubDomain]
    The default second-level domain names of the environment. See subDomains below.
    alias String
    The alias of the environment name.
    environmentId String
    The environment ID.
    gatewayInfos List<Property Map>
    The gateway instance information corresponding to the environment. See gatewayInfo below.
    name String
    The name of the second-level domain name.
    subDomains List<Property Map>
    The default second-level domain names of the environment. See subDomains below.

    GetRoutesRouteEnvironmentInfoGatewayInfo

    GatewayEdition string
    The edition of the gateway instance.
    GatewayId string
    The ID of the Cloud-native API Gateway.
    Name string
    The parameter name.
    GatewayEdition string
    The edition of the gateway instance.
    GatewayId string
    The ID of the Cloud-native API Gateway.
    Name string
    The parameter name.
    gateway_edition string
    The edition of the gateway instance.
    gateway_id string
    The ID of the Cloud-native API Gateway.
    name string
    The parameter name.
    gatewayEdition String
    The edition of the gateway instance.
    gatewayId String
    The ID of the Cloud-native API Gateway.
    name String
    The parameter name.
    gatewayEdition string
    The edition of the gateway instance.
    gatewayId string
    The ID of the Cloud-native API Gateway.
    name string
    The parameter name.
    gateway_edition str
    The edition of the gateway instance.
    gateway_id str
    The ID of the Cloud-native API Gateway.
    name str
    The parameter name.
    gatewayEdition String
    The edition of the gateway instance.
    gatewayId String
    The ID of the Cloud-native API Gateway.
    name String
    The parameter name.

    GetRoutesRouteEnvironmentInfoSubDomain

    DomainId string
    The ID of the second-level domain name.
    Name string
    The parameter name.
    NetworkType string
    The domain access type, such as Intranet or Internet.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    DomainId string
    The ID of the second-level domain name.
    Name string
    The parameter name.
    NetworkType string
    The domain access type, such as Intranet or Internet.
    Protocol string
    The domain protocol, such as HTTP or HTTPS.
    domain_id string
    The ID of the second-level domain name.
    name string
    The parameter name.
    network_type string
    The domain access type, such as Intranet or Internet.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    domainId String
    The ID of the second-level domain name.
    name String
    The parameter name.
    networkType String
    The domain access type, such as Intranet or Internet.
    protocol String
    The domain protocol, such as HTTP or HTTPS.
    domainId string
    The ID of the second-level domain name.
    name string
    The parameter name.
    networkType string
    The domain access type, such as Intranet or Internet.
    protocol string
    The domain protocol, such as HTTP or HTTPS.
    domain_id str
    The ID of the second-level domain name.
    name str
    The parameter name.
    network_type str
    The domain access type, such as Intranet or Internet.
    protocol str
    The domain protocol, such as HTTP or HTTPS.
    domainId String
    The ID of the second-level domain name.
    name String
    The parameter name.
    networkType String
    The domain access type, such as Intranet or Internet.
    protocol String
    The domain protocol, such as HTTP or HTTPS.

    GetRoutesRouteMatch

    Headers List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteMatchHeader>
    The list of HTTP request header matching rules.
    IgnoreUriCase bool
    Specifies whether the path is case-sensitive.
    Methods List<string>
    The request method.
    Paths List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteMatchPath>
    The path rule.
    QueryParams List<Pulumi.AliCloud.Apig.Inputs.GetRoutesRouteMatchQueryParam>
    The matching rules for query parameters.
    Headers []GetRoutesRouteMatchHeader
    The list of HTTP request header matching rules.
    IgnoreUriCase bool
    Specifies whether the path is case-sensitive.
    Methods []string
    The request method.
    Paths []GetRoutesRouteMatchPath
    The path rule.
    QueryParams []GetRoutesRouteMatchQueryParam
    The matching rules for query parameters.
    headers list(object)
    The list of HTTP request header matching rules.
    ignore_uri_case bool
    Specifies whether the path is case-sensitive.
    methods list(string)
    The request method.
    paths list(object)
    The path rule.
    query_params list(object)
    The matching rules for query parameters.
    headers List<GetRoutesRouteMatchHeader>
    The list of HTTP request header matching rules.
    ignoreUriCase Boolean
    Specifies whether the path is case-sensitive.
    methods List<String>
    The request method.
    paths List<GetRoutesRouteMatchPath>
    The path rule.
    queryParams List<GetRoutesRouteMatchQueryParam>
    The matching rules for query parameters.
    headers GetRoutesRouteMatchHeader[]
    The list of HTTP request header matching rules.
    ignoreUriCase boolean
    Specifies whether the path is case-sensitive.
    methods string[]
    The request method.
    paths GetRoutesRouteMatchPath[]
    The path rule.
    queryParams GetRoutesRouteMatchQueryParam[]
    The matching rules for query parameters.
    headers Sequence[GetRoutesRouteMatchHeader]
    The list of HTTP request header matching rules.
    ignore_uri_case bool
    Specifies whether the path is case-sensitive.
    methods Sequence[str]
    The request method.
    paths Sequence[GetRoutesRouteMatchPath]
    The path rule.
    query_params Sequence[GetRoutesRouteMatchQueryParam]
    The matching rules for query parameters.
    headers List<Property Map>
    The list of HTTP request header matching rules.
    ignoreUriCase Boolean
    Specifies whether the path is case-sensitive.
    methods List<String>
    The request method.
    paths List<Property Map>
    The path rule.
    queryParams List<Property Map>
    The matching rules for query parameters.

    GetRoutesRouteMatchHeader

    Name string
    The parameter name.
    Type string
    The matching rule for the query parameter.
    Value string
    The parameter value.
    Name string
    The parameter name.
    Type string
    The matching rule for the query parameter.
    Value string
    The parameter value.
    name string
    The parameter name.
    type string
    The matching rule for the query parameter.
    value string
    The parameter value.
    name String
    The parameter name.
    type String
    The matching rule for the query parameter.
    value String
    The parameter value.
    name string
    The parameter name.
    type string
    The matching rule for the query parameter.
    value string
    The parameter value.
    name str
    The parameter name.
    type str
    The matching rule for the query parameter.
    value str
    The parameter value.
    name String
    The parameter name.
    type String
    The matching rule for the query parameter.
    value String
    The parameter value.

    GetRoutesRouteMatchPath

    Type string
    The matching rule for the query parameter.
    Value string
    The parameter value.
    Type string
    The matching rule for the query parameter.
    Value string
    The parameter value.
    type string
    The matching rule for the query parameter.
    value string
    The parameter value.
    type String
    The matching rule for the query parameter.
    value String
    The parameter value.
    type string
    The matching rule for the query parameter.
    value string
    The parameter value.
    type str
    The matching rule for the query parameter.
    value str
    The parameter value.
    type String
    The matching rule for the query parameter.
    value String
    The parameter value.

    GetRoutesRouteMatchQueryParam

    Name string
    The parameter name.
    Type string
    The matching rule for the query parameter.
    Value string
    The parameter value.
    Name string
    The parameter name.
    Type string
    The matching rule for the query parameter.
    Value string
    The parameter value.
    name string
    The parameter name.
    type string
    The matching rule for the query parameter.
    value string
    The parameter value.
    name String
    The parameter name.
    type String
    The matching rule for the query parameter.
    value String
    The parameter value.
    name string
    The parameter name.
    type string
    The matching rule for the query parameter.
    value string
    The parameter value.
    name str
    The parameter name.
    type str
    The matching rule for the query parameter.
    value str
    The parameter value.
    name String
    The parameter name.
    type String
    The matching rule for the query parameter.
    value String
    The parameter value.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo alicloud logo
    Viewing docs for Alibaba Cloud v3.108.0
    published on Thursday, Sep 17, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial