ChartNamespace

Provides a CR Chart Namespace resource. For information about CR Chart Namespace and how to use it, see What is Chart Namespace.

NOTE: Available in v1.149.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.cr.RegistryEnterpriseInstance;
import com.pulumi.alicloud.cr.RegistryEnterpriseInstanceArgs;
import com.pulumi.alicloud.cr.ChartNamespace;
import com.pulumi.alicloud.cr.ChartNamespaceArgs;
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 defaultRegistryEnterpriseInstance = new RegistryEnterpriseInstance("defaultRegistryEnterpriseInstance", RegistryEnterpriseInstanceArgs.builder()
.paymentType("Subscription")
.period(1)
.instanceType("Advanced")
.instanceName("name")
.build());
var defaultChartNamespace = new ChartNamespace("defaultChartNamespace", ChartNamespaceArgs.builder()
.instanceId(defaultRegistryEnterpriseInstance.id())
.namespaceName("name")
.build());
}
}

Import

CR Chart Namespace can be imported using the id, e.g.

$ pulumi import alicloud:cr/chartNamespace:ChartNamespace example <instance_id>:<namespace_name>

Properties

Link copied to clipboard
val autoCreateRepo: Output<Boolean>

Specifies whether to automatically create repositories in the namespace. Valid values:

Link copied to clipboard
val defaultRepoType: Output<String>

DefaultRepoType. Valid values: PRIVATE, PUBLIC.

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

The ID of the Container Registry instance.

Link copied to clipboard
val namespaceName: Output<String>

The name of the namespace that you want to create.

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