UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

57 lines (56 loc) 2.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides information about Linode Volume types that match a set of filters. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-volume-types). */ export declare function getVolumeTypes(args?: GetVolumeTypesArgs, opts?: pulumi.InvokeOptions): Promise<GetVolumeTypesResult>; /** * A collection of arguments for invoking getVolumeTypes. */ export interface GetVolumeTypesArgs { filters?: inputs.GetVolumeTypesFilter[]; /** * The order in which results should be returned. (`asc`, `desc`; default `asc`) */ order?: string; /** * The attribute to order the results by. See the Filterable Fields section for a list of valid fields. */ orderBy?: string; types?: inputs.GetVolumeTypesType[]; } /** * A collection of values returned by getVolumeTypes. */ export interface GetVolumeTypesResult { readonly filters?: outputs.GetVolumeTypesFilter[]; /** * The ID representing the Volume type. */ readonly id: string; readonly order?: string; readonly orderBy?: string; readonly types?: outputs.GetVolumeTypesType[]; } /** * Provides information about Linode Volume types that match a set of filters. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-volume-types). */ export declare function getVolumeTypesOutput(args?: GetVolumeTypesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVolumeTypesResult>; /** * A collection of arguments for invoking getVolumeTypes. */ export interface GetVolumeTypesOutputArgs { filters?: pulumi.Input<pulumi.Input<inputs.GetVolumeTypesFilterArgs>[]>; /** * The order in which results should be returned. (`asc`, `desc`; default `asc`) */ order?: pulumi.Input<string>; /** * The attribute to order the results by. See the Filterable Fields section for a list of valid fields. */ orderBy?: pulumi.Input<string>; types?: pulumi.Input<pulumi.Input<inputs.GetVolumeTypesTypeArgs>[]>; }