1. Packages
  2. Selectel Provider
  3. API Docs
  4. getGlobalRouterQuotaV1
selectel 7.4.1 published on Wednesday, Jan 14, 2026 by selectel
selectel logo
selectel 7.4.1 published on Wednesday, Jan 14, 2026 by selectel

    Provides a list of quotas in the Selectel Global Router service using public API v1. For more information about quotas, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const quota1 = selectel.getGlobalRouterQuotaV1({
        name: "routers",
        scope: "account_id",
        scopeValue: "12345",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    quota1 = selectel.get_global_router_quota_v1(name="routers",
        scope="account_id",
        scope_value="12345")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.GetGlobalRouterQuotaV1(ctx, &selectel.GetGlobalRouterQuotaV1Args{
    			Name:       "routers",
    			Scope:      pulumi.StringRef("account_id"),
    			ScopeValue: pulumi.StringRef("12345"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var quota1 = Selectel.GetGlobalRouterQuotaV1.Invoke(new()
        {
            Name = "routers",
            Scope = "account_id",
            ScopeValue = "12345",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.SelectelFunctions;
    import com.pulumi.selectel.inputs.GetGlobalRouterQuotaV1Args;
    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 quota1 = SelectelFunctions.getGlobalRouterQuotaV1(GetGlobalRouterQuotaV1Args.builder()
                .name("routers")
                .scope("account_id")
                .scopeValue("12345")
                .build());
    
        }
    }
    
    variables:
      quota1:
        fn::invoke:
          function: selectel:getGlobalRouterQuotaV1
          arguments:
            name: routers
            scope: account_id
            scopeValue: '12345'
    

    Using getGlobalRouterQuotaV1

    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 getGlobalRouterQuotaV1(args: GetGlobalRouterQuotaV1Args, opts?: InvokeOptions): Promise<GetGlobalRouterQuotaV1Result>
    function getGlobalRouterQuotaV1Output(args: GetGlobalRouterQuotaV1OutputArgs, opts?: InvokeOptions): Output<GetGlobalRouterQuotaV1Result>
    def get_global_router_quota_v1(id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   scope: Optional[str] = None,
                                   scope_value: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetGlobalRouterQuotaV1Result
    def get_global_router_quota_v1_output(id: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   scope: Optional[pulumi.Input[str]] = None,
                                   scope_value: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetGlobalRouterQuotaV1Result]
    func GetGlobalRouterQuotaV1(ctx *Context, args *GetGlobalRouterQuotaV1Args, opts ...InvokeOption) (*GetGlobalRouterQuotaV1Result, error)
    func GetGlobalRouterQuotaV1Output(ctx *Context, args *GetGlobalRouterQuotaV1OutputArgs, opts ...InvokeOption) GetGlobalRouterQuotaV1ResultOutput

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

    public static class GetGlobalRouterQuotaV1 
    {
        public static Task<GetGlobalRouterQuotaV1Result> InvokeAsync(GetGlobalRouterQuotaV1Args args, InvokeOptions? opts = null)
        public static Output<GetGlobalRouterQuotaV1Result> Invoke(GetGlobalRouterQuotaV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGlobalRouterQuotaV1Result> getGlobalRouterQuotaV1(GetGlobalRouterQuotaV1Args args, InvokeOptions options)
    public static Output<GetGlobalRouterQuotaV1Result> getGlobalRouterQuotaV1(GetGlobalRouterQuotaV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: selectel:index/getGlobalRouterQuotaV1:getGlobalRouterQuotaV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The resource name for which to display the quota value. Available names are: routers, networks, subnets, and static_routes.
    Id string
    Unique identifier of the quota.
    Scope string
    Scope of the quota. Global Router quotas are currently applied on account level, so scope value is account_id.
    ScopeValue string
    Unique identifier for the specified scope, for account level it's account ID, for example 12345.
    Name string
    The resource name for which to display the quota value. Available names are: routers, networks, subnets, and static_routes.
    Id string
    Unique identifier of the quota.
    Scope string
    Scope of the quota. Global Router quotas are currently applied on account level, so scope value is account_id.
    ScopeValue string
    Unique identifier for the specified scope, for account level it's account ID, for example 12345.
    name String
    The resource name for which to display the quota value. Available names are: routers, networks, subnets, and static_routes.
    id String
    Unique identifier of the quota.
    scope String
    Scope of the quota. Global Router quotas are currently applied on account level, so scope value is account_id.
    scopeValue String
    Unique identifier for the specified scope, for account level it's account ID, for example 12345.
    name string
    The resource name for which to display the quota value. Available names are: routers, networks, subnets, and static_routes.
    id string
    Unique identifier of the quota.
    scope string
    Scope of the quota. Global Router quotas are currently applied on account level, so scope value is account_id.
    scopeValue string
    Unique identifier for the specified scope, for account level it's account ID, for example 12345.
    name str
    The resource name for which to display the quota value. Available names are: routers, networks, subnets, and static_routes.
    id str
    Unique identifier of the quota.
    scope str
    Scope of the quota. Global Router quotas are currently applied on account level, so scope value is account_id.
    scope_value str
    Unique identifier for the specified scope, for account level it's account ID, for example 12345.
    name String
    The resource name for which to display the quota value. Available names are: routers, networks, subnets, and static_routes.
    id String
    Unique identifier of the quota.
    scope String
    Scope of the quota. Global Router quotas are currently applied on account level, so scope value is account_id.
    scopeValue String
    Unique identifier for the specified scope, for account level it's account ID, for example 12345.

    getGlobalRouterQuotaV1 Result

    The following output properties are available:

    Id string
    Unique identifier of the quota.
    Limit double
    Quota limit, the maximum number of the specified resource available for creation.
    Name string
    Name of the resource under the quota.
    Scope string
    Scope of the quota (the only possible value now is account).
    ScopeValue string
    Scope value (account ID).
    Id string
    Unique identifier of the quota.
    Limit float64
    Quota limit, the maximum number of the specified resource available for creation.
    Name string
    Name of the resource under the quota.
    Scope string
    Scope of the quota (the only possible value now is account).
    ScopeValue string
    Scope value (account ID).
    id String
    Unique identifier of the quota.
    limit Double
    Quota limit, the maximum number of the specified resource available for creation.
    name String
    Name of the resource under the quota.
    scope String
    Scope of the quota (the only possible value now is account).
    scopeValue String
    Scope value (account ID).
    id string
    Unique identifier of the quota.
    limit number
    Quota limit, the maximum number of the specified resource available for creation.
    name string
    Name of the resource under the quota.
    scope string
    Scope of the quota (the only possible value now is account).
    scopeValue string
    Scope value (account ID).
    id str
    Unique identifier of the quota.
    limit float
    Quota limit, the maximum number of the specified resource available for creation.
    name str
    Name of the resource under the quota.
    scope str
    Scope of the quota (the only possible value now is account).
    scope_value str
    Scope value (account ID).
    id String
    Unique identifier of the quota.
    limit Number
    Quota limit, the maximum number of the specified resource available for creation.
    name String
    Name of the resource under the quota.
    scope String
    Scope of the quota (the only possible value now is account).
    scopeValue String
    Scope value (account ID).

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 7.4.1 published on Wednesday, Jan 14, 2026 by selectel
      Meet Neo: Your AI Platform Teammate