ContainerRegistry

class ContainerRegistry : KotlinCustomResource

Provides a DigitalOcean Container Registry resource. A Container Registry is a secure, private location to store your containers for rapid deployment.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.ContainerRegistry;
import com.pulumi.digitalocean.ContainerRegistryArgs;
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 foobar = new ContainerRegistry("foobar", ContainerRegistryArgs.builder()
.subscriptionTierSlug("starter")
.build());
}
}

Import

Container Registries can be imported using the name, e.g.

$ pulumi import digitalocean:index/containerRegistry:ContainerRegistry myregistry registryname

Properties

Link copied to clipboard
val createdAt: Output<String>

The date and time when the registry was created

Link copied to clipboard
val endpoint: Output<String>

The URL endpoint of the container registry. Ex: registry.digitalocean.com/my_registry

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

The name of the container_registry

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

The slug identifier of for region where registry data will be stored. When not provided, a region will be selected automatically.

Link copied to clipboard
val serverUrl: Output<String>

The domain of the container registry. Ex: registry.digitalocean.com

Link copied to clipboard
val storageUsageBytes: Output<Int>

The amount of storage used in the registry in bytes.

Link copied to clipboard

The slug identifier for the subscription tier to use (starter, basic, or professional)

Link copied to clipboard
val urn: Output<String>