Viewing docs for Scaleway v1.56.1
published on Thursday, Sep 17, 2026 by pulumiverse
published on Thursday, Sep 17, 2026 by pulumiverse
Viewing docs for Scaleway v1.56.1
published on Thursday, Sep 17, 2026 by pulumiverse
published on Thursday, Sep 17, 2026 by pulumiverse
The scaleway.kafka.getVersion data source is used to retrieve information about an available Kafka version.
Refer to the Kafka documentation and API documentation for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Use the latest version
const latest = scaleway.kafka.getVersion({
name: "latest",
});
import pulumi
import pulumi_scaleway as scaleway
# Use the latest version
latest = scaleway.kafka.get_version(name="latest")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/kafka"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Use the latest version
_, err := kafka.GetVersion(ctx, &kafka.GetVersionArgs{
Name: "latest",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Use the latest version
var latest = Scaleway.Kafka.GetVersion.Invoke(new()
{
Name = "latest",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.kafka.KafkaFunctions;
import com.pulumi.scaleway.kafka.inputs.GetVersionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// Use the latest version
final var latest = KafkaFunctions.getVersion(GetVersionArgs.builder()
.name("latest")
.build());
}
}
variables:
# Use the latest version
latest:
fn::invoke:
function: scaleway:kafka:getVersion
arguments:
name: latest
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_kafka_getversion" "latest" {
name = "latest"
}
# Use the latest version
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Use a specific version
const byName = scaleway.kafka.getVersion({
name: "4.0.0",
});
import pulumi
import pulumi_scaleway as scaleway
# Use a specific version
by_name = scaleway.kafka.get_version(name="4.0.0")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/kafka"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Use a specific version
_, err := kafka.GetVersion(ctx, &kafka.GetVersionArgs{
Name: "4.0.0",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Use a specific version
var byName = Scaleway.Kafka.GetVersion.Invoke(new()
{
Name = "4.0.0",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.kafka.KafkaFunctions;
import com.pulumi.scaleway.kafka.inputs.GetVersionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// Use a specific version
final var byName = KafkaFunctions.getVersion(GetVersionArgs.builder()
.name("4.0.0")
.build());
}
}
variables:
# Use a specific version
byName:
fn::invoke:
function: scaleway:kafka:getVersion
arguments:
name: 4.0.0
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_kafka_getversion" "byName" {
name = "4.0.0"
}
# Use a specific version
Using getVersion
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 getVersion(args: GetVersionArgs, opts?: InvokeOptions): Promise<GetVersionResult>
function getVersionOutput(args: GetVersionOutputArgs, opts?: InvokeOutputOptions): Output<GetVersionResult>def get_version(name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVersionResult
def get_version_output(name: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVersionResult]func GetVersion(ctx *Context, args *GetVersionArgs, opts ...InvokeOption) (*GetVersionResult, error)
func GetVersionOutput(ctx *Context, args *GetVersionOutputArgs, opts ...InvokeOption) GetVersionResultOutput> Note: This function is named GetVersion in the Go SDK.
public static class GetVersion
{
public static Task<GetVersionResult> InvokeAsync(GetVersionArgs args, InvokeOptions? opts = null)
public static Output<GetVersionResult> Invoke(GetVersionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVersionResult> Invoke(GetVersionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
public static Output<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
public static Output<GetVersionResult> getVersion(GetVersionArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:kafka/getVersion:getVersion
arguments:
# arguments dictionarydata "scaleway_kafka_get_version" "name" {
# arguments
}The following arguments are supported:
getVersion Result
The following output properties are available:
- Available
Settings List<Pulumiverse.Scaleway. Kafka. Outputs. Get Version Available Setting> - The cluster configuration settings available for clusters running this version.
- End
Of stringLife At - The end-of-life date of the version (RFC 3339 format).
- Id string
- The ID of the version, in the
{region}/{version}format. - Name string
- The Kafka version name. Use
latestto retrieve the most recent available version. - Region string
- The region the Kafka version is available in.
- Available
Settings []GetVersion Available Setting - The cluster configuration settings available for clusters running this version.
- End
Of stringLife At - The end-of-life date of the version (RFC 3339 format).
- Id string
- The ID of the version, in the
{region}/{version}format. - Name string
- The Kafka version name. Use
latestto retrieve the most recent available version. - Region string
- The region the Kafka version is available in.
- available_
settings list(object) - The cluster configuration settings available for clusters running this version.
- end_
of_ stringlife_ at - The end-of-life date of the version (RFC 3339 format).
- id string
- The ID of the version, in the
{region}/{version}format. - name string
- The Kafka version name. Use
latestto retrieve the most recent available version. - region string
- The region the Kafka version is available in.
- available
Settings List<GetVersion Available Setting> - The cluster configuration settings available for clusters running this version.
- end
Of StringLife At - The end-of-life date of the version (RFC 3339 format).
- id String
- The ID of the version, in the
{region}/{version}format. - name String
- The Kafka version name. Use
latestto retrieve the most recent available version. - region String
- The region the Kafka version is available in.
- available
Settings GetVersion Available Setting[] - The cluster configuration settings available for clusters running this version.
- end
Of stringLife At - The end-of-life date of the version (RFC 3339 format).
- id string
- The ID of the version, in the
{region}/{version}format. - name string
- The Kafka version name. Use
latestto retrieve the most recent available version. - region string
- The region the Kafka version is available in.
- available_
settings Sequence[GetVersion Available Setting] - The cluster configuration settings available for clusters running this version.
- end_
of_ strlife_ at - The end-of-life date of the version (RFC 3339 format).
- id str
- The ID of the version, in the
{region}/{version}format. - name str
- The Kafka version name. Use
latestto retrieve the most recent available version. - region str
- The region the Kafka version is available in.
- available
Settings List<Property Map> - The cluster configuration settings available for clusters running this version.
- end
Of StringLife At - The end-of-life date of the version (RFC 3339 format).
- id String
- The ID of the version, in the
{region}/{version}format. - name String
- The Kafka version name. Use
latestto retrieve the most recent available version. - region String
- The region the Kafka version is available in.
Supporting Types
GetVersionAvailableSetting
- Bool
Property Pulumiverse.Scaleway. Kafka. Inputs. Get Version Available Setting Bool Property - Boolean property, if the setting is a boolean.
- Description string
- The setting description.
- Float
Property Pulumiverse.Scaleway. Kafka. Inputs. Get Version Available Setting Float Property - Float property, if the setting is a float.
- Hot
Configurable bool - Whether the setting can be applied without a restart.
- Int
Property Pulumiverse.Scaleway. Kafka. Inputs. Get Version Available Setting Int Property - Integer property, if the setting is an integer.
- Name string
- The setting name.
- String
Property Pulumiverse.Scaleway. Kafka. Inputs. Get Version Available Setting String Property - String property, if the setting is a string.
- Bool
Property GetVersion Available Setting Bool Property - Boolean property, if the setting is a boolean.
- Description string
- The setting description.
- Float
Property GetVersion Available Setting Float Property - Float property, if the setting is a float.
- Hot
Configurable bool - Whether the setting can be applied without a restart.
- Int
Property GetVersion Available Setting Int Property - Integer property, if the setting is an integer.
- Name string
- The setting name.
- String
Property GetVersion Available Setting String Property - String property, if the setting is a string.
- bool_
property object - Boolean property, if the setting is a boolean.
- description string
- The setting description.
- float_
property object - Float property, if the setting is a float.
- hot_
configurable bool - Whether the setting can be applied without a restart.
- int_
property object - Integer property, if the setting is an integer.
- name string
- The setting name.
- string_
property object - String property, if the setting is a string.
- bool
Property GetVersion Available Setting Bool Property - Boolean property, if the setting is a boolean.
- description String
- The setting description.
- float
Property GetVersion Available Setting Float Property - Float property, if the setting is a float.
- hot
Configurable Boolean - Whether the setting can be applied without a restart.
- int
Property GetVersion Available Setting Int Property - Integer property, if the setting is an integer.
- name String
- The setting name.
- string
Property GetVersion Available Setting String Property - String property, if the setting is a string.
- bool
Property GetVersion Available Setting Bool Property - Boolean property, if the setting is a boolean.
- description string
- The setting description.
- float
Property GetVersion Available Setting Float Property - Float property, if the setting is a float.
- hot
Configurable boolean - Whether the setting can be applied without a restart.
- int
Property GetVersion Available Setting Int Property - Integer property, if the setting is an integer.
- name string
- The setting name.
- string
Property GetVersion Available Setting String Property - String property, if the setting is a string.
- bool_
property GetVersion Available Setting Bool Property - Boolean property, if the setting is a boolean.
- description str
- The setting description.
- float_
property GetVersion Available Setting Float Property - Float property, if the setting is a float.
- hot_
configurable bool - Whether the setting can be applied without a restart.
- int_
property GetVersion Available Setting Int Property - Integer property, if the setting is an integer.
- name str
- The setting name.
- string_
property GetVersion Available Setting String Property - String property, if the setting is a string.
- bool
Property Property Map - Boolean property, if the setting is a boolean.
- description String
- The setting description.
- float
Property Property Map - Float property, if the setting is a float.
- hot
Configurable Boolean - Whether the setting can be applied without a restart.
- int
Property Property Map - Integer property, if the setting is an integer.
- name String
- The setting name.
- string
Property Property Map - String property, if the setting is a string.
GetVersionAvailableSettingBoolProperty
- Default
Value bool - The default value of the setting.
- Default
Value bool - The default value of the setting.
- default_
value bool - The default value of the setting.
- default
Value Boolean - The default value of the setting.
- default
Value boolean - The default value of the setting.
- default_
value bool - The default value of the setting.
- default
Value Boolean - The default value of the setting.
GetVersionAvailableSettingFloatProperty
- Default
Value double - The default value of the setting.
- Max double
- The maximum value of the setting.
- Min double
- The minimum value of the setting.
- Unit string
- The unit of the setting.
- Default
Value float64 - The default value of the setting.
- Max float64
- The maximum value of the setting.
- Min float64
- The minimum value of the setting.
- Unit string
- The unit of the setting.
- default_
value number - The default value of the setting.
- max number
- The maximum value of the setting.
- min number
- The minimum value of the setting.
- unit string
- The unit of the setting.
- default
Value Double - The default value of the setting.
- max Double
- The maximum value of the setting.
- min Double
- The minimum value of the setting.
- unit String
- The unit of the setting.
- default
Value number - The default value of the setting.
- max number
- The maximum value of the setting.
- min number
- The minimum value of the setting.
- unit string
- The unit of the setting.
- default_
value float - The default value of the setting.
- max float
- The maximum value of the setting.
- min float
- The minimum value of the setting.
- unit str
- The unit of the setting.
- default
Value Number - The default value of the setting.
- max Number
- The maximum value of the setting.
- min Number
- The minimum value of the setting.
- unit String
- The unit of the setting.
GetVersionAvailableSettingIntProperty
- Default
Value int - The default value of the setting.
- Max int
- The maximum value of the setting.
- Min int
- The minimum value of the setting.
- Unit string
- The unit of the setting.
- Default
Value int - The default value of the setting.
- Max int
- The maximum value of the setting.
- Min int
- The minimum value of the setting.
- Unit string
- The unit of the setting.
- default_
value number - The default value of the setting.
- max number
- The maximum value of the setting.
- min number
- The minimum value of the setting.
- unit string
- The unit of the setting.
- default
Value Integer - The default value of the setting.
- max Integer
- The maximum value of the setting.
- min Integer
- The minimum value of the setting.
- unit String
- The unit of the setting.
- default
Value number - The default value of the setting.
- max number
- The maximum value of the setting.
- min number
- The minimum value of the setting.
- unit string
- The unit of the setting.
- default_
value int - The default value of the setting.
- max int
- The maximum value of the setting.
- min int
- The minimum value of the setting.
- unit str
- The unit of the setting.
- default
Value Number - The default value of the setting.
- max Number
- The maximum value of the setting.
- min Number
- The minimum value of the setting.
- unit String
- The unit of the setting.
GetVersionAvailableSettingStringProperty
- Default
Value string - The default value of the setting.
- String
Constraint string - The string constraint of the setting (e.g. a regex).
- Default
Value string - The default value of the setting.
- String
Constraint string - The string constraint of the setting (e.g. a regex).
- default_
value string - The default value of the setting.
- string_
constraint string - The string constraint of the setting (e.g. a regex).
- default
Value String - The default value of the setting.
- string
Constraint String - The string constraint of the setting (e.g. a regex).
- default
Value string - The default value of the setting.
- string
Constraint string - The string constraint of the setting (e.g. a regex).
- default_
value str - The default value of the setting.
- string_
constraint str - The string constraint of the setting (e.g. a regex).
- default
Value String - The default value of the setting.
- string
Constraint String - The string constraint of the setting (e.g. a regex).
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.56.1
published on Thursday, Sep 17, 2026 by pulumiverse
published on Thursday, Sep 17, 2026 by pulumiverse