Namespace

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>

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The Description of Namespace.

Link copied to clipboard
val namespaceId: Output<String>

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>

The Name of Namespace.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>