1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getApiGatewayApiUsagePlans
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getApiGatewayApiUsagePlans

Explore with Pulumi AI

Use this data source to query detailed information of apigateway api_usage_plan

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const exampleApiGatewayUsagePlan = new tencentcloud.ApiGatewayUsagePlan("exampleApiGatewayUsagePlan", {
    usagePlanName: "tf_example",
    usagePlanDesc: "desc.",
    maxRequestNum: 100,
    maxRequestNumPreSec: 10,
});
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: "SECRET",
    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 exampleApiGatewayUsagePlanAttachment = new tencentcloud.ApiGatewayUsagePlanAttachment("exampleApiGatewayUsagePlanAttachment", {
    usagePlanId: exampleApiGatewayUsagePlan.apiGatewayUsagePlanId,
    serviceId: exampleApiGatewayService.apiGatewayServiceId,
    environment: "release",
    bindType: "API",
    apiId: exampleApiGatewayApi.apiGatewayApiId,
});
const exampleApiGatewayApiUsagePlans = tencentcloud.getApiGatewayApiUsagePlansOutput({
    serviceId: exampleApiGatewayUsagePlanAttachment.serviceId,
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example_api_gateway_usage_plan = tencentcloud.ApiGatewayUsagePlan("exampleApiGatewayUsagePlan",
    usage_plan_name="tf_example",
    usage_plan_desc="desc.",
    max_request_num=100,
    max_request_num_pre_sec=10)
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="SECRET",
    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_usage_plan_attachment = tencentcloud.ApiGatewayUsagePlanAttachment("exampleApiGatewayUsagePlanAttachment",
    usage_plan_id=example_api_gateway_usage_plan.api_gateway_usage_plan_id,
    service_id=example_api_gateway_service.api_gateway_service_id,
    environment="release",
    bind_type="API",
    api_id=example_api_gateway_api.api_gateway_api_id)
example_api_gateway_api_usage_plans = tencentcloud.get_api_gateway_api_usage_plans_output(service_id=example_api_gateway_usage_plan_attachment.service_id)
Copy
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 {
		exampleApiGatewayUsagePlan, err := tencentcloud.NewApiGatewayUsagePlan(ctx, "exampleApiGatewayUsagePlan", &tencentcloud.ApiGatewayUsagePlanArgs{
			UsagePlanName:       pulumi.String("tf_example"),
			UsagePlanDesc:       pulumi.String("desc."),
			MaxRequestNum:       pulumi.Float64(100),
			MaxRequestNumPreSec: pulumi.Float64(10),
		})
		if err != nil {
			return err
		}
		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("SECRET"),
			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
		}
		exampleApiGatewayUsagePlanAttachment, err := tencentcloud.NewApiGatewayUsagePlanAttachment(ctx, "exampleApiGatewayUsagePlanAttachment", &tencentcloud.ApiGatewayUsagePlanAttachmentArgs{
			UsagePlanId: exampleApiGatewayUsagePlan.ApiGatewayUsagePlanId,
			ServiceId:   exampleApiGatewayService.ApiGatewayServiceId,
			Environment: pulumi.String("release"),
			BindType:    pulumi.String("API"),
			ApiId:       exampleApiGatewayApi.ApiGatewayApiId,
		})
		if err != nil {
			return err
		}
		_ = tencentcloud.LookupApiGatewayApiUsagePlansOutput(ctx, tencentcloud.GetApiGatewayApiUsagePlansOutputArgs{
			ServiceId: exampleApiGatewayUsagePlanAttachment.ServiceId,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var exampleApiGatewayUsagePlan = new Tencentcloud.ApiGatewayUsagePlan("exampleApiGatewayUsagePlan", new()
    {
        UsagePlanName = "tf_example",
        UsagePlanDesc = "desc.",
        MaxRequestNum = 100,
        MaxRequestNumPreSec = 10,
    });

    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 = "SECRET",
        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 exampleApiGatewayUsagePlanAttachment = new Tencentcloud.ApiGatewayUsagePlanAttachment("exampleApiGatewayUsagePlanAttachment", new()
    {
        UsagePlanId = exampleApiGatewayUsagePlan.ApiGatewayUsagePlanId,
        ServiceId = exampleApiGatewayService.ApiGatewayServiceId,
        Environment = "release",
        BindType = "API",
        ApiId = exampleApiGatewayApi.ApiGatewayApiId,
    });

    var exampleApiGatewayApiUsagePlans = Tencentcloud.GetApiGatewayApiUsagePlans.Invoke(new()
    {
        ServiceId = exampleApiGatewayUsagePlanAttachment.ServiceId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ApiGatewayUsagePlan;
import com.pulumi.tencentcloud.ApiGatewayUsagePlanArgs;
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.ApiGatewayUsagePlanAttachment;
import com.pulumi.tencentcloud.ApiGatewayUsagePlanAttachmentArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetApiGatewayApiUsagePlansArgs;
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 exampleApiGatewayUsagePlan = new ApiGatewayUsagePlan("exampleApiGatewayUsagePlan", ApiGatewayUsagePlanArgs.builder()
            .usagePlanName("tf_example")
            .usagePlanDesc("desc.")
            .maxRequestNum(100)
            .maxRequestNumPreSec(10)
            .build());

        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("SECRET")
            .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());

        var exampleApiGatewayUsagePlanAttachment = new ApiGatewayUsagePlanAttachment("exampleApiGatewayUsagePlanAttachment", ApiGatewayUsagePlanAttachmentArgs.builder()
            .usagePlanId(exampleApiGatewayUsagePlan.apiGatewayUsagePlanId())
            .serviceId(exampleApiGatewayService.apiGatewayServiceId())
            .environment("release")
            .bindType("API")
            .apiId(exampleApiGatewayApi.apiGatewayApiId())
            .build());

        final var exampleApiGatewayApiUsagePlans = TencentcloudFunctions.getApiGatewayApiUsagePlans(GetApiGatewayApiUsagePlansArgs.builder()
            .serviceId(exampleApiGatewayUsagePlanAttachment.serviceId())
            .build());

    }
}
Copy
resources:
  exampleApiGatewayUsagePlan:
    type: tencentcloud:ApiGatewayUsagePlan
    properties:
      usagePlanName: tf_example
      usagePlanDesc: desc.
      maxRequestNum: 100
      maxRequestNumPreSec: 10
  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: SECRET
      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
  exampleApiGatewayUsagePlanAttachment:
    type: tencentcloud:ApiGatewayUsagePlanAttachment
    properties:
      usagePlanId: ${exampleApiGatewayUsagePlan.apiGatewayUsagePlanId}
      serviceId: ${exampleApiGatewayService.apiGatewayServiceId}
      environment: release
      bindType: API
      apiId: ${exampleApiGatewayApi.apiGatewayApiId}
variables:
  exampleApiGatewayApiUsagePlans:
    fn::invoke:
      function: tencentcloud:getApiGatewayApiUsagePlans
      arguments:
        serviceId: ${exampleApiGatewayUsagePlanAttachment.serviceId}
Copy

Using getApiGatewayApiUsagePlans

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 getApiGatewayApiUsagePlans(args: GetApiGatewayApiUsagePlansArgs, opts?: InvokeOptions): Promise<GetApiGatewayApiUsagePlansResult>
function getApiGatewayApiUsagePlansOutput(args: GetApiGatewayApiUsagePlansOutputArgs, opts?: InvokeOptions): Output<GetApiGatewayApiUsagePlansResult>
Copy
def get_api_gateway_api_usage_plans(id: Optional[str] = None,
                                    result_output_file: Optional[str] = None,
                                    service_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetApiGatewayApiUsagePlansResult
def get_api_gateway_api_usage_plans_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[GetApiGatewayApiUsagePlansResult]
Copy
func LookupApiGatewayApiUsagePlans(ctx *Context, args *LookupApiGatewayApiUsagePlansArgs, opts ...InvokeOption) (*LookupApiGatewayApiUsagePlansResult, error)
func LookupApiGatewayApiUsagePlansOutput(ctx *Context, args *LookupApiGatewayApiUsagePlansOutputArgs, opts ...InvokeOption) LookupApiGatewayApiUsagePlansResultOutput
Copy

> Note: This function is named LookupApiGatewayApiUsagePlans in the Go SDK.

public static class GetApiGatewayApiUsagePlans 
{
    public static Task<GetApiGatewayApiUsagePlansResult> InvokeAsync(GetApiGatewayApiUsagePlansArgs args, InvokeOptions? opts = null)
    public static Output<GetApiGatewayApiUsagePlansResult> Invoke(GetApiGatewayApiUsagePlansInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApiGatewayApiUsagePlansResult> getApiGatewayApiUsagePlans(GetApiGatewayApiUsagePlansArgs args, InvokeOptions options)
public static Output<GetApiGatewayApiUsagePlansResult> getApiGatewayApiUsagePlans(GetApiGatewayApiUsagePlansArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getApiGatewayApiUsagePlans:getApiGatewayApiUsagePlans
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ServiceId This property is required. string
The unique ID of the service to be queried.
Id string
ResultOutputFile string
Used to save results.
ServiceId This property is required. string
The unique ID of the service to be queried.
Id string
ResultOutputFile string
Used to save results.
serviceId This property is required. String
The unique ID of the service to be queried.
id String
resultOutputFile String
Used to save results.
serviceId This property is required. string
The unique ID of the service to be queried.
id string
resultOutputFile string
Used to save results.
service_id This property is required. str
The unique ID of the service to be queried.
id str
result_output_file str
Used to save results.
serviceId This property is required. String
The unique ID of the service to be queried.
id String
resultOutputFile String
Used to save results.

getApiGatewayApiUsagePlans Result

The following output properties are available:

Id string
Results List<GetApiGatewayApiUsagePlansResult>
API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
ServiceId string
Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
ResultOutputFile string
Id string
Results []GetApiGatewayApiUsagePlansResult
API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
ServiceId string
Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
ResultOutputFile string
id String
results List<GetApiGatewayApiUsagePlansResult>
API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
serviceId String
Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
resultOutputFile String
id string
results GetApiGatewayApiUsagePlansResult[]
API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
serviceId string
Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
resultOutputFile string
id str
results Sequence[GetApiGatewayApiUsagePlansResult]
API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
service_id str
Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
result_output_file str
id String
results List<Property Map>
API binding usage plan list.Note: This field may return null, indicating that a valid value cannot be obtained.
serviceId String
Service unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
resultOutputFile String

Supporting Types

GetApiGatewayApiUsagePlansResult

ApiId This property is required. string
API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiName This property is required. string
API name.Note: This field may return null, indicating that a valid value cannot be obtained.
CreatedTime This property is required. string
Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
Environment This property is required. string
Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
InUseRequestNum This property is required. double
The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
MaxRequestNum This property is required. double
Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
MaxRequestNumPreSec This property is required. double
Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
Method This property is required. string
API method.Note: This field may return null, indicating that a valid value cannot be obtained.
ModifiedTime This property is required. string
Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
Path This property is required. string
API path.Note: This field may return null, indicating that a valid value cannot be obtained.
ServiceId This property is required. string
The unique ID of the service to be queried.
ServiceName This property is required. string
Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
UsagePlanDesc This property is required. string
Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
UsagePlanId This property is required. string
Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
UsagePlanName This property is required. string
Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiId This property is required. string
API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
ApiName This property is required. string
API name.Note: This field may return null, indicating that a valid value cannot be obtained.
CreatedTime This property is required. string
Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
Environment This property is required. string
Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
InUseRequestNum This property is required. float64
The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
MaxRequestNum This property is required. float64
Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
MaxRequestNumPreSec This property is required. float64
Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
Method This property is required. string
API method.Note: This field may return null, indicating that a valid value cannot be obtained.
ModifiedTime This property is required. string
Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
Path This property is required. string
API path.Note: This field may return null, indicating that a valid value cannot be obtained.
ServiceId This property is required. string
The unique ID of the service to be queried.
ServiceName This property is required. string
Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
UsagePlanDesc This property is required. string
Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
UsagePlanId This property is required. string
Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
UsagePlanName This property is required. string
Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
apiId This property is required. String
API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
apiName This property is required. String
API name.Note: This field may return null, indicating that a valid value cannot be obtained.
createdTime This property is required. String
Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
environment This property is required. String
Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
inUseRequestNum This property is required. Double
The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
maxRequestNum This property is required. Double
Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
maxRequestNumPreSec This property is required. Double
Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
method This property is required. String
API method.Note: This field may return null, indicating that a valid value cannot be obtained.
modifiedTime This property is required. String
Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
path This property is required. String
API path.Note: This field may return null, indicating that a valid value cannot be obtained.
serviceId This property is required. String
The unique ID of the service to be queried.
serviceName This property is required. String
Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanDesc This property is required. String
Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanId This property is required. String
Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanName This property is required. String
Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
apiId This property is required. string
API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
apiName This property is required. string
API name.Note: This field may return null, indicating that a valid value cannot be obtained.
createdTime This property is required. string
Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
environment This property is required. string
Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
inUseRequestNum This property is required. number
The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
maxRequestNum This property is required. number
Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
maxRequestNumPreSec This property is required. number
Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
method This property is required. string
API method.Note: This field may return null, indicating that a valid value cannot be obtained.
modifiedTime This property is required. string
Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
path This property is required. string
API path.Note: This field may return null, indicating that a valid value cannot be obtained.
serviceId This property is required. string
The unique ID of the service to be queried.
serviceName This property is required. string
Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanDesc This property is required. string
Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanId This property is required. string
Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanName This property is required. string
Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
api_id This property is required. str
API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
api_name This property is required. str
API name.Note: This field may return null, indicating that a valid value cannot be obtained.
created_time This property is required. str
Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
environment This property is required. str
Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
in_use_request_num This property is required. float
The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
max_request_num This property is required. float
Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
max_request_num_pre_sec This property is required. float
Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
method This property is required. str
API method.Note: This field may return null, indicating that a valid value cannot be obtained.
modified_time This property is required. str
Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
path This property is required. str
API path.Note: This field may return null, indicating that a valid value cannot be obtained.
service_id This property is required. str
The unique ID of the service to be queried.
service_name This property is required. str
Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
usage_plan_desc This property is required. str
Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usage_plan_id This property is required. str
Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usage_plan_name This property is required. str
Use the name of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
apiId This property is required. String
API unique ID.Note: This field may return null, indicating that a valid value cannot be obtained.
apiName This property is required. String
API name.Note: This field may return null, indicating that a valid value cannot be obtained.
createdTime This property is required. String
Create a time using a schedule.Note: This field may return null, indicating that a valid value cannot be obtained.
environment This property is required. String
Use the service environment bound by the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
inUseRequestNum This property is required. Number
The quota that has already been used.Note: This field may return null, indicating that a valid value cannot be obtained.
maxRequestNum This property is required. Number
Request total quota, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
maxRequestNumPreSec This property is required. Number
Request QPS upper limit, -1 indicates no limit.Note: This field may return null, indicating that a valid value cannot be obtained.
method This property is required. String
API method.Note: This field may return null, indicating that a valid value cannot be obtained.
modifiedTime This property is required. String
Use the last modification time of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
path This property is required. String
API path.Note: This field may return null, indicating that a valid value cannot be obtained.
serviceId This property is required. String
The unique ID of the service to be queried.
serviceName This property is required. String
Service name.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanDesc This property is required. String
Description of the usage plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanId This property is required. String
Use the unique ID of the plan.Note: This field may return null, indicating that a valid value cannot be obtained.
usagePlanName This property is required. String
Use the name of the plan.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.