1. Registry
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. getVpcQuotasV1
Viewing docs for opentelekomcloud 1.37.8
published on Thursday, Sep 10, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.8
published on Thursday, Sep 10, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for VPC Peering Connections you can get at documentation portal

    Use this data source to query VPC network resource quotas.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const all = opentelekomcloud.getVpcQuotasV1({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    all = opentelekomcloud.get_vpc_quotas_v1()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetVpcQuotasV1(ctx, &opentelekomcloud.GetVpcQuotasV1Args{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Opentelekomcloud.GetVpcQuotasV1.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetVpcQuotasV1Args;
    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 all = OpentelekomcloudFunctions.getVpcQuotasV1(GetVpcQuotasV1Args.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: opentelekomcloud:getVpcQuotasV1
          arguments: {}
    
    Example coming soon!
    

    Filter by resource type

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const eip = opentelekomcloud.getVpcQuotasV1({
        type: "publicIp",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    eip = opentelekomcloud.get_vpc_quotas_v1(type="publicIp")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetVpcQuotasV1(ctx, &opentelekomcloud.GetVpcQuotasV1Args{
    			Type: pulumi.StringRef("publicIp"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var eip = Opentelekomcloud.GetVpcQuotasV1.Invoke(new()
        {
            Type = "publicIp",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetVpcQuotasV1Args;
    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 eip = OpentelekomcloudFunctions.getVpcQuotasV1(GetVpcQuotasV1Args.builder()
                .type("publicIp")
                .build());
    
        }
    }
    
    variables:
      eip:
        fn::invoke:
          function: opentelekomcloud:getVpcQuotasV1
          arguments:
            type: publicIp
    
    Example coming soon!
    

    Using getVpcQuotasV1

    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 getVpcQuotasV1(args: GetVpcQuotasV1Args, opts?: InvokeOptions): Promise<GetVpcQuotasV1Result>
    function getVpcQuotasV1Output(args: GetVpcQuotasV1OutputArgs, opts?: InvokeOutputOptions): Output<GetVpcQuotasV1Result>
    def get_vpc_quotas_v1(id: Optional[str] = None,
                          type: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetVpcQuotasV1Result
    def get_vpc_quotas_v1_output(id: pulumi.Input[Optional[str]] = None,
                          type: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcQuotasV1Result]
    func GetVpcQuotasV1(ctx *Context, args *GetVpcQuotasV1Args, opts ...InvokeOption) (*GetVpcQuotasV1Result, error)
    func GetVpcQuotasV1Output(ctx *Context, args *GetVpcQuotasV1OutputArgs, opts ...InvokeOption) GetVpcQuotasV1ResultOutput

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

    public static class GetVpcQuotasV1 
    {
        public static Task<GetVpcQuotasV1Result> InvokeAsync(GetVpcQuotasV1Args args, InvokeOptions? opts = null)
        public static Output<GetVpcQuotasV1Result> Invoke(GetVpcQuotasV1InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcQuotasV1Result> Invoke(GetVpcQuotasV1InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVpcQuotasV1Result> getVpcQuotasV1(GetVpcQuotasV1Args args, InvokeOptions options)
    public static Output<GetVpcQuotasV1Result> getVpcQuotasV1(GetVpcQuotasV1Args args, InvokeOptions options)
    public static Output<GetVpcQuotasV1Result> getVpcQuotasV1(GetVpcQuotasV1Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getVpcQuotasV1:getVpcQuotasV1
      arguments:
        # arguments dictionary
    data "opentelekomcloud_get_vpc_quotas_v1" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    Id string
    Type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    id string
    type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    id String
    type String
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    id string
    type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    id str
    type str
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    id String
    type String
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.

    getVpcQuotasV1 Result

    The following output properties are available:

    Id string
    Quotas List<GetVpcQuotasV1Quota>
    The matching network resource quotas. The quotas structure is documented below.
    Region string
    The region in which the quotas are queried.
    Type string
    The network resource type.
    Id string
    Quotas []GetVpcQuotasV1Quota
    The matching network resource quotas. The quotas structure is documented below.
    Region string
    The region in which the quotas are queried.
    Type string
    The network resource type.
    id string
    quotas list(object)
    The matching network resource quotas. The quotas structure is documented below.
    region string
    The region in which the quotas are queried.
    type string
    The network resource type.
    id String
    quotas List<GetVpcQuotasV1Quota>
    The matching network resource quotas. The quotas structure is documented below.
    region String
    The region in which the quotas are queried.
    type String
    The network resource type.
    id string
    quotas GetVpcQuotasV1Quota[]
    The matching network resource quotas. The quotas structure is documented below.
    region string
    The region in which the quotas are queried.
    type string
    The network resource type.
    id str
    quotas Sequence[GetVpcQuotasV1Quota]
    The matching network resource quotas. The quotas structure is documented below.
    region str
    The region in which the quotas are queried.
    type str
    The network resource type.
    id String
    quotas List<Property Map>
    The matching network resource quotas. The quotas structure is documented below.
    region String
    The region in which the quotas are queried.
    type String
    The network resource type.

    Supporting Types

    GetVpcQuotasV1Quota

    Min double
    The minimum quota value allowed.
    Quota double
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    Type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    Used double
    The number of created resources.
    Min float64
    The minimum quota value allowed.
    Quota float64
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    Type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    Used float64
    The number of created resources.
    min number
    The minimum quota value allowed.
    quota number
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    used number
    The number of created resources.
    min Double
    The minimum quota value allowed.
    quota Double
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    type String
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    used Double
    The number of created resources.
    min number
    The minimum quota value allowed.
    quota number
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    type string
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    used number
    The number of created resources.
    min float
    The minimum quota value allowed.
    quota float
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    type str
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    used float
    The number of created resources.
    min Number
    The minimum quota value allowed.
    quota Number
    The maximum number of resources. A value of -1 means that the quota is unlimited.
    type String
    Specifies the resource type. Valid values are vpc, subnet, securityGroup, securityGroupRule, publicIp, vpn, vpcPeer, loadbalancer, listener, physicalConnect, virtualInterface, firewall, shareBandwidthIP, shareBandwidth, address_group, flow_log, vpcContainRoutetable, and routetableContainRoutes.
    used Number
    The number of created resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.8
    published on Thursday, Sep 10, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial