1. Packages
  2. Linode Provider
  3. API Docs
  4. getVolumeTypes
Linode v4.30.1 published on Thursday, Nov 21, 2024 by Pulumi

linode.getVolumeTypes

Explore with Pulumi AI

linode logo
Linode v4.30.1 published on Thursday, Nov 21, 2024 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>
    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<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 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.
    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>
    Cost in US dollars, broken down into hourly and monthly charges.
    RegionPrices List<GetVolumeTypesTypeRegionPrice>
    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 []GetVolumeTypesTypePrice
    Cost in US dollars, broken down into hourly and monthly charges.
    RegionPrices []GetVolumeTypesTypeRegionPrice
    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<GetVolumeTypesTypePrice>
    Cost in US dollars, broken down into hourly and monthly charges.
    regionPrices List<GetVolumeTypesTypeRegionPrice>
    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 GetVolumeTypesTypePrice[]
    Cost in US dollars, broken down into hourly and monthly charges.
    regionPrices GetVolumeTypesTypeRegionPrice[]
    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[GetVolumeTypesTypePrice]
    Cost in US dollars, broken down into hourly and monthly charges.
    region_prices Sequence[GetVolumeTypesTypeRegionPrice]
    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.
    regionPrices List<Property Map>
    A list of region-specific prices for this Volume Type.
    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 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 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 v4.30.1 published on Thursday, Nov 21, 2024 by Pulumi