@ediri/vultr
Version:
A Pulumi package for creating and managing Vultr cloud resources.
96 lines (95 loc) • 2.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Get information about an ISO file uploaded to your Vultr account.
*
* ## Example Usage
*
* Get the information for a ISO file by `filename`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myIso = vultr.getIsoPrivate({
* filters: [{
* name: "filename",
* values: ["my-iso-filename"],
* }],
* });
* ```
*/
export declare function getIsoPrivate(args?: GetIsoPrivateArgs, opts?: pulumi.InvokeOptions): Promise<GetIsoPrivateResult>;
/**
* A collection of arguments for invoking getIsoPrivate.
*/
export interface GetIsoPrivateArgs {
/**
* Query parameters for finding ISO files.
*/
filters?: inputs.GetIsoPrivateFilter[];
}
/**
* A collection of values returned by getIsoPrivate.
*/
export interface GetIsoPrivateResult {
/**
* The date the ISO file was added to your Vultr account.
*/
readonly dateCreated: string;
/**
* The ISO file's filename.
*/
readonly filename: string;
readonly filters?: outputs.GetIsoPrivateFilter[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The md5 hash of the ISO file.
*/
readonly md5sum: string;
/**
* The sha512 hash of the ISO file.
*/
readonly sha512sum: string;
/**
* The size of the ISO file in bytes.
*/
readonly size: number;
/**
* The status of the ISO file.
*/
readonly status: string;
}
/**
* Get information about an ISO file uploaded to your Vultr account.
*
* ## Example Usage
*
* Get the information for a ISO file by `filename`:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myIso = vultr.getIsoPrivate({
* filters: [{
* name: "filename",
* values: ["my-iso-filename"],
* }],
* });
* ```
*/
export declare function getIsoPrivateOutput(args?: GetIsoPrivateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIsoPrivateResult>;
/**
* A collection of arguments for invoking getIsoPrivate.
*/
export interface GetIsoPrivateOutputArgs {
/**
* Query parameters for finding ISO files.
*/
filters?: pulumi.Input<pulumi.Input<inputs.GetIsoPrivateFilterArgs>[]>;
}