@pulumi/hcloud
Version:
A Pulumi package for creating and managing hcloud cloud resources.
113 lines • 3.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides details about a Hetzner Storage Box Type.
*
* See the [Storage Box Type API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-types) for more details.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const byId = hcloud.getStorageBoxType({
* id: 1333,
* });
* const byName = hcloud.getStorageBoxType({
* name: "bx11",
* });
* ```
*/
export declare function getStorageBoxType(args?: GetStorageBoxTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageBoxTypeResult>;
/**
* A collection of arguments for invoking getStorageBoxType.
*/
export interface GetStorageBoxTypeArgs {
/**
* ID of the Storage Box Type.
*/
id?: number;
/**
* Name of the Storage Box Type.
*/
name?: string;
}
/**
* A collection of values returned by getStorageBoxType.
*/
export interface GetStorageBoxTypeResult {
/**
* Maximum number of snapshots created automatically by a snapshot plan.
*/
readonly automaticSnapshotLimit: number;
/**
* Date of the Storage Box Type deprecation announcement.
*/
readonly deprecationAnnounced: string;
/**
* Description of the Storage Box Type.
*/
readonly description: string;
/**
* ID of the Storage Box Type.
*/
readonly id?: number;
/**
* Whether the Storage Box Type is deprecated.
*/
readonly isDeprecated: boolean;
/**
* Name of the Storage Box Type.
*/
readonly name?: string;
/**
* Available storage in bytes.
*/
readonly size: number;
/**
* Maximum number of allowed manual snapshots.
*/
readonly snapshotLimit: number;
/**
* Maximum number of subaccounts.
*/
readonly subaccountsLimit: number;
/**
* Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
*/
readonly unavailableAfter: string;
}
/**
* Provides details about a Hetzner Storage Box Type.
*
* See the [Storage Box Type API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-types) for more details.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as hcloud from "@pulumi/hcloud";
*
* const byId = hcloud.getStorageBoxType({
* id: 1333,
* });
* const byName = hcloud.getStorageBoxType({
* name: "bx11",
* });
* ```
*/
export declare function getStorageBoxTypeOutput(args?: GetStorageBoxTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageBoxTypeResult>;
/**
* A collection of arguments for invoking getStorageBoxType.
*/
export interface GetStorageBoxTypeOutputArgs {
/**
* ID of the Storage Box Type.
*/
id?: pulumi.Input<number | undefined>;
/**
* Name of the Storage Box Type.
*/
name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getStorageBoxType.d.ts.map