Hetzner Cloud v1.29.0 published on Saturday, Nov 29, 2025 by Pulumi
Hetzner Cloud v1.29.0 published on Saturday, Nov 29, 2025 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const all = hcloud.getStorageBoxTypes({});
import pulumi
import pulumi_hcloud as hcloud
all = hcloud.get_storage_box_types()
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.GetStorageBoxTypes(ctx, map[string]interface{}{}, 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 all = HCloud.GetStorageBoxTypes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hcloud.HcloudFunctions;
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 all = HcloudFunctions.getStorageBoxTypes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
all:
fn::invoke:
function: hcloud:getStorageBoxTypes
arguments: {}
Using getStorageBoxTypes
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 getStorageBoxTypes(opts?: InvokeOptions): Promise<GetStorageBoxTypesResult>
function getStorageBoxTypesOutput(opts?: InvokeOptions): Output<GetStorageBoxTypesResult>def get_storage_box_types(opts: Optional[InvokeOptions] = None) -> GetStorageBoxTypesResult
def get_storage_box_types_output(opts: Optional[InvokeOptions] = None) -> Output[GetStorageBoxTypesResult]func GetStorageBoxTypes(ctx *Context, opts ...InvokeOption) (*GetStorageBoxTypesResult, error)
func GetStorageBoxTypesOutput(ctx *Context, opts ...InvokeOption) GetStorageBoxTypesResultOutput> Note: This function is named GetStorageBoxTypes in the Go SDK.
public static class GetStorageBoxTypes
{
public static Task<GetStorageBoxTypesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetStorageBoxTypesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetStorageBoxTypesResult> getStorageBoxTypes(InvokeOptions options)
public static Output<GetStorageBoxTypesResult> getStorageBoxTypes(InvokeOptions options)
fn::invoke:
function: hcloud:index/getStorageBoxTypes:getStorageBoxTypes
arguments:
# arguments dictionarygetStorageBoxTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Box List<Pulumi.Types HCloud. Outputs. Get Storage Box Types Storage Box Type>
- Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Box []GetTypes Storage Box Types Storage Box Type
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Box List<GetTypes Storage Box Types Storage Box Type>
- id string
- The provider-assigned unique ID for this managed resource.
- storage
Box GetTypes Storage Box Types Storage Box Type[]
- id str
- The provider-assigned unique ID for this managed resource.
- storage_
box_ Sequence[Gettypes Storage Box Types Storage Box Type]
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Box List<Property Map>Types
Supporting Types
GetStorageBoxTypesStorageBoxType
- 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.
- Id int
- ID of the Storage Box Type.
- Is
Deprecated bool - Whether the Storage Box Type is deprecated.
- Name string
- Name of the Storage Box Type.
- 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.
- 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.
- Id int
- ID of the Storage Box Type.
- Is
Deprecated bool - Whether the Storage Box Type is deprecated.
- Name string
- Name of the Storage Box Type.
- 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.
- 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.
- id Integer
- ID of the Storage Box Type.
- is
Deprecated Boolean - Whether the Storage Box Type is deprecated.
- name String
- Name of the Storage Box Type.
- 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.
- 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.
- id number
- ID of the Storage Box Type.
- is
Deprecated boolean - Whether the Storage Box Type is deprecated.
- name string
- Name of the Storage Box Type.
- 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.
- 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.
- id int
- ID of the Storage Box Type.
- is_
deprecated bool - Whether the Storage Box Type is deprecated.
- name str
- Name of the Storage Box Type.
- 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.
- 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.
- id Number
- ID of the Storage Box Type.
- is
Deprecated Boolean - Whether the Storage Box Type is deprecated.
- name String
- Name of the Storage Box Type.
- 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.
Package Details
- Repository
- Hetzner Cloud pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
hcloudTerraform Provider.
Hetzner Cloud v1.29.0 published on Saturday, Nov 29, 2025 by Pulumi
