// *** 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 utilities from "./utilities"; export function getNetworkDrive(args?: GetNetworkDriveArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("timeweb-cloud:index/getNetworkDrive:getNetworkDrive", { "availabilityZone": args.availabilityZone, "comment": args.comment, "id": args.id, "location": args.location, "name": args.name, "presetId": args.presetId, "size": args.size, "type": args.type, }, opts, utilities.getPackage()); } /** * A collection of arguments for invoking getNetworkDrive. */ export interface GetNetworkDriveArgs { availabilityZone?: string; comment?: string; id?: string; location?: string; name?: string; presetId?: number; size?: number; type?: string; } /** * A collection of values returned by getNetworkDrive. */ export interface GetNetworkDriveResult { readonly availabilityZone: string; readonly comment: string; readonly id: string; readonly location: string; readonly name: string; readonly presetId: number; readonly size: number; readonly type: string; } export function getNetworkDriveOutput(args?: GetNetworkDriveOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("timeweb-cloud:index/getNetworkDrive:getNetworkDrive", { "availabilityZone": args.availabilityZone, "comment": args.comment, "id": args.id, "location": args.location, "name": args.name, "presetId": args.presetId, "size": args.size, "type": args.type, }, opts, utilities.getPackage()); } /** * A collection of arguments for invoking getNetworkDrive. */ export interface GetNetworkDriveOutputArgs { availabilityZone?: pulumi.Input; comment?: pulumi.Input; id?: pulumi.Input; location?: pulumi.Input; name?: pulumi.Input; presetId?: pulumi.Input; size?: pulumi.Input; type?: pulumi.Input; }