1. Packages
  2. Scaleway
  3. API Docs
  4. MnqNamespace
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.MnqNamespace

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Creates and manages Scaleway Messaging and queuing Namespace. For further information please check our documentation

    Examples

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const main = new scaleway.MnqNamespace("main", {
        protocol: "nats",
        region: "fr-par",
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    main = scaleway.MnqNamespace("main",
        protocol="nats",
        region="fr-par")
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new Scaleway.MnqNamespace("main", new()
        {
            Protocol = "nats",
            Region = "fr-par",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scaleway.NewMnqNamespace(ctx, "main", &scaleway.MnqNamespaceArgs{
    			Protocol: pulumi.String("nats"),
    			Region:   pulumi.String("fr-par"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.MnqNamespace;
    import com.pulumi.scaleway.MnqNamespaceArgs;
    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) {
            var main = new MnqNamespace("main", MnqNamespaceArgs.builder()        
                .protocol("nats")
                .region("fr-par")
                .build());
    
        }
    }
    
    resources:
      main:
        type: scaleway:MnqNamespace
        properties:
          protocol: nats
          region: fr-par
    

    Create MnqNamespace Resource

    new MnqNamespace(name: string, args: MnqNamespaceArgs, opts?: CustomResourceOptions);
    @overload
    def MnqNamespace(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None,
                     project_id: Optional[str] = None,
                     protocol: Optional[str] = None,
                     region: Optional[str] = None)
    @overload
    def MnqNamespace(resource_name: str,
                     args: MnqNamespaceArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewMnqNamespace(ctx *Context, name string, args MnqNamespaceArgs, opts ...ResourceOption) (*MnqNamespace, error)
    public MnqNamespace(string name, MnqNamespaceArgs args, CustomResourceOptions? opts = null)
    public MnqNamespace(String name, MnqNamespaceArgs args)
    public MnqNamespace(String name, MnqNamespaceArgs args, CustomResourceOptions options)
    
    type: scaleway:MnqNamespace
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MnqNamespaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MnqNamespaceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MnqNamespaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MnqNamespaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MnqNamespaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MnqNamespace Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MnqNamespace resource accepts the following input properties:

    Protocol string

    The protocol to apply on your namespace. Please check our supported protocols.

    Name string

    The unique name of the namespace.

    ProjectId string

    project_id) The ID of the project the namespace is associated with.

    Region string

    region). The region in which the namespace should be created.

    Protocol string

    The protocol to apply on your namespace. Please check our supported protocols.

    Name string

    The unique name of the namespace.

    ProjectId string

    project_id) The ID of the project the namespace is associated with.

    Region string

    region). The region in which the namespace should be created.

    protocol String

    The protocol to apply on your namespace. Please check our supported protocols.

    name String

    The unique name of the namespace.

    projectId String

    project_id) The ID of the project the namespace is associated with.

    region String

    region). The region in which the namespace should be created.

    protocol string

    The protocol to apply on your namespace. Please check our supported protocols.

    name string

    The unique name of the namespace.

    projectId string

    project_id) The ID of the project the namespace is associated with.

    region string

    region). The region in which the namespace should be created.

    protocol str

    The protocol to apply on your namespace. Please check our supported protocols.

    name str

    The unique name of the namespace.

    project_id str

    project_id) The ID of the project the namespace is associated with.

    region str

    region). The region in which the namespace should be created.

    protocol String

    The protocol to apply on your namespace. Please check our supported protocols.

    name String

    The unique name of the namespace.

    projectId String

    project_id) The ID of the project the namespace is associated with.

    region String

    region). The region in which the namespace should be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MnqNamespace resource produces the following output properties:

    CreatedAt string

    The date and time the Namespace was created.

    Endpoint string

    The endpoint of the service matching the Namespace protocol.

    Id string

    The provider-assigned unique ID for this managed resource.

    UpdatedAt string

    The date and time the Namespace was updated.

    CreatedAt string

    The date and time the Namespace was created.

    Endpoint string

    The endpoint of the service matching the Namespace protocol.

    Id string

    The provider-assigned unique ID for this managed resource.

    UpdatedAt string

    The date and time the Namespace was updated.

    createdAt String

    The date and time the Namespace was created.

    endpoint String

    The endpoint of the service matching the Namespace protocol.

    id String

    The provider-assigned unique ID for this managed resource.

    updatedAt String

    The date and time the Namespace was updated.

    createdAt string

    The date and time the Namespace was created.

    endpoint string

    The endpoint of the service matching the Namespace protocol.

    id string

    The provider-assigned unique ID for this managed resource.

    updatedAt string

    The date and time the Namespace was updated.

    created_at str

    The date and time the Namespace was created.

    endpoint str

    The endpoint of the service matching the Namespace protocol.

    id str

    The provider-assigned unique ID for this managed resource.

    updated_at str

    The date and time the Namespace was updated.

    createdAt String

    The date and time the Namespace was created.

    endpoint String

    The endpoint of the service matching the Namespace protocol.

    id String

    The provider-assigned unique ID for this managed resource.

    updatedAt String

    The date and time the Namespace was updated.

    Look up Existing MnqNamespace Resource

    Get an existing MnqNamespace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MnqNamespaceState, opts?: CustomResourceOptions): MnqNamespace
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            endpoint: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            protocol: Optional[str] = None,
            region: Optional[str] = None,
            updated_at: Optional[str] = None) -> MnqNamespace
    func GetMnqNamespace(ctx *Context, name string, id IDInput, state *MnqNamespaceState, opts ...ResourceOption) (*MnqNamespace, error)
    public static MnqNamespace Get(string name, Input<string> id, MnqNamespaceState? state, CustomResourceOptions? opts = null)
    public static MnqNamespace get(String name, Output<String> id, MnqNamespaceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string

    The date and time the Namespace was created.

    Endpoint string

    The endpoint of the service matching the Namespace protocol.

    Name string

    The unique name of the namespace.

    ProjectId string

    project_id) The ID of the project the namespace is associated with.

    Protocol string

    The protocol to apply on your namespace. Please check our supported protocols.

    Region string

    region). The region in which the namespace should be created.

    UpdatedAt string

    The date and time the Namespace was updated.

    CreatedAt string

    The date and time the Namespace was created.

    Endpoint string

    The endpoint of the service matching the Namespace protocol.

    Name string

    The unique name of the namespace.

    ProjectId string

    project_id) The ID of the project the namespace is associated with.

    Protocol string

    The protocol to apply on your namespace. Please check our supported protocols.

    Region string

    region). The region in which the namespace should be created.

    UpdatedAt string

    The date and time the Namespace was updated.

    createdAt String

    The date and time the Namespace was created.

    endpoint String

    The endpoint of the service matching the Namespace protocol.

    name String

    The unique name of the namespace.

    projectId String

    project_id) The ID of the project the namespace is associated with.

    protocol String

    The protocol to apply on your namespace. Please check our supported protocols.

    region String

    region). The region in which the namespace should be created.

    updatedAt String

    The date and time the Namespace was updated.

    createdAt string

    The date and time the Namespace was created.

    endpoint string

    The endpoint of the service matching the Namespace protocol.

    name string

    The unique name of the namespace.

    projectId string

    project_id) The ID of the project the namespace is associated with.

    protocol string

    The protocol to apply on your namespace. Please check our supported protocols.

    region string

    region). The region in which the namespace should be created.

    updatedAt string

    The date and time the Namespace was updated.

    created_at str

    The date and time the Namespace was created.

    endpoint str

    The endpoint of the service matching the Namespace protocol.

    name str

    The unique name of the namespace.

    project_id str

    project_id) The ID of the project the namespace is associated with.

    protocol str

    The protocol to apply on your namespace. Please check our supported protocols.

    region str

    region). The region in which the namespace should be created.

    updated_at str

    The date and time the Namespace was updated.

    createdAt String

    The date and time the Namespace was created.

    endpoint String

    The endpoint of the service matching the Namespace protocol.

    name String

    The unique name of the namespace.

    projectId String

    project_id) The ID of the project the namespace is associated with.

    protocol String

    The protocol to apply on your namespace. Please check our supported protocols.

    region String

    region). The region in which the namespace should be created.

    updatedAt String

    The date and time the Namespace was updated.

    Import

    Namespaces can be imported using the {region}/{id}, e.g. bash

     $ pulumi import scaleway:index/mnqNamespace:MnqNamespace main fr-par/11111111111111111111111111111111
    

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs