1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getTmsQuotasV1
opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud

opentelekomcloud.getTmsQuotasV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.47 published on Thursday, Sep 4, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for TMS quotas you can get at documentation portal

    Use this data source to get the list of tag quotas within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getTmsQuotasV1({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_tms_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.GetTmsQuotasV1(ctx, &opentelekomcloud.GetTmsQuotasV1Args{}, 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.GetTmsQuotasV1.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.GetTmsQuotasV1Args;
    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.getTmsQuotasV1();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getTmsQuotasV1
          arguments: {}
    

    Using getTmsQuotasV1

    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 getTmsQuotasV1(args: GetTmsQuotasV1Args, opts?: InvokeOptions): Promise<GetTmsQuotasV1Result>
    function getTmsQuotasV1Output(args: GetTmsQuotasV1OutputArgs, opts?: InvokeOptions): Output<GetTmsQuotasV1Result>
    def get_tms_quotas_v1(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetTmsQuotasV1Result
    def get_tms_quotas_v1_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetTmsQuotasV1Result]
    func GetTmsQuotasV1(ctx *Context, args *GetTmsQuotasV1Args, opts ...InvokeOption) (*GetTmsQuotasV1Result, error)
    func GetTmsQuotasV1Output(ctx *Context, args *GetTmsQuotasV1OutputArgs, opts ...InvokeOption) GetTmsQuotasV1ResultOutput

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

    public static class GetTmsQuotasV1 
    {
        public static Task<GetTmsQuotasV1Result> InvokeAsync(GetTmsQuotasV1Args args, InvokeOptions? opts = null)
        public static Output<GetTmsQuotasV1Result> Invoke(GetTmsQuotasV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTmsQuotasV1Result> getTmsQuotasV1(GetTmsQuotasV1Args args, InvokeOptions options)
    public static Output<GetTmsQuotasV1Result> getTmsQuotasV1(GetTmsQuotasV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getTmsQuotasV1:getTmsQuotasV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The data source ID.
    Id string
    The data source ID.
    id String
    The data source ID.
    id string
    The data source ID.
    id str
    The data source ID.
    id String
    The data source ID.

    getTmsQuotasV1 Result

    The following output properties are available:

    Id string
    The data source ID.
    Quotas List<GetTmsQuotasV1Quota>
    Indicates the list of quotas. The structure is documented below.
    Id string
    The data source ID.
    Quotas []GetTmsQuotasV1Quota
    Indicates the list of quotas. The structure is documented below.
    id String
    The data source ID.
    quotas List<GetTmsQuotasV1Quota>
    Indicates the list of quotas. The structure is documented below.
    id string
    The data source ID.
    quotas GetTmsQuotasV1Quota[]
    Indicates the list of quotas. The structure is documented below.
    id str
    The data source ID.
    quotas Sequence[GetTmsQuotasV1Quota]
    Indicates the list of quotas. The structure is documented below.
    id String
    The data source ID.
    quotas List<Property Map>
    Indicates the list of quotas. The structure is documented below.

    Supporting Types

    GetTmsQuotasV1Quota

    QuotaKey string
    Indicates the quota key.
    QuotaLimit double
    Indicates the quota value/limit.
    Unit string
    Indicates the unit.
    Used double
    Indicates the used quota.
    QuotaKey string
    Indicates the quota key.
    QuotaLimit float64
    Indicates the quota value/limit.
    Unit string
    Indicates the unit.
    Used float64
    Indicates the used quota.
    quotaKey String
    Indicates the quota key.
    quotaLimit Double
    Indicates the quota value/limit.
    unit String
    Indicates the unit.
    used Double
    Indicates the used quota.
    quotaKey string
    Indicates the quota key.
    quotaLimit number
    Indicates the quota value/limit.
    unit string
    Indicates the unit.
    used number
    Indicates the used quota.
    quota_key str
    Indicates the quota key.
    quota_limit float
    Indicates the quota value/limit.
    unit str
    Indicates the unit.
    used float
    Indicates the used quota.
    quotaKey String
    Indicates the quota key.
    quotaLimit Number
    Indicates the quota value/limit.
    unit String
    Indicates the unit.
    used Number
    Indicates the used quota.

    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.47 published on Thursday, Sep 4, 2025 by opentelekomcloud