tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getApiGatewayApiAppService
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of apigateway api_app_services
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const exampleApiGatewayService = new tencentcloud.ApiGatewayService("exampleApiGatewayService", {
serviceName: "tf_example",
protocol: "http&https",
serviceDesc: "desc.",
netTypes: [
"INNER",
"OUTER",
],
ipVersion: "IPv4",
});
const exampleApiGatewayApi = new tencentcloud.ApiGatewayApi("exampleApiGatewayApi", {
serviceId: exampleApiGatewayService.apiGatewayServiceId,
apiName: "tf_example",
apiDesc: "my hello api update",
authType: "APP",
protocol: "HTTP",
enableCors: true,
requestConfigPath: "/user/info",
requestConfigMethod: "POST",
requestParameters: [{
name: "email",
position: "QUERY",
type: "string",
desc: "desc.",
defaultValue: "test@qq.com",
required: true,
}],
serviceConfigType: "HTTP",
serviceConfigTimeout: 10,
serviceConfigUrl: "http://www.tencent.com",
serviceConfigPath: "/user",
serviceConfigMethod: "POST",
responseType: "XML",
responseSuccessExample: "<note>success</note>",
responseFailExample: "<note>fail</note>",
responseErrorCodes: [{
code: 500,
msg: "system error",
desc: "system error code",
convertedCode: 5000,
needConvert: true,
}],
});
const exampleApiGatewayApiAppService = tencentcloud.getApiGatewayApiAppServiceOutput({
serviceId: exampleApiGatewayApi.serviceId,
apiRegion: "ap-guangzhou",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example_api_gateway_service = tencentcloud.ApiGatewayService("exampleApiGatewayService",
service_name="tf_example",
protocol="http&https",
service_desc="desc.",
net_types=[
"INNER",
"OUTER",
],
ip_version="IPv4")
example_api_gateway_api = tencentcloud.ApiGatewayApi("exampleApiGatewayApi",
service_id=example_api_gateway_service.api_gateway_service_id,
api_name="tf_example",
api_desc="my hello api update",
auth_type="APP",
protocol="HTTP",
enable_cors=True,
request_config_path="/user/info",
request_config_method="POST",
request_parameters=[{
"name": "email",
"position": "QUERY",
"type": "string",
"desc": "desc.",
"default_value": "test@qq.com",
"required": True,
}],
service_config_type="HTTP",
service_config_timeout=10,
service_config_url="http://www.tencent.com",
service_config_path="/user",
service_config_method="POST",
response_type="XML",
response_success_example="<note>success</note>",
response_fail_example="<note>fail</note>",
response_error_codes=[{
"code": 500,
"msg": "system error",
"desc": "system error code",
"converted_code": 5000,
"need_convert": True,
}])
example_api_gateway_api_app_service = tencentcloud.get_api_gateway_api_app_service_output(service_id=example_api_gateway_api.service_id,
api_region="ap-guangzhou")
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 {
exampleApiGatewayService, err := tencentcloud.NewApiGatewayService(ctx, "exampleApiGatewayService", &tencentcloud.ApiGatewayServiceArgs{
ServiceName: pulumi.String("tf_example"),
Protocol: pulumi.String("http&https"),
ServiceDesc: pulumi.String("desc."),
NetTypes: pulumi.StringArray{
pulumi.String("INNER"),
pulumi.String("OUTER"),
},
IpVersion: pulumi.String("IPv4"),
})
if err != nil {
return err
}
exampleApiGatewayApi, err := tencentcloud.NewApiGatewayApi(ctx, "exampleApiGatewayApi", &tencentcloud.ApiGatewayApiArgs{
ServiceId: exampleApiGatewayService.ApiGatewayServiceId,
ApiName: pulumi.String("tf_example"),
ApiDesc: pulumi.String("my hello api update"),
AuthType: pulumi.String("APP"),
Protocol: pulumi.String("HTTP"),
EnableCors: pulumi.Bool(true),
RequestConfigPath: pulumi.String("/user/info"),
RequestConfigMethod: pulumi.String("POST"),
RequestParameters: tencentcloud.ApiGatewayApiRequestParameterArray{
&tencentcloud.ApiGatewayApiRequestParameterArgs{
Name: pulumi.String("email"),
Position: pulumi.String("QUERY"),
Type: pulumi.String("string"),
Desc: pulumi.String("desc."),
DefaultValue: pulumi.String("test@qq.com"),
Required: pulumi.Bool(true),
},
},
ServiceConfigType: pulumi.String("HTTP"),
ServiceConfigTimeout: pulumi.Float64(10),
ServiceConfigUrl: pulumi.String("http://www.tencent.com"),
ServiceConfigPath: pulumi.String("/user"),
ServiceConfigMethod: pulumi.String("POST"),
ResponseType: pulumi.String("XML"),
ResponseSuccessExample: pulumi.String("<note>success</note>"),
ResponseFailExample: pulumi.String("<note>fail</note>"),
ResponseErrorCodes: tencentcloud.ApiGatewayApiResponseErrorCodeArray{
&tencentcloud.ApiGatewayApiResponseErrorCodeArgs{
Code: pulumi.Float64(500),
Msg: pulumi.String("system error"),
Desc: pulumi.String("system error code"),
ConvertedCode: pulumi.Float64(5000),
NeedConvert: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
_ = tencentcloud.GetApiGatewayApiAppServiceOutput(ctx, tencentcloud.GetApiGatewayApiAppServiceOutputArgs{
ServiceId: exampleApiGatewayApi.ServiceId,
ApiRegion: pulumi.String("ap-guangzhou"),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var exampleApiGatewayService = new Tencentcloud.ApiGatewayService("exampleApiGatewayService", new()
{
ServiceName = "tf_example",
Protocol = "http&https",
ServiceDesc = "desc.",
NetTypes = new[]
{
"INNER",
"OUTER",
},
IpVersion = "IPv4",
});
var exampleApiGatewayApi = new Tencentcloud.ApiGatewayApi("exampleApiGatewayApi", new()
{
ServiceId = exampleApiGatewayService.ApiGatewayServiceId,
ApiName = "tf_example",
ApiDesc = "my hello api update",
AuthType = "APP",
Protocol = "HTTP",
EnableCors = true,
RequestConfigPath = "/user/info",
RequestConfigMethod = "POST",
RequestParameters = new[]
{
new Tencentcloud.Inputs.ApiGatewayApiRequestParameterArgs
{
Name = "email",
Position = "QUERY",
Type = "string",
Desc = "desc.",
DefaultValue = "test@qq.com",
Required = true,
},
},
ServiceConfigType = "HTTP",
ServiceConfigTimeout = 10,
ServiceConfigUrl = "http://www.tencent.com",
ServiceConfigPath = "/user",
ServiceConfigMethod = "POST",
ResponseType = "XML",
ResponseSuccessExample = "<note>success</note>",
ResponseFailExample = "<note>fail</note>",
ResponseErrorCodes = new[]
{
new Tencentcloud.Inputs.ApiGatewayApiResponseErrorCodeArgs
{
Code = 500,
Msg = "system error",
Desc = "system error code",
ConvertedCode = 5000,
NeedConvert = true,
},
},
});
var exampleApiGatewayApiAppService = Tencentcloud.GetApiGatewayApiAppService.Invoke(new()
{
ServiceId = exampleApiGatewayApi.ServiceId,
ApiRegion = "ap-guangzhou",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApiGatewayService;
import com.pulumi.tencentcloud.ApiGatewayServiceArgs;
import com.pulumi.tencentcloud.ApiGatewayApi;
import com.pulumi.tencentcloud.ApiGatewayApiArgs;
import com.pulumi.tencentcloud.inputs.ApiGatewayApiRequestParameterArgs;
import com.pulumi.tencentcloud.inputs.ApiGatewayApiResponseErrorCodeArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetApiGatewayApiAppServiceArgs;
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 exampleApiGatewayService = new ApiGatewayService("exampleApiGatewayService", ApiGatewayServiceArgs.builder()
.serviceName("tf_example")
.protocol("http&https")
.serviceDesc("desc.")
.netTypes(
"INNER",
"OUTER")
.ipVersion("IPv4")
.build());
var exampleApiGatewayApi = new ApiGatewayApi("exampleApiGatewayApi", ApiGatewayApiArgs.builder()
.serviceId(exampleApiGatewayService.apiGatewayServiceId())
.apiName("tf_example")
.apiDesc("my hello api update")
.authType("APP")
.protocol("HTTP")
.enableCors(true)
.requestConfigPath("/user/info")
.requestConfigMethod("POST")
.requestParameters(ApiGatewayApiRequestParameterArgs.builder()
.name("email")
.position("QUERY")
.type("string")
.desc("desc.")
.defaultValue("test@qq.com")
.required(true)
.build())
.serviceConfigType("HTTP")
.serviceConfigTimeout(10)
.serviceConfigUrl("http://www.tencent.com")
.serviceConfigPath("/user")
.serviceConfigMethod("POST")
.responseType("XML")
.responseSuccessExample("<note>success</note>")
.responseFailExample("<note>fail</note>")
.responseErrorCodes(ApiGatewayApiResponseErrorCodeArgs.builder()
.code(500)
.msg("system error")
.desc("system error code")
.convertedCode(5000)
.needConvert(true)
.build())
.build());
final var exampleApiGatewayApiAppService = TencentcloudFunctions.getApiGatewayApiAppService(GetApiGatewayApiAppServiceArgs.builder()
.serviceId(exampleApiGatewayApi.serviceId())
.apiRegion("ap-guangzhou")
.build());
}
}
resources:
exampleApiGatewayService:
type: tencentcloud:ApiGatewayService
properties:
serviceName: tf_example
protocol: http&https
serviceDesc: desc.
netTypes:
- INNER
- OUTER
ipVersion: IPv4
exampleApiGatewayApi:
type: tencentcloud:ApiGatewayApi
properties:
serviceId: ${exampleApiGatewayService.apiGatewayServiceId}
apiName: tf_example
apiDesc: my hello api update
authType: APP
protocol: HTTP
enableCors: true
requestConfigPath: /user/info
requestConfigMethod: POST
requestParameters:
- name: email
position: QUERY
type: string
desc: desc.
defaultValue: test@qq.com
required: true
serviceConfigType: HTTP
serviceConfigTimeout: 10
serviceConfigUrl: http://www.tencent.com
serviceConfigPath: /user
serviceConfigMethod: POST
responseType: XML
responseSuccessExample: <note>success</note>
responseFailExample: <note>fail</note>
responseErrorCodes:
- code: 500
msg: system error
desc: system error code
convertedCode: 5000
needConvert: true
variables:
exampleApiGatewayApiAppService:
fn::invoke:
function: tencentcloud:getApiGatewayApiAppService
arguments:
serviceId: ${exampleApiGatewayApi.serviceId}
apiRegion: ap-guangzhou
Using getApiGatewayApiAppService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApiGatewayApiAppService(args: GetApiGatewayApiAppServiceArgs, opts?: InvokeOptions): Promise<GetApiGatewayApiAppServiceResult>
function getApiGatewayApiAppServiceOutput(args: GetApiGatewayApiAppServiceOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayApiAppServiceResult>
def get_api_gateway_api_app_service(api_region: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiGatewayApiAppServiceResult
def get_api_gateway_api_app_service_output(api_region: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
service_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiGatewayApiAppServiceResult]
func GetApiGatewayApiAppService(ctx *Context, args *GetApiGatewayApiAppServiceArgs, opts ...InvokeOption) (*GetApiGatewayApiAppServiceResult, error)
func GetApiGatewayApiAppServiceOutput(ctx *Context, args *GetApiGatewayApiAppServiceOutputArgs, opts ...InvokeOption) GetApiGatewayApiAppServiceResultOutput
> Note: This function is named GetApiGatewayApiAppService
in the Go SDK.
public static class GetApiGatewayApiAppService
{
public static Task<GetApiGatewayApiAppServiceResult> InvokeAsync(GetApiGatewayApiAppServiceArgs args, InvokeOptions? opts = null)
public static Output<GetApiGatewayApiAppServiceResult> Invoke(GetApiGatewayApiAppServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApiGatewayApiAppServiceResult> getApiGatewayApiAppService(GetApiGatewayApiAppServiceArgs args, InvokeOptions options)
public static Output<GetApiGatewayApiAppServiceResult> getApiGatewayApiAppService(GetApiGatewayApiAppServiceArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getApiGatewayApiAppService:getApiGatewayApiAppService
arguments:
# arguments dictionary
The following arguments are supported:
- Api
Region string - Territory to which the service belongs.
- Service
Id string - The unique ID of the service to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- Api
Region string - Territory to which the service belongs.
- Service
Id string - The unique ID of the service to be queried.
- Id string
- Result
Output stringFile - Used to save results.
- api
Region String - Territory to which the service belongs.
- service
Id String - The unique ID of the service to be queried.
- id String
- result
Output StringFile - Used to save results.
- api
Region string - Territory to which the service belongs.
- service
Id string - The unique ID of the service to be queried.
- id string
- result
Output stringFile - Used to save results.
- api_
region str - Territory to which the service belongs.
- service_
id str - The unique ID of the service to be queried.
- id str
- result_
output_ strfile - Used to save results.
- api
Region String - Territory to which the service belongs.
- service
Id String - The unique ID of the service to be queried.
- id String
- result
Output StringFile - Used to save results.
getApiGatewayApiAppService Result
The following output properties are available:
- Api
Id List<GetStatus Sets Api Gateway Api App Service Api Id Status Set> - API list.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Region string - Api
Total doubleCount - Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
- Available
Environments List<string> - List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
- Created
Time string - Use planned time.
- Id string
- Inner
Http doublePort - Internal network access HTTP service port number.
- Inner
Https doublePort - Internal network access https port number.
- Internal
Sub stringDomain - Intranet access sub domain name.
- Ip
Version string - IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
- Modified
Time string - Use the schedule to modify the time.
- Net
Types List<string> - A list of network types, where INNER represents internal network access and OUTER represents external network access.
- Outer
Sub stringDomain - External network access sub domain name.
- Protocol string
- Service support protocol, optional values are http, https, and http&https.
- Service
Desc string - Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
- Service
Id string - Service unique ID.
- Service
Name string - Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
- Set
Id double - Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
- Usage
Plan List<GetLists Api Gateway Api App Service Usage Plan List> - Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
- Usage
Plan doubleTotal Count - Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
- User
Type string - The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
- Result
Output stringFile
- Api
Id []GetStatus Sets Api Gateway Api App Service Api Id Status Set - API list.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Region string - Api
Total float64Count - Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
- Available
Environments []string - List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
- Created
Time string - Use planned time.
- Id string
- Inner
Http float64Port - Internal network access HTTP service port number.
- Inner
Https float64Port - Internal network access https port number.
- Internal
Sub stringDomain - Intranet access sub domain name.
- Ip
Version string - IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
- Modified
Time string - Use the schedule to modify the time.
- Net
Types []string - A list of network types, where INNER represents internal network access and OUTER represents external network access.
- Outer
Sub stringDomain - External network access sub domain name.
- Protocol string
- Service support protocol, optional values are http, https, and http&https.
- Service
Desc string - Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
- Service
Id string - Service unique ID.
- Service
Name string - Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
- Set
Id float64 - Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
- Usage
Plan []GetLists Api Gateway Api App Service Usage Plan List - Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
- Usage
Plan float64Total Count - Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
- User
Type string - The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
- Result
Output stringFile
- api
Id List<GetStatus Sets Api Gateway Api App Service Api Id Status Set> - API list.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Region String - api
Total DoubleCount - Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
- available
Environments List<String> - List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
- created
Time String - Use planned time.
- id String
- inner
Http DoublePort - Internal network access HTTP service port number.
- inner
Https DoublePort - Internal network access https port number.
- internal
Sub StringDomain - Intranet access sub domain name.
- ip
Version String - IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
- modified
Time String - Use the schedule to modify the time.
- net
Types List<String> - A list of network types, where INNER represents internal network access and OUTER represents external network access.
- outer
Sub StringDomain - External network access sub domain name.
- protocol String
- Service support protocol, optional values are http, https, and http&https.
- service
Desc String - Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Id String - Service unique ID.
- service
Name String - Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
- set
Id Double - Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan List<GetLists Api Gateway Api App Service Usage Plan List> - Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan DoubleTotal Count - Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
- user
Type String - The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output StringFile
- api
Id GetStatus Sets Api Gateway Api App Service Api Id Status Set[] - API list.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Region string - api
Total numberCount - Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
- available
Environments string[] - List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
- created
Time string - Use planned time.
- id string
- inner
Http numberPort - Internal network access HTTP service port number.
- inner
Https numberPort - Internal network access https port number.
- internal
Sub stringDomain - Intranet access sub domain name.
- ip
Version string - IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
- modified
Time string - Use the schedule to modify the time.
- net
Types string[] - A list of network types, where INNER represents internal network access and OUTER represents external network access.
- outer
Sub stringDomain - External network access sub domain name.
- protocol string
- Service support protocol, optional values are http, https, and http&https.
- service
Desc string - Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Id string - Service unique ID.
- service
Name string - Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
- set
Id number - Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan GetLists Api Gateway Api App Service Usage Plan List[] - Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan numberTotal Count - Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
- user
Type string - The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output stringFile
- api_
id_ Sequence[Getstatus_ sets Api Gateway Api App Service Api Id Status Set] - API list.Note: This field may return null, indicating that a valid value cannot be obtained.
- api_
region str - api_
total_ floatcount - Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
- available_
environments Sequence[str] - List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
- created_
time str - Use planned time.
- id str
- inner_
http_ floatport - Internal network access HTTP service port number.
- inner_
https_ floatport - Internal network access https port number.
- internal_
sub_ strdomain - Intranet access sub domain name.
- ip_
version str - IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
- modified_
time str - Use the schedule to modify the time.
- net_
types Sequence[str] - A list of network types, where INNER represents internal network access and OUTER represents external network access.
- outer_
sub_ strdomain - External network access sub domain name.
- protocol str
- Service support protocol, optional values are http, https, and http&https.
- service_
desc str - Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
- service_
id str - Service unique ID.
- service_
name str - Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
- set_
id float - Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage_
plan_ Sequence[Getlists Api Gateway Api App Service Usage Plan List] - Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage_
plan_ floattotal_ count - Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
- user_
type str - The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
- result_
output_ strfile
- api
Id List<Property Map>Status Sets - API list.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Region String - api
Total NumberCount - Total number of APIs.Note: This field may return null, indicating that a valid value cannot be obtained.
- available
Environments List<String> - List of service environments.Note: This field may return null, indicating that a valid value cannot be obtained.
- created
Time String - Use planned time.
- id String
- inner
Http NumberPort - Internal network access HTTP service port number.
- inner
Https NumberPort - Internal network access https port number.
- internal
Sub StringDomain - Intranet access sub domain name.
- ip
Version String - IP version.Note: This field may return null, indicating that a valid value cannot be obtained.
- modified
Time String - Use the schedule to modify the time.
- net
Types List<String> - A list of network types, where INNER represents internal network access and OUTER represents external network access.
- outer
Sub StringDomain - External network access sub domain name.
- protocol String
- Service support protocol, optional values are http, https, and http&https.
- service
Desc String - Service description.Note: This field may return null, indicating that a valid value cannot be obtained.
- service
Id String - Service unique ID.
- service
Name String - Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
- set
Id Number - Reserved fields.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan List<Property Map>Lists - Use a plan array.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan NumberTotal Count - Total number of usage plans.Note: This field may return null, indicating that a valid value cannot be obtained.
- user
Type String - The user type of this service.Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output StringFile
Supporting Types
GetApiGatewayApiAppServiceApiIdStatusSet
- Api
Business stringType - API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Desc string - API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
- Api
Id string - API unique ID.
- Api
Name string - API name.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Type string - API type.Note: This field may return null, indicating that a valid value cannot be obtained.
- Auth
Relation stringApi Id - Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
- Auth
Type string - Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
- Created
Time string - Use planned time.
- Is
Debug boolAfter Charge - Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
- Method string
- API METHOD.
- Modified
Time string - Use the schedule to modify the time.
- Oauth
Configs List<GetApi Gateway Api App Service Api Id Status Set Oauth Config> - OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
- Path string
- API PATH.
- Protocol string
- Service support protocol, optional values are http, https, and http&https.
- Service
Id string - The unique ID of the service to be queried.
- Token
Location string - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- Uniq
Vpc stringId - VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Business stringType - API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Desc string - API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
- Api
Id string - API unique ID.
- Api
Name string - API name.Note: This field may return null, indicating that a valid value cannot be obtained.
- Api
Type string - API type.Note: This field may return null, indicating that a valid value cannot be obtained.
- Auth
Relation stringApi Id - Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
- Auth
Type string - Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
- Created
Time string - Use planned time.
- Is
Debug boolAfter Charge - Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
- Method string
- API METHOD.
- Modified
Time string - Use the schedule to modify the time.
- Oauth
Configs []GetApi Gateway Api App Service Api Id Status Set Oauth Config - OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
- Path string
- API PATH.
- Protocol string
- Service support protocol, optional values are http, https, and http&https.
- Service
Id string - The unique ID of the service to be queried.
- Token
Location string - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- Uniq
Vpc stringId - VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Business StringType - API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Desc String - API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
- api
Id String - API unique ID.
- api
Name String - API name.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Type String - API type.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth
Relation StringApi Id - Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth
Type String - Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
- created
Time String - Use planned time.
- is
Debug BooleanAfter Charge - Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
- method String
- API METHOD.
- modified
Time String - Use the schedule to modify the time.
- oauth
Configs List<GetApi Gateway Api App Service Api Id Status Set Oauth Config> - OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
- path String
- API PATH.
- protocol String
- Service support protocol, optional values are http, https, and http&https.
- service
Id String - The unique ID of the service to be queried.
- token
Location String - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- uniq
Vpc StringId - VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Business stringType - API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Desc string - API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
- api
Id string - API unique ID.
- api
Name string - API name.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Type string - API type.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth
Relation stringApi Id - Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth
Type string - Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
- created
Time string - Use planned time.
- is
Debug booleanAfter Charge - Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
- method string
- API METHOD.
- modified
Time string - Use the schedule to modify the time.
- oauth
Configs GetApi Gateway Api App Service Api Id Status Set Oauth Config[] - OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
- path string
- API PATH.
- protocol string
- Service support protocol, optional values are http, https, and http&https.
- service
Id string - The unique ID of the service to be queried.
- token
Location string - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- uniq
Vpc stringId - VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
- api_
business_ strtype - API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
- api_
desc str - API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
- api_
id str - API unique ID.
- api_
name str - API name.Note: This field may return null, indicating that a valid value cannot be obtained.
- api_
type str - API type.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth_
relation_ strapi_ id - Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth_
type str - Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
- created_
time str - Use planned time.
- is_
debug_ boolafter_ charge - Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
- method str
- API METHOD.
- modified_
time str - Use the schedule to modify the time.
- oauth_
configs Sequence[GetApi Gateway Api App Service Api Id Status Set Oauth Config] - OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
- path str
- API PATH.
- protocol str
- Service support protocol, optional values are http, https, and http&https.
- service_
id str - The unique ID of the service to be queried.
- token_
location str - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- uniq_
vpc_ strid - VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Business StringType - API business type.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Desc String - API DescriptionNote: This field may return null, indicating that a valid value cannot be obtained.
- api
Id String - API unique ID.
- api
Name String - API name.Note: This field may return null, indicating that a valid value cannot be obtained.
- api
Type String - API type.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth
Relation StringApi Id - Unique ID of the association authorization API.Note: This field may return null, indicating that a valid value cannot be obtained.
- auth
Type String - Authorization type.Note: This field may return null, indicating that a valid value cannot be obtained.
- created
Time String - Use planned time.
- is
Debug BooleanAfter Charge - Whether to debug after purchase.Note: This field may return null, indicating that a valid value cannot be obtained.
- method String
- API METHOD.
- modified
Time String - Use the schedule to modify the time.
- oauth
Configs List<Property Map> - OAuth configuration information.Note: This field may return null, indicating that a valid value cannot be obtained.
- path String
- API PATH.
- protocol String
- Service support protocol, optional values are http, https, and http&https.
- service
Id String - The unique ID of the service to be queried.
- token
Location String - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- uniq
Vpc StringId - VPC unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
GetApiGatewayApiAppServiceApiIdStatusSetOauthConfig
- 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 - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- 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 - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- 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 - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- 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 - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- 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 - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
- 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 - OAuth2.0 API request, token storage location.Note: This field may return null, indicating that a valid value cannot be obtained.
GetApiGatewayApiAppServiceUsagePlanList
- Created
Time string - Use planned time.
- Environment string
- Environment name.
- Max
Request doubleNum Pre Sec - Use plan qps, -1 indicates no restrictions.
- Modified
Time string - Use the schedule to modify the time.
- Usage
Plan stringDesc - Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
- Usage
Plan stringId - Use a unique ID for the plan.
- Usage
Plan stringName - Use the plan name.
- Created
Time string - Use planned time.
- Environment string
- Environment name.
- Max
Request float64Num Pre Sec - Use plan qps, -1 indicates no restrictions.
- Modified
Time string - Use the schedule to modify the time.
- Usage
Plan stringDesc - Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
- Usage
Plan stringId - Use a unique ID for the plan.
- Usage
Plan stringName - Use the plan name.
- created
Time String - Use planned time.
- environment String
- Environment name.
- max
Request DoubleNum Pre Sec - Use plan qps, -1 indicates no restrictions.
- modified
Time String - Use the schedule to modify the time.
- usage
Plan StringDesc - Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan StringId - Use a unique ID for the plan.
- usage
Plan StringName - Use the plan name.
- created
Time string - Use planned time.
- environment string
- Environment name.
- max
Request numberNum Pre Sec - Use plan qps, -1 indicates no restrictions.
- modified
Time string - Use the schedule to modify the time.
- usage
Plan stringDesc - Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan stringId - Use a unique ID for the plan.
- usage
Plan stringName - Use the plan name.
- created_
time str - Use planned time.
- environment str
- Environment name.
- max_
request_ floatnum_ pre_ sec - Use plan qps, -1 indicates no restrictions.
- modified_
time str - Use the schedule to modify the time.
- usage_
plan_ strdesc - Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage_
plan_ strid - Use a unique ID for the plan.
- usage_
plan_ strname - Use the plan name.
- created
Time String - Use planned time.
- environment String
- Environment name.
- max
Request NumberNum Pre Sec - Use plan qps, -1 indicates no restrictions.
- modified
Time String - Use the schedule to modify the time.
- usage
Plan StringDesc - Use plan description.Note: This field may return null, indicating that a valid value cannot be obtained.
- usage
Plan StringId - Use a unique ID for the plan.
- usage
Plan StringName - Use the plan name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack