Server types define kinds of Servers offered. Each type has an hourly and a monthly cost. You will pay whichever cost is lower for your usage of this specific Server. Costs may differ between Locations.
Currency for all amounts is β¬. All prices exclude VAT.
Get all Server Types
Gets all Server type objects.
HetznerCloudClienthetznerCloudClient=newHetznerCloudClient("apiKey");// Get AllList<ServerType>listServerTypes=awaithetznerCloudClient.ServerType.Get();
Get a Server Type
Gets a specific Server type object.
HetznerCloudClienthetznerCloudClient=newHetznerCloudClient("apiKey");// Set IDlongserverTypeId=15,// GetServerTypeserverType=awaithetznerCloudClient.ServerType.Get(serverTypeId);