Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse
Viewing docs for Scaleway v1.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse
Downloads the certificate authority (CA) of a MessageQ deployment for TLS clients.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const mainDeployment = new scaleway.messageq.Deployment("main", {
name: "my-messageq",
version: "4.0",
nodeCount: 1,
nodeType: "MESSAGEQ-SHARED-2C-8G",
userName: "admin",
password: "ThisIsASecurePassword123!",
volume: {
type: "sbs_5k",
sizeInGb: 5,
},
});
const main = scaleway.messageq.getCertificateAuthorityOutput({
deploymentId: mainDeployment.id,
});
import pulumi
import pulumi_scaleway as scaleway
import pulumiverse_scaleway as scaleway
main_deployment = scaleway.messageq.Deployment("main",
name="my-messageq",
version="4.0",
node_count=1,
node_type="MESSAGEQ-SHARED-2C-8G",
user_name="admin",
password="ThisIsASecurePassword123!",
volume={
"type": "sbs_5k",
"size_in_gb": 5,
})
main = scaleway.messageq.get_certificate_authority_output(deployment_id=main_deployment.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/messageq"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mainDeployment, err := messageq.NewDeployment(ctx, "main", &messageq.DeploymentArgs{
Name: pulumi.String("my-messageq"),
Version: pulumi.String("4.0"),
NodeCount: pulumi.Int(1),
NodeType: pulumi.String("MESSAGEQ-SHARED-2C-8G"),
UserName: pulumi.String("admin"),
Password: pulumi.String("ThisIsASecurePassword123!"),
Volume: &messageq.DeploymentVolumeArgs{
Type: pulumi.String("sbs_5k"),
SizeInGb: pulumi.Int(5),
},
})
if err != nil {
return err
}
_ = messageq.GetCertificateAuthorityOutput(ctx, messageq.GetCertificateAuthorityOutputArgs{
DeploymentId: mainDeployment.ID().ToIDOutput().ToStringOutput(),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var mainDeployment = new Scaleway.Messageq.Deployment("main", new()
{
Name = "my-messageq",
Version = "4.0",
NodeCount = 1,
NodeType = "MESSAGEQ-SHARED-2C-8G",
UserName = "admin",
Password = "ThisIsASecurePassword123!",
Volume = new Scaleway.Messageq.Inputs.DeploymentVolumeArgs
{
Type = "sbs_5k",
SizeInGb = 5,
},
});
var main = Scaleway.Messageq.GetCertificateAuthority.Invoke(new()
{
DeploymentId = mainDeployment.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.messageq.Deployment;
import com.pulumi.scaleway.messageq.DeploymentArgs;
import com.pulumi.scaleway.messageq.inputs.DeploymentVolumeArgs;
import com.pulumi.scaleway.messageq.MessageqFunctions;
import com.pulumi.scaleway.messageq.inputs.GetCertificateAuthorityArgs;
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) {
var mainDeployment = new Deployment("mainDeployment", DeploymentArgs.builder()
.name("my-messageq")
.version("4.0")
.nodeCount(1)
.nodeType("MESSAGEQ-SHARED-2C-8G")
.userName("admin")
.password("ThisIsASecurePassword123!")
.volume(DeploymentVolumeArgs.builder()
.type("sbs_5k")
.sizeInGb(5)
.build())
.build());
final var main = MessageqFunctions.getCertificateAuthority(GetCertificateAuthorityArgs.builder()
.deploymentId(mainDeployment.id())
.build());
}
}
resources:
mainDeployment:
type: scaleway:messageq:Deployment
name: main
properties:
name: my-messageq
version: '4.0'
nodeCount: 1
nodeType: MESSAGEQ-SHARED-2C-8G
userName: admin
password: ThisIsASecurePassword123!
volume:
type: sbs_5k
sizeInGb: 5
variables:
main:
fn::invoke:
function: scaleway:messageq:getCertificateAuthority
arguments:
deploymentId: ${mainDeployment.id}
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_messageq_getcertificateauthority" "main" {
deployment_id = scaleway_messageq_deployment.main.id
}
resource "scaleway_messageq_deployment" "main" {
name = "my-messageq"
version = "4.0"
node_count = 1
node_type = "MESSAGEQ-SHARED-2C-8G"
user_name = "admin"
password = "ThisIsASecurePassword123!"
volume = {
type = "sbs_5k"
size_in_gb = 5
}
}
Using getCertificateAuthority
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 getCertificateAuthority(args: GetCertificateAuthorityArgs, opts?: InvokeOptions): Promise<GetCertificateAuthorityResult>
function getCertificateAuthorityOutput(args: GetCertificateAuthorityOutputArgs, opts?: InvokeOutputOptions): Output<GetCertificateAuthorityResult>def get_certificate_authority(deployment_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificateAuthorityResult
def get_certificate_authority_output(deployment_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCertificateAuthorityResult]func GetCertificateAuthority(ctx *Context, args *GetCertificateAuthorityArgs, opts ...InvokeOption) (*GetCertificateAuthorityResult, error)
func GetCertificateAuthorityOutput(ctx *Context, args *GetCertificateAuthorityOutputArgs, opts ...InvokeOption) GetCertificateAuthorityResultOutput> Note: This function is named GetCertificateAuthority in the Go SDK.
public static class GetCertificateAuthority
{
public static Task<GetCertificateAuthorityResult> InvokeAsync(GetCertificateAuthorityArgs args, InvokeOptions? opts = null)
public static Output<GetCertificateAuthorityResult> Invoke(GetCertificateAuthorityInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCertificateAuthorityResult> Invoke(GetCertificateAuthorityInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCertificateAuthorityResult> getCertificateAuthority(GetCertificateAuthorityArgs args, InvokeOptions options)
public static Output<GetCertificateAuthorityResult> getCertificateAuthority(GetCertificateAuthorityArgs args, InvokeOptions options)
public static Output<GetCertificateAuthorityResult> getCertificateAuthority(GetCertificateAuthorityArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:messageq/getCertificateAuthority:getCertificateAuthority
arguments:
# arguments dictionarydata "scaleway_messageq_get_certificate_authority" "name" {
# arguments
}The following arguments are supported:
- Deployment
Id string - The ID of the MessageQ deployment.
- Region string
region) The region in which the deployment exists.
- Deployment
Id string - The ID of the MessageQ deployment.
- Region string
region) The region in which the deployment exists.
- deployment_
id string - The ID of the MessageQ deployment.
- region string
region) The region in which the deployment exists.
- deployment
Id String - The ID of the MessageQ deployment.
- region String
region) The region in which the deployment exists.
- deployment
Id string - The ID of the MessageQ deployment.
- region string
region) The region in which the deployment exists.
- deployment_
id str - The ID of the MessageQ deployment.
- region str
region) The region in which the deployment exists.
- deployment
Id String - The ID of the MessageQ deployment.
- region String
region) The region in which the deployment exists.
getCertificateAuthority Result
The following output properties are available:
- Deployment
Id string - Id string
- The ID of the data source in the
{region}/{deployment_id}format. - Pem string
- (Sensitive) PEM-encoded certificate authority content.
- Region string
- Deployment
Id string - Id string
- The ID of the data source in the
{region}/{deployment_id}format. - Pem string
- (Sensitive) PEM-encoded certificate authority content.
- Region string
- deployment_
id string - id string
- The ID of the data source in the
{region}/{deployment_id}format. - pem string
- (Sensitive) PEM-encoded certificate authority content.
- region string
- deployment
Id String - id String
- The ID of the data source in the
{region}/{deployment_id}format. - pem String
- (Sensitive) PEM-encoded certificate authority content.
- region String
- deployment
Id string - id string
- The ID of the data source in the
{region}/{deployment_id}format. - pem string
- (Sensitive) PEM-encoded certificate authority content.
- region string
- deployment_
id str - id str
- The ID of the data source in the
{region}/{deployment_id}format. - pem str
- (Sensitive) PEM-encoded certificate authority content.
- region str
- deployment
Id String - id String
- The ID of the data source in the
{region}/{deployment_id}format. - pem String
- (Sensitive) PEM-encoded certificate authority content.
- region String
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.60.0
published on Saturday, Oct 24, 2026 by pulumiverse
published on Saturday, Oct 24, 2026 by pulumiverse