1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getObjectStorageGlobalQuota
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 an Object Storage global quota 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 access information about an Object Storage global quota.

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const myQuota = linode.getObjectStorageGlobalQuota({
        quotaId: "keys",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    my_quota = linode.get_object_storage_global_quota(quota_id="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.GetObjectStorageGlobalQuota(ctx, &linode.GetObjectStorageGlobalQuotaArgs{
    			QuotaId: "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 myQuota = Linode.GetObjectStorageGlobalQuota.Invoke(new()
        {
            QuotaId = "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.GetObjectStorageGlobalQuotaArgs;
    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 myQuota = LinodeFunctions.getObjectStorageGlobalQuota(GetObjectStorageGlobalQuotaArgs.builder()
                .quotaId("keys")
                .build());
    
        }
    }
    
    variables:
      myQuota:
        fn::invoke:
          function: linode:getObjectStorageGlobalQuota
          arguments:
            quotaId: keys
    
    pulumi {
      required_providers {
        linode = {
          source = "pulumi/linode"
        }
      }
    }
    
    data "linode_getobjectstorageglobalquota" "myQuota" {
      quota_id = "keys"
    }
    

    Using getObjectStorageGlobalQuota

    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 getObjectStorageGlobalQuota(args: GetObjectStorageGlobalQuotaArgs, opts?: InvokeOptions): Promise<GetObjectStorageGlobalQuotaResult>
    function getObjectStorageGlobalQuotaOutput(args: GetObjectStorageGlobalQuotaOutputArgs, opts?: InvokeOutputOptions): Output<GetObjectStorageGlobalQuotaResult>
    def get_object_storage_global_quota(quota_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetObjectStorageGlobalQuotaResult
    def get_object_storage_global_quota_output(quota_id: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetObjectStorageGlobalQuotaResult]
    func GetObjectStorageGlobalQuota(ctx *Context, args *GetObjectStorageGlobalQuotaArgs, opts ...InvokeOption) (*GetObjectStorageGlobalQuotaResult, error)
    func GetObjectStorageGlobalQuotaOutput(ctx *Context, args *GetObjectStorageGlobalQuotaOutputArgs, opts ...InvokeOption) GetObjectStorageGlobalQuotaResultOutput

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

    public static class GetObjectStorageGlobalQuota 
    {
        public static Task<GetObjectStorageGlobalQuotaResult> InvokeAsync(GetObjectStorageGlobalQuotaArgs args, InvokeOptions? opts = null)
        public static Output<GetObjectStorageGlobalQuotaResult> Invoke(GetObjectStorageGlobalQuotaInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetObjectStorageGlobalQuotaResult> Invoke(GetObjectStorageGlobalQuotaInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetObjectStorageGlobalQuotaResult> getObjectStorageGlobalQuota(GetObjectStorageGlobalQuotaArgs args, InvokeOptions options)
    public static Output<GetObjectStorageGlobalQuotaResult> getObjectStorageGlobalQuota(GetObjectStorageGlobalQuotaArgs args, InvokeOptions options)
    public static Output<GetObjectStorageGlobalQuotaResult> getObjectStorageGlobalQuota(GetObjectStorageGlobalQuotaArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getObjectStorageGlobalQuota:getObjectStorageGlobalQuota
      arguments:
        # arguments dictionary
    data "linode_get_object_storage_global_quota" "name" {
        # arguments
    }

    The following arguments are supported:

    QuotaId string
    The Object Storage global quota ID.
    QuotaId string
    The Object Storage global quota ID.
    quota_id string
    The Object Storage global quota ID.
    quotaId String
    The Object Storage global quota ID.
    quotaId string
    The Object Storage global quota ID.
    quota_id str
    The Object Storage global quota ID.
    quotaId String
    The Object Storage global quota ID.

    getObjectStorageGlobalQuota Result

    The following output properties are available:

    Description string
    The description of the Object Storage global quota.
    HasUsage bool
    Whether usage data is available for the Object Storage global quota.
    Id string
    The unique ID of the Object Storage global quota data source.
    QuotaId string
    QuotaLimit int
    The maximum quantity allowed by the quota.
    QuotaName string
    The name of the Object Storage global quota.
    QuotaType string
    The type of the Object Storage global quota.
    QuotaUsage GetObjectStorageGlobalQuotaQuotaUsage
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    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.
    Id string
    The unique ID of the Object Storage global quota data source.
    QuotaId string
    QuotaLimit int
    The maximum quantity allowed by the quota.
    QuotaName string
    The name of the Object Storage global quota.
    QuotaType string
    The type of the Object Storage global quota.
    QuotaUsage GetObjectStorageGlobalQuotaQuotaUsage
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    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.
    id string
    The unique ID of the Object Storage global quota data source.
    quota_id string
    quota_limit number
    The maximum quantity 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.
    quota_usage object
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    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.
    id String
    The unique ID of the Object Storage global quota data source.
    quotaId String
    quotaLimit Integer
    The maximum quantity allowed by the quota.
    quotaName String
    The name of the Object Storage global quota.
    quotaType String
    The type of the Object Storage global quota.
    quotaUsage GetObjectStorageGlobalQuotaQuotaUsage
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    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.
    id string
    The unique ID of the Object Storage global quota data source.
    quotaId string
    quotaLimit number
    The maximum quantity allowed by the quota.
    quotaName string
    The name of the Object Storage global quota.
    quotaType string
    The type of the Object Storage global quota.
    quotaUsage GetObjectStorageGlobalQuotaQuotaUsage
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    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.
    id str
    The unique ID of the Object Storage global quota data source.
    quota_id str
    quota_limit int
    The maximum quantity 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.
    quota_usage GetObjectStorageGlobalQuotaQuotaUsage
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    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.
    id String
    The unique ID of the Object Storage global quota data source.
    quotaId String
    quotaLimit Number
    The maximum quantity allowed by the quota.
    quotaName String
    The name of the Object Storage global quota.
    quotaType String
    The type of the Object Storage global quota.
    quotaUsage Property Map
    (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is null when hasUsage is false. For more information, see the Linode APIv4 docs. Referenced directly (e.g. quota_usage.quota_limit).
    resourceMetric String
    The specific Object Storage resource for the quota.

    Supporting Types

    GetObjectStorageGlobalQuotaQuotaUsage

    QuotaLimit int
    The maximum quantity allowed by the quota.
    Usage int
    The quantity of the Object Storage resource currently in use.
    QuotaLimit int
    The maximum quantity allowed by the quota.
    Usage int
    The quantity of the Object Storage resource currently in use.
    quota_limit number
    The maximum quantity allowed by the quota.
    usage number
    The quantity of the Object Storage resource currently in use.
    quotaLimit Integer
    The maximum quantity allowed by the quota.
    usage Integer
    The quantity of the Object Storage resource currently in use.
    quotaLimit number
    The maximum quantity allowed by the quota.
    usage number
    The quantity of the Object Storage resource currently in use.
    quota_limit int
    The maximum quantity allowed by the quota.
    usage int
    The quantity of the Object Storage resource currently in use.
    quotaLimit Number
    The maximum quantity allowed by the quota.
    usage Number
    The quantity of the Object Storage resource currently in use.

    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