1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getErQuotasV3
opentelekomcloud 1.36.44 published on Thursday, Jul 31, 2025 by opentelekomcloud

opentelekomcloud.getErQuotasV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.44 published on Thursday, Jul 31, 2025 by opentelekomcloud

    Using this data source to query the list of available resource quotas within OpenTelekomCloud.

    Using an invalid ID to filter the results will not report an error or return an empty list, but will return a quota list with all usage equal to 0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getErQuotasV3({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_er_quotas_v3()
    
    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.GetErQuotasV3(ctx, &opentelekomcloud.GetErQuotasV3Args{}, 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 test = Opentelekomcloud.GetErQuotasV3.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.GetErQuotasV3Args;
    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 test = OpentelekomcloudFunctions.getErQuotasV3();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getErQuotasV3
          arguments: {}
    

    Using getErQuotasV3

    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 getErQuotasV3(args: GetErQuotasV3Args, opts?: InvokeOptions): Promise<GetErQuotasV3Result>
    function getErQuotasV3Output(args: GetErQuotasV3OutputArgs, opts?: InvokeOptions): Output<GetErQuotasV3Result>
    def get_er_quotas_v3(id: Optional[str] = None,
                         instance_id: Optional[str] = None,
                         route_table_id: Optional[str] = None,
                         type: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetErQuotasV3Result
    def get_er_quotas_v3_output(id: Optional[pulumi.Input[str]] = None,
                         instance_id: Optional[pulumi.Input[str]] = None,
                         route_table_id: Optional[pulumi.Input[str]] = None,
                         type: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetErQuotasV3Result]
    func GetErQuotasV3(ctx *Context, args *GetErQuotasV3Args, opts ...InvokeOption) (*GetErQuotasV3Result, error)
    func GetErQuotasV3Output(ctx *Context, args *GetErQuotasV3OutputArgs, opts ...InvokeOption) GetErQuotasV3ResultOutput

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

    public static class GetErQuotasV3 
    {
        public static Task<GetErQuotasV3Result> InvokeAsync(GetErQuotasV3Args args, InvokeOptions? opts = null)
        public static Output<GetErQuotasV3Result> Invoke(GetErQuotasV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetErQuotasV3Result> getErQuotasV3(GetErQuotasV3Args args, InvokeOptions options)
    public static Output<GetErQuotasV3Result> getErQuotasV3(GetErQuotasV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getErQuotasV3:getErQuotasV3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The data source ID.
    InstanceId string
    The instance ID.
    RouteTableId string
    The route table ID.
    Type string
    The quota type to be queried. The valid values are as follows:
    Id string
    The data source ID.
    InstanceId string
    The instance ID.
    RouteTableId string
    The route table ID.
    Type string
    The quota type to be queried. The valid values are as follows:
    id String
    The data source ID.
    instanceId String
    The instance ID.
    routeTableId String
    The route table ID.
    type String
    The quota type to be queried. The valid values are as follows:
    id string
    The data source ID.
    instanceId string
    The instance ID.
    routeTableId string
    The route table ID.
    type string
    The quota type to be queried. The valid values are as follows:
    id str
    The data source ID.
    instance_id str
    The instance ID.
    route_table_id str
    The route table ID.
    type str
    The quota type to be queried. The valid values are as follows:
    id String
    The data source ID.
    instanceId String
    The instance ID.
    routeTableId String
    The route table ID.
    type String
    The quota type to be queried. The valid values are as follows:

    getErQuotasV3 Result

    The following output properties are available:

    Id string
    The data source ID.
    Quotas List<GetErQuotasV3Quota>
    All quotas that match the filter parameters.
    Region string
    The region where resources are located.
    InstanceId string
    RouteTableId string
    Type string
    The quota type.
    Id string
    The data source ID.
    Quotas []GetErQuotasV3Quota
    All quotas that match the filter parameters.
    Region string
    The region where resources are located.
    InstanceId string
    RouteTableId string
    Type string
    The quota type.
    id String
    The data source ID.
    quotas List<GetErQuotasV3Quota>
    All quotas that match the filter parameters.
    region String
    The region where resources are located.
    instanceId String
    routeTableId String
    type String
    The quota type.
    id string
    The data source ID.
    quotas GetErQuotasV3Quota[]
    All quotas that match the filter parameters.
    region string
    The region where resources are located.
    instanceId string
    routeTableId string
    type string
    The quota type.
    id str
    The data source ID.
    quotas Sequence[GetErQuotasV3Quota]
    All quotas that match the filter parameters.
    region str
    The region where resources are located.
    instance_id str
    route_table_id str
    type str
    The quota type.
    id String
    The data source ID.
    quotas List<Property Map>
    All quotas that match the filter parameters.
    region String
    The region where resources are located.
    instanceId String
    routeTableId String
    type String
    The quota type.

    Supporting Types

    GetErQuotasV3Quota

    Available double
    The number of available quotas, -1 means unlimited.
    Type string
    The quota type to be queried. The valid values are as follows:
    Unit string
    The unit of usage.
    Used double
    The number of quota used.
    Available float64
    The number of available quotas, -1 means unlimited.
    Type string
    The quota type to be queried. The valid values are as follows:
    Unit string
    The unit of usage.
    Used float64
    The number of quota used.
    available Double
    The number of available quotas, -1 means unlimited.
    type String
    The quota type to be queried. The valid values are as follows:
    unit String
    The unit of usage.
    used Double
    The number of quota used.
    available number
    The number of available quotas, -1 means unlimited.
    type string
    The quota type to be queried. The valid values are as follows:
    unit string
    The unit of usage.
    used number
    The number of quota used.
    available float
    The number of available quotas, -1 means unlimited.
    type str
    The quota type to be queried. The valid values are as follows:
    unit str
    The unit of usage.
    used float
    The number of quota used.
    available Number
    The number of available quotas, -1 means unlimited.
    type String
    The quota type to be queried. The valid values are as follows:
    unit String
    The unit of usage.
    used Number
    The number of quota used.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.44 published on Thursday, Jul 31, 2025 by opentelekomcloud