// *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; import * as utilities from "./utilities"; export function getNetworkDrivePreset(args?: GetNetworkDrivePresetArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("timeweb-cloud:index/getNetworkDrivePreset:getNetworkDrivePreset", { "id": args.id, "priceFilter": args.priceFilter, "type": args.type, }, opts, utilities.getPackage()); } /** * A collection of arguments for invoking getNetworkDrivePreset. */ export interface GetNetworkDrivePresetArgs { id?: string; priceFilter?: inputs.GetNetworkDrivePresetPriceFilter; type?: string; } /** * A collection of values returned by getNetworkDrivePreset. */ export interface GetNetworkDrivePresetResult { readonly costPerGb: number; readonly id: string; readonly priceFilter?: outputs.GetNetworkDrivePresetPriceFilter; readonly type: string; } export function getNetworkDrivePresetOutput(args?: GetNetworkDrivePresetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("timeweb-cloud:index/getNetworkDrivePreset:getNetworkDrivePreset", { "id": args.id, "priceFilter": args.priceFilter, "type": args.type, }, opts, utilities.getPackage()); } /** * A collection of arguments for invoking getNetworkDrivePreset. */ export interface GetNetworkDrivePresetOutputArgs { id?: pulumi.Input; priceFilter?: pulumi.Input; type?: pulumi.Input; }