Functions/Get-HetznerCloudServerType.ps1

function Get-HetznerCloudServerType {
    [CmdletBinding(DefaultParameterSetName='None')]
    param(
        [Parameter(ParameterSetName='ById')]
        [ValidateNotNullOrEmpty()]
        [string]
        $Id
    )

    Invoke-HetznerCloudApi -Api 'server_types' @PSBoundParameters
}