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 a list of available Hetzner Cloud Server Types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hcloud from "@pulumi/hcloud";
const all = hcloud.getServerTypes({});
import pulumi
import pulumi_hcloud as hcloud
all = hcloud.get_server_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.GetServerTypes(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.GetServerTypes.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.getServerTypes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
all:
fn::invoke:
function: hcloud:getServerTypes
arguments: {}
Using getServerTypes
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 getServerTypes(opts?: InvokeOptions): Promise<GetServerTypesResult>
function getServerTypesOutput(opts?: InvokeOptions): Output<GetServerTypesResult>def get_server_types(opts: Optional[InvokeOptions] = None) -> GetServerTypesResult
def get_server_types_output(opts: Optional[InvokeOptions] = None) -> Output[GetServerTypesResult]func GetServerTypes(ctx *Context, opts ...InvokeOption) (*GetServerTypesResult, error)
func GetServerTypesOutput(ctx *Context, opts ...InvokeOption) GetServerTypesResultOutput> Note: This function is named GetServerTypes in the Go SDK.
public static class GetServerTypes
{
public static Task<GetServerTypesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetServerTypesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetServerTypesResult> getServerTypes(InvokeOptions options)
public static Output<GetServerTypesResult> getServerTypes(InvokeOptions options)
fn::invoke:
function: hcloud:index/getServerTypes:getServerTypes
arguments:
# arguments dictionarygetServerTypes Result
The following output properties are available:
- Descriptions List<string>
- Id string
- The ID of this resource.
- Names List<string>
- Server
Type List<string>Ids - Server
Types List<Pulumi.HCloud. Outputs. Get Server Types Server Type>
- Descriptions []string
- Id string
- The ID of this resource.
- Names []string
- Server
Type []stringIds - Server
Types []GetServer Types Server Type
- descriptions List<String>
- id String
- The ID of this resource.
- names List<String>
- server
Type List<String>Ids - server
Types List<GetServer Types Server Type>
- descriptions string[]
- id string
- The ID of this resource.
- names string[]
- server
Type string[]Ids - server
Types GetServer Types Server Type[]
- descriptions Sequence[str]
- id str
- The ID of this resource.
- names Sequence[str]
- server_
type_ Sequence[str]ids - server_
types Sequence[GetServer Types Server Type]
- descriptions List<String>
- id String
- The ID of this resource.
- names List<String>
- server
Type List<String>Ids - server
Types List<Property Map>
Supporting Types
GetServerTypesServerType
- Architecture string
- Architecture of the cpu for a Server of this type.
- Category string
- Category of the Server Type.
- Cores int
- Number of cpu cores for a Server of this type.
- Cpu
Type string - Type of cpu for a Server of this type.
- Deprecation
Announced string - Date of the Server Type deprecation announcement.
- Description string
- Description of the Server Type.
- Disk int
- Disk size in GB for a Server of this type.
- Id int
- ID of the Server Type.
- Included
Traffic int - Is
Deprecated bool - Whether the Server Type is deprecated.
- Locations
List<Pulumi.
HCloud. Inputs. Get Server Types Server Type Location> - List of supported Locations for this Server Type.
- Memory int
- Memory in GB for a Server of this type.
- Name string
- Name of the Server Type.
- Storage
Type string - Type of boot drive for a Server of this type.
- string
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- Architecture string
- Architecture of the cpu for a Server of this type.
- Category string
- Category of the Server Type.
- Cores int
- Number of cpu cores for a Server of this type.
- Cpu
Type string - Type of cpu for a Server of this type.
- Deprecation
Announced string - Date of the Server Type deprecation announcement.
- Description string
- Description of the Server Type.
- Disk int
- Disk size in GB for a Server of this type.
- Id int
- ID of the Server Type.
- Included
Traffic int - Is
Deprecated bool - Whether the Server Type is deprecated.
- Locations
[]Get
Server Types Server Type Location - List of supported Locations for this Server Type.
- Memory int
- Memory in GB for a Server of this type.
- Name string
- Name of the Server Type.
- Storage
Type string - Type of boot drive for a Server of this type.
- string
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- architecture String
- Architecture of the cpu for a Server of this type.
- category String
- Category of the Server Type.
- cores Integer
- Number of cpu cores for a Server of this type.
- cpu
Type String - Type of cpu for a Server of this type.
- deprecation
Announced String - Date of the Server Type deprecation announcement.
- description String
- Description of the Server Type.
- disk Integer
- Disk size in GB for a Server of this type.
- id Integer
- ID of the Server Type.
- included
Traffic Integer - is
Deprecated Boolean - Whether the Server Type is deprecated.
- locations
List<Get
Server Types Server Type Location> - List of supported Locations for this Server Type.
- memory Integer
- Memory in GB for a Server of this type.
- name String
- Name of the Server Type.
- storage
Type String - Type of boot drive for a Server of this type.
- String
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- architecture string
- Architecture of the cpu for a Server of this type.
- category string
- Category of the Server Type.
- cores number
- Number of cpu cores for a Server of this type.
- cpu
Type string - Type of cpu for a Server of this type.
- deprecation
Announced string - Date of the Server Type deprecation announcement.
- description string
- Description of the Server Type.
- disk number
- Disk size in GB for a Server of this type.
- id number
- ID of the Server Type.
- included
Traffic number - is
Deprecated boolean - Whether the Server Type is deprecated.
- locations
Get
Server Types Server Type Location[] - List of supported Locations for this Server Type.
- memory number
- Memory in GB for a Server of this type.
- name string
- Name of the Server Type.
- storage
Type string - Type of boot drive for a Server of this type.
- string
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- architecture str
- Architecture of the cpu for a Server of this type.
- category str
- Category of the Server Type.
- cores int
- Number of cpu cores for a Server of this type.
- cpu_
type str - Type of cpu for a Server of this type.
- deprecation_
announced str - Date of the Server Type deprecation announcement.
- description str
- Description of the Server Type.
- disk int
- Disk size in GB for a Server of this type.
- id int
- ID of the Server Type.
- included_
traffic int - is_
deprecated bool - Whether the Server Type is deprecated.
- locations
Sequence[Get
Server Types Server Type Location] - List of supported Locations for this Server Type.
- memory int
- Memory in GB for a Server of this type.
- name str
- Name of the Server Type.
- storage_
type str - Type of boot drive for a Server of this type.
- str
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- architecture String
- Architecture of the cpu for a Server of this type.
- category String
- Category of the Server Type.
- cores Number
- Number of cpu cores for a Server of this type.
- cpu
Type String - Type of cpu for a Server of this type.
- deprecation
Announced String - Date of the Server Type deprecation announcement.
- description String
- Description of the Server Type.
- disk Number
- Disk size in GB for a Server of this type.
- id Number
- ID of the Server Type.
- included
Traffic Number - is
Deprecated Boolean - Whether the Server Type is deprecated.
- locations List<Property Map>
- List of supported Locations for this Server Type.
- memory Number
- Memory in GB for a Server of this type.
- name String
- Name of the Server Type.
- storage
Type String - Type of boot drive for a Server of this type.
- String
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
GetServerTypesServerTypeLocation
- Deprecation
Announced string - Date of the Server Type deprecation announcement.
- Id int
- ID of the Location.
- Is
Deprecated bool - Whether the Server Type is deprecated.
- Name string
- Name of the Location.
- string
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- Deprecation
Announced string - Date of the Server Type deprecation announcement.
- Id int
- ID of the Location.
- Is
Deprecated bool - Whether the Server Type is deprecated.
- Name string
- Name of the Location.
- string
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- deprecation
Announced String - Date of the Server Type deprecation announcement.
- id Integer
- ID of the Location.
- is
Deprecated Boolean - Whether the Server Type is deprecated.
- name String
- Name of the Location.
- String
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- deprecation
Announced string - Date of the Server Type deprecation announcement.
- id number
- ID of the Location.
- is
Deprecated boolean - Whether the Server Type is deprecated.
- name string
- Name of the Location.
- string
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- deprecation_
announced str - Date of the Server Type deprecation announcement.
- id int
- ID of the Location.
- is_
deprecated bool - Whether the Server Type is deprecated.
- name str
- Name of the Location.
- str
- Date of the Server Type removal. After this date, the Server Type cannot be used anymore.
- deprecation
Announced String - Date of the Server Type deprecation announcement.
- id Number
- ID of the Location.
- is
Deprecated Boolean - Whether the Server Type is deprecated.
- name String
- Name of the Location.
- String
- Date of the Server Type removal. After this date, the Server 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.
Viewing docs for Hetzner Cloud v1.32.1
published on Tuesday, Feb 17, 2026 by Pulumi
published on Tuesday, Feb 17, 2026 by Pulumi
