1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getObjectStorageGlobalQuotas
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi

    Provides details about Object Storage global quotas on your account. For more information, see the Linode APIv4 docs.

    Example Usage

    The following example shows how one might use this data source to list and filter Object Storage global quotas.

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const keys = linode.getObjectStorageGlobalQuotas({
        filters: [{
            name: "quota_id",
            values: ["keys"],
        }],
    });
    
    import pulumi
    import pulumi_linode as linode
    
    keys = linode.get_object_storage_global_quotas(filters=[{
        "name": "quota_id",
        "values": ["keys"],
    }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.GetObjectStorageGlobalQuotas(ctx, &linode.GetObjectStorageGlobalQuotasArgs{
    			Filters: []linode.GetObjectStorageGlobalQuotasFilter{
    				{
    					Name: "quota_id",
    					Values: []string{
    						"keys",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var keys = Linode.GetObjectStorageGlobalQuotas.Invoke(new()
        {
            Filters = new[]
            {
                new Linode.Inputs.GetObjectStorageGlobalQuotasFilterInputArgs
                {
                    Name = "quota_id",
                    Values = new[]
                    {
                        "keys",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.LinodeFunctions;
    import com.pulumi.linode.inputs.GetObjectStorageGlobalQuotasArgs;
    import com.pulumi.linode.inputs.GetObjectStorageGlobalQuotasFilterArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 keys = LinodeFunctions.getObjectStorageGlobalQuotas(GetObjectStorageGlobalQuotasArgs.builder()
                .filters(GetObjectStorageGlobalQuotasFilterArgs.builder()
                    .name("quota_id")
                    .values("keys")
                    .build())
                .build());
    
        }
    }
    
    variables:
      keys:
        fn::invoke:
          function: linode:getObjectStorageGlobalQuotas
          arguments:
            filters:
              - name: quota_id
                values:
                  - keys
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getobjectstorageglobalquotas" "keys" {
      filters {
        name   = "quota_id"
        values = ["keys"]
      }
    }
    

    Filterable Fields

    • quotaId

    • quotaName

    • description

    • quotaLimit

    • resourceMetric

    • quotaType

    • hasUsage

    Using getObjectStorageGlobalQuotas

    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 getObjectStorageGlobalQuotas(args: GetObjectStorageGlobalQuotasArgs, opts?: InvokeOptions): Promise<GetObjectStorageGlobalQuotasResult>
    function getObjectStorageGlobalQuotasOutput(args: GetObjectStorageGlobalQuotasOutputArgs, opts?: InvokeOutputOptions): Output<GetObjectStorageGlobalQuotasResult>
    def get_object_storage_global_quotas(filters: Optional[Sequence[GetObjectStorageGlobalQuotasFilter]] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetObjectStorageGlobalQuotasResult
    def get_object_storage_global_quotas_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetObjectStorageGlobalQuotasFilterArgs]]]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetObjectStorageGlobalQuotasResult]
    func GetObjectStorageGlobalQuotas(ctx *Context, args *GetObjectStorageGlobalQuotasArgs, opts ...InvokeOption) (*GetObjectStorageGlobalQuotasResult, error)
    func GetObjectStorageGlobalQuotasOutput(ctx *Context, args *GetObjectStorageGlobalQuotasOutputArgs, opts ...InvokeOption) GetObjectStorageGlobalQuotasResultOutput

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

    public static class GetObjectStorageGlobalQuotas 
    {
        public static Task<GetObjectStorageGlobalQuotasResult> InvokeAsync(GetObjectStorageGlobalQuotasArgs args, InvokeOptions? opts = null)
        public static Output<GetObjectStorageGlobalQuotasResult> Invoke(GetObjectStorageGlobalQuotasInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetObjectStorageGlobalQuotasResult> Invoke(GetObjectStorageGlobalQuotasInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetObjectStorageGlobalQuotasResult> getObjectStorageGlobalQuotas(GetObjectStorageGlobalQuotasArgs args, InvokeOptions options)
    public static Output<GetObjectStorageGlobalQuotasResult> getObjectStorageGlobalQuotas(GetObjectStorageGlobalQuotasArgs args, InvokeOptions options)
    public static Output<GetObjectStorageGlobalQuotasResult> getObjectStorageGlobalQuotas(GetObjectStorageGlobalQuotasArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getObjectStorageGlobalQuotas:getObjectStorageGlobalQuotas
      arguments:
        # arguments dictionary
    data "linode_get_object_storage_global_quotas" "name" {
        # arguments
    }

    The following arguments are supported:

    getObjectStorageGlobalQuotas Result

    The following output properties are available:

    Id string
    Quotas List<GetObjectStorageGlobalQuotasQuota>
    (Nested Attribute List) Object Storage global quotas matching the query.
    Filters List<GetObjectStorageGlobalQuotasFilter>
    Id string
    Quotas []GetObjectStorageGlobalQuotasQuota
    (Nested Attribute List) Object Storage global quotas matching the query.
    Filters []GetObjectStorageGlobalQuotasFilter
    id string
    quotas list(object)
    (Nested Attribute List) Object Storage global quotas matching the query.
    filters list(object)
    id String
    quotas List<GetObjectStorageGlobalQuotasQuota>
    (Nested Attribute List) Object Storage global quotas matching the query.
    filters List<GetObjectStorageGlobalQuotasFilter>
    id string
    quotas GetObjectStorageGlobalQuotasQuota[]
    (Nested Attribute List) Object Storage global quotas matching the query.
    filters GetObjectStorageGlobalQuotasFilter[]
    id str
    quotas Sequence[GetObjectStorageGlobalQuotasQuota]
    (Nested Attribute List) Object Storage global quotas matching the query.
    filters Sequence[GetObjectStorageGlobalQuotasFilter]
    id String
    quotas List<Property Map>
    (Nested Attribute List) Object Storage global quotas matching the query.
    filters List<Property Map>

    Supporting Types

    GetObjectStorageGlobalQuotasFilter

    Name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values List<string>
    A list of values for the filter to allow. These values should all be in string form.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    Name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    Values []string
    A list of values for the filter to allow. These values should all be in string form.
    MatchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values list(string)
    A list of values for the filter to allow. These values should all be in string form.
    match_by string
    The method to match the field by. (exact, regex, substring; default exact)
    name String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values List<String>
    A list of values for the filter to allow. These values should all be in string form.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)
    name string
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values string[]
    A list of values for the filter to allow. These values should all be in string form.
    matchBy string
    The method to match the field by. (exact, regex, substring; default exact)
    name str
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values Sequence[str]
    A list of values for the filter to allow. These values should all be in string form.
    match_by str
    The method to match the field by. (exact, regex, substring; default exact)
    name String
    The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
    values List<String>
    A list of values for the filter to allow. These values should all be in string form.
    matchBy String
    The method to match the field by. (exact, regex, substring; default exact)

    GetObjectStorageGlobalQuotasQuota

    Description string
    The description of the Object Storage global quota.
    HasUsage bool
    Whether usage data is available for the Object Storage global quota.
    QuotaId string
    The ID of the Object Storage global quota.
    QuotaLimit int
    The maximum quantity of the resourceMetric allowed by the quota.
    QuotaName string
    The name of the Object Storage global quota.
    QuotaType string
    The type of the Object Storage global quota.
    ResourceMetric string
    The specific Object Storage resource for the quota.
    Description string
    The description of the Object Storage global quota.
    HasUsage bool
    Whether usage data is available for the Object Storage global quota.
    QuotaId string
    The ID of the Object Storage global quota.
    QuotaLimit int
    The maximum quantity of the resourceMetric allowed by the quota.
    QuotaName string
    The name of the Object Storage global quota.
    QuotaType string
    The type of the Object Storage global quota.
    ResourceMetric string
    The specific Object Storage resource for the quota.
    description string
    The description of the Object Storage global quota.
    has_usage bool
    Whether usage data is available for the Object Storage global quota.
    quota_id string
    The ID of the Object Storage global quota.
    quota_limit number
    The maximum quantity of the resourceMetric allowed by the quota.
    quota_name string
    The name of the Object Storage global quota.
    quota_type string
    The type of the Object Storage global quota.
    resource_metric string
    The specific Object Storage resource for the quota.
    description String
    The description of the Object Storage global quota.
    hasUsage Boolean
    Whether usage data is available for the Object Storage global quota.
    quotaId String
    The ID of the Object Storage global quota.
    quotaLimit Integer
    The maximum quantity of the resourceMetric allowed by the quota.
    quotaName String
    The name of the Object Storage global quota.
    quotaType String
    The type of the Object Storage global quota.
    resourceMetric String
    The specific Object Storage resource for the quota.
    description string
    The description of the Object Storage global quota.
    hasUsage boolean
    Whether usage data is available for the Object Storage global quota.
    quotaId string
    The ID of the Object Storage global quota.
    quotaLimit number
    The maximum quantity of the resourceMetric allowed by the quota.
    quotaName string
    The name of the Object Storage global quota.
    quotaType string
    The type of the Object Storage global quota.
    resourceMetric string
    The specific Object Storage resource for the quota.
    description str
    The description of the Object Storage global quota.
    has_usage bool
    Whether usage data is available for the Object Storage global quota.
    quota_id str
    The ID of the Object Storage global quota.
    quota_limit int
    The maximum quantity of the resourceMetric allowed by the quota.
    quota_name str
    The name of the Object Storage global quota.
    quota_type str
    The type of the Object Storage global quota.
    resource_metric str
    The specific Object Storage resource for the quota.
    description String
    The description of the Object Storage global quota.
    hasUsage Boolean
    Whether usage data is available for the Object Storage global quota.
    quotaId String
    The ID of the Object Storage global quota.
    quotaLimit Number
    The maximum quantity of the resourceMetric allowed by the quota.
    quotaName String
    The name of the Object Storage global quota.
    quotaType String
    The type of the Object Storage global quota.
    resourceMetric String
    The specific Object Storage resource for the quota.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo linode logo
    Viewing docs for Linode v6.6.0
    published on Tuesday, Sep 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial