1. Packages
  2. Linode Provider
  3. API Docs
  4. getVolumeTypes
Linode v4.38.0 published on Thursday, Apr 24, 2025 by Pulumi

linode.getVolumeTypes

Explore with Pulumi AI

Linode v4.38.0 published on Thursday, Apr 24, 2025 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?: InvokeOptions): Output<GetVolumeTypesResult>
Copy
def get_volume_types(filters: Optional[Sequence[GetVolumeTypesFilter]] = None,
                     order: Optional[str] = None,
                     order_by: Optional[str] = None,
                     types: Optional[Sequence[GetVolumeTypesType]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetVolumeTypesResult
def get_volume_types_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVolumeTypesFilterArgs]]]] = None,
                     order: Optional[pulumi.Input[str]] = None,
                     order_by: Optional[pulumi.Input[str]] = None,
                     types: Optional[pulumi.Input[Sequence[pulumi.Input[GetVolumeTypesTypeArgs]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetVolumeTypesResult]
Copy
func GetVolumeTypes(ctx *Context, args *GetVolumeTypesArgs, opts ...InvokeOption) (*GetVolumeTypesResult, error)
func GetVolumeTypesOutput(ctx *Context, args *GetVolumeTypesOutputArgs, opts ...InvokeOption) GetVolumeTypesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOptions options)
public static Output<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: linode:index/getVolumeTypes:getVolumeTypes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getVolumeTypes Result

The following output properties are available:

Id string
The ID representing the Volume type.
Filters List<GetVolumeTypesFilter>
Order string
OrderBy string
Types List<GetVolumeTypesType>
Id string
The ID representing the Volume type.
Filters []GetVolumeTypesFilter
Order string
OrderBy string
Types []GetVolumeTypesType
id String
The ID representing the Volume type.
filters List<GetVolumeTypesFilter>
order String
orderBy String
types List<GetVolumeTypesType>
id string
The ID representing the Volume type.
filters GetVolumeTypesFilter[]
order string
orderBy string
types GetVolumeTypesType[]
id String
The ID representing the Volume type.
filters List<Property Map>
order String
orderBy String
types List<Property Map>

Supporting Types

GetVolumeTypesFilter

Name This property is required. string
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
Values This property is required. 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 This property is required. string
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
Values This property is required. []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 This property is required. String
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. 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 This property is required. string
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. 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 This property is required. str
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. 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 This property is required. String
The name of the field to filter by. See the Filterable Fields section for a complete list of filterable fields.
values This property is required. 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 This property is required. string
The ID representing the Volume type.
Label This property is required. string
The Volume type label is for display purposes only.
Prices This property is required. List<GetVolumeTypesTypePrice>
Cost in US dollars, broken down into hourly and monthly charges.
RegionPrices This property is required. List<GetVolumeTypesTypeRegionPrice>
A list of region-specific prices for this Volume Type.
Transfer This property is required. int
The monthly outbound transfer amount, in MB.
Id This property is required. string
The ID representing the Volume type.
Label This property is required. string
The Volume type label is for display purposes only.
Prices This property is required. []GetVolumeTypesTypePrice
Cost in US dollars, broken down into hourly and monthly charges.
RegionPrices This property is required. []GetVolumeTypesTypeRegionPrice
A list of region-specific prices for this Volume Type.
Transfer This property is required. int
The monthly outbound transfer amount, in MB.
id This property is required. String
The ID representing the Volume type.
label This property is required. String
The Volume type label is for display purposes only.
prices This property is required. List<GetVolumeTypesTypePrice>
Cost in US dollars, broken down into hourly and monthly charges.
regionPrices This property is required. List<GetVolumeTypesTypeRegionPrice>
A list of region-specific prices for this Volume Type.
transfer This property is required. Integer
The monthly outbound transfer amount, in MB.
id This property is required. string
The ID representing the Volume type.
label This property is required. string
The Volume type label is for display purposes only.
prices This property is required. GetVolumeTypesTypePrice[]
Cost in US dollars, broken down into hourly and monthly charges.
regionPrices This property is required. GetVolumeTypesTypeRegionPrice[]
A list of region-specific prices for this Volume Type.
transfer This property is required. number
The monthly outbound transfer amount, in MB.
id This property is required. str
The ID representing the Volume type.
label This property is required. str
The Volume type label is for display purposes only.
prices This property is required. Sequence[GetVolumeTypesTypePrice]
Cost in US dollars, broken down into hourly and monthly charges.
region_prices This property is required. Sequence[GetVolumeTypesTypeRegionPrice]
A list of region-specific prices for this Volume Type.
transfer This property is required. int
The monthly outbound transfer amount, in MB.
id This property is required. String
The ID representing the Volume type.
label This property is required. String
The Volume type label is for display purposes only.
prices This property is required. List<Property Map>
Cost in US dollars, broken down into hourly and monthly charges.
regionPrices This property is required. List<Property Map>
A list of region-specific prices for this Volume Type.
transfer This property is required. Number
The monthly outbound transfer amount, in MB.

GetVolumeTypesTypePrice

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

GetVolumeTypesTypeRegionPrice

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

Package Details

Repository
Linode pulumi/pulumi-linode
License
Apache-2.0
Notes
This Pulumi package is based on the linode Terraform Provider.
Linode v4.38.0 published on Thursday, Apr 24, 2025 by Pulumi