1. Packages
  2. Vultr
  3. API Docs
  4. getObjectStorageTier
Vultr v2.27.1 published on Tuesday, Sep 30, 2025 by dirien

vultr.getObjectStorageTier

Start a Neo task
Explain and create a vultr.getObjectStorageTier resource
vultr logo
Vultr v2.27.1 published on Tuesday, Sep 30, 2025 by dirien

    Get information about Object Storage tiers on Vultr.

    Example Usage

    Get the information for an object storage tier by slug:

    import * as pulumi from "@pulumi/pulumi";
    import * as vultr from "@ediri/vultr";
    
    const obs_tier = vultr.getObjectStorageTier({
        filters: [{
            name: "slug",
            values: ["tier_010k_5000m"],
        }],
    });
    
    import pulumi
    import pulumi_vultr as vultr
    
    obs_tier = vultr.get_object_storage_tier(filters=[{
        "name": "slug",
        "values": ["tier_010k_5000m"],
    }])
    
    package main
    
    import (
    	"github.com/dirien/pulumi-vultr/sdk/v2/go/vultr"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vultr.GetObjectStorageTier(ctx, &vultr.GetObjectStorageTierArgs{
    			Filters: []vultr.GetObjectStorageTierFilter{
    				{
    					Name: "slug",
    					Values: []string{
    						"tier_010k_5000m",
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vultr = Pulumi.Vultr;
    
    return await Deployment.RunAsync(() => 
    {
        var obs_tier = Vultr.GetObjectStorageTier.Invoke(new()
        {
            Filters = new[]
            {
                new Vultr.Inputs.GetObjectStorageTierFilterInputArgs
                {
                    Name = "slug",
                    Values = new[]
                    {
                        "tier_010k_5000m",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vultr.VultrFunctions;
    import com.pulumi.vultr.inputs.GetObjectStorageTierArgs;
    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 obs-tier = VultrFunctions.getObjectStorageTier(GetObjectStorageTierArgs.builder()
                .filters(GetObjectStorageTierFilterArgs.builder()
                    .name("slug")
                    .values("tier_010k_5000m")
                    .build())
                .build());
    
        }
    }
    
    variables:
      obs-tier:
        fn::invoke:
          function: vultr:getObjectStorageTier
          arguments:
            filters:
              - name: slug
                values:
                  - tier_010k_5000m
    

    slug values and associated details can be retrieved through this API call.

    Using getObjectStorageTier

    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 getObjectStorageTier(args: GetObjectStorageTierArgs, opts?: InvokeOptions): Promise<GetObjectStorageTierResult>
    function getObjectStorageTierOutput(args: GetObjectStorageTierOutputArgs, opts?: InvokeOptions): Output<GetObjectStorageTierResult>
    def get_object_storage_tier(filters: Optional[Sequence[GetObjectStorageTierFilter]] = None,
                                opts: Optional[InvokeOptions] = None) -> GetObjectStorageTierResult
    def get_object_storage_tier_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetObjectStorageTierFilterArgs]]]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetObjectStorageTierResult]
    func GetObjectStorageTier(ctx *Context, args *GetObjectStorageTierArgs, opts ...InvokeOption) (*GetObjectStorageTierResult, error)
    func GetObjectStorageTierOutput(ctx *Context, args *GetObjectStorageTierOutputArgs, opts ...InvokeOption) GetObjectStorageTierResultOutput

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

    public static class GetObjectStorageTier 
    {
        public static Task<GetObjectStorageTierResult> InvokeAsync(GetObjectStorageTierArgs args, InvokeOptions? opts = null)
        public static Output<GetObjectStorageTierResult> Invoke(GetObjectStorageTierInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetObjectStorageTierResult> getObjectStorageTier(GetObjectStorageTierArgs args, InvokeOptions options)
    public static Output<GetObjectStorageTierResult> getObjectStorageTier(GetObjectStorageTierArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vultr:index/getObjectStorageTier:getObjectStorageTier
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<ediri.Vultr.Inputs.GetObjectStorageTierFilter>
    Query parameters for finding operating systems.
    Filters []GetObjectStorageTierFilter
    Query parameters for finding operating systems.
    filters List<GetObjectStorageTierFilter>
    Query parameters for finding operating systems.
    filters GetObjectStorageTierFilter[]
    Query parameters for finding operating systems.
    filters Sequence[GetObjectStorageTierFilter]
    Query parameters for finding operating systems.
    filters List<Property Map>
    Query parameters for finding operating systems.

    getObjectStorageTier Result

    The following output properties are available:

    Id int
    The identifying tier ID.
    Locations List<ediri.Vultr.Outputs.GetObjectStorageTierLocation>
    A list of locations/clusters where the tier is available.
    Price int
    The monthly cost for the tier.
    RateLimitBytes int
    The byte-per-second rate limit in the tier.
    RateLimitOperations int
    The operations-per-second rate limit in the tier.
    Slug string
    The unique name for the tier.
    Filters List<ediri.Vultr.Outputs.GetObjectStorageTierFilter>
    Id int
    The identifying tier ID.
    Locations []GetObjectStorageTierLocation
    A list of locations/clusters where the tier is available.
    Price int
    The monthly cost for the tier.
    RateLimitBytes int
    The byte-per-second rate limit in the tier.
    RateLimitOperations int
    The operations-per-second rate limit in the tier.
    Slug string
    The unique name for the tier.
    Filters []GetObjectStorageTierFilter
    id Integer
    The identifying tier ID.
    locations List<GetObjectStorageTierLocation>
    A list of locations/clusters where the tier is available.
    price Integer
    The monthly cost for the tier.
    rateLimitBytes Integer
    The byte-per-second rate limit in the tier.
    rateLimitOperations Integer
    The operations-per-second rate limit in the tier.
    slug String
    The unique name for the tier.
    filters List<GetObjectStorageTierFilter>
    id number
    The identifying tier ID.
    locations GetObjectStorageTierLocation[]
    A list of locations/clusters where the tier is available.
    price number
    The monthly cost for the tier.
    rateLimitBytes number
    The byte-per-second rate limit in the tier.
    rateLimitOperations number
    The operations-per-second rate limit in the tier.
    slug string
    The unique name for the tier.
    filters GetObjectStorageTierFilter[]
    id int
    The identifying tier ID.
    locations Sequence[GetObjectStorageTierLocation]
    A list of locations/clusters where the tier is available.
    price int
    The monthly cost for the tier.
    rate_limit_bytes int
    The byte-per-second rate limit in the tier.
    rate_limit_operations int
    The operations-per-second rate limit in the tier.
    slug str
    The unique name for the tier.
    filters Sequence[GetObjectStorageTierFilter]
    id Number
    The identifying tier ID.
    locations List<Property Map>
    A list of locations/clusters where the tier is available.
    price Number
    The monthly cost for the tier.
    rateLimitBytes Number
    The byte-per-second rate limit in the tier.
    rateLimitOperations Number
    The operations-per-second rate limit in the tier.
    slug String
    The unique name for the tier.
    filters List<Property Map>

    Supporting Types

    GetObjectStorageTierFilter

    Name string
    Attribute name to filter with.
    Values List<string>
    One or more values filter with.
    Name string
    Attribute name to filter with.
    Values []string
    One or more values filter with.
    name String
    Attribute name to filter with.
    values List<String>
    One or more values filter with.
    name string
    Attribute name to filter with.
    values string[]
    One or more values filter with.
    name str
    Attribute name to filter with.
    values Sequence[str]
    One or more values filter with.
    name String
    Attribute name to filter with.
    values List<String>
    One or more values filter with.

    GetObjectStorageTierLocation

    Hostname string
    Id int
    The identifying tier ID.
    Name string
    Attribute name to filter with.
    Region string
    Hostname string
    Id int
    The identifying tier ID.
    Name string
    Attribute name to filter with.
    Region string
    hostname String
    id Integer
    The identifying tier ID.
    name String
    Attribute name to filter with.
    region String
    hostname string
    id number
    The identifying tier ID.
    name string
    Attribute name to filter with.
    region string
    hostname str
    id int
    The identifying tier ID.
    name str
    Attribute name to filter with.
    region str
    hostname String
    id Number
    The identifying tier ID.
    name String
    Attribute name to filter with.
    region String

    Package Details

    Repository
    vultr dirien/pulumi-vultr
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vultr Terraform Provider.
    vultr logo
    Vultr v2.27.1 published on Tuesday, Sep 30, 2025 by dirien
      Meet Neo: Your AI Platform Teammate