tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getApiGatewayThrottlingServices
Start a Neo task
Explain and create a tencentcloud.getApiGatewayThrottlingServices resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query API gateway throttling services.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const service = new tencentcloud.ApiGatewayService("service", {
serviceName: "niceservice",
protocol: "http&https",
serviceDesc: "your nice service",
netTypes: [
"INNER",
"OUTER",
],
ipVersion: "IPv4",
releaseLimit: 100,
preLimit: 100,
testLimit: 100,
});
const id = tencentcloud.getApiGatewayThrottlingServicesOutput({
serviceId: service.apiGatewayServiceId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
service = tencentcloud.ApiGatewayService("service",
service_name="niceservice",
protocol="http&https",
service_desc="your nice service",
net_types=[
"INNER",
"OUTER",
],
ip_version="IPv4",
release_limit=100,
pre_limit=100,
test_limit=100)
id = tencentcloud.get_api_gateway_throttling_services_output(service_id=service.api_gateway_service_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
service, err := tencentcloud.NewApiGatewayService(ctx, "service", &tencentcloud.ApiGatewayServiceArgs{
ServiceName: pulumi.String("niceservice"),
Protocol: pulumi.String("http&https"),
ServiceDesc: pulumi.String("your nice service"),
NetTypes: pulumi.StringArray{
pulumi.String("INNER"),
pulumi.String("OUTER"),
},
IpVersion: pulumi.String("IPv4"),
ReleaseLimit: pulumi.Float64(100),
PreLimit: pulumi.Float64(100),
TestLimit: pulumi.Float64(100),
})
if err != nil {
return err
}
_ = tencentcloud.GetApiGatewayThrottlingServicesOutput(ctx, tencentcloud.GetApiGatewayThrottlingServicesOutputArgs{
ServiceId: service.ApiGatewayServiceId,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var service = new Tencentcloud.ApiGatewayService("service", new()
{
ServiceName = "niceservice",
Protocol = "http&https",
ServiceDesc = "your nice service",
NetTypes = new[]
{
"INNER",
"OUTER",
},
IpVersion = "IPv4",
ReleaseLimit = 100,
PreLimit = 100,
TestLimit = 100,
});
var id = Tencentcloud.GetApiGatewayThrottlingServices.Invoke(new()
{
ServiceId = service.ApiGatewayServiceId,
});
});
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.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetApiGatewayThrottlingServicesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var service = new ApiGatewayService("service", ApiGatewayServiceArgs.builder()
.serviceName("niceservice")
.protocol("http&https")
.serviceDesc("your nice service")
.netTypes(
"INNER",
"OUTER")
.ipVersion("IPv4")
.releaseLimit(100.0)
.preLimit(100.0)
.testLimit(100.0)
.build());
final var id = TencentcloudFunctions.getApiGatewayThrottlingServices(GetApiGatewayThrottlingServicesArgs.builder()
.serviceId(service.apiGatewayServiceId())
.build());
}
}
resources:
service:
type: tencentcloud:ApiGatewayService
properties:
serviceName: niceservice
protocol: http&https
serviceDesc: your nice service
netTypes:
- INNER
- OUTER
ipVersion: IPv4
releaseLimit: 100
preLimit: 100
testLimit: 100
variables:
id:
fn::invoke:
function: tencentcloud:getApiGatewayThrottlingServices
arguments:
serviceId: ${service.apiGatewayServiceId}
Using getApiGatewayThrottlingServices
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 getApiGatewayThrottlingServices(args: GetApiGatewayThrottlingServicesArgs, opts?: InvokeOptions): Promise<GetApiGatewayThrottlingServicesResult>
function getApiGatewayThrottlingServicesOutput(args: GetApiGatewayThrottlingServicesOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayThrottlingServicesResult>def get_api_gateway_throttling_services(id: Optional[str] = None,
result_output_file: Optional[str] = None,
service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiGatewayThrottlingServicesResult
def get_api_gateway_throttling_services_output(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[GetApiGatewayThrottlingServicesResult]func GetApiGatewayThrottlingServices(ctx *Context, args *GetApiGatewayThrottlingServicesArgs, opts ...InvokeOption) (*GetApiGatewayThrottlingServicesResult, error)
func GetApiGatewayThrottlingServicesOutput(ctx *Context, args *GetApiGatewayThrottlingServicesOutputArgs, opts ...InvokeOption) GetApiGatewayThrottlingServicesResultOutput> Note: This function is named GetApiGatewayThrottlingServices in the Go SDK.
public static class GetApiGatewayThrottlingServices
{
public static Task<GetApiGatewayThrottlingServicesResult> InvokeAsync(GetApiGatewayThrottlingServicesArgs args, InvokeOptions? opts = null)
public static Output<GetApiGatewayThrottlingServicesResult> Invoke(GetApiGatewayThrottlingServicesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiGatewayThrottlingServicesResult> getApiGatewayThrottlingServices(GetApiGatewayThrottlingServicesArgs args, InvokeOptions options)
public static Output<GetApiGatewayThrottlingServicesResult> getApiGatewayThrottlingServices(GetApiGatewayThrottlingServicesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getApiGatewayThrottlingServices:getApiGatewayThrottlingServices
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Service
Id string - Service ID for query.
- Id string
- Result
Output stringFile - Used to save results.
- Service
Id string - Service ID for query.
- id String
- result
Output StringFile - Used to save results.
- service
Id String - Service ID for query.
- id string
- result
Output stringFile - Used to save results.
- service
Id string - Service ID for query.
- id str
- result_
output_ strfile - Used to save results.
- service_
id str - Service ID for query.
- id String
- result
Output StringFile - Used to save results.
- service
Id String - Service ID for query.
getApiGatewayThrottlingServices Result
The following output properties are available:
- Id string
- Lists
List<Get
Api Gateway Throttling Services List> - A list of Throttling policy.
- Result
Output stringFile - Service
Id string - Service ID for query.
- Id string
- Lists
[]Get
Api Gateway Throttling Services List - A list of Throttling policy.
- Result
Output stringFile - Service
Id string - Service ID for query.
- id String
- lists
List<Get
Api Gateway Throttling Services List> - A list of Throttling policy.
- result
Output StringFile - service
Id String - Service ID for query.
- id string
- lists
Get
Api Gateway Throttling Services List[] - A list of Throttling policy.
- result
Output stringFile - service
Id string - Service ID for query.
- id str
- lists
Sequence[Get
Api Gateway Throttling Services List] - A list of Throttling policy.
- result_
output_ strfile - service_
id str - Service ID for query.
- id String
- lists List<Property Map>
- A list of Throttling policy.
- result
Output StringFile - service
Id String - Service ID for query.
Supporting Types
GetApiGatewayThrottlingServicesList
- Environments
List<Get
Api Gateway Throttling Services List Environment> - A list of Throttling policy.
- Service
Id string - Service ID for query.
- Environments
[]Get
Api Gateway Throttling Services List Environment - A list of Throttling policy.
- Service
Id string - Service ID for query.
- environments
List<Get
Api Gateway Throttling Services List Environment> - A list of Throttling policy.
- service
Id String - Service ID for query.
- environments
Get
Api Gateway Throttling Services List Environment[] - A list of Throttling policy.
- service
Id string - Service ID for query.
- environments
Sequence[Get
Api Gateway Throttling Services List Environment] - A list of Throttling policy.
- service_
id str - Service ID for query.
- environments List<Property Map>
- A list of Throttling policy.
- service
Id String - Service ID for query.
GetApiGatewayThrottlingServicesListEnvironment
- Environment
Name string - Environment name.
- Status double
- Release status.
- Strategy double
- Throttling value.
- Url string
- Access service environment URL.
- Version
Name string - Published version number.
- Environment
Name string - Environment name.
- Status float64
- Release status.
- Strategy float64
- Throttling value.
- Url string
- Access service environment URL.
- Version
Name string - Published version number.
- environment
Name String - Environment name.
- status Double
- Release status.
- strategy Double
- Throttling value.
- url String
- Access service environment URL.
- version
Name String - Published version number.
- environment
Name string - Environment name.
- status number
- Release status.
- strategy number
- Throttling value.
- url string
- Access service environment URL.
- version
Name string - Published version number.
- environment_
name str - Environment name.
- status float
- Release status.
- strategy float
- Throttling value.
- url str
- Access service environment URL.
- version_
name str - Published version number.
- environment
Name String - Environment name.
- status Number
- Release status.
- strategy Number
- Throttling value.
- url String
- Access service environment URL.
- version
Name String - Published version number.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
