tencentcloud.ApiGatewayImportOpenApi
Explore with Pulumi AI
Provides a resource to create a apiGateway import_open_api
Example Usage
Import open Api by YAML
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ApiGatewayImportOpenApi("example", {
content: `info:
title: keep-service
version: 1.0.1
openapi: 3.0.0
paths:
/api/test:
get:
description: desc
operationId: test
responses:
'200':
content:
text/html:
example: '200'
description: '200'
default:
content:
text/html:
example: '400'
description: '400'
x-apigw-api-business-type: NORMAL
x-apigw-api-type: NORMAL
x-apigw-backend:
ServiceConfig:
Method: GET
Path: /test
Url: http://domain.com
ServiceType: HTTP
x-apigw-cors: false
x-apigw-protocol: HTTP
x-apigw-service-timeout: 15
`,
contentVersion: "openAPI",
encodeType: "YAML",
serviceId: "service-nxz6yync",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ApiGatewayImportOpenApi("example",
content="""info:
title: keep-service
version: 1.0.1
openapi: 3.0.0
paths:
/api/test:
get:
description: desc
operationId: test
responses:
'200':
content:
text/html:
example: '200'
description: '200'
default:
content:
text/html:
example: '400'
description: '400'
x-apigw-api-business-type: NORMAL
x-apigw-api-type: NORMAL
x-apigw-backend:
ServiceConfig:
Method: GET
Path: /test
Url: http://domain.com
ServiceType: HTTP
x-apigw-cors: false
x-apigw-protocol: HTTP
x-apigw-service-timeout: 15
""",
content_version="openAPI",
encode_type="YAML",
service_id="service-nxz6yync")
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 {
_, err := tencentcloud.NewApiGatewayImportOpenApi(ctx, "example", &tencentcloud.ApiGatewayImportOpenApiArgs{
Content: pulumi.String(`info:
title: keep-service
version: 1.0.1
openapi: 3.0.0
paths:
/api/test:
get:
description: desc
operationId: test
responses:
'200':
content:
text/html:
example: '200'
description: '200'
default:
content:
text/html:
example: '400'
description: '400'
x-apigw-api-business-type: NORMAL
x-apigw-api-type: NORMAL
x-apigw-backend:
ServiceConfig:
Method: GET
Path: /test
Url: http://domain.com
ServiceType: HTTP
x-apigw-cors: false
x-apigw-protocol: HTTP
x-apigw-service-timeout: 15
`),
ContentVersion: pulumi.String("openAPI"),
EncodeType: pulumi.String("YAML"),
ServiceId: pulumi.String("service-nxz6yync"),
})
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.ApiGatewayImportOpenApi("example", new()
{
Content = @"info:
title: keep-service
version: 1.0.1
openapi: 3.0.0
paths:
/api/test:
get:
description: desc
operationId: test
responses:
'200':
content:
text/html:
example: '200'
description: '200'
default:
content:
text/html:
example: '400'
description: '400'
x-apigw-api-business-type: NORMAL
x-apigw-api-type: NORMAL
x-apigw-backend:
ServiceConfig:
Method: GET
Path: /test
Url: http://domain.com
ServiceType: HTTP
x-apigw-cors: false
x-apigw-protocol: HTTP
x-apigw-service-timeout: 15
",
ContentVersion = "openAPI",
EncodeType = "YAML",
ServiceId = "service-nxz6yync",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApiGatewayImportOpenApi;
import com.pulumi.tencentcloud.ApiGatewayImportOpenApiArgs;
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 ApiGatewayImportOpenApi("example", ApiGatewayImportOpenApiArgs.builder()
.content("""
info:
title: keep-service
version: 1.0.1
openapi: 3.0.0
paths:
/api/test:
get:
description: desc
operationId: test
responses:
'200':
content:
text/html:
example: '200'
description: '200'
default:
content:
text/html:
example: '400'
description: '400'
x-apigw-api-business-type: NORMAL
x-apigw-api-type: NORMAL
x-apigw-backend:
ServiceConfig:
Method: GET
Path: /test
Url: http://domain.com
ServiceType: HTTP
x-apigw-cors: false
x-apigw-protocol: HTTP
x-apigw-service-timeout: 15
""")
.contentVersion("openAPI")
.encodeType("YAML")
.serviceId("service-nxz6yync")
.build());
}
}
resources:
example:
type: tencentcloud:ApiGatewayImportOpenApi
properties:
content: |+
info:
title: keep-service
version: 1.0.1
openapi: 3.0.0
paths:
/api/test:
get:
description: desc
operationId: test
responses:
'200':
content:
text/html:
example: '200'
description: '200'
default:
content:
text/html:
example: '400'
description: '400'
x-apigw-api-business-type: NORMAL
x-apigw-api-type: NORMAL
x-apigw-backend:
ServiceConfig:
Method: GET
Path: /test
Url: http://domain.com
ServiceType: HTTP
x-apigw-cors: false
x-apigw-protocol: HTTP
x-apigw-service-timeout: 15
contentVersion: openAPI
encodeType: YAML
serviceId: service-nxz6yync
Import open Api by JSON
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.ApiGatewayImportOpenApi("example", {
content: "{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}",
contentVersion: "openAPI",
encodeType: "JSON",
serviceId: "service-nxz6yync",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.ApiGatewayImportOpenApi("example",
content="{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}",
content_version="openAPI",
encode_type="JSON",
service_id="service-nxz6yync")
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 {
_, err := tencentcloud.NewApiGatewayImportOpenApi(ctx, "example", &tencentcloud.ApiGatewayImportOpenApiArgs{
Content: pulumi.String("{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}"),
ContentVersion: pulumi.String("openAPI"),
EncodeType: pulumi.String("JSON"),
ServiceId: pulumi.String("service-nxz6yync"),
})
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.ApiGatewayImportOpenApi("example", new()
{
Content = "{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}",
ContentVersion = "openAPI",
EncodeType = "JSON",
ServiceId = "service-nxz6yync",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApiGatewayImportOpenApi;
import com.pulumi.tencentcloud.ApiGatewayImportOpenApiArgs;
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 ApiGatewayImportOpenApi("example", ApiGatewayImportOpenApiArgs.builder()
.content("{\"openapi\": \"3.0.0\", \"info\": {\"title\": \"keep-service\", \"version\": \"1.0.1\"}, \"paths\": {\"/api/test\": {\"get\": {\"operationId\": \"test\", \"description\": \"desc\", \"responses\": {\"200\": {\"description\": \"200\", \"content\": {\"text/html\": {\"example\": \"200\"}}}, \"default\": {\"content\": {\"text/html\": {\"example\": \"400\"}}, \"description\": \"400\"}}, \"x-apigw-api-type\": \"NORMAL\", \"x-apigw-api-business-type\": \"NORMAL\", \"x-apigw-protocol\": \"HTTP\", \"x-apigw-cors\": false, \"x-apigw-service-timeout\": 15, \"x-apigw-backend\": {\"ServiceType\": \"HTTP\", \"ServiceConfig\": {\"Url\": \"http://domain.com\", \"Path\": \"/test\", \"Method\": \"GET\"}}}}}}")
.contentVersion("openAPI")
.encodeType("JSON")
.serviceId("service-nxz6yync")
.build());
}
}
resources:
example:
type: tencentcloud:ApiGatewayImportOpenApi
properties:
content: '{"openapi": "3.0.0", "info": {"title": "keep-service", "version": "1.0.1"}, "paths": {"/api/test": {"get": {"operationId": "test", "description": "desc", "responses": {"200": {"description": "200", "content": {"text/html": {"example": "200"}}}, "default": {"content": {"text/html": {"example": "400"}}, "description": "400"}}, "x-apigw-api-type": "NORMAL", "x-apigw-api-business-type": "NORMAL", "x-apigw-protocol": "HTTP", "x-apigw-cors": false, "x-apigw-service-timeout": 15, "x-apigw-backend": {"ServiceType": "HTTP", "ServiceConfig": {"Url": "http://domain.com", "Path": "/test", "Method": "GET"}}}}}}'
contentVersion: openAPI
encodeType: JSON
serviceId: service-nxz6yync
Create ApiGatewayImportOpenApi Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiGatewayImportOpenApi(name: string, args: ApiGatewayImportOpenApiArgs, opts?: CustomResourceOptions);
@overload
def ApiGatewayImportOpenApi(resource_name: str,
args: ApiGatewayImportOpenApiArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiGatewayImportOpenApi(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
service_id: Optional[str] = None,
api_gateway_import_open_api_id: Optional[str] = None,
content_version: Optional[str] = None,
encode_type: Optional[str] = None)
func NewApiGatewayImportOpenApi(ctx *Context, name string, args ApiGatewayImportOpenApiArgs, opts ...ResourceOption) (*ApiGatewayImportOpenApi, error)
public ApiGatewayImportOpenApi(string name, ApiGatewayImportOpenApiArgs args, CustomResourceOptions? opts = null)
public ApiGatewayImportOpenApi(String name, ApiGatewayImportOpenApiArgs args)
public ApiGatewayImportOpenApi(String name, ApiGatewayImportOpenApiArgs args, CustomResourceOptions options)
type: tencentcloud:ApiGatewayImportOpenApi
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 ApiGatewayImportOpenApiArgs
- 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 ApiGatewayImportOpenApiArgs
- 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 ApiGatewayImportOpenApiArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiGatewayImportOpenApiArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiGatewayImportOpenApiArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApiGatewayImportOpenApi 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 ApiGatewayImportOpenApi resource accepts the following input properties:
- Content string
- OpenAPI body content.
- Service
Id string - The unique ID of the service where the API is located.
- Api
Gateway stringImport Open Api Id - ID of the resource.
- Content
Version string - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- Encode
Type string - The Content format can only be YAML or JSON, and the default is YAML.
- Content string
- OpenAPI body content.
- Service
Id string - The unique ID of the service where the API is located.
- Api
Gateway stringImport Open Api Id - ID of the resource.
- Content
Version string - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- Encode
Type string - The Content format can only be YAML or JSON, and the default is YAML.
- content String
- OpenAPI body content.
- service
Id String - The unique ID of the service where the API is located.
- api
Gateway StringImport Open Api Id - ID of the resource.
- content
Version String - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- encode
Type String - The Content format can only be YAML or JSON, and the default is YAML.
- content string
- OpenAPI body content.
- service
Id string - The unique ID of the service where the API is located.
- api
Gateway stringImport Open Api Id - ID of the resource.
- content
Version string - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- encode
Type string - The Content format can only be YAML or JSON, and the default is YAML.
- content str
- OpenAPI body content.
- service_
id str - The unique ID of the service where the API is located.
- api_
gateway_ strimport_ open_ api_ id - ID of the resource.
- content_
version str - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- encode_
type str - The Content format can only be YAML or JSON, and the default is YAML.
- content String
- OpenAPI body content.
- service
Id String - The unique ID of the service where the API is located.
- api
Gateway StringImport Open Api Id - ID of the resource.
- content
Version String - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- encode
Type String - The Content format can only be YAML or JSON, and the default is YAML.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiGatewayImportOpenApi resource produces the following output properties:
- 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
Id string - Custom Api Id.
- 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 Import Open 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.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Id string
- The provider-assigned unique ID for this managed resource.
- 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 Import Open Api Micro Service> - API bound microservice list.
- Oauth
Configs List<ApiGateway Import Open Api Oauth Config> - OAuth configuration. Effective when AuthType is OAUTH.
- Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter> - Frontend request parameters.
- Response
Error List<ApiCodes Gateway Import Open 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 List<ApiCos Configs Gateway Import Open 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 Import Open Api Service Parameter> - The backend service parameters of the API.
- Service
Tsf List<ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf> - Health check configuration for microservices.
- Service
Tsf List<ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf> - Load balancing configuration for microservices.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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
Id string - Custom Api Id.
- 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 Import Open 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.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Id string
- The provider-assigned unique ID for this managed resource.
- 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 Import Open Api Micro Service - API bound microservice list.
- Oauth
Configs []ApiGateway Import Open Api Oauth Config - OAuth configuration. Effective when AuthType is OAUTH.
- Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter - Frontend request parameters.
- Response
Error []ApiCodes Gateway Import Open 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 Configs Gateway Import Open 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 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 Import Open Api Service Parameter - The backend service parameters of the API.
- Service
Tsf []ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf - Health check configuration for microservices.
- Service
Tsf []ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf - Load balancing configuration for microservices.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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
Id String - Custom Api Id.
- 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 Import Open 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.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - id String
- The provider-assigned unique ID for this managed resource.
- 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 Import Open Api Micro Service> - API bound microservice list.
- oauth
Configs List<ApiGateway Import Open Api Oauth Config> - OAuth configuration. Effective when AuthType is OAUTH.
- protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter> - Frontend request parameters.
- response
Error List<ApiCodes Gateway Import Open 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 List<ApiCos Configs Gateway Import Open 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 Import Open Api Service Parameter> - The backend service parameters of the API.
- service
Tsf List<ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf> - Health check configuration for microservices.
- service
Tsf List<ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf> - Load balancing configuration for microservices.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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
Id string - Custom Api Id.
- 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 Import Open 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.
- enable
Cors boolean - Whether to enable CORS. Default value:
true
. - id string
- The provider-assigned unique ID for this managed resource.
- 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 Import Open Api Micro Service[] - API bound microservice list.
- oauth
Configs ApiGateway Import Open Api Oauth Config[] - OAuth configuration. Effective when AuthType is OAUTH.
- protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter[] - Frontend request parameters.
- response
Error ApiCodes Gateway Import Open 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 Configs Gateway Import Open 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 Import Open Api Service Parameter[] - The backend service parameters of the API.
- service
Tsf ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf[] - Health check configuration for microservices.
- service
Tsf ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf[] - Load balancing configuration for microservices.
- update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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_
id str - Custom Api Id.
- 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 Import Open Api Constant Parameter] - 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.
- enable_
cors bool - Whether to enable CORS. Default value:
true
. - id str
- The provider-assigned unique ID for this managed resource.
- 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 Import Open Api Micro Service] - API bound microservice list.
- oauth_
configs Sequence[ApiGateway Import Open Api Oauth Config] - OAuth configuration. Effective when AuthType is OAUTH.
- protocol str
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter] - Frontend request parameters.
- response_
error_ Sequence[Apicodes Gateway Import Open Api Response Error Code] - Custom error code configuration. Must keep at least one after set.
- response_
fail_ strexample - Response failure sample of custom response configuration.
- response_
success_ strexample - Successful response sample of custom response configuration.
- response_
type str - Return type. Valid values:
HTML
,JSON
,TEXT
,BINARY
,XML
. Default value:HTML
. - service_
config_ Sequence[Apicos_ configs Gateway Import Open 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_ 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 Import Open Api Service Parameter] - The backend service parameters of the API.
- service_
tsf_ Sequence[Apihealth_ check_ confs Gateway Import Open Api Service Tsf Health Check Conf] - Health check configuration for microservices.
- service_
tsf_ Sequence[Apiload_ balance_ confs Gateway Import Open Api Service Tsf Load Balance Conf] - Load balancing configuration for microservices.
- update_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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
Id String - Custom Api Id.
- 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.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - id String
- The provider-assigned unique ID for this managed resource.
- 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
Configs List<Property Map> - OAuth configuration. Effective when AuthType is OAUTH.
- protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 List<Property Map>Cos Configs - 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 List<Property Map>Health Check Confs - Health check configuration for microservices.
- service
Tsf List<Property Map>Load Balance Confs - Load balancing configuration for microservices.
- 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 ApiGatewayImportOpenApi Resource
Get an existing ApiGatewayImportOpenApi 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?: ApiGatewayImportOpenApiState, opts?: CustomResourceOptions): ApiGatewayImportOpenApi
@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_import_open_api_id: Optional[str] = None,
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[ApiGatewayImportOpenApiConstantParameterArgs]] = None,
content: Optional[str] = None,
content_version: Optional[str] = None,
create_time: Optional[str] = None,
enable_cors: Optional[bool] = None,
encode_type: 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[ApiGatewayImportOpenApiMicroServiceArgs]] = None,
oauth_configs: Optional[Sequence[ApiGatewayImportOpenApiOauthConfigArgs]] = None,
protocol: Optional[str] = None,
request_config_method: Optional[str] = None,
request_config_path: Optional[str] = None,
request_parameters: Optional[Sequence[ApiGatewayImportOpenApiRequestParameterArgs]] = None,
response_error_codes: Optional[Sequence[ApiGatewayImportOpenApiResponseErrorCodeArgs]] = None,
response_fail_example: Optional[str] = None,
response_success_example: Optional[str] = None,
response_type: Optional[str] = None,
service_config_cos_configs: Optional[Sequence[ApiGatewayImportOpenApiServiceConfigCosConfigArgs]] = 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[ApiGatewayImportOpenApiServiceParameterArgs]] = None,
service_tsf_health_check_confs: Optional[Sequence[ApiGatewayImportOpenApiServiceTsfHealthCheckConfArgs]] = None,
service_tsf_load_balance_confs: Optional[Sequence[ApiGatewayImportOpenApiServiceTsfLoadBalanceConfArgs]] = None,
update_time: Optional[str] = None) -> ApiGatewayImportOpenApi
func GetApiGatewayImportOpenApi(ctx *Context, name string, id IDInput, state *ApiGatewayImportOpenApiState, opts ...ResourceOption) (*ApiGatewayImportOpenApi, error)
public static ApiGatewayImportOpenApi Get(string name, Input<string> id, ApiGatewayImportOpenApiState? state, CustomResourceOptions? opts = null)
public static ApiGatewayImportOpenApi get(String name, Output<String> id, ApiGatewayImportOpenApiState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ApiGatewayImportOpenApi 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 stringImport Open Api Id - ID of the resource.
- Api
Id string - Custom Api Id.
- 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 Import Open Api Constant Parameter> - Constant parameter.
- Content string
- OpenAPI body content.
- Content
Version string - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Encode
Type string - The Content format can only be YAML or JSON, and the default is YAML.
- 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 Import Open Api Micro Service> - API bound microservice list.
- Oauth
Configs List<ApiGateway Import Open Api Oauth Config> - OAuth configuration. Effective when AuthType is OAUTH.
- Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter> - Frontend request parameters.
- Response
Error List<ApiCodes Gateway Import Open 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 List<ApiCos Configs Gateway Import Open 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.
- Service
Parameters List<ApiGateway Import Open Api Service Parameter> - The backend service parameters of the API.
- Service
Tsf List<ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf> - Health check configuration for microservices.
- Service
Tsf List<ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf> - Load balancing configuration for microservices.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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 stringImport Open Api Id - ID of the resource.
- Api
Id string - Custom Api Id.
- 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 Import Open Api Constant Parameter Args - Constant parameter.
- Content string
- OpenAPI body content.
- Content
Version string - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- Create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- Enable
Cors bool - Whether to enable CORS. Default value:
true
. - Encode
Type string - The Content format can only be YAML or JSON, and the default is YAML.
- 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 Import Open Api Micro Service Args - API bound microservice list.
- Oauth
Configs []ApiGateway Import Open Api Oauth Config Args - OAuth configuration. Effective when AuthType is OAUTH.
- Protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter Args - Frontend request parameters.
- Response
Error []ApiCodes Gateway Import Open 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 Configs Gateway Import Open 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.
- Service
Parameters []ApiGateway Import Open Api Service Parameter Args - The backend service parameters of the API.
- Service
Tsf []ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf Args - Health check configuration for microservices.
- Service
Tsf []ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf Args - Load balancing configuration for microservices.
- Update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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 StringImport Open Api Id - ID of the resource.
- api
Id String - Custom Api Id.
- 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 Import Open Api Constant Parameter> - Constant parameter.
- content String
- OpenAPI body content.
- content
Version String - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - encode
Type String - The Content format can only be YAML or JSON, and the default is YAML.
- 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 Import Open Api Micro Service> - API bound microservice list.
- oauth
Configs List<ApiGateway Import Open Api Oauth Config> - OAuth configuration. Effective when AuthType is OAUTH.
- protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter> - Frontend request parameters.
- response
Error List<ApiCodes Gateway Import Open 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 List<ApiCos Configs Gateway Import Open 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.
- service
Parameters List<ApiGateway Import Open Api Service Parameter> - The backend service parameters of the API.
- service
Tsf List<ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf> - Health check configuration for microservices.
- service
Tsf List<ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf> - Load balancing configuration for microservices.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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 stringImport Open Api Id - ID of the resource.
- api
Id string - Custom Api Id.
- 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 Import Open Api Constant Parameter[] - Constant parameter.
- content string
- OpenAPI body content.
- content
Version string - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- create
Time string - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable
Cors boolean - Whether to enable CORS. Default value:
true
. - encode
Type string - The Content format can only be YAML or JSON, and the default is YAML.
- 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 Import Open Api Micro Service[] - API bound microservice list.
- oauth
Configs ApiGateway Import Open Api Oauth Config[] - OAuth configuration. Effective when AuthType is OAUTH.
- protocol string
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter[] - Frontend request parameters.
- response
Error ApiCodes Gateway Import Open 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 Configs Gateway Import Open 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.
- service
Parameters ApiGateway Import Open Api Service Parameter[] - The backend service parameters of the API.
- service
Tsf ApiHealth Check Confs Gateway Import Open Api Service Tsf Health Check Conf[] - Health check configuration for microservices.
- service
Tsf ApiLoad Balance Confs Gateway Import Open Api Service Tsf Load Balance Conf[] - Load balancing configuration for microservices.
- update
Time string - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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_ strimport_ open_ api_ id - ID of the resource.
- api_
id str - Custom Api Id.
- 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 Import Open Api Constant Parameter Args] - Constant parameter.
- content str
- OpenAPI body content.
- content_
version str - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- create_
time str - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable_
cors bool - Whether to enable CORS. Default value:
true
. - encode_
type str - The Content format can only be YAML or JSON, and the default is YAML.
- 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 Import Open Api Micro Service Args] - API bound microservice list.
- oauth_
configs Sequence[ApiGateway Import Open Api Oauth Config Args] - OAuth configuration. Effective when AuthType is OAUTH.
- protocol str
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 Import Open Api Request Parameter Args] - Frontend request parameters.
- response_
error_ Sequence[Apicodes Gateway Import Open 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_ Sequence[Apicos_ configs Gateway Import Open 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.
- service_
parameters Sequence[ApiGateway Import Open Api Service Parameter Args] - The backend service parameters of the API.
- service_
tsf_ Sequence[Apihealth_ check_ confs Gateway Import Open Api Service Tsf Health Check Conf Args] - Health check configuration for microservices.
- service_
tsf_ Sequence[Apiload_ balance_ confs Gateway Import Open Api Service Tsf Load Balance Conf Args] - Load balancing configuration for microservices.
- update_
time str - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- 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 StringImport Open Api Id - ID of the resource.
- api
Id String - Custom Api Id.
- 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.
- content String
- OpenAPI body content.
- content
Version String - The Content version defaults to OpenAPI and currently only supports OpenAPI.
- create
Time String - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
- enable
Cors Boolean - Whether to enable CORS. Default value:
true
. - encode
Type String - The Content format can only be YAML or JSON, and the default is YAML.
- 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
Configs List<Property Map> - OAuth configuration. Effective when AuthType is OAUTH.
- protocol String
- API frontend request type. Valid values:
HTTP
,WEBSOCKET
. Default value:HTTP
. - 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 List<Property Map>Cos Configs - 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.
- service
Parameters List<Property Map> - The backend service parameters of the API.
- service
Tsf List<Property Map>Health Check Confs - Health check configuration for microservices.
- service
Tsf List<Property Map>Load Balance Confs - Load balancing configuration for microservices.
- update
Time String - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
Supporting Types
ApiGatewayImportOpenApiConstantParameter, ApiGatewayImportOpenApiConstantParameterArgs
- 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.
- Desc string
- Parameter description.
- 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.
- 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.
- Desc string
- Parameter description.
- 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.
- 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.
- desc String
- Parameter description.
- 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.
- 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.
- desc string
- Parameter description.
- 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.
- 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.
- desc str
- Parameter description.
- 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.
- 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.
- desc String
- Parameter description.
- 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.
ApiGatewayImportOpenApiMicroService, ApiGatewayImportOpenApiMicroServiceArgs
- 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.
ApiGatewayImportOpenApiOauthConfig, ApiGatewayImportOpenApiOauthConfigArgs
- 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 string - Public key, used to verify user tokens.
- token
Location string - Token passes the position.
- login_
redirect_ strurl - 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 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.
ApiGatewayImportOpenApiRequestParameter, ApiGatewayImportOpenApiRequestParameterArgs
- 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.
- Desc string
- Parameter description.
- 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.
- Required bool
- If this parameter required. Default value:
false
. - Type string
- Parameter type.
- 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.
- Desc string
- Parameter description.
- 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.
- Required bool
- If this parameter required. Default value:
false
. - Type string
- Parameter type.
- 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.
- desc String
- Parameter description.
- 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.
- required Boolean
- If this parameter required. Default value:
false
. - type String
- Parameter type.
- 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.
- desc string
- Parameter description.
- 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.
- required boolean
- If this parameter required. Default value:
false
. - type string
- Parameter type.
- 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.
- desc str
- Parameter description.
- 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.
- required bool
- If this parameter required. Default value:
false
. - type str
- Parameter type.
- 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.
- desc String
- Parameter description.
- 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.
- required Boolean
- If this parameter required. Default value:
false
. - type String
- Parameter type.
ApiGatewayImportOpenApiResponseErrorCode, ApiGatewayImportOpenApiResponseErrorCodeArgs
- Code double
- Custom response configuration error code.
- Converted
Code double - Custom error code conversion.
- Desc string
- Parameter description.
- Msg string
- Custom response configuration error message.
- Need
Convert bool - Whether to enable error code conversion. Default value:
false
.
- Code float64
- Custom response configuration error code.
- Converted
Code float64 - Custom error code conversion.
- Desc string
- Parameter description.
- Msg string
- Custom response configuration error message.
- Need
Convert bool - Whether to enable error code conversion. Default value:
false
.
- code Double
- Custom response configuration error code.
- converted
Code Double - Custom error code conversion.
- desc String
- Parameter description.
- msg String
- Custom response configuration error message.
- need
Convert Boolean - Whether to enable error code conversion. Default value:
false
.
- code number
- Custom response configuration error code.
- converted
Code number - Custom error code conversion.
- desc string
- Parameter description.
- msg string
- Custom response configuration error message.
- need
Convert boolean - Whether to enable error code conversion. Default value:
false
.
- code float
- Custom response configuration error code.
- converted_
code float - Custom error code conversion.
- desc str
- Parameter description.
- msg str
- Custom response configuration error message.
- need_
convert bool - Whether to enable error code conversion. Default value:
false
.
- code Number
- Custom response configuration error code.
- converted
Code Number - Custom error code conversion.
- desc String
- Parameter description.
- msg String
- Custom response configuration error message.
- need
Convert Boolean - Whether to enable error code conversion. Default value:
false
.
ApiGatewayImportOpenApiServiceConfigCosConfig, ApiGatewayImportOpenApiServiceConfigCosConfigArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
ApiGatewayImportOpenApiServiceParameter, ApiGatewayImportOpenApiServiceParameterArgs
- 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.
ApiGatewayImportOpenApiServiceTsfHealthCheckConf, ApiGatewayImportOpenApiServiceTsfHealthCheckConfArgs
- 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.
ApiGatewayImportOpenApiServiceTsfLoadBalanceConf, ApiGatewayImportOpenApiServiceTsfLoadBalanceConfArgs
- 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.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.