Linode v4.38.0 published on Thursday, Apr 24, 2025 by Pulumi
linode.getVolumeTypes
Explore with Pulumi AI
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>
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]
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 CompletableFuture<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOptions options)
public static Output<GetVolumeTypesResult> getVolumeTypes(GetVolumeTypesArgs args, InvokeOptions options)
fn::invoke:
function: linode:index/getVolumeTypes:getVolumeTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Volume Types Filter> - Order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Types
List<Get
Volume Types Type>
- Filters
[]Get
Volume Types Filter - Order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Types
[]Get
Volume Types Type
- filters
List<Get
Volume Types Filter> - order String
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- types
List<Get
Volume Types Type>
- filters
Get
Volume Types Filter[] - order string
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- types
Get
Volume Types Type[]
- filters
Sequence[Get
Volume Types Filter] - order str
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order_
by str - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- types
Sequence[Get
Volume Types Type]
- filters List<Property Map>
- order String
- The order in which results should be returned. (
asc
,desc
; defaultasc
) - order
By 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<Get
Volume Types Filter> - Order string
- Order
By string - Types
List<Get
Volume Types Type>
- Id string
- The ID representing the Volume type.
- Filters
[]Get
Volume Types Filter - Order string
- Order
By string - Types
[]Get
Volume Types Type
- id String
- The ID representing the Volume type.
- filters
List<Get
Volume Types Filter> - order String
- order
By String - types
List<Get
Volume Types Type>
- id string
- The ID representing the Volume type.
- filters
Get
Volume Types Filter[] - order string
- order
By string - types
Get
Volume Types Type[]
- id str
- The ID representing the Volume type.
- filters
Sequence[Get
Volume Types Filter] - order str
- order_
by str - types
Sequence[Get
Volume Types Type]
- id String
- The ID representing the Volume type.
- filters List<Property Map>
- order String
- order
By 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.
- Match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- Match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- match
By String - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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.
- match
By string - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
- 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
; defaultexact
)
- 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.
- match
By String - The method to match the field by. (
exact
,regex
,substring
; defaultexact
)
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<GetVolume Types Type Price> - Cost in US dollars, broken down into hourly and monthly charges.
- Region
Prices This property is required. List<GetVolume Types Type Region Price> - 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. []GetVolume Types Type Price - Cost in US dollars, broken down into hourly and monthly charges.
- Region
Prices This property is required. []GetVolume Types Type Region Price - 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<GetVolume Types Type Price> - Cost in US dollars, broken down into hourly and monthly charges.
- region
Prices This property is required. List<GetVolume Types Type Region Price> - 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. GetVolume Types Type Price[] - Cost in US dollars, broken down into hourly and monthly charges.
- region
Prices This property is required. GetVolume Types Type Region Price[] - 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[GetVolume Types Type Price] - Cost in US dollars, broken down into hourly and monthly charges.
- region_
prices This property is required. Sequence[GetVolume Types Type Region Price] - 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.
- region
Prices 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
GetVolumeTypesTypeRegionPrice
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.