tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getVpcProductQuota
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 vpc product_quota
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const productQuota = tencentcloud.getVpcProductQuota({
product: "vpc",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
product_quota = tencentcloud.get_vpc_product_quota(product="vpc")
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.GetVpcProductQuota(ctx, &tencentcloud.GetVpcProductQuotaArgs{
Product: "vpc",
}, nil)
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 productQuota = Tencentcloud.GetVpcProductQuota.Invoke(new()
{
Product = "vpc",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpcProductQuotaArgs;
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) {
final var productQuota = TencentcloudFunctions.getVpcProductQuota(GetVpcProductQuotaArgs.builder()
.product("vpc")
.build());
}
}
variables:
productQuota:
fn::invoke:
function: tencentcloud:getVpcProductQuota
arguments:
product: vpc
Using getVpcProductQuota
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 getVpcProductQuota(args: GetVpcProductQuotaArgs, opts?: InvokeOptions): Promise<GetVpcProductQuotaResult>
function getVpcProductQuotaOutput(args: GetVpcProductQuotaOutputArgs, opts?: InvokeOptions): Output<GetVpcProductQuotaResult>
def get_vpc_product_quota(id: Optional[str] = None,
product: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcProductQuotaResult
def get_vpc_product_quota_output(id: Optional[pulumi.Input[str]] = None,
product: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcProductQuotaResult]
func GetVpcProductQuota(ctx *Context, args *GetVpcProductQuotaArgs, opts ...InvokeOption) (*GetVpcProductQuotaResult, error)
func GetVpcProductQuotaOutput(ctx *Context, args *GetVpcProductQuotaOutputArgs, opts ...InvokeOption) GetVpcProductQuotaResultOutput
> Note: This function is named GetVpcProductQuota
in the Go SDK.
public static class GetVpcProductQuota
{
public static Task<GetVpcProductQuotaResult> InvokeAsync(GetVpcProductQuotaArgs args, InvokeOptions? opts = null)
public static Output<GetVpcProductQuotaResult> Invoke(GetVpcProductQuotaInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcProductQuotaResult> getVpcProductQuota(GetVpcProductQuotaArgs args, InvokeOptions options)
public static Output<GetVpcProductQuotaResult> getVpcProductQuota(GetVpcProductQuotaArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getVpcProductQuota:getVpcProductQuota
arguments:
# arguments dictionary
The following arguments are supported:
- Product string
- The name of the network product to be queried. The products that can be queried are:vpc, ccn, vpn, dc, dfw, clb, eip.
- Id string
- Result
Output stringFile - Used to save results.
- Product string
- The name of the network product to be queried. The products that can be queried are:vpc, ccn, vpn, dc, dfw, clb, eip.
- Id string
- Result
Output stringFile - Used to save results.
- product String
- The name of the network product to be queried. The products that can be queried are:vpc, ccn, vpn, dc, dfw, clb, eip.
- id String
- result
Output StringFile - Used to save results.
- product string
- The name of the network product to be queried. The products that can be queried are:vpc, ccn, vpn, dc, dfw, clb, eip.
- id string
- result
Output stringFile - Used to save results.
- product str
- The name of the network product to be queried. The products that can be queried are:vpc, ccn, vpn, dc, dfw, clb, eip.
- id str
- result_
output_ strfile - Used to save results.
- product String
- The name of the network product to be queried. The products that can be queried are:vpc, ccn, vpn, dc, dfw, clb, eip.
- id String
- result
Output StringFile - Used to save results.
getVpcProductQuota Result
The following output properties are available:
- Id string
- Product string
- Product
Quota List<GetSets Vpc Product Quota Product Quota Set> - ProductQuota Array.
- Result
Output stringFile
- Id string
- Product string
- Product
Quota []GetSets Vpc Product Quota Product Quota Set - ProductQuota Array.
- Result
Output stringFile
- id String
- product String
- product
Quota List<GetSets Vpc Product Quota Product Quota Set> - ProductQuota Array.
- result
Output StringFile
- id string
- product string
- product
Quota GetSets Vpc Product Quota Product Quota Set[] - ProductQuota Array.
- result
Output stringFile
- id str
- product str
- product_
quota_ Sequence[Getsets Vpc Product Quota Product Quota Set] - ProductQuota Array.
- result_
output_ strfile
- id String
- product String
- product
Quota List<Property Map>Sets - ProductQuota Array.
- result
Output StringFile
Supporting Types
GetVpcProductQuotaProductQuotaSet
- Quota
Current double - Current Quota.
- Quota
Id string - Quota Id.
- Quota
Limit double - Quota limit.
- Quota
Name string - Quota name.
- Quota
Region bool - Quota region.
- Quota
Current float64 - Current Quota.
- Quota
Id string - Quota Id.
- Quota
Limit float64 - Quota limit.
- Quota
Name string - Quota name.
- Quota
Region bool - Quota region.
- quota
Current Double - Current Quota.
- quota
Id String - Quota Id.
- quota
Limit Double - Quota limit.
- quota
Name String - Quota name.
- quota
Region Boolean - Quota region.
- quota
Current number - Current Quota.
- quota
Id string - Quota Id.
- quota
Limit number - Quota limit.
- quota
Name string - Quota name.
- quota
Region boolean - Quota region.
- quota_
current float - Current Quota.
- quota_
id str - Quota Id.
- quota_
limit float - Quota limit.
- quota_
name str - Quota name.
- quota_
region bool - Quota region.
- quota
Current Number - Current Quota.
- quota
Id String - Quota Id.
- quota
Limit Number - Quota limit.
- quota
Name String - Quota name.
- quota
Region Boolean - Quota region.
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