Linode v4.30.1 published on Thursday, Nov 21, 2024 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)
// Output-based functions aren't available in Java yet
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 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 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
)
GetVolumeTypesType
- Id string
- The ID representing the Volume type.
- Label string
- The Volume type label is for display purposes only.
- Prices
List<Get
Volume Types Type Price> - Cost in US dollars, broken down into hourly and monthly charges.
- Region
Prices List<GetVolume Types Type Region Price> - A list of region-specific prices for this Volume Type.
- 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
[]Get
Volume Types Type Price - Cost in US dollars, broken down into hourly and monthly charges.
- Region
Prices []GetVolume Types Type Region Price - A list of region-specific prices for this Volume Type.
- 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<Get
Volume Types Type Price> - Cost in US dollars, broken down into hourly and monthly charges.
- region
Prices List<GetVolume Types Type Region Price> - A list of region-specific prices for this Volume Type.
- 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
Get
Volume Types Type Price[] - Cost in US dollars, broken down into hourly and monthly charges.
- region
Prices GetVolume Types Type Region Price[] - A list of region-specific prices for this Volume Type.
- 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[Get
Volume Types Type Price] - Cost in US dollars, broken down into hourly and monthly charges.
- region_
prices Sequence[GetVolume Types Type Region Price] - A list of region-specific prices for this Volume Type.
- 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>
- Cost in US dollars, broken down into hourly and monthly charges.
- region
Prices List<Property Map> - A list of region-specific prices for this Volume Type.
- transfer 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.