tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getApiGatewayApis
Start a Neo task
Explain and create a tencentcloud.getApiGatewayApis resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query API gateway APIs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const service = new tencentcloud.ApiGatewayService("service", {
serviceName: "ck",
protocol: "http&https",
serviceDesc: "your nice service",
netTypes: [
"INNER",
"OUTER",
],
ipVersion: "IPv4",
});
const api = new tencentcloud.ApiGatewayApi("api", {
serviceId: service.apiGatewayServiceId,
apiName: "hello",
apiDesc: "my hello api",
authType: "NONE",
protocol: "HTTP",
enableCors: true,
requestConfigPath: "/user/info",
requestConfigMethod: "GET",
serviceConfigType: "HTTP",
serviceConfigTimeout: 15,
serviceConfigUrl: "http://www.qq.com",
serviceConfigPath: "/user",
serviceConfigMethod: "GET",
responseType: "HTML",
responseSuccessExample: "success",
responseFailExample: "fail",
});
const id = tencentcloud.getApiGatewayApisOutput({
serviceId: service.apiGatewayServiceId,
apiId: api.apiGatewayApiId,
});
const name = tencentcloud.getApiGatewayApisOutput({
serviceId: service.apiGatewayServiceId,
apiName: api.apiName,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
service = tencentcloud.ApiGatewayService("service",
service_name="ck",
protocol="http&https",
service_desc="your nice service",
net_types=[
"INNER",
"OUTER",
],
ip_version="IPv4")
api = tencentcloud.ApiGatewayApi("api",
service_id=service.api_gateway_service_id,
api_name="hello",
api_desc="my hello api",
auth_type="NONE",
protocol="HTTP",
enable_cors=True,
request_config_path="/user/info",
request_config_method="GET",
service_config_type="HTTP",
service_config_timeout=15,
service_config_url="http://www.qq.com",
service_config_path="/user",
service_config_method="GET",
response_type="HTML",
response_success_example="success",
response_fail_example="fail")
id = tencentcloud.get_api_gateway_apis_output(service_id=service.api_gateway_service_id,
api_id=api.api_gateway_api_id)
name = tencentcloud.get_api_gateway_apis_output(service_id=service.api_gateway_service_id,
api_name=api.api_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
service, err := tencentcloud.NewApiGatewayService(ctx, "service", &tencentcloud.ApiGatewayServiceArgs{
ServiceName: pulumi.String("ck"),
Protocol: pulumi.String("http&https"),
ServiceDesc: pulumi.String("your nice service"),
NetTypes: pulumi.StringArray{
pulumi.String("INNER"),
pulumi.String("OUTER"),
},
IpVersion: pulumi.String("IPv4"),
})
if err != nil {
return err
}
api, err := tencentcloud.NewApiGatewayApi(ctx, "api", &tencentcloud.ApiGatewayApiArgs{
ServiceId: service.ApiGatewayServiceId,
ApiName: pulumi.String("hello"),
ApiDesc: pulumi.String("my hello api"),
AuthType: pulumi.String("NONE"),
Protocol: pulumi.String("HTTP"),
EnableCors: pulumi.Bool(true),
RequestConfigPath: pulumi.String("/user/info"),
RequestConfigMethod: pulumi.String("GET"),
ServiceConfigType: pulumi.String("HTTP"),
ServiceConfigTimeout: pulumi.Float64(15),
ServiceConfigUrl: pulumi.String("http://www.qq.com"),
ServiceConfigPath: pulumi.String("/user"),
ServiceConfigMethod: pulumi.String("GET"),
ResponseType: pulumi.String("HTML"),
ResponseSuccessExample: pulumi.String("success"),
ResponseFailExample: pulumi.String("fail"),
})
if err != nil {
return err
}
_ = tencentcloud.GetApiGatewayApisOutput(ctx, tencentcloud.GetApiGatewayApisOutputArgs{
ServiceId: service.ApiGatewayServiceId,
ApiId: api.ApiGatewayApiId,
}, nil)
_ = tencentcloud.GetApiGatewayApisOutput(ctx, tencentcloud.GetApiGatewayApisOutputArgs{
ServiceId: service.ApiGatewayServiceId,
ApiName: api.ApiName,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var service = new Tencentcloud.ApiGatewayService("service", new()
{
ServiceName = "ck",
Protocol = "http&https",
ServiceDesc = "your nice service",
NetTypes = new[]
{
"INNER",
"OUTER",
},
IpVersion = "IPv4",
});
var api = new Tencentcloud.ApiGatewayApi("api", new()
{
ServiceId = service.ApiGatewayServiceId,
ApiName = "hello",
ApiDesc = "my hello api",
AuthType = "NONE",
Protocol = "HTTP",
EnableCors = true,
RequestConfigPath = "/user/info",
RequestConfigMethod = "GET",
ServiceConfigType = "HTTP",
ServiceConfigTimeout = 15,
ServiceConfigUrl = "http://www.qq.com",
ServiceConfigPath = "/user",
ServiceConfigMethod = "GET",
ResponseType = "HTML",
ResponseSuccessExample = "success",
ResponseFailExample = "fail",
});
var id = Tencentcloud.GetApiGatewayApis.Invoke(new()
{
ServiceId = service.ApiGatewayServiceId,
ApiId = api.ApiGatewayApiId,
});
var name = Tencentcloud.GetApiGatewayApis.Invoke(new()
{
ServiceId = service.ApiGatewayServiceId,
ApiName = api.ApiName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApiGatewayService;
import com.pulumi.tencentcloud.ApiGatewayServiceArgs;
import com.pulumi.tencentcloud.ApiGatewayApi;
import com.pulumi.tencentcloud.ApiGatewayApiArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetApiGatewayApisArgs;
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) {
var service = new ApiGatewayService("service", ApiGatewayServiceArgs.builder()
.serviceName("ck")
.protocol("http&https")
.serviceDesc("your nice service")
.netTypes(
"INNER",
"OUTER")
.ipVersion("IPv4")
.build());
var api = new ApiGatewayApi("api", ApiGatewayApiArgs.builder()
.serviceId(service.apiGatewayServiceId())
.apiName("hello")
.apiDesc("my hello api")
.authType("NONE")
.protocol("HTTP")
.enableCors(true)
.requestConfigPath("/user/info")
.requestConfigMethod("GET")
.serviceConfigType("HTTP")
.serviceConfigTimeout(15.0)
.serviceConfigUrl("http://www.qq.com")
.serviceConfigPath("/user")
.serviceConfigMethod("GET")
.responseType("HTML")
.responseSuccessExample("success")
.responseFailExample("fail")
.build());
final var id = TencentcloudFunctions.getApiGatewayApis(GetApiGatewayApisArgs.builder()
.serviceId(service.apiGatewayServiceId())
.apiId(api.apiGatewayApiId())
.build());
final var name = TencentcloudFunctions.getApiGatewayApis(GetApiGatewayApisArgs.builder()
.serviceId(service.apiGatewayServiceId())
.apiName(api.apiName())
.build());
}
}
resources:
service:
type: tencentcloud:ApiGatewayService
properties:
serviceName: ck
protocol: http&https
serviceDesc: your nice service
netTypes:
- INNER
- OUTER
ipVersion: IPv4
api:
type: tencentcloud:ApiGatewayApi
properties:
serviceId: ${service.apiGatewayServiceId}
apiName: hello
apiDesc: my hello api
authType: NONE
protocol: HTTP
enableCors: true
requestConfigPath: /user/info
requestConfigMethod: GET
serviceConfigType: HTTP
serviceConfigTimeout: 15
serviceConfigUrl: http://www.qq.com
serviceConfigPath: /user
serviceConfigMethod: GET
responseType: HTML
responseSuccessExample: success
responseFailExample: fail
variables:
id:
fn::invoke:
function: tencentcloud:getApiGatewayApis
arguments:
serviceId: ${service.apiGatewayServiceId}
apiId: ${api.apiGatewayApiId}
name:
fn::invoke:
function: tencentcloud:getApiGatewayApis
arguments:
serviceId: ${service.apiGatewayServiceId}
apiName: ${api.apiName}
Using getApiGatewayApis
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 getApiGatewayApis(args: GetApiGatewayApisArgs, opts?: InvokeOptions): Promise<GetApiGatewayApisResult>
function getApiGatewayApisOutput(args: GetApiGatewayApisOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayApisResult>def get_api_gateway_apis(api_id: Optional[str] = None,
api_name: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiGatewayApisResult
def get_api_gateway_apis_output(api_id: Optional[pulumi.Input[str]] = None,
api_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
service_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiGatewayApisResult]func GetApiGatewayApis(ctx *Context, args *GetApiGatewayApisArgs, opts ...InvokeOption) (*GetApiGatewayApisResult, error)
func GetApiGatewayApisOutput(ctx *Context, args *GetApiGatewayApisOutputArgs, opts ...InvokeOption) GetApiGatewayApisResultOutput> Note: This function is named GetApiGatewayApis in the Go SDK.
public static class GetApiGatewayApis
{
public static Task<GetApiGatewayApisResult> InvokeAsync(GetApiGatewayApisArgs args, InvokeOptions? opts = null)
public static Output<GetApiGatewayApisResult> Invoke(GetApiGatewayApisInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiGatewayApisResult> getApiGatewayApis(GetApiGatewayApisArgs args, InvokeOptions options)
public static Output<GetApiGatewayApisResult> getApiGatewayApis(GetApiGatewayApisArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getApiGatewayApis:getApiGatewayApis
arguments:
# arguments dictionaryThe following arguments are supported:
- Service
Id string - Service ID for query.
- Api
Id string - Created API ID.
- Api
Name string - Custom API name.
- Id string
- Result
Output stringFile - Used to save results.
- Service
Id string - Service ID for query.
- Api
Id string - Created API ID.
- Api
Name string - Custom API name.
- Id string
- Result
Output stringFile - Used to save results.
- service
Id String - Service ID for query.
- api
Id String - Created API ID.
- api
Name String - Custom API name.
- id String
- result
Output StringFile - Used to save results.
- service
Id string - Service ID for query.
- api
Id string - Created API ID.
- api
Name string - Custom API name.
- id string
- result
Output stringFile - Used to save results.
- service_
id str - Service ID for query.
- api_
id str - Created API ID.
- api_
name str - Custom API name.
- id str
- result_
output_ strfile - Used to save results.
- service
Id String - Service ID for query.
- api
Id String - Created API ID.
- api
Name String - Custom API name.
- id String
- result
Output StringFile - Used to save results.
getApiGatewayApis Result
The following output properties are available:
- Id string
- Lists
List<Get
Api Gateway Apis List> - A list of APIs.
- Service
Id string - Which service this API belongs. Refer to resource
tencentcloud.ApiGatewayService. - Api
Id string - Api
Name string - Custom API name.
- Result
Output stringFile
- Id string
- Lists
[]Get
Api Gateway Apis List - A list of APIs.
- Service
Id string - Which service this API belongs. Refer to resource
tencentcloud.ApiGatewayService. - Api
Id string - Api
Name string - Custom API name.
- Result
Output stringFile
- id String
- lists
List<Get
Api Gateway Apis List> - A list of APIs.
- service
Id String - Which service this API belongs. Refer to resource
tencentcloud.ApiGatewayService. - api
Id String - api
Name String - Custom API name.
- result
Output StringFile
- id string
- lists
Get
Api Gateway Apis List[] - A list of APIs.
- service
Id string - Which service this API belongs. Refer to resource
tencentcloud.ApiGatewayService. - api
Id string - api
Name string - Custom API name.
- result
Output stringFile
- id str
- lists
Sequence[Get
Api Gateway Apis List] - A list of APIs.
- service_
id str - Which service this API belongs. Refer to resource
tencentcloud.ApiGatewayService. - api_
id str - api_
name str - Custom API name.
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list of APIs.
- service
Id String - Which service this API belongs. Refer to resource
tencentcloud.ApiGatewayService. - api
Id String - api
Name String - Custom API name.
- result
Output StringFile
Supporting Types
GetApiGatewayApisList
- Api
Desc string - Custom API description.
- Api
Name string - Custom API name.
- Auth
Type string - API authentication type. Valid values:
SECRET,NONE.SECRETmeans key pair authentication,NONEmeans no authentication. - Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Enable
Cors bool - Whether to enable CORS.
- Modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Protocol string
- API frontend request type, such as
HTTP,WEBSOCKET. - Request
Config stringMethod - Request frontend method configuration. Like
GET,POST,PUT,DELETE,HEAD,ANY. - Request
Config stringPath - Request frontend path configuration. Like
/user/getinfo. - Request
Parameters List<GetApi Gateway Apis List Request Parameter> - Frontend request parameters.
- Response
Error List<GetCodes Api Gateway Apis List Response Error Code> - Custom error code configuration. Must keep at least one after set.
- Response
Fail stringExample - Response failure sample of custom response configuration.
- Response
Success stringExample - Successful response sample of custom response configuration.
- Response
Type string - Return type.
- Service
Config stringMethod - API backend service request method, such as
GET. Ifservice_config_typeisHTTP, this parameter will be required. The frontendrequest_config_methodand backend methodservice_config_methodcan be different. - Service
Config stringMock Return Message - Returned information of API backend mocking.
- Service
Config stringPath - API backend service path, such as /path. If
service_config_typeisHTTP, this parameter will be required. The frontendrequest_config_pathand backend pathservice_config_pathcan be different. - Service
Config stringProduct - Backend type. This parameter takes effect when VPC is enabled. Currently, only
clbis supported. - Service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_typeisSCF. - Service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_typeisSCF. - Service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_typeisSCF. - Service
Config doubleTimeout - API backend service timeout period in seconds.
- Service
Config stringType - API backend service type.
- Service
Config stringUrl - API backend service url. This parameter is required when
service_config_typeisHTTP. - Service
Config stringVpc Id - Unique VPC ID.
- Service
Id string - Service ID for query.
- Api
Desc string - Custom API description.
- Api
Name string - Custom API name.
- Auth
Type string - API authentication type. Valid values:
SECRET,NONE.SECRETmeans key pair authentication,NONEmeans no authentication. - Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Enable
Cors bool - Whether to enable CORS.
- Modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Protocol string
- API frontend request type, such as
HTTP,WEBSOCKET. - Request
Config stringMethod - Request frontend method configuration. Like
GET,POST,PUT,DELETE,HEAD,ANY. - Request
Config stringPath - Request frontend path configuration. Like
/user/getinfo. - Request
Parameters []GetApi Gateway Apis List Request Parameter - Frontend request parameters.
- Response
Error []GetCodes Api Gateway Apis List Response Error Code - Custom error code configuration. Must keep at least one after set.
- Response
Fail stringExample - Response failure sample of custom response configuration.
- Response
Success stringExample - Successful response sample of custom response configuration.
- Response
Type string - Return type.
- Service
Config stringMethod - API backend service request method, such as
GET. Ifservice_config_typeisHTTP, this parameter will be required. The frontendrequest_config_methodand backend methodservice_config_methodcan be different. - Service
Config stringMock Return Message - Returned information of API backend mocking.
- Service
Config stringPath - API backend service path, such as /path. If
service_config_typeisHTTP, this parameter will be required. The frontendrequest_config_pathand backend pathservice_config_pathcan be different. - Service
Config stringProduct - Backend type. This parameter takes effect when VPC is enabled. Currently, only
clbis supported. - Service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_typeisSCF. - Service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_typeisSCF. - Service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_typeisSCF. - Service
Config float64Timeout - API backend service timeout period in seconds.
- Service
Config stringType - API backend service type.
- Service
Config stringUrl - API backend service url. This parameter is required when
service_config_typeisHTTP. - Service
Config stringVpc Id - Unique VPC ID.
- Service
Id string - Service ID for query.
- api
Desc String - Custom API description.
- api
Name String - Custom API name.
- auth
Type String - API authentication type. Valid values:
SECRET,NONE.SECRETmeans key pair authentication,NONEmeans no authentication. - create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable
Cors Boolean - Whether to enable CORS.
- modify
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- protocol String
- API frontend request type, such as
HTTP,WEBSOCKET. - request
Config StringMethod - Request frontend method configuration. Like
GET,POST,PUT,DELETE,HEAD,ANY. - request
Config StringPath - Request frontend path configuration. Like
/user/getinfo. - request
Parameters List<GetApi Gateway Apis List Request Parameter> - Frontend request parameters.
- response
Error List<GetCodes Api Gateway Apis List Response Error Code> - Custom error code configuration. Must keep at least one after set.
- response
Fail StringExample - Response failure sample of custom response configuration.
- response
Success StringExample - Successful response sample of custom response configuration.
- response
Type String - Return type.
- service
Config StringMethod - API backend service request method, such as
GET. Ifservice_config_typeisHTTP, this parameter will be required. The frontendrequest_config_methodand backend methodservice_config_methodcan be different. - service
Config StringMock Return Message - Returned information of API backend mocking.
- service
Config StringPath - API backend service path, such as /path. If
service_config_typeisHTTP, this parameter will be required. The frontendrequest_config_pathand backend pathservice_config_pathcan be different. - service
Config StringProduct - Backend type. This parameter takes effect when VPC is enabled. Currently, only
clbis supported. - service
Config StringScf Function Name - SCF function name. This parameter takes effect when
service_config_typeisSCF. - service
Config StringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_typeisSCF. - service
Config StringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_typeisSCF. - service
Config DoubleTimeout - API backend service timeout period in seconds.
- service
Config StringType - API backend service type.
- service
Config StringUrl - API backend service url. This parameter is required when
service_config_typeisHTTP. - service
Config StringVpc Id - Unique VPC ID.
- service
Id String - Service ID for query.
- api
Desc string - Custom API description.
- api
Name string - Custom API name.
- auth
Type string - API authentication type. Valid values:
SECRET,NONE.SECRETmeans key pair authentication,NONEmeans no authentication. - create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable
Cors boolean - Whether to enable CORS.
- modify
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- protocol string
- API frontend request type, such as
HTTP,WEBSOCKET. - request
Config stringMethod - Request frontend method configuration. Like
GET,POST,PUT,DELETE,HEAD,ANY. - request
Config stringPath - Request frontend path configuration. Like
/user/getinfo. - request
Parameters GetApi Gateway Apis List Request Parameter[] - Frontend request parameters.
- response
Error GetCodes Api Gateway Apis List Response Error Code[] - Custom error code configuration. Must keep at least one after set.
- response
Fail stringExample - Response failure sample of custom response configuration.
- response
Success stringExample - Successful response sample of custom response configuration.
- response
Type string - Return type.
- service
Config stringMethod - API backend service request method, such as
GET. Ifservice_config_typeisHTTP, this parameter will be required. The frontendrequest_config_methodand backend methodservice_config_methodcan be different. - service
Config stringMock Return Message - Returned information of API backend mocking.
- service
Config stringPath - API backend service path, such as /path. If
service_config_typeisHTTP, this parameter will be required. The frontendrequest_config_pathand backend pathservice_config_pathcan be different. - service
Config stringProduct - Backend type. This parameter takes effect when VPC is enabled. Currently, only
clbis supported. - service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_typeisSCF. - service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_typeisSCF. - service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_typeisSCF. - service
Config numberTimeout - API backend service timeout period in seconds.
- service
Config stringType - API backend service type.
- service
Config stringUrl - API backend service url. This parameter is required when
service_config_typeisHTTP. - service
Config stringVpc Id - Unique VPC ID.
- service
Id string - Service ID for query.
- api_
desc str - Custom API description.
- api_
name str - Custom API name.
- auth_
type str - API authentication type. Valid values:
SECRET,NONE.SECRETmeans key pair authentication,NONEmeans no authentication. - create_
time str - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable_
cors bool - Whether to enable CORS.
- modify_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- protocol str
- API frontend request type, such as
HTTP,WEBSOCKET. - request_
config_ strmethod - Request frontend method configuration. Like
GET,POST,PUT,DELETE,HEAD,ANY. - request_
config_ strpath - Request frontend path configuration. Like
/user/getinfo. - request_
parameters Sequence[GetApi Gateway Apis List Request Parameter] - Frontend request parameters.
- response_
error_ Sequence[Getcodes Api Gateway Apis List Response Error Code] - Custom error code configuration. Must keep at least one after set.
- response_
fail_ strexample - Response failure sample of custom response configuration.
- response_
success_ strexample - Successful response sample of custom response configuration.
- response_
type str - Return type.
- service_
config_ strmethod - API backend service request method, such as
GET. Ifservice_config_typeisHTTP, this parameter will be required. The frontendrequest_config_methodand backend methodservice_config_methodcan be different. - service_
config_ strmock_ return_ message - Returned information of API backend mocking.
- service_
config_ strpath - API backend service path, such as /path. If
service_config_typeisHTTP, this parameter will be required. The frontendrequest_config_pathand backend pathservice_config_pathcan be different. - service_
config_ strproduct - Backend type. This parameter takes effect when VPC is enabled. Currently, only
clbis supported. - service_
config_ strscf_ function_ name - SCF function name. This parameter takes effect when
service_config_typeisSCF. - service_
config_ strscf_ function_ namespace - SCF function namespace. This parameter takes effect when
service_config_typeisSCF. - service_
config_ strscf_ function_ qualifier - SCF function version. This parameter takes effect when
service_config_typeisSCF. - service_
config_ floattimeout - API backend service timeout period in seconds.
- service_
config_ strtype - API backend service type.
- service_
config_ strurl - API backend service url. This parameter is required when
service_config_typeisHTTP. - service_
config_ strvpc_ id - Unique VPC ID.
- service_
id str - Service ID for query.
- api
Desc String - Custom API description.
- api
Name String - Custom API name.
- auth
Type String - API authentication type. Valid values:
SECRET,NONE.SECRETmeans key pair authentication,NONEmeans no authentication. - create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable
Cors Boolean - Whether to enable CORS.
- modify
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- protocol String
- API frontend request type, such as
HTTP,WEBSOCKET. - request
Config StringMethod - Request frontend method configuration. Like
GET,POST,PUT,DELETE,HEAD,ANY. - request
Config StringPath - Request frontend path configuration. Like
/user/getinfo. - request
Parameters List<Property Map> - Frontend request parameters.
- response
Error List<Property Map>Codes - Custom error code configuration. Must keep at least one after set.
- response
Fail StringExample - Response failure sample of custom response configuration.
- response
Success StringExample - Successful response sample of custom response configuration.
- response
Type String - Return type.
- service
Config StringMethod - API backend service request method, such as
GET. Ifservice_config_typeisHTTP, this parameter will be required. The frontendrequest_config_methodand backend methodservice_config_methodcan be different. - service
Config StringMock Return Message - Returned information of API backend mocking.
- service
Config StringPath - API backend service path, such as /path. If
service_config_typeisHTTP, this parameter will be required. The frontendrequest_config_pathand backend pathservice_config_pathcan be different. - service
Config StringProduct - Backend type. This parameter takes effect when VPC is enabled. Currently, only
clbis supported. - service
Config StringScf Function Name - SCF function name. This parameter takes effect when
service_config_typeisSCF. - service
Config StringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_typeisSCF. - service
Config StringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_typeisSCF. - service
Config NumberTimeout - API backend service timeout period in seconds.
- service
Config StringType - API backend service type.
- service
Config StringUrl - API backend service url. This parameter is required when
service_config_typeisHTTP. - service
Config StringVpc Id - Unique VPC ID.
- service
Id String - Service ID for query.
GetApiGatewayApisListRequestParameter
GetApiGatewayApisListResponseErrorCode
- Code double
- Custom response configuration error code.
- Converted
Code double - Custom error code conversion.
- Desc string
- Parameter description.
- Msg string
- Custom response configuration error message.
- Need
Convert bool - Whether to enable error code conversion. Default value:
false.
- Code float64
- Custom response configuration error code.
- Converted
Code float64 - Custom error code conversion.
- Desc string
- Parameter description.
- Msg string
- Custom response configuration error message.
- Need
Convert bool - Whether to enable error code conversion. Default value:
false.
- code Double
- Custom response configuration error code.
- converted
Code Double - Custom error code conversion.
- desc String
- Parameter description.
- msg String
- Custom response configuration error message.
- need
Convert Boolean - Whether to enable error code conversion. Default value:
false.
- code number
- Custom response configuration error code.
- converted
Code number - Custom error code conversion.
- desc string
- Parameter description.
- msg string
- Custom response configuration error message.
- need
Convert boolean - Whether to enable error code conversion. Default value:
false.
- code float
- Custom response configuration error code.
- converted_
code float - Custom error code conversion.
- desc str
- Parameter description.
- msg str
- Custom response configuration error message.
- need_
convert bool - Whether to enable error code conversion. Default value:
false.
- code Number
- Custom response configuration error code.
- converted
Code Number - Custom error code conversion.
- desc String
- Parameter description.
- msg String
- Custom response configuration error message.
- need
Convert Boolean - Whether to enable error code conversion. Default value:
false.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
