Viewing docs for Hetzner Cloud v1.32.1
published on Tuesday, Feb 17, 2026 by Pulumi
published on Tuesday, Feb 17, 2026 by Pulumi
Viewing docs for Hetzner Cloud v1.32.1
published on Tuesday, Feb 17, 2026 by Pulumi
published on Tuesday, Feb 17, 2026 by Pulumi
Provides details about a Hetzner Storage Box Type.
See the Storage Box Type API documentation for more details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const byId = hcloud.getStorageBoxType({
id: 1333,
});
const byName = hcloud.getStorageBoxType({
name: "bx11",
});
import pulumi
import pulumi_hcloud as hcloud
by_id = hcloud.get_storage_box_type(id=1333)
by_name = hcloud.get_storage_box_type(name="bx11")
package main
import (
"github.com/pulumi/pulumi-hcloud/sdk/go/hcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hcloud.GetStorageBoxType(ctx, &hcloud.GetStorageBoxTypeArgs{
Id: pulumi.IntRef(1333),
}, nil)
if err != nil {
return err
}
_, err = hcloud.GetStorageBoxType(ctx, &hcloud.GetStorageBoxTypeArgs{
Name: pulumi.StringRef("bx11"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using HCloud = Pulumi.HCloud;
return await Deployment.RunAsync(() =>
{
var byId = HCloud.GetStorageBoxType.Invoke(new()
{
Id = 1333,
});
var byName = HCloud.GetStorageBoxType.Invoke(new()
{
Name = "bx11",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.HcloudFunctions;
import com.pulumi.hcloud.inputs.GetStorageBoxTypeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var byId = HcloudFunctions.getStorageBoxType(GetStorageBoxTypeArgs.builder()
.id(1333)
.build());
final var byName = HcloudFunctions.getStorageBoxType(GetStorageBoxTypeArgs.builder()
.name("bx11")
.build());
}
}
variables:
byId:
fn::invoke:
function: hcloud:getStorageBoxType
arguments:
id: 1333
byName:
fn::invoke:
function: hcloud:getStorageBoxType
arguments:
name: bx11
Using getStorageBoxType
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorageBoxType(args: GetStorageBoxTypeArgs, opts?: InvokeOptions): Promise<GetStorageBoxTypeResult>
function getStorageBoxTypeOutput(args: GetStorageBoxTypeOutputArgs, opts?: InvokeOptions): Output<GetStorageBoxTypeResult>def get_storage_box_type(id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageBoxTypeResult
def get_storage_box_type_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageBoxTypeResult]func GetStorageBoxType(ctx *Context, args *GetStorageBoxTypeArgs, opts ...InvokeOption) (*GetStorageBoxTypeResult, error)
func GetStorageBoxTypeOutput(ctx *Context, args *GetStorageBoxTypeOutputArgs, opts ...InvokeOption) GetStorageBoxTypeResultOutput> Note: This function is named GetStorageBoxType in the Go SDK.
public static class GetStorageBoxType
{
public static Task<GetStorageBoxTypeResult> InvokeAsync(GetStorageBoxTypeArgs args, InvokeOptions? opts = null)
public static Output<GetStorageBoxTypeResult> Invoke(GetStorageBoxTypeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStorageBoxTypeResult> getStorageBoxType(GetStorageBoxTypeArgs args, InvokeOptions options)
public static Output<GetStorageBoxTypeResult> getStorageBoxType(GetStorageBoxTypeArgs args, InvokeOptions options)
fn::invoke:
function: hcloud:index/getStorageBoxType:getStorageBoxType
arguments:
# arguments dictionaryThe following arguments are supported:
getStorageBoxType Result
The following output properties are available:
- Automatic
Snapshot intLimit - Maximum number of snapshots created automatically by a snapshot plan.
- Deprecation
Announced string - Date of the Storage Box Type deprecation announcement.
- Description string
- Description of the Storage Box Type.
- Is
Deprecated bool - Whether the Storage Box Type is deprecated.
- Size int
- Available storage in bytes.
- Snapshot
Limit int - Maximum number of allowed manual snapshots.
- Subaccounts
Limit int - Maximum number of subaccounts.
- string
- Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
- Id int
- ID of the Storage Box Type.
- Name string
- Name of the Storage Box Type.
- Automatic
Snapshot intLimit - Maximum number of snapshots created automatically by a snapshot plan.
- Deprecation
Announced string - Date of the Storage Box Type deprecation announcement.
- Description string
- Description of the Storage Box Type.
- Is
Deprecated bool - Whether the Storage Box Type is deprecated.
- Size int
- Available storage in bytes.
- Snapshot
Limit int - Maximum number of allowed manual snapshots.
- Subaccounts
Limit int - Maximum number of subaccounts.
- string
- Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
- Id int
- ID of the Storage Box Type.
- Name string
- Name of the Storage Box Type.
- automatic
Snapshot IntegerLimit - Maximum number of snapshots created automatically by a snapshot plan.
- deprecation
Announced String - Date of the Storage Box Type deprecation announcement.
- description String
- Description of the Storage Box Type.
- is
Deprecated Boolean - Whether the Storage Box Type is deprecated.
- size Integer
- Available storage in bytes.
- snapshot
Limit Integer - Maximum number of allowed manual snapshots.
- subaccounts
Limit Integer - Maximum number of subaccounts.
- String
- Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
- id Integer
- ID of the Storage Box Type.
- name String
- Name of the Storage Box Type.
- automatic
Snapshot numberLimit - Maximum number of snapshots created automatically by a snapshot plan.
- deprecation
Announced string - Date of the Storage Box Type deprecation announcement.
- description string
- Description of the Storage Box Type.
- is
Deprecated boolean - Whether the Storage Box Type is deprecated.
- size number
- Available storage in bytes.
- snapshot
Limit number - Maximum number of allowed manual snapshots.
- subaccounts
Limit number - Maximum number of subaccounts.
- string
- Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
- id number
- ID of the Storage Box Type.
- name string
- Name of the Storage Box Type.
- automatic_
snapshot_ intlimit - Maximum number of snapshots created automatically by a snapshot plan.
- deprecation_
announced str - Date of the Storage Box Type deprecation announcement.
- description str
- Description of the Storage Box Type.
- is_
deprecated bool - Whether the Storage Box Type is deprecated.
- size int
- Available storage in bytes.
- snapshot_
limit int - Maximum number of allowed manual snapshots.
- subaccounts_
limit int - Maximum number of subaccounts.
- str
- Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
- id int
- ID of the Storage Box Type.
- name str
- Name of the Storage Box Type.
- automatic
Snapshot NumberLimit - Maximum number of snapshots created automatically by a snapshot plan.
- deprecation
Announced String - Date of the Storage Box Type deprecation announcement.
- description String
- Description of the Storage Box Type.
- is
Deprecated Boolean - Whether the Storage Box Type is deprecated.
- size Number
- Available storage in bytes.
- snapshot
Limit Number - Maximum number of allowed manual snapshots.
- subaccounts
Limit Number - Maximum number of subaccounts.
- String
- Date of the Storage Box Type removal. After this date, the Storage Box Type cannot be used anymore.
- id Number
- ID of the Storage Box Type.
- name String
- Name of the Storage Box Type.
Package Details
- Repository
- Hetzner Cloud pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
hcloudTerraform Provider.
Viewing docs for Hetzner Cloud v1.32.1
published on Tuesday, Feb 17, 2026 by Pulumi
published on Tuesday, Feb 17, 2026 by Pulumi
