1. Registry
  2. Packages
  3. Linode Provider
  4. API Docs
  5. getVolumeTypes
Viewing docs for Linode v6.8.0
published on Wednesday, Oct 21, 2026 by Pulumi
linode logo linode logo
Viewing docs for Linode v6.8.0
published on Wednesday, Oct 21, 2026 by Pulumi

    Provides information about Linode Volume types that match a set of filters. For more information, see the Linode APIv4 docs.

    Using getVolumeTypes

    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 getVolumeTypes(args: GetVolumeTypesArgs, opts?: InvokeOptions): Promise<GetVolumeTypesResult>
    function getVolumeTypesOutput(args: GetVolumeTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetVolumeTypesResult>
    def get_volume_types(filters: Optional[Sequence[GetVolumeTypesFilter]] = None,
                         order: Optional[str] = None,
                         order_by: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetVolumeTypesResult
    def get_volume_types_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVolumeTypesFilterArgs]]]] = None,
                         order: pulumi.Input[Optional[str]] = None,
                         order_by: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetVolumeTypesResult]
    func GetVolumeTypes(ctx *Context, args *GetVolumeTypesArgs, opts ...InvokeOption) (*GetVolumeTypesResult, error)
    func GetVolumeTypesOutput(ctx *Context, args *GetVolumeTypesOutputArgs, opts ...InvokeOption) GetVolumeTypesResultOutput

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

    public static class GetVolumeTypes 
    {
        public static Task<GetVolumeTypesResult> InvokeAsync(GetVolumeTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetVolumeTypesResult> Invoke(GetVolumeTypesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVolumeTypesResult> Invoke(GetVolumeTypesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOptions options)
    public static Output<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOptions options)
    public static Output<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: linode:index/getVolumeTypes:getVolumeTypes
      arguments:
        # arguments dictionary
    data "linode_get_volume_types" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetVolumeTypesFilter>
    Order string
    The order in which results should be returned. (asc, desc; default desc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    Filters []GetVolumeTypesFilter
    Order string
    The order in which results should be returned. (asc, desc; default desc)
    OrderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters list(object)
    order string
    The order in which results should be returned. (asc, desc; default desc)
    order_by string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters List<GetVolumeTypesFilter>
    order String
    The order in which results should be returned. (asc, desc; default desc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters GetVolumeTypesFilter[]
    order string
    The order in which results should be returned. (asc, desc; default desc)
    orderBy string
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters Sequence[GetVolumeTypesFilter]
    order str
    The order in which results should be returned. (asc, desc; default desc)
    order_by str
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
    filters List<Property Map>
    order String
    The order in which results should be returned. (asc, desc; default desc)
    orderBy String
    The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

    getVolumeTypes Result

    The following output properties are available:

    Id string
    The ID representing the Volume type.
    Types List<GetVolumeTypesType>
    (Nested Attribute List) Linode Volume types matching the query.
    Filters List<GetVolumeTypesFilter>
    Order string
    OrderBy string
    Id string
    The ID representing the Volume type.
    Types []GetVolumeTypesType
    (Nested Attribute List) Linode Volume types matching the query.
    Filters []GetVolumeTypesFilter
    Order string
    OrderBy string
    id string
    The ID representing the Volume type.
    types list(object)
    (Nested Attribute List) Linode Volume types matching the query.
    filters list(object)
    order string
    order_by string
    id String
    The ID representing the Volume type.
    types List<GetVolumeTypesType>
    (Nested Attribute List) Linode Volume types matching the query.
    filters List<GetVolumeTypesFilter>
    order String
    orderBy String
    id string
    The ID representing the Volume type.
    types GetVolumeTypesType[]
    (Nested Attribute List) Linode Volume types matching the query.
    filters GetVolumeTypesFilter[]
    order string
    orderBy string
    id str
    The ID representing the Volume type.
    types Sequence[GetVolumeTypesType]
    (Nested Attribute List) Linode Volume types matching the query.
    filters Sequence[GetVolumeTypesFilter]
    order str
    order_by str
    id String
    The ID representing the Volume type.
    types List<Property Map>
    (Nested Attribute List) Linode Volume types matching the query.
    filters List<Property Map>
    order String
    orderBy String

    Supporting Types

    GetVolumeTypesFilter

    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)

    GetVolumeTypesType

    Id string
    The ID representing the Volume type.
    Label string
    The Volume type label is for display purposes only.
    Prices List<GetVolumeTypesTypePrice>
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    RegionPrices List<GetVolumeTypesTypeRegionPrice>
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    Transfer int
    The monthly outbound transfer amount, in MB.
    Id string
    The ID representing the Volume type.
    Label string
    The Volume type label is for display purposes only.
    Prices []GetVolumeTypesTypePrice
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    RegionPrices []GetVolumeTypesTypeRegionPrice
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    Transfer int
    The monthly outbound transfer amount, in MB.
    id string
    The ID representing the Volume type.
    label string
    The Volume type label is for display purposes only.
    prices list(object)
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    region_prices list(object)
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    transfer number
    The monthly outbound transfer amount, in MB.
    id String
    The ID representing the Volume type.
    label String
    The Volume type label is for display purposes only.
    prices List<GetVolumeTypesTypePrice>
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    regionPrices List<GetVolumeTypesTypeRegionPrice>
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    transfer Integer
    The monthly outbound transfer amount, in MB.
    id string
    The ID representing the Volume type.
    label string
    The Volume type label is for display purposes only.
    prices GetVolumeTypesTypePrice[]
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    regionPrices GetVolumeTypesTypeRegionPrice[]
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    transfer number
    The monthly outbound transfer amount, in MB.
    id str
    The ID representing the Volume type.
    label str
    The Volume type label is for display purposes only.
    prices Sequence[GetVolumeTypesTypePrice]
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    region_prices Sequence[GetVolumeTypesTypeRegionPrice]
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    transfer int
    The monthly outbound transfer amount, in MB.
    id String
    The ID representing the Volume type.
    label String
    The Volume type label is for display purposes only.
    prices List<Property Map>
    (Read-Only Object List) Pricing information for this Linode Volume type. Referenced with an index (e.g. price.0.hourly).
    regionPrices List<Property Map>
    (Read-Only Object List) Region-specific pricing information for this Linode Volume type. Referenced with an index (e.g. region_prices.0.hourly).
    transfer Number
    The monthly outbound transfer amount, in MB.

    GetVolumeTypesTypePrice

    Hourly double
    Cost (in US dollars) per hour.
    Monthly double
    Cost (in US dollars) per month.
    Hourly float64
    Cost (in US dollars) per hour.
    Monthly float64
    Cost (in US dollars) per month.
    hourly number
    Cost (in US dollars) per hour.
    monthly number
    Cost (in US dollars) per month.
    hourly Double
    Cost (in US dollars) per hour.
    monthly Double
    Cost (in US dollars) per month.
    hourly number
    Cost (in US dollars) per hour.
    monthly number
    Cost (in US dollars) per month.
    hourly float
    Cost (in US dollars) per hour.
    monthly float
    Cost (in US dollars) per month.
    hourly Number
    Cost (in US dollars) per hour.
    monthly Number
    Cost (in US dollars) per month.

    GetVolumeTypesTypeRegionPrice

    Hourly double
    Id string
    The ID representing the Volume type.
    Monthly double
    Hourly float64
    Id string
    The ID representing the Volume type.
    Monthly float64
    hourly number
    id string
    The ID representing the Volume type.
    monthly number
    hourly Double
    id String
    The ID representing the Volume type.
    monthly Double
    hourly number
    id string
    The ID representing the Volume type.
    monthly number
    hourly float
    id str
    The ID representing the Volume type.
    monthly float
    hourly Number
    id String
    The ID representing the Volume type.
    monthly Number

    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.8.0
    published on Wednesday, Oct 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial