Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
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 dictionarydata "linode_get_object_storage_global_quota" "name" {
# arguments
}The following arguments are supported:
- Quota
Id string - The Object Storage global quota ID.
- Quota
Id string - The Object Storage global quota ID.
- quota_
id string - The Object Storage global quota ID.
- quota
Id String - The Object Storage global quota ID.
- quota
Id string - The Object Storage global quota ID.
- quota_
id str - The Object Storage global quota ID.
- quota
Id 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.
- 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 int - 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 GetObject Storage Global Quota Quota Usage - (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is
nullwhenhasUsageisfalse. 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.
- 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 int - 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 GetObject Storage Global Quota Quota Usage - (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is
nullwhenhasUsageisfalse. 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.
- 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
nullwhenhasUsageisfalse. 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.
- has
Usage 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.
- quota
Id String - quota
Limit Integer - 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 GetObject Storage Global Quota Quota Usage - (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is
nullwhenhasUsageisfalse. 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.
- has
Usage 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.
- 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 GetObject Storage Global Quota Quota Usage - (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is
nullwhenhasUsageisfalse. 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 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 GetObject Storage Global Quota Quota Usage - (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is
nullwhenhasUsageisfalse. 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.
- has
Usage 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.
- 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 Property Map - (Read-Only Object) The usage data for a specific global Object Storage quota on your account. This value is
nullwhenhasUsageisfalse. 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.
Supporting Types
GetObjectStorageGlobalQuotaQuotaUsage
- Quota
Limit int - The maximum quantity allowed by the quota.
- Usage int
- 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.
- quota_
limit number - The maximum quantity allowed by the quota.
- usage number
- The quantity of the Object Storage resource currently in use.
- quota
Limit Integer - The maximum quantity allowed by the quota.
- usage Integer
- 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.
- quota_
limit 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.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi