1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getVpcProductQuota
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getVpcProductQuota

Explore with Pulumi AI

tencentcloud logo
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
    ResultOutputFile string
    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
    ResultOutputFile string
    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
    resultOutputFile String
    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
    resultOutputFile string
    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_file str
    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
    resultOutputFile String
    Used to save results.

    getVpcProductQuota Result

    The following output properties are available:

    id String
    product String
    productQuotaSets List<Property Map>
    ProductQuota Array.
    resultOutputFile String

    Supporting Types

    GetVpcProductQuotaProductQuotaSet

    QuotaCurrent double
    Current Quota.
    QuotaId string
    Quota Id.
    QuotaLimit double
    Quota limit.
    QuotaName string
    Quota name.
    QuotaRegion bool
    Quota region.
    QuotaCurrent float64
    Current Quota.
    QuotaId string
    Quota Id.
    QuotaLimit float64
    Quota limit.
    QuotaName string
    Quota name.
    QuotaRegion bool
    Quota region.
    quotaCurrent Double
    Current Quota.
    quotaId String
    Quota Id.
    quotaLimit Double
    Quota limit.
    quotaName String
    Quota name.
    quotaRegion Boolean
    Quota region.
    quotaCurrent number
    Current Quota.
    quotaId string
    Quota Id.
    quotaLimit number
    Quota limit.
    quotaName string
    Quota name.
    quotaRegion 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.
    quotaCurrent Number
    Current Quota.
    quotaId String
    Quota Id.
    quotaLimit Number
    Quota limit.
    quotaName String
    Quota name.
    quotaRegion Boolean
    Quota region.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack