tencentcloud.ApiGatewayApi
Explore with Pulumi AI
Use this resource to create API of API gateway.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ApiGatewayService("example", {
serviceName: "tf-example",
protocol: "http&https",
netTypes: [
"INNER",
"OUTER",
],
ipVersion: "IPv4",
});
const api = new tencentcloud.ApiGatewayApi("api", {
serviceId: example.apiGatewayServiceId,
apiName: "tf-example",
apiDesc: "desc.",
authType: "NONE",
protocol: "HTTP",
enableCors: true,
requestConfigPath: "/user/info",
requestConfigMethod: "GET",
requestParameters: [{
name: "name",
position: "QUERY",
type: "string",
desc: "who are you?",
defaultValue: "tom",
required: true,
}],
serviceConfigType: "HTTP",
serviceConfigTimeout: 15,
serviceConfigUrl: "http://www.qq.com",
serviceConfigPath: "/user",
serviceConfigMethod: "GET",
responseType: "HTML",
responseSuccessExample: "success",
responseFailExample: "fail",
responseErrorCodes: [{
code: 500,
msg: "system error",
desc: "system error code",
convertedCode: 5000,
needConvert: true,
}],
releaseLimit: 500,
preLimit: 500,
testLimit: 500,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ApiGatewayService("example",
service_name="tf-example",
protocol="http&https",
net_types=[
"INNER",
"OUTER",
],
ip_version="IPv4")
api = tencentcloud.ApiGatewayApi("api",
service_id=example.api_gateway_service_id,
api_name="tf-example",
api_desc="desc.",
auth_type="NONE",
protocol="HTTP",
enable_cors=True,
request_config_path="/user/info",
request_config_method="GET",
request_parameters=[{
"name": "name",
"position": "QUERY",
"type": "string",
"desc": "who are you?",
"default_value": "tom",
"required": True,
}],
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",
response_error_codes=[{
"code": 500,
"msg": "system error",
"desc": "system error code",
"converted_code": 5000,
"need_convert": True,
}],
release_limit=500,
pre_limit=500,
test_limit=500)
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 {
example, err := tencentcloud.NewApiGatewayService(ctx, "example", &tencentcloud.ApiGatewayServiceArgs{
ServiceName: pulumi.String("tf-example"),
Protocol: pulumi.String("http&https"),
NetTypes: pulumi.StringArray{
pulumi.String("INNER"),
pulumi.String("OUTER"),
},
IpVersion: pulumi.String("IPv4"),
})
if err != nil {
return err
}
_, err = tencentcloud.NewApiGatewayApi(ctx, "api", &tencentcloud.ApiGatewayApiArgs{
ServiceId: example.ApiGatewayServiceId,
ApiName: pulumi.String("tf-example"),
ApiDesc: pulumi.String("desc."),
AuthType: pulumi.String("NONE"),
Protocol: pulumi.String("HTTP"),
EnableCors: pulumi.Bool(true),
RequestConfigPath: pulumi.String("/user/info"),
RequestConfigMethod: pulumi.String("GET"),
RequestParameters: tencentcloud.ApiGatewayApiRequestParameterArray{
&tencentcloud.ApiGatewayApiRequestParameterArgs{
Name: pulumi.String("name"),
Position: pulumi.String("QUERY"),
Type: pulumi.String("string"),
Desc: pulumi.String("who are you?"),
DefaultValue: pulumi.String("tom"),
Required: pulumi.Bool(true),
},
},
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"),
ResponseErrorCodes: tencentcloud.ApiGatewayApiResponseErrorCodeArray{
&tencentcloud.ApiGatewayApiResponseErrorCodeArgs{
Code: pulumi.Float64(500),
Msg: pulumi.String("system error"),
Desc: pulumi.String("system error code"),
ConvertedCode: pulumi.Float64(5000),
NeedConvert: pulumi.Bool(true),
},
},
ReleaseLimit: pulumi.Float64(500),
PreLimit: pulumi.Float64(500),
TestLimit: pulumi.Float64(500),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.ApiGatewayService("example", new()
{
ServiceName = "tf-example",
Protocol = "http&https",
NetTypes = new[]
{
"INNER",
"OUTER",
},
IpVersion = "IPv4",
});
var api = new Tencentcloud.ApiGatewayApi("api", new()
{
ServiceId = example.ApiGatewayServiceId,
ApiName = "tf-example",
ApiDesc = "desc.",
AuthType = "NONE",
Protocol = "HTTP",
EnableCors = true,
RequestConfigPath = "/user/info",
RequestConfigMethod = "GET",
RequestParameters = new[]
{
new Tencentcloud.Inputs.ApiGatewayApiRequestParameterArgs
{
Name = "name",
Position = "QUERY",
Type = "string",
Desc = "who are you?",
DefaultValue = "tom",
Required = true,
},
},
ServiceConfigType = "HTTP",
ServiceConfigTimeout = 15,
ServiceConfigUrl = "http://www.qq.com",
ServiceConfigPath = "/user",
ServiceConfigMethod = "GET",
ResponseType = "HTML",
ResponseSuccessExample = "success",
ResponseFailExample = "fail",
ResponseErrorCodes = new[]
{
new Tencentcloud.Inputs.ApiGatewayApiResponseErrorCodeArgs
{
Code = 500,
Msg = "system error",
Desc = "system error code",
ConvertedCode = 5000,
NeedConvert = true,
},
},
ReleaseLimit = 500,
PreLimit = 500,
TestLimit = 500,
});
});
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.inputs.ApiGatewayApiRequestParameterArgs;
import com.pulumi.tencentcloud.inputs.ApiGatewayApiResponseErrorCodeArgs;
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 example = new ApiGatewayService("example", ApiGatewayServiceArgs.builder()
.serviceName("tf-example")
.protocol("http&https")
.netTypes(
"INNER",
"OUTER")
.ipVersion("IPv4")
.build());
var api = new ApiGatewayApi("api", ApiGatewayApiArgs.builder()
.serviceId(example.apiGatewayServiceId())
.apiName("tf-example")
.apiDesc("desc.")
.authType("NONE")
.protocol("HTTP")
.enableCors(true)
.requestConfigPath("/user/info")
.requestConfigMethod("GET")
.requestParameters(ApiGatewayApiRequestParameterArgs.builder()
.name("name")
.position("QUERY")
.type("string")
.desc("who are you?")
.defaultValue("tom")
.required(true)
.build())
.serviceConfigType("HTTP")
.serviceConfigTimeout(15)
.serviceConfigUrl("http://www.qq.com")
.serviceConfigPath("/user")
.serviceConfigMethod("GET")
.responseType("HTML")
.responseSuccessExample("success")
.responseFailExample("fail")
.responseErrorCodes(ApiGatewayApiResponseErrorCodeArgs.builder()
.code(500)
.msg("system error")
.desc("system error code")
.convertedCode(5000)
.needConvert(true)
.build())
.releaseLimit(500)
.preLimit(500)
.testLimit(500)
.build());
}
}
resources:
example:
type: tencentcloud:ApiGatewayService
properties:
serviceName: tf-example
protocol: http&https
netTypes:
- INNER
- OUTER
ipVersion: IPv4
api:
type: tencentcloud:ApiGatewayApi
properties:
serviceId: ${example.apiGatewayServiceId}
apiName: tf-example
apiDesc: desc.
authType: NONE
protocol: HTTP
enableCors: true
requestConfigPath: /user/info
requestConfigMethod: GET
requestParameters:
- name: name
position: QUERY
type: string
desc: who are you?
defaultValue: tom
required: true
serviceConfigType: HTTP
serviceConfigTimeout: 15
serviceConfigUrl: http://www.qq.com
serviceConfigPath: /user
serviceConfigMethod: GET
responseType: HTML
responseSuccessExample: success
responseFailExample: fail
responseErrorCodes:
- code: 500
msg: system error
desc: system error code
convertedCode: 5000
needConvert: true
releaseLimit: 500
preLimit: 500
testLimit: 500
Create ApiGatewayApi Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiGatewayApi(name: string, args: ApiGatewayApiArgs, opts?: CustomResourceOptions);
@overload
def ApiGatewayApi(resource_name: str,
args: ApiGatewayApiArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiGatewayApi(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_name: Optional[str] = None,
request_config_path: Optional[str] = None,
service_id: Optional[str] = None,
api_business_type: Optional[str] = None,
api_desc: Optional[str] = None,
api_gateway_api_id: Optional[str] = None,
api_type: Optional[str] = None,
auth_relation_api_id: Optional[str] = None,
auth_type: Optional[str] = None,
constant_parameters: Optional[Sequence[ApiGatewayApiConstantParameterArgs]] = None,
eiam_app_id: Optional[str] = None,
eiam_app_type: Optional[str] = None,
eiam_auth_type: Optional[str] = None,
enable_cors: Optional[bool] = None,
event_bus_id: Optional[str] = None,
is_base64_encoded: Optional[bool] = None,
is_debug_after_charge: Optional[bool] = None,
is_delete_response_error_codes: Optional[bool] = None,
micro_services: Optional[Sequence[ApiGatewayApiMicroServiceArgs]] = None,
oauth_config: Optional[ApiGatewayApiOauthConfigArgs] = None,
owner: Optional[str] = None,
pre_limit: Optional[float] = None,
protocol: Optional[str] = None,
release_limit: Optional[float] = None,
request_config_method: Optional[str] = None,
request_parameters: Optional[Sequence[ApiGatewayApiRequestParameterArgs]] = None,
response_error_codes: Optional[Sequence[ApiGatewayApiResponseErrorCodeArgs]] = None,
response_fail_example: Optional[str] = None,
response_success_example: Optional[str] = None,
response_type: Optional[str] = None,
service_config_cos_config: Optional[ApiGatewayApiServiceConfigCosConfigArgs] = None,
service_config_method: Optional[str] = None,
service_config_mock_return_message: Optional[str] = None,
service_config_path: Optional[str] = None,
service_config_product: Optional[str] = None,
service_config_scf_function_name: Optional[str] = None,
service_config_scf_function_namespace: Optional[str] = None,
service_config_scf_function_qualifier: Optional[str] = None,
service_config_scf_function_type: Optional[str] = None,
service_config_scf_is_integrated_response: Optional[bool] = None,
service_config_timeout: Optional[float] = None,
service_config_type: Optional[str] = None,
service_config_upstream_id: Optional[str] = None,
service_config_url: Optional[str] = None,
service_config_vpc_id: Optional[str] = None,
service_config_websocket_cleanup_function_name: Optional[str] = None,
service_config_websocket_cleanup_function_namespace: Optional[str] = None,
service_config_websocket_cleanup_function_qualifier: Optional[str] = None,
service_config_websocket_register_function_name: Optional[str] = None,
service_config_websocket_register_function_namespace: Optional[str] = None,
service_config_websocket_register_function_qualifier: Optional[str] = None,
service_config_websocket_transport_function_name: Optional[str] = None,
service_config_websocket_transport_function_namespace: Optional[str] = None,
service_config_websocket_transport_function_qualifier: Optional[str] = None,
service_parameters: Optional[Sequence[ApiGatewayApiServiceParameterArgs]] = None,
service_tsf_health_check_conf: Optional[ApiGatewayApiServiceTsfHealthCheckConfArgs] = None,
service_tsf_load_balance_conf: Optional[ApiGatewayApiServiceTsfLoadBalanceConfArgs] = None,
target_namespace_id: Optional[str] = None,
target_services: Optional[Sequence[ApiGatewayApiTargetServiceArgs]] = None,
target_services_health_check_conf: Optional[ApiGatewayApiTargetServicesHealthCheckConfArgs] = None,
target_services_load_balance_conf: Optional[float] = None,
test_limit: Optional[float] = None,
token_timeout: Optional[float] = None,
user_type: Optional[str] = None)
func NewApiGatewayApi(ctx *Context, name string, args ApiGatewayApiArgs, opts ...ResourceOption) (*ApiGatewayApi, error)
public ApiGatewayApi(string name, ApiGatewayApiArgs args, CustomResourceOptions? opts = null)
public ApiGatewayApi(String name, ApiGatewayApiArgs args)
public ApiGatewayApi(String name, ApiGatewayApiArgs args, CustomResourceOptions options)
type: tencentcloud:ApiGatewayApi
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApiGatewayApiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApiGatewayApiArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApiGatewayApiArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiGatewayApiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiGatewayApiArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApiGatewayApi Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApiGatewayApi resource accepts the following input properties:
- Api
Name string - Custom API name.
- Request
Config stringPath - Request frontend path configuration. Like
/user/getinfo
. - Service
Id string - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - Api
Business stringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - Api
Desc string - Custom API description.
- Api
Gateway stringApi Id - ID of the resource.
- Api
Type string - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- Auth
Relation stringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- Auth
Type string - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- Constant
Parameters List<ApiGateway Api Constant Parameter> - Constant parameter.
- Eiam
App stringId - EIAM application ID.
- Eiam
App stringType - EIAM application type.
- Eiam
Auth stringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Event
Bus stringId - Event bus ID.
- Is
Base64Encoded bool - Whether to enable Base64 encoding will only take effect when the backend is scf.
- Is
Debug boolAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- Is
Delete boolResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- Micro
Services List<ApiGateway Api Micro Service> - API bound microservice list.
- Oauth
Config ApiGateway Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- Owner string
- Owner of resources.
- Pre
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - Release
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Request
Config stringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - Request
Parameters List<ApiGateway Api Request Parameter> - Frontend request parameters.
- Response
Error List<ApiCodes Gateway Api 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - Service
Config ApiCos Config Gateway Api Service Config Cos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - Service
Config stringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - Service
Config stringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - Service
Config stringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- Service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- Service
Config boolScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- Service
Config doubleTimeout - API backend service timeout period in seconds. Default value:
5
. - Service
Config stringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- Service
Config stringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- Service
Config stringVpc Id - Unique VPC ID.
- Service
Config stringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Parameters List<ApiGateway Api Service Parameter> - The backend service parameters of the API.
- Service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf - Health check configuration for microservices.
- Service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- Target
Namespace stringId - Tsf serverless namespace ID. (In internal testing).
- Target
Services List<ApiGateway Api Target Service> - Target type backend resource information. (Internal testing stage).
- Target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf - Target health check configuration. (Internal testing stage).
- Target
Services doubleLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- Test
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Token
Timeout double - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- User
Type string - User type.
- Api
Name string - Custom API name.
- Request
Config stringPath - Request frontend path configuration. Like
/user/getinfo
. - Service
Id string - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - Api
Business stringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - Api
Desc string - Custom API description.
- Api
Gateway stringApi Id - ID of the resource.
- Api
Type string - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- Auth
Relation stringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- Auth
Type string - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- Constant
Parameters []ApiGateway Api Constant Parameter Args - Constant parameter.
- Eiam
App stringId - EIAM application ID.
- Eiam
App stringType - EIAM application type.
- Eiam
Auth stringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Event
Bus stringId - Event bus ID.
- Is
Base64Encoded bool - Whether to enable Base64 encoding will only take effect when the backend is scf.
- Is
Debug boolAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- Is
Delete boolResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- Micro
Services []ApiGateway Api Micro Service Args - API bound microservice list.
- Oauth
Config ApiGateway Api Oauth Config Args - OAuth configuration. Effective when AuthType is OAUTH.
- Owner string
- Owner of resources.
- Pre
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - Release
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Request
Config stringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - Request
Parameters []ApiGateway Api Request Parameter Args - Frontend request parameters.
- Response
Error []ApiCodes Gateway Api Response Error Code Args - 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - Service
Config ApiCos Config Gateway Api Service Config Cos Config Args - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - Service
Config stringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - Service
Config stringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - Service
Config stringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- Service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- Service
Config boolScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- Service
Config float64Timeout - API backend service timeout period in seconds. Default value:
5
. - Service
Config stringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- Service
Config stringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- Service
Config stringVpc Id - Unique VPC ID.
- Service
Config stringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Parameters []ApiGateway Api Service Parameter Args - The backend service parameters of the API.
- Service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf Args - Health check configuration for microservices.
- Service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf Args - Load balancing configuration for microservices.
- Target
Namespace stringId - Tsf serverless namespace ID. (In internal testing).
- Target
Services []ApiGateway Api Target Service Args - Target type backend resource information. (Internal testing stage).
- Target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf Args - Target health check configuration. (Internal testing stage).
- Target
Services float64Load Balance Conf - Target type load balancing configuration. (Internal testing stage).
- Test
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Token
Timeout float64 - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- User
Type string - User type.
- api
Name String - Custom API name.
- request
Config StringPath - Request frontend path configuration. Like
/user/getinfo
. - service
Id String - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - api
Business StringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api
Desc String - Custom API description.
- api
Gateway StringApi Id - ID of the resource.
- api
Type String - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth
Relation StringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth
Type String - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant
Parameters List<ApiGateway Api Constant Parameter> - Constant parameter.
- eiam
App StringId - EIAM application ID.
- eiam
App StringType - EIAM application type.
- eiam
Auth StringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - event
Bus StringId - Event bus ID.
- is
Base64Encoded Boolean - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is
Debug BooleanAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is
Delete BooleanResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro
Services List<ApiGateway Api Micro Service> - API bound microservice list.
- oauth
Config ApiGateway Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- owner String
- Owner of resources.
- pre
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request
Config StringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - request
Parameters List<ApiGateway Api Request Parameter> - Frontend request parameters.
- response
Error List<ApiCodes Gateway Api 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service
Config ApiCos Config Gateway Api Service Config Cos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service
Config StringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service
Config StringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service
Config StringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service
Config StringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service
Config BooleanScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- service
Config DoubleTimeout - API backend service timeout period in seconds. Default value:
5
. - service
Config StringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service
Config StringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service
Config StringVpc Id - Unique VPC ID.
- service
Config StringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Parameters List<ApiGateway Api Service Parameter> - The backend service parameters of the API.
- service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf - Health check configuration for microservices.
- service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- target
Namespace StringId - Tsf serverless namespace ID. (In internal testing).
- target
Services List<ApiGateway Api Target Service> - Target type backend resource information. (Internal testing stage).
- target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf - Target health check configuration. (Internal testing stage).
- target
Services DoubleLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- test
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token
Timeout Double - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- user
Type String - User type.
- api
Name string - Custom API name.
- request
Config stringPath - Request frontend path configuration. Like
/user/getinfo
. - service
Id string - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - api
Business stringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api
Desc string - Custom API description.
- api
Gateway stringApi Id - ID of the resource.
- api
Type string - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth
Relation stringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth
Type string - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant
Parameters ApiGateway Api Constant Parameter[] - Constant parameter.
- eiam
App stringId - EIAM application ID.
- eiam
App stringType - EIAM application type.
- eiam
Auth stringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable
Cors boolean - Whether to enable CORS. Default value:
true
. - event
Bus stringId - Event bus ID.
- is
Base64Encoded boolean - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is
Debug booleanAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is
Delete booleanResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro
Services ApiGateway Api Micro Service[] - API bound microservice list.
- oauth
Config ApiGateway Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- owner string
- Owner of resources.
- pre
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request
Config stringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - request
Parameters ApiGateway Api Request Parameter[] - Frontend request parameters.
- response
Error ApiCodes Gateway Api 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service
Config ApiCos Config Gateway Api Service Config Cos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Config stringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service
Config stringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service
Config stringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service
Config stringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service
Config stringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service
Config booleanScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- service
Config numberTimeout - API backend service timeout period in seconds. Default value:
5
. - service
Config stringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service
Config stringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service
Config stringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service
Config stringVpc Id - Unique VPC ID.
- service
Config stringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Parameters ApiGateway Api Service Parameter[] - The backend service parameters of the API.
- service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf - Health check configuration for microservices.
- service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- target
Namespace stringId - Tsf serverless namespace ID. (In internal testing).
- target
Services ApiGateway Api Target Service[] - Target type backend resource information. (Internal testing stage).
- target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf - Target health check configuration. (Internal testing stage).
- target
Services numberLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- test
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token
Timeout number - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- user
Type string - User type.
- api_
name str - Custom API name.
- request_
config_ strpath - Request frontend path configuration. Like
/user/getinfo
. - service_
id str - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - api_
business_ strtype - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api_
desc str - Custom API description.
- api_
gateway_ strapi_ id - ID of the resource.
- api_
type str - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth_
relation_ strapi_ id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth_
type str - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant_
parameters Sequence[ApiGateway Api Constant Parameter Args] - Constant parameter.
- eiam_
app_ strid - EIAM application ID.
- eiam_
app_ strtype - EIAM application type.
- eiam_
auth_ strtype - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable_
cors bool - Whether to enable CORS. Default value:
true
. - event_
bus_ strid - Event bus ID.
- is_
base64_ boolencoded - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is_
debug_ boolafter_ charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is_
delete_ boolresponse_ error_ codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro_
services Sequence[ApiGateway Api Micro Service Args] - API bound microservice list.
- oauth_
config ApiGateway Api Oauth Config Args - OAuth configuration. Effective when AuthType is OAUTH.
- owner str
- Owner of resources.
- pre_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol str
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request_
config_ strmethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - request_
parameters Sequence[ApiGateway Api Request Parameter Args] - Frontend request parameters.
- response_
error_ Sequence[Apicodes Gateway Api Response Error Code Args] - 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service_
config_ Apicos_ config Gateway Api Service Config Cos Config Args - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service_
config_ strmethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service_
config_ strmock_ return_ message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service_
config_ strpath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service_
config_ strproduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service_
config_ strscf_ function_ name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service_
config_ strscf_ function_ namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service_
config_ strscf_ function_ qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service_
config_ strscf_ function_ type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service_
config_ boolscf_ is_ integrated_ response - Whether to enable response integration. Effective when the backend type is SCF.
- service_
config_ floattimeout - API backend service timeout period in seconds. Default value:
5
. - service_
config_ strtype - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service_
config_ strupstream_ id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service_
config_ strurl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service_
config_ strvpc_ id - Unique VPC ID.
- service_
config_ strwebsocket_ cleanup_ function_ name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ cleanup_ function_ namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ cleanup_ function_ qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ register_ function_ name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ register_ function_ namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ register_ function_ qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ transport_ function_ name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ transport_ function_ namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ transport_ function_ qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
parameters Sequence[ApiGateway Api Service Parameter Args] - The backend service parameters of the API.
- service_
tsf_ Apihealth_ check_ conf Gateway Api Service Tsf Health Check Conf Args - Health check configuration for microservices.
- service_
tsf_ Apiload_ balance_ conf Gateway Api Service Tsf Load Balance Conf Args - Load balancing configuration for microservices.
- target_
namespace_ strid - Tsf serverless namespace ID. (In internal testing).
- target_
services Sequence[ApiGateway Api Target Service Args] - Target type backend resource information. (Internal testing stage).
- target_
services_ Apihealth_ check_ conf Gateway Api Target Services Health Check Conf Args - Target health check configuration. (Internal testing stage).
- target_
services_ floatload_ balance_ conf - Target type load balancing configuration. (Internal testing stage).
- test_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token_
timeout float - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- user_
type str - User type.
- api
Name String - Custom API name.
- request
Config StringPath - Request frontend path configuration. Like
/user/getinfo
. - service
Id String - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - api
Business StringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api
Desc String - Custom API description.
- api
Gateway StringApi Id - ID of the resource.
- api
Type String - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth
Relation StringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth
Type String - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant
Parameters List<Property Map> - Constant parameter.
- eiam
App StringId - EIAM application ID.
- eiam
App StringType - EIAM application type.
- eiam
Auth StringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - event
Bus StringId - Event bus ID.
- is
Base64Encoded Boolean - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is
Debug BooleanAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is
Delete BooleanResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro
Services List<Property Map> - API bound microservice list.
- oauth
Config Property Map - OAuth configuration. Effective when AuthType is OAUTH.
- owner String
- Owner of resources.
- pre
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request
Config StringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service
Config Property MapCos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service
Config StringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service
Config StringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service
Config StringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service
Config StringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service
Config BooleanScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- service
Config NumberTimeout - API backend service timeout period in seconds. Default value:
5
. - service
Config StringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service
Config StringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service
Config StringVpc Id - Unique VPC ID.
- service
Config StringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Parameters List<Property Map> - The backend service parameters of the API.
- service
Tsf Property MapHealth Check Conf - Health check configuration for microservices.
- service
Tsf Property MapLoad Balance Conf - Load balancing configuration for microservices.
- target
Namespace StringId - Tsf serverless namespace ID. (In internal testing).
- target
Services List<Property Map> - Target type backend resource information. (Internal testing stage).
- target
Services Property MapHealth Check Conf - Target health check configuration. (Internal testing stage).
- target
Services NumberLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- test
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token
Timeout Number - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- user
Type String - User type.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiGatewayApi resource produces the following output properties:
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- create_
time str - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
Look up Existing ApiGatewayApi Resource
Get an existing ApiGatewayApi resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApiGatewayApiState, opts?: CustomResourceOptions): ApiGatewayApi
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_business_type: Optional[str] = None,
api_desc: Optional[str] = None,
api_gateway_api_id: Optional[str] = None,
api_name: Optional[str] = None,
api_type: Optional[str] = None,
auth_relation_api_id: Optional[str] = None,
auth_type: Optional[str] = None,
constant_parameters: Optional[Sequence[ApiGatewayApiConstantParameterArgs]] = None,
create_time: Optional[str] = None,
eiam_app_id: Optional[str] = None,
eiam_app_type: Optional[str] = None,
eiam_auth_type: Optional[str] = None,
enable_cors: Optional[bool] = None,
event_bus_id: Optional[str] = None,
is_base64_encoded: Optional[bool] = None,
is_debug_after_charge: Optional[bool] = None,
is_delete_response_error_codes: Optional[bool] = None,
micro_services: Optional[Sequence[ApiGatewayApiMicroServiceArgs]] = None,
oauth_config: Optional[ApiGatewayApiOauthConfigArgs] = None,
owner: Optional[str] = None,
pre_limit: Optional[float] = None,
protocol: Optional[str] = None,
release_limit: Optional[float] = None,
request_config_method: Optional[str] = None,
request_config_path: Optional[str] = None,
request_parameters: Optional[Sequence[ApiGatewayApiRequestParameterArgs]] = None,
response_error_codes: Optional[Sequence[ApiGatewayApiResponseErrorCodeArgs]] = None,
response_fail_example: Optional[str] = None,
response_success_example: Optional[str] = None,
response_type: Optional[str] = None,
service_config_cos_config: Optional[ApiGatewayApiServiceConfigCosConfigArgs] = None,
service_config_method: Optional[str] = None,
service_config_mock_return_message: Optional[str] = None,
service_config_path: Optional[str] = None,
service_config_product: Optional[str] = None,
service_config_scf_function_name: Optional[str] = None,
service_config_scf_function_namespace: Optional[str] = None,
service_config_scf_function_qualifier: Optional[str] = None,
service_config_scf_function_type: Optional[str] = None,
service_config_scf_is_integrated_response: Optional[bool] = None,
service_config_timeout: Optional[float] = None,
service_config_type: Optional[str] = None,
service_config_upstream_id: Optional[str] = None,
service_config_url: Optional[str] = None,
service_config_vpc_id: Optional[str] = None,
service_config_websocket_cleanup_function_name: Optional[str] = None,
service_config_websocket_cleanup_function_namespace: Optional[str] = None,
service_config_websocket_cleanup_function_qualifier: Optional[str] = None,
service_config_websocket_register_function_name: Optional[str] = None,
service_config_websocket_register_function_namespace: Optional[str] = None,
service_config_websocket_register_function_qualifier: Optional[str] = None,
service_config_websocket_transport_function_name: Optional[str] = None,
service_config_websocket_transport_function_namespace: Optional[str] = None,
service_config_websocket_transport_function_qualifier: Optional[str] = None,
service_id: Optional[str] = None,
service_parameters: Optional[Sequence[ApiGatewayApiServiceParameterArgs]] = None,
service_tsf_health_check_conf: Optional[ApiGatewayApiServiceTsfHealthCheckConfArgs] = None,
service_tsf_load_balance_conf: Optional[ApiGatewayApiServiceTsfLoadBalanceConfArgs] = None,
target_namespace_id: Optional[str] = None,
target_services: Optional[Sequence[ApiGatewayApiTargetServiceArgs]] = None,
target_services_health_check_conf: Optional[ApiGatewayApiTargetServicesHealthCheckConfArgs] = None,
target_services_load_balance_conf: Optional[float] = None,
test_limit: Optional[float] = None,
token_timeout: Optional[float] = None,
update_time: Optional[str] = None,
user_type: Optional[str] = None) -> ApiGatewayApi
func GetApiGatewayApi(ctx *Context, name string, id IDInput, state *ApiGatewayApiState, opts ...ResourceOption) (*ApiGatewayApi, error)
public static ApiGatewayApi Get(string name, Input<string> id, ApiGatewayApiState? state, CustomResourceOptions? opts = null)
public static ApiGatewayApi get(String name, Output<String> id, ApiGatewayApiState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ApiGatewayApi get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Business stringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - Api
Desc string - Custom API description.
- Api
Gateway stringApi Id - ID of the resource.
- Api
Name string - Custom API name.
- Api
Type string - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- Auth
Relation stringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- Auth
Type string - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- Constant
Parameters List<ApiGateway Api Constant Parameter> - Constant parameter.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Eiam
App stringId - EIAM application ID.
- Eiam
App stringType - EIAM application type.
- Eiam
Auth stringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Event
Bus stringId - Event bus ID.
- Is
Base64Encoded bool - Whether to enable Base64 encoding will only take effect when the backend is scf.
- Is
Debug boolAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- Is
Delete boolResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- Micro
Services List<ApiGateway Api Micro Service> - API bound microservice list.
- Oauth
Config ApiGateway Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- Owner string
- Owner of resources.
- Pre
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - Release
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Request
Config stringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - Request
Config stringPath - Request frontend path configuration. Like
/user/getinfo
. - Request
Parameters List<ApiGateway Api Request Parameter> - Frontend request parameters.
- Response
Error List<ApiCodes Gateway Api 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - Service
Config ApiCos Config Gateway Api Service Config Cos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - Service
Config stringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - Service
Config stringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - Service
Config stringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- Service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- Service
Config boolScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- Service
Config doubleTimeout - API backend service timeout period in seconds. Default value:
5
. - Service
Config stringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- Service
Config stringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- Service
Config stringVpc Id - Unique VPC ID.
- Service
Config stringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Id string - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - Service
Parameters List<ApiGateway Api Service Parameter> - The backend service parameters of the API.
- Service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf - Health check configuration for microservices.
- Service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- Target
Namespace stringId - Tsf serverless namespace ID. (In internal testing).
- Target
Services List<ApiGateway Api Target Service> - Target type backend resource information. (Internal testing stage).
- Target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf - Target health check configuration. (Internal testing stage).
- Target
Services doubleLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- Test
Limit double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Token
Timeout double - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- User
Type string - User type.
- Api
Business stringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - Api
Desc string - Custom API description.
- Api
Gateway stringApi Id - ID of the resource.
- Api
Name string - Custom API name.
- Api
Type string - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- Auth
Relation stringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- Auth
Type string - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- Constant
Parameters []ApiGateway Api Constant Parameter Args - Constant parameter.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Eiam
App stringId - EIAM application ID.
- Eiam
App stringType - EIAM application type.
- Eiam
Auth stringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Event
Bus stringId - Event bus ID.
- Is
Base64Encoded bool - Whether to enable Base64 encoding will only take effect when the backend is scf.
- Is
Debug boolAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- Is
Delete boolResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- Micro
Services []ApiGateway Api Micro Service Args - API bound microservice list.
- Oauth
Config ApiGateway Api Oauth Config Args - OAuth configuration. Effective when AuthType is OAUTH.
- Owner string
- Owner of resources.
- Pre
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - Release
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Request
Config stringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - Request
Config stringPath - Request frontend path configuration. Like
/user/getinfo
. - Request
Parameters []ApiGateway Api Request Parameter Args - Frontend request parameters.
- Response
Error []ApiCodes Gateway Api Response Error Code Args - 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - Service
Config ApiCos Config Gateway Api Service Config Cos Config Args - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - Service
Config stringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - Service
Config stringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - Service
Config stringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- Service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - Service
Config stringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- Service
Config boolScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- Service
Config float64Timeout - API backend service timeout period in seconds. Default value:
5
. - Service
Config stringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- Service
Config stringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- Service
Config stringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- Service
Config stringVpc Id - Unique VPC ID.
- Service
Config stringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Config stringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- Service
Id string - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - Service
Parameters []ApiGateway Api Service Parameter Args - The backend service parameters of the API.
- Service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf Args - Health check configuration for microservices.
- Service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf Args - Load balancing configuration for microservices.
- Target
Namespace stringId - Tsf serverless namespace ID. (In internal testing).
- Target
Services []ApiGateway Api Target Service Args - Target type backend resource information. (Internal testing stage).
- Target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf Args - Target health check configuration. (Internal testing stage).
- Target
Services float64Load Balance Conf - Target type load balancing configuration. (Internal testing stage).
- Test
Limit float64 - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - Token
Timeout float64 - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- User
Type string - User type.
- api
Business StringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api
Desc String - Custom API description.
- api
Gateway StringApi Id - ID of the resource.
- api
Name String - Custom API name.
- api
Type String - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth
Relation StringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth
Type String - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant
Parameters List<ApiGateway Api Constant Parameter> - Constant parameter.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- eiam
App StringId - EIAM application ID.
- eiam
App StringType - EIAM application type.
- eiam
Auth StringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - event
Bus StringId - Event bus ID.
- is
Base64Encoded Boolean - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is
Debug BooleanAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is
Delete BooleanResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro
Services List<ApiGateway Api Micro Service> - API bound microservice list.
- oauth
Config ApiGateway Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- owner String
- Owner of resources.
- pre
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request
Config StringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - request
Config StringPath - Request frontend path configuration. Like
/user/getinfo
. - request
Parameters List<ApiGateway Api Request Parameter> - Frontend request parameters.
- response
Error List<ApiCodes Gateway Api 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service
Config ApiCos Config Gateway Api Service Config Cos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service
Config StringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service
Config StringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service
Config StringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service
Config StringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service
Config BooleanScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- service
Config DoubleTimeout - API backend service timeout period in seconds. Default value:
5
. - service
Config StringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service
Config StringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service
Config StringVpc Id - Unique VPC ID.
- service
Config StringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Id String - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - service
Parameters List<ApiGateway Api Service Parameter> - The backend service parameters of the API.
- service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf - Health check configuration for microservices.
- service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- target
Namespace StringId - Tsf serverless namespace ID. (In internal testing).
- target
Services List<ApiGateway Api Target Service> - Target type backend resource information. (Internal testing stage).
- target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf - Target health check configuration. (Internal testing stage).
- target
Services DoubleLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- test
Limit Double - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token
Timeout Double - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- user
Type String - User type.
- api
Business stringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api
Desc string - Custom API description.
- api
Gateway stringApi Id - ID of the resource.
- api
Name string - Custom API name.
- api
Type string - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth
Relation stringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth
Type string - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant
Parameters ApiGateway Api Constant Parameter[] - Constant parameter.
- create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- eiam
App stringId - EIAM application ID.
- eiam
App stringType - EIAM application type.
- eiam
Auth stringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable
Cors boolean - Whether to enable CORS. Default value:
true
. - event
Bus stringId - Event bus ID.
- is
Base64Encoded boolean - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is
Debug booleanAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is
Delete booleanResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro
Services ApiGateway Api Micro Service[] - API bound microservice list.
- oauth
Config ApiGateway Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- owner string
- Owner of resources.
- pre
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request
Config stringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - request
Config stringPath - Request frontend path configuration. Like
/user/getinfo
. - request
Parameters ApiGateway Api Request Parameter[] - Frontend request parameters.
- response
Error ApiCodes Gateway Api 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service
Config ApiCos Config Gateway Api Service Config Cos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Config stringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service
Config stringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service
Config stringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service
Config stringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service
Config stringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service
Config stringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service
Config stringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service
Config stringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service
Config booleanScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- service
Config numberTimeout - API backend service timeout period in seconds. Default value:
5
. - service
Config stringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service
Config stringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service
Config stringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service
Config stringVpc Id - Unique VPC ID.
- service
Config stringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config stringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Id string - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - service
Parameters ApiGateway Api Service Parameter[] - The backend service parameters of the API.
- service
Tsf ApiHealth Check Conf Gateway Api Service Tsf Health Check Conf - Health check configuration for microservices.
- service
Tsf ApiLoad Balance Conf Gateway Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- target
Namespace stringId - Tsf serverless namespace ID. (In internal testing).
- target
Services ApiGateway Api Target Service[] - Target type backend resource information. (Internal testing stage).
- target
Services ApiHealth Check Conf Gateway Api Target Services Health Check Conf - Target health check configuration. (Internal testing stage).
- target
Services numberLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- test
Limit number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token
Timeout number - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- user
Type string - User type.
- api_
business_ strtype - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api_
desc str - Custom API description.
- api_
gateway_ strapi_ id - ID of the resource.
- api_
name str - Custom API name.
- api_
type str - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth_
relation_ strapi_ id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth_
type str - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant_
parameters Sequence[ApiGateway Api Constant Parameter Args] - Constant parameter.
- create_
time str - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- eiam_
app_ strid - EIAM application ID.
- eiam_
app_ strtype - EIAM application type.
- eiam_
auth_ strtype - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable_
cors bool - Whether to enable CORS. Default value:
true
. - event_
bus_ strid - Event bus ID.
- is_
base64_ boolencoded - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is_
debug_ boolafter_ charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is_
delete_ boolresponse_ error_ codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro_
services Sequence[ApiGateway Api Micro Service Args] - API bound microservice list.
- oauth_
config ApiGateway Api Oauth Config Args - OAuth configuration. Effective when AuthType is OAUTH.
- owner str
- Owner of resources.
- pre_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol str
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request_
config_ strmethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - request_
config_ strpath - Request frontend path configuration. Like
/user/getinfo
. - request_
parameters Sequence[ApiGateway Api Request Parameter Args] - Frontend request parameters.
- response_
error_ Sequence[Apicodes Gateway Api Response Error Code Args] - 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service_
config_ Apicos_ config Gateway Api Service Config Cos Config Args - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service_
config_ strmethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service_
config_ strmock_ return_ message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service_
config_ strpath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service_
config_ strproduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service_
config_ strscf_ function_ name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service_
config_ strscf_ function_ namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service_
config_ strscf_ function_ qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service_
config_ strscf_ function_ type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service_
config_ boolscf_ is_ integrated_ response - Whether to enable response integration. Effective when the backend type is SCF.
- service_
config_ floattimeout - API backend service timeout period in seconds. Default value:
5
. - service_
config_ strtype - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service_
config_ strupstream_ id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service_
config_ strurl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service_
config_ strvpc_ id - Unique VPC ID.
- service_
config_ strwebsocket_ cleanup_ function_ name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ cleanup_ function_ namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ cleanup_ function_ qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ register_ function_ name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ register_ function_ namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ register_ function_ qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ transport_ function_ name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ transport_ function_ namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
config_ strwebsocket_ transport_ function_ qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service_
id str - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - service_
parameters Sequence[ApiGateway Api Service Parameter Args] - The backend service parameters of the API.
- service_
tsf_ Apihealth_ check_ conf Gateway Api Service Tsf Health Check Conf Args - Health check configuration for microservices.
- service_
tsf_ Apiload_ balance_ conf Gateway Api Service Tsf Load Balance Conf Args - Load balancing configuration for microservices.
- target_
namespace_ strid - Tsf serverless namespace ID. (In internal testing).
- target_
services Sequence[ApiGateway Api Target Service Args] - Target type backend resource information. (Internal testing stage).
- target_
services_ Apihealth_ check_ conf Gateway Api Target Services Health Check Conf Args - Target health check configuration. (Internal testing stage).
- target_
services_ floatload_ balance_ conf - Target type load balancing configuration. (Internal testing stage).
- test_
limit float - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token_
timeout float - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- update_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- user_
type str - User type.
- api
Business StringType - When
auth_type
is OAUTH, this field is valid, NORMAL: Business API, OAUTH: Authorization API. - api
Desc String - Custom API description.
- api
Gateway StringApi Id - ID of the resource.
- api
Name String - Custom API name.
- api
Type String - API type, supports NORMAL (regular API) and TSF (microservice API), defaults to NORMAL.
- auth
Relation StringApi Id - The unique ID of the associated authorization API takes effect when AuthType is OAUTH and ApiBusinessType is NORMAL. The unique ID of the oauth2.0 authorized API that identifies the business API binding.
- auth
Type String - API authentication type. Support SECRET (Key Pair Authentication), NONE (Authentication Exemption), OAUTH, APP (Application Authentication). The default is NONE.
- constant
Parameters List<Property Map> - Constant parameter.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- eiam
App StringId - EIAM application ID.
- eiam
App StringType - EIAM application type.
- eiam
Auth StringType - The EIAM application authentication type supports AuthenticationOnly, Authentication, and Authorization.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - event
Bus StringId - Event bus ID.
- is
Base64Encoded Boolean - Whether to enable Base64 encoding will only take effect when the backend is scf.
- is
Debug BooleanAfter Charge - Charge after starting debugging. (Cloud Market Reserved Fields).
- is
Delete BooleanResponse Error Codes - Do you want to delete the custom response configuration error code? If it is not passed or False is passed, it will not be deleted. If True is passed, all custom response configuration error codes for this API will be deleted.
- micro
Services List<Property Map> - API bound microservice list.
- oauth
Config Property Map - OAuth configuration. Effective when AuthType is OAUTH.
- owner String
- Owner of resources.
- pre
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - release
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - request
Config StringMethod - Request frontend method configuration. Valid values:
GET
,POST
,PUT
,DELETE
,HEAD
,ANY
. Default value:GET
. - 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. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service
Config Property MapCos Config - API backend COS configuration. If ServiceType is COS, then this parameter must be passed.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringMethod - API backend service request method, such as
GET
. Ifservice_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_method
and backend methodservice_config_method
can be different. - service
Config StringMock Return Message - Returned information of API backend mocking. This parameter is required when
service_config_type
isMOCK
. - service
Config StringPath - API backend service path, such as /path. If
service_config_type
isHTTP
, this parameter will be required. The frontendrequest_config_path
and backend pathservice_config_path
can be different. - service
Config StringProduct - Backend type. Effective when enabling vpc, currently supported types are clb, cvm, and upstream.
- service
Config StringScf Function Name - SCF function name. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Namespace - SCF function namespace. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Qualifier - SCF function version. This parameter takes effect when
service_config_type
isSCF
. - service
Config StringScf Function Type - Scf function type. Effective when the backend type is SCF. Support Event Triggering (EVENT) and HTTP Direct Cloud Function (HTTP).
- service
Config BooleanScf Is Integrated Response - Whether to enable response integration. Effective when the backend type is SCF.
- service
Config NumberTimeout - API backend service timeout period in seconds. Default value:
5
. - service
Config StringType - The backend service type of the API. Supports HTTP, MOCK, TSF, SCF, WEBSOCKET, COS, TARGET (internal testing).
- service
Config StringUpstream Id - Only required when binding to VPC channelsNote: This field may return null, indicating that a valid value cannot be obtained.
- service
Config StringUrl - The backend service URL of the API. If the ServiceType is HTTP, this parameter must be passed.
- service
Config StringVpc Id - Unique VPC ID.
- service
Config StringWebsocket Cleanup Function Name - Scf websocket cleaning function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Namespace - Scf websocket cleans up the function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Cleanup Function Qualifier - Scf websocket cleaning function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Name - Scf websocket registration function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Namespace - Scf websocket registers function namespaces. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Register Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Name - Scf websocket transfer function. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Namespace - Scf websocket transfer function namespace. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Config StringWebsocket Transport Function Qualifier - Scf websocket transfer function version. It takes effect when the current end type is WEBSOCKET and the backend type is SCF.
- service
Id String - The unique ID of the service where the API is located. Refer to resource
tencentcloud.ApiGatewayService
. - service
Parameters List<Property Map> - The backend service parameters of the API.
- service
Tsf Property MapHealth Check Conf - Health check configuration for microservices.
- service
Tsf Property MapLoad Balance Conf - Load balancing configuration for microservices.
- target
Namespace StringId - Tsf serverless namespace ID. (In internal testing).
- target
Services List<Property Map> - Target type backend resource information. (Internal testing stage).
- target
Services Property MapHealth Check Conf - Target health check configuration. (Internal testing stage).
- target
Services NumberLoad Balance Conf - Target type load balancing configuration. (Internal testing stage).
- test
Limit Number - API QPS value. Enter a positive number to limit the API query rate per second
QPS
. - token
Timeout Number - The effective time of the EIAM application token, measured in seconds, defaults to 7200 seconds.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- user
Type String - User type.
Supporting Types
ApiGatewayApiConstantParameter, ApiGatewayApiConstantParameterArgs
- Default
Value string - Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Desc string
- Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Name string
- Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Position string
- Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Default
Value string - Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Desc string
- Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Name string
- Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Position string
- Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default
Value String - Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- desc String
- Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name String
- Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- position String
- Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default
Value string - Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- desc string
- Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name string
- Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- position string
- Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default_
value str - Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- desc str
- Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name str
- Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- position str
- Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default
Value String - Default value for constant parameters. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- desc String
- Constant parameter description. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name String
- Constant parameter name. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- position String
- Constant parameter position. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiGatewayApiMicroService, ApiGatewayApiMicroServiceArgs
- Cluster
Id string - Micro service cluster.
- Micro
Service stringName - Microservice name.
- Namespace
Id string - Microservice namespace.
- Cluster
Id string - Micro service cluster.
- Micro
Service stringName - Microservice name.
- Namespace
Id string - Microservice namespace.
- cluster
Id String - Micro service cluster.
- micro
Service StringName - Microservice name.
- namespace
Id String - Microservice namespace.
- cluster
Id string - Micro service cluster.
- micro
Service stringName - Microservice name.
- namespace
Id string - Microservice namespace.
- cluster_
id str - Micro service cluster.
- micro_
service_ strname - Microservice name.
- namespace_
id str - Microservice namespace.
- cluster
Id String - Micro service cluster.
- micro
Service StringName - Microservice name.
- namespace
Id String - Microservice namespace.
ApiGatewayApiOauthConfig, ApiGatewayApiOauthConfigArgs
- Public
Key string - Public key, used to verify user tokens.
- Token
Location string - Token passes the position.
- Login
Redirect stringUrl - Redirect address, used to guide users in login operations.
- Public
Key string - Public key, used to verify user tokens.
- Token
Location string - Token passes the position.
- Login
Redirect stringUrl - Redirect address, used to guide users in login operations.
- public
Key String - Public key, used to verify user tokens.
- token
Location String - Token passes the position.
- login
Redirect StringUrl - Redirect address, used to guide users in login operations.
- public
Key string - Public key, used to verify user tokens.
- token
Location string - Token passes the position.
- login
Redirect stringUrl - Redirect address, used to guide users in login operations.
- public_
key str - Public key, used to verify user tokens.
- token_
location str - Token passes the position.
- login_
redirect_ strurl - Redirect address, used to guide users in login operations.
- public
Key String - Public key, used to verify user tokens.
- token
Location String - Token passes the position.
- login
Redirect StringUrl - Redirect address, used to guide users in login operations.
ApiGatewayApiRequestParameter, ApiGatewayApiRequestParameterArgs
ApiGatewayApiResponseErrorCode, ApiGatewayApiResponseErrorCodeArgs
- Code double
- Custom response configuration error code.
- Msg string
- Custom response configuration error message.
- Converted
Code double - Custom error code conversion.
- Desc string
- Parameter description.
- Need
Convert bool - Whether to enable error code conversion. Default value:
false
.
- Code float64
- Custom response configuration error code.
- Msg string
- Custom response configuration error message.
- Converted
Code float64 - Custom error code conversion.
- Desc string
- Parameter description.
- Need
Convert bool - Whether to enable error code conversion. Default value:
false
.
- code Double
- Custom response configuration error code.
- msg String
- Custom response configuration error message.
- converted
Code Double - Custom error code conversion.
- desc String
- Parameter description.
- need
Convert Boolean - Whether to enable error code conversion. Default value:
false
.
- code number
- Custom response configuration error code.
- msg string
- Custom response configuration error message.
- converted
Code number - Custom error code conversion.
- desc string
- Parameter description.
- need
Convert boolean - Whether to enable error code conversion. Default value:
false
.
- code float
- Custom response configuration error code.
- msg str
- Custom response configuration error message.
- converted_
code float - Custom error code conversion.
- desc str
- Parameter description.
- need_
convert bool - Whether to enable error code conversion. Default value:
false
.
- code Number
- Custom response configuration error code.
- msg String
- Custom response configuration error message.
- converted
Code Number - Custom error code conversion.
- desc String
- Parameter description.
- need
Convert Boolean - Whether to enable error code conversion. Default value:
false
.
ApiGatewayApiServiceConfigCosConfig, ApiGatewayApiServiceConfigCosConfigArgs
- Action string
- The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
- Bucket
Name string - The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
- bool
- The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
- Path
Match stringMode - Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
- Action string
- The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
- Bucket
Name string - The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
- bool
- The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
- Path
Match stringMode - Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
- action String
- The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
- bucket
Name String - The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
- Boolean
- The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
- path
Match StringMode - Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
- action string
- The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
- bucket
Name string - The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
- boolean
- The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
- path
Match stringMode - Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
- action str
- The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
- bucket_
name str - The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
- bool
- The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
- path_
match_ strmode - Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
- action String
- The API calls the backend COS method, and the optional values for the front-end request method and Action are:GET: GetObjectPUT: PutObjectPOST: PostObject, AppendObjectHEAD: HeadObjectDELETE: DeleteObject.Note: This field may return null, indicating that a valid value cannot be obtained.
- bucket
Name String - The bucket name of the API backend COS.Note: This field may return null, indicating that a valid value cannot be obtained.
- Boolean
- The API calls the signature switch of the backend COS, which defaults to false.Note: This field may return null, indicating that a valid value cannot be obtained.
- path
Match StringMode - Path matching mode for API backend COS, optional values:BackEndPath: Backend path matchingFullPath: Full Path MatchingThe default value is: BackEndPathNote: This field may return null, indicating that a valid value cannot be obtained.
ApiGatewayApiServiceParameter, ApiGatewayApiServiceParameterArgs
- Default
Value string - The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Name string
- The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
- Position string
- The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Desc - Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Name - The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Position - The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Type - The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Default
Value string - The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Name string
- The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
- Position string
- The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Desc - Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Name - The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Position - The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- Relevant
Request stringParameter Type - The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default
Value String - The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name String
- The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
- position String
- The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Desc - Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Name - The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Position - The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Type - The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default
Value string - The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name string
- The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
- position string
- The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request stringParameter Desc - Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request stringParameter Name - The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request stringParameter Position - The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request stringParameter Type - The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default_
value str - The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name str
- The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
- position str
- The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant_
request_ strparameter_ desc - Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant_
request_ strparameter_ name - The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant_
request_ strparameter_ position - The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant_
request_ strparameter_ type - The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- default
Value String - The default value for the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- name String
- The backend service parameter name of the API. This parameter is only used when ServiceType is HTTP. The front and rear parameter names can be different.Note: This field may return null, indicating that a valid value cannot be obtained.
- position String
- The backend service parameter location of the API, such as head. This parameter is only used when ServiceType is HTTP. The parameter positions at the front and rear ends can be configured differently.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Desc - Remarks on the backend service parameters of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Name - The name of the front-end parameter corresponding to the backend service parameter of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Position - The location of the front-end parameters corresponding to the backend service parameters of the API, such as head. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
- relevant
Request StringParameter Type - The backend service parameter type of the API. This parameter is only used when ServiceType is HTTP.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiGatewayApiServiceTsfHealthCheckConf, ApiGatewayApiServiceTsfHealthCheckConfArgs
- Error
Threshold doublePercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- Is
Health boolCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- Request
Volume doubleThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- Sleep
Window doubleIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- Error
Threshold float64Percentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- Is
Health boolCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- Request
Volume float64Threshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- Sleep
Window float64In Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error
Threshold DoublePercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Health BooleanCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request
Volume DoubleThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep
Window DoubleIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error
Threshold numberPercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Health booleanCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request
Volume numberThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep
Window numberIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error_
threshold_ floatpercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is_
health_ boolcheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request_
volume_ floatthreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep_
window_ floatin_ milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error
Threshold NumberPercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Health BooleanCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request
Volume NumberThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep
Window NumberIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiGatewayApiServiceTsfLoadBalanceConf, ApiGatewayApiServiceTsfLoadBalanceConfArgs
- Is
Load boolBalance - Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
- Method string
- Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
- Session
Stick boolRequired - Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
- Session
Stick doubleTimeout - Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
- Is
Load boolBalance - Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
- Method string
- Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
- Session
Stick boolRequired - Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
- Session
Stick float64Timeout - Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Load BooleanBalance - Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
- method String
- Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
- session
Stick BooleanRequired - Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
- session
Stick DoubleTimeout - Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Load booleanBalance - Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
- method string
- Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
- session
Stick booleanRequired - Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
- session
Stick numberTimeout - Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
- is_
load_ boolbalance - Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
- method str
- Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
- session_
stick_ boolrequired - Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
- session_
stick_ floattimeout - Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Load BooleanBalance - Is load balancing enabled.Note: This field may return null, indicating that a valid value cannot be obtained.
- method String
- Load balancing method.Note: This field may return null, indicating that a valid value cannot be obtained.
- session
Stick BooleanRequired - Whether to enable session persistence.Note: This field may return null, indicating that a valid value cannot be obtained.
- session
Stick NumberTimeout - Session hold timeout.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiGatewayApiTargetService, ApiGatewayApiTargetServiceArgs
ApiGatewayApiTargetServicesHealthCheckConf, ApiGatewayApiTargetServicesHealthCheckConfArgs
- Error
Threshold doublePercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- Is
Health boolCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- Request
Volume doubleThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- Sleep
Window doubleIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- Error
Threshold float64Percentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- Is
Health boolCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- Request
Volume float64Threshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- Sleep
Window float64In Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error
Threshold DoublePercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Health BooleanCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request
Volume DoubleThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep
Window DoubleIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error
Threshold numberPercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Health booleanCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request
Volume numberThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep
Window numberIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error_
threshold_ floatpercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is_
health_ boolcheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request_
volume_ floatthreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep_
window_ floatin_ milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
- error
Threshold NumberPercentage - Threshold percentage.Note: This field may return null, indicating that a valid value cannot be obtained.
- is
Health BooleanCheck - Whether to initiate a health check.Note: This field may return null, indicating that a valid value cannot be obtained.
- request
Volume NumberThreshold - Health check threshold.Note: This field may return null, indicating that a valid value cannot be obtained.
- sleep
Window NumberIn Milliseconds - Window size.Note: This field may return null, indicating that a valid value cannot be obtained.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.