NamespaceArgs

data class NamespaceArgs(val namespaceDescription: Output<String>? = null, val namespaceId: Output<String>? = null, val namespaceName: Output<String>? = null) : ConvertibleToJava<NamespaceArgs>

Provides a Serverless App Engine (SAE) Namespace resource. For information about SAE Namespace and how to use it, see What is Namespace.

NOTE: Available in v1.129.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sae.Namespace;
import com.pulumi.alicloud.sae.NamespaceArgs;
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 example = new Namespace("example", NamespaceArgs.builder()
.namespaceDescription("your_description")
.namespaceId("cn-hangzhou:yourname")
.namespaceName("example_value")
.build());
}
}

Import

Serverless App Engine (SAE) Namespace can be imported using the id, e.g.

$ pulumi import alicloud:sae/namespace:Namespace example <namespace_id>

Constructors

Link copied to clipboard
fun NamespaceArgs(namespaceDescription: Output<String>? = null, namespaceId: Output<String>? = null, namespaceName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NamespaceArgs

Properties

Link copied to clipboard
val namespaceDescription: Output<String>? = null

The Description of Namespace.

Link copied to clipboard
val namespaceId: Output<String>? = null

The Id of Namespace.It can contain 2 to 32 lowercase characters.The value is in format {RegionId}:{namespace}

Link copied to clipboard
val namespaceName: Output<String>? = null

The Name of Namespace.