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 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
quotaIdquotaNamedescriptionquotaLimitresourceMetricquotaTypehasUsage
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 dictionarydata "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<Get
Object Storage Global Quotas Quota> - (Nested Attribute List) Object Storage global quotas matching the query.
- Filters
List<Get
Object Storage Global Quotas Filter>
- Id string
- Quotas
[]Get
Object Storage Global Quotas Quota - (Nested Attribute List) Object Storage global quotas matching the query.
- Filters
[]Get
Object Storage Global Quotas Filter
- id string
- quotas list(object)
- (Nested Attribute List) Object Storage global quotas matching the query.
- filters list(object)
- id String
- quotas
List<Get
Object Storage Global Quotas Quota> - (Nested Attribute List) Object Storage global quotas matching the query.
- filters
List<Get
Object Storage Global Quotas Filter>
- id string
- quotas
Get
Object Storage Global Quotas Quota[] - (Nested Attribute List) Object Storage global quotas matching the query.
- filters
Get
Object Storage Global Quotas Filter[]
- id str
- quotas
Sequence[Get
Object Storage Global Quotas Quota] - (Nested Attribute List) Object Storage global quotas matching the query.
- filters
Sequence[Get
Object Storage Global Quotas Filter]
- 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.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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; defaultexact)
- 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; defaultexact)
- 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.
- match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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; defaultexact)
- 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; defaultexact)
GetObjectStorageGlobalQuotasQuota
- 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 int - The maximum quantity of the
resourceMetricallowed 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.
- 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 int - The maximum quantity of the
resourceMetricallowed 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.
- 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
resourceMetricallowed 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.
- has
Usage Boolean - Whether usage data is available for the Object Storage global quota.
- quota
Id String - The ID of the Object Storage global quota.
- quota
Limit Integer - The maximum quantity of the
resourceMetricallowed 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.
- has
Usage boolean - 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
resourceMetricallowed 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 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
resourceMetricallowed 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.
- has
Usage Boolean - 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
resourceMetricallowed 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.
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