Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
Gets information about a server type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const pro2_s = scaleway.instance.getServerType({
name: "PRO2-S",
zone: "nl-ams-1",
});
import pulumi
import pulumi_scaleway as scaleway
pro2_s = scaleway.instance.get_server_type(name="PRO2-S",
zone="nl-ams-1")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/instance"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := instance.GetServerType(ctx, &instance.GetServerTypeArgs{
Name: "PRO2-S",
Zone: pulumi.StringRef("nl-ams-1"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
var pro2_s = Scaleway.Instance.GetServerType.Invoke(new()
{
Name = "PRO2-S",
Zone = "nl-ams-1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.instance.InstanceFunctions;
import com.pulumi.scaleway.instance.inputs.GetServerTypeArgs;
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 pro2-s = InstanceFunctions.getServerType(GetServerTypeArgs.builder()
.name("PRO2-S")
.zone("nl-ams-1")
.build());
}
}
variables:
pro2-s:
fn::invoke:
function: scaleway:instance:getServerType
arguments:
name: PRO2-S
zone: nl-ams-1
Using getServerType
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 getServerType(args: GetServerTypeArgs, opts?: InvokeOptions): Promise<GetServerTypeResult>
function getServerTypeOutput(args: GetServerTypeOutputArgs, opts?: InvokeOptions): Output<GetServerTypeResult>def get_server_type(name: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerTypeResult
def get_server_type_output(name: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerTypeResult]func GetServerType(ctx *Context, args *GetServerTypeArgs, opts ...InvokeOption) (*GetServerTypeResult, error)
func GetServerTypeOutput(ctx *Context, args *GetServerTypeOutputArgs, opts ...InvokeOption) GetServerTypeResultOutput> Note: This function is named GetServerType in the Go SDK.
public static class GetServerType
{
public static Task<GetServerTypeResult> InvokeAsync(GetServerTypeArgs args, InvokeOptions? opts = null)
public static Output<GetServerTypeResult> Invoke(GetServerTypeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServerTypeResult> getServerType(GetServerTypeArgs args, InvokeOptions options)
public static Output<GetServerTypeResult> getServerType(GetServerTypeArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:instance/getServerType:getServerType
arguments:
# arguments dictionaryThe following arguments are supported:
getServerType Result
The following output properties are available:
- Arch string
- The architecture of the server type.
- Availability string
- Whether the server type is available in the zone.
- Capabilities
List<Pulumiverse.
Scaleway. Instance. Outputs. Get Server Type Capability> - The specific capabilities of the server type.
- Cpu int
- The number of CPU cores of the server type.
- End
Of boolService - Whether the server type will soon reach End Of Service.
- Gpu int
- The number of GPUs of the server type.
- Hourly
Price double - The hourly price of the server type (in euros).
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Networks
List<Pulumiverse.
Scaleway. Instance. Outputs. Get Server Type Network> - The network specifications of the server type.
- Ram int
- The amount of RAM of the server type (in bytes).
- Volumes
List<Pulumiverse.
Scaleway. Instance. Outputs. Get Server Type Volume> - The specifications of volumes allowed for the server type.
- Zone string
- Arch string
- The architecture of the server type.
- Availability string
- Whether the server type is available in the zone.
- Capabilities
[]Get
Server Type Capability - The specific capabilities of the server type.
- Cpu int
- The number of CPU cores of the server type.
- End
Of boolService - Whether the server type will soon reach End Of Service.
- Gpu int
- The number of GPUs of the server type.
- Hourly
Price float64 - The hourly price of the server type (in euros).
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Networks
[]Get
Server Type Network - The network specifications of the server type.
- Ram int
- The amount of RAM of the server type (in bytes).
- Volumes
[]Get
Server Type Volume - The specifications of volumes allowed for the server type.
- Zone string
- arch String
- The architecture of the server type.
- availability String
- Whether the server type is available in the zone.
- capabilities
List<Get
Server Type Capability> - The specific capabilities of the server type.
- cpu Integer
- The number of CPU cores of the server type.
- end
Of BooleanService - Whether the server type will soon reach End Of Service.
- gpu Integer
- The number of GPUs of the server type.
- hourly
Price Double - The hourly price of the server type (in euros).
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- networks
List<Get
Server Type Network> - The network specifications of the server type.
- ram Integer
- The amount of RAM of the server type (in bytes).
- volumes
List<Get
Server Type Volume> - The specifications of volumes allowed for the server type.
- zone String
- arch string
- The architecture of the server type.
- availability string
- Whether the server type is available in the zone.
- capabilities
Get
Server Type Capability[] - The specific capabilities of the server type.
- cpu number
- The number of CPU cores of the server type.
- end
Of booleanService - Whether the server type will soon reach End Of Service.
- gpu number
- The number of GPUs of the server type.
- hourly
Price number - The hourly price of the server type (in euros).
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- networks
Get
Server Type Network[] - The network specifications of the server type.
- ram number
- The amount of RAM of the server type (in bytes).
- volumes
Get
Server Type Volume[] - The specifications of volumes allowed for the server type.
- zone string
- arch str
- The architecture of the server type.
- availability str
- Whether the server type is available in the zone.
- capabilities
Sequence[Get
Server Type Capability] - The specific capabilities of the server type.
- cpu int
- The number of CPU cores of the server type.
- end_
of_ boolservice - Whether the server type will soon reach End Of Service.
- gpu int
- The number of GPUs of the server type.
- hourly_
price float - The hourly price of the server type (in euros).
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- networks
Sequence[Get
Server Type Network] - The network specifications of the server type.
- ram int
- The amount of RAM of the server type (in bytes).
- volumes
Sequence[Get
Server Type Volume] - The specifications of volumes allowed for the server type.
- zone str
- arch String
- The architecture of the server type.
- availability String
- Whether the server type is available in the zone.
- capabilities List<Property Map>
- The specific capabilities of the server type.
- cpu Number
- The number of CPU cores of the server type.
- end
Of BooleanService - Whether the server type will soon reach End Of Service.
- gpu Number
- The number of GPUs of the server type.
- hourly
Price Number - The hourly price of the server type (in euros).
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- networks List<Property Map>
- The network specifications of the server type.
- ram Number
- The amount of RAM of the server type (in bytes).
- volumes List<Property Map>
- The specifications of volumes allowed for the server type.
- zone String
Supporting Types
GetServerTypeCapability
- Boot
Types List<string> - The boot types allowed for the server type.
- Max
File intSystems - The maximum number of file systems that can be attached on the server type.
- Boot
Types []string - The boot types allowed for the server type.
- Max
File intSystems - The maximum number of file systems that can be attached on the server type.
- boot
Types List<String> - The boot types allowed for the server type.
- max
File IntegerSystems - The maximum number of file systems that can be attached on the server type.
- boot
Types string[] - The boot types allowed for the server type.
- max
File numberSystems - The maximum number of file systems that can be attached on the server type.
- boot_
types Sequence[str] - The boot types allowed for the server type.
- max_
file_ intsystems - The maximum number of file systems that can be attached on the server type.
- boot
Types List<String> - The boot types allowed for the server type.
- max
File NumberSystems - The maximum number of file systems that can be attached on the server type.
GetServerTypeNetwork
- Block
Bandwidth int - The block bandwidth of the server type (in bytes/second).
- Internal
Bandwidth int - The internal bandwidth of the server type (in bytes/second).
- Public
Bandwidth int - The public bandwidth of the server type (in bytes/second).
- Block
Bandwidth int - The block bandwidth of the server type (in bytes/second).
- Internal
Bandwidth int - The internal bandwidth of the server type (in bytes/second).
- Public
Bandwidth int - The public bandwidth of the server type (in bytes/second).
- block
Bandwidth Integer - The block bandwidth of the server type (in bytes/second).
- internal
Bandwidth Integer - The internal bandwidth of the server type (in bytes/second).
- public
Bandwidth Integer - The public bandwidth of the server type (in bytes/second).
- block
Bandwidth number - The block bandwidth of the server type (in bytes/second).
- internal
Bandwidth number - The internal bandwidth of the server type (in bytes/second).
- public
Bandwidth number - The public bandwidth of the server type (in bytes/second).
- block_
bandwidth int - The block bandwidth of the server type (in bytes/second).
- internal_
bandwidth int - The internal bandwidth of the server type (in bytes/second).
- public_
bandwidth int - The public bandwidth of the server type (in bytes/second).
- block
Bandwidth Number - The block bandwidth of the server type (in bytes/second).
- internal
Bandwidth Number - The internal bandwidth of the server type (in bytes/second).
- public
Bandwidth Number - The public bandwidth of the server type (in bytes/second).
GetServerTypeVolume
- Block
Storage bool - Whether block storage is allowed on the server type.
- Max
Size intPer Local Volume - The maximum size in bytes per local volume allowed on the server type.
- Max
Size intTotal - The maximum total size in bytes of volumes allowed on the server type.
- Min
Size intPer Local Volume - The minimum size in bytes per local volume allowed on the server type.
- Min
Size intTotal - The minimum total size in bytes of volumes allowed on the server type.
- Scratch
Storage intMax Size - The maximum size in bytes of the scratch volume allowed on the server type.
- Block
Storage bool - Whether block storage is allowed on the server type.
- Max
Size intPer Local Volume - The maximum size in bytes per local volume allowed on the server type.
- Max
Size intTotal - The maximum total size in bytes of volumes allowed on the server type.
- Min
Size intPer Local Volume - The minimum size in bytes per local volume allowed on the server type.
- Min
Size intTotal - The minimum total size in bytes of volumes allowed on the server type.
- Scratch
Storage intMax Size - The maximum size in bytes of the scratch volume allowed on the server type.
- block
Storage Boolean - Whether block storage is allowed on the server type.
- max
Size IntegerPer Local Volume - The maximum size in bytes per local volume allowed on the server type.
- max
Size IntegerTotal - The maximum total size in bytes of volumes allowed on the server type.
- min
Size IntegerPer Local Volume - The minimum size in bytes per local volume allowed on the server type.
- min
Size IntegerTotal - The minimum total size in bytes of volumes allowed on the server type.
- scratch
Storage IntegerMax Size - The maximum size in bytes of the scratch volume allowed on the server type.
- block
Storage boolean - Whether block storage is allowed on the server type.
- max
Size numberPer Local Volume - The maximum size in bytes per local volume allowed on the server type.
- max
Size numberTotal - The maximum total size in bytes of volumes allowed on the server type.
- min
Size numberPer Local Volume - The minimum size in bytes per local volume allowed on the server type.
- min
Size numberTotal - The minimum total size in bytes of volumes allowed on the server type.
- scratch
Storage numberMax Size - The maximum size in bytes of the scratch volume allowed on the server type.
- block_
storage bool - Whether block storage is allowed on the server type.
- max_
size_ intper_ local_ volume - The maximum size in bytes per local volume allowed on the server type.
- max_
size_ inttotal - The maximum total size in bytes of volumes allowed on the server type.
- min_
size_ intper_ local_ volume - The minimum size in bytes per local volume allowed on the server type.
- min_
size_ inttotal - The minimum total size in bytes of volumes allowed on the server type.
- scratch_
storage_ intmax_ size - The maximum size in bytes of the scratch volume allowed on the server type.
- block
Storage Boolean - Whether block storage is allowed on the server type.
- max
Size NumberPer Local Volume - The maximum size in bytes per local volume allowed on the server type.
- max
Size NumberTotal - The maximum total size in bytes of volumes allowed on the server type.
- min
Size NumberPer Local Volume - The minimum size in bytes per local volume allowed on the server type.
- min
Size NumberTotal - The minimum total size in bytes of volumes allowed on the server type.
- scratch
Storage NumberMax Size - The maximum size in bytes of the scratch volume allowed on the server type.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.44.1
published on Monday, Mar 9, 2026 by pulumiverse
published on Monday, Mar 9, 2026 by pulumiverse
