import * as pulumi from "@pulumi/pulumi"; /** * A namespace is a collection of OCI artifact repositories that share related attributes. Namespace names are typically organization team names, product project names, or custom names within an enterprise. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const namespaceDemo = new volcenginecc.cr.NameSpace("NamespaceDemo", { * registry: "test", * name: "testnamespace", * project: "default", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:cr/nameSpace:NameSpace example "registry|name" * ``` */ export declare class NameSpace extends pulumi.CustomResource { /** * Get an existing NameSpace resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NameSpaceState, opts?: pulumi.CustomResourceOptions): NameSpace; /** * Returns true if the given object is an instance of NameSpace. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NameSpace; /** * Namespace creation time. */ readonly createdTime: pulumi.Output; /** * Namespace name. Supports lowercase English letters, numbers, periods (.), hyphens (-), and underscores (_). Punctuation cannot appear at the beginning or end, nor be used consecutively. Length must be between 2 and 90 characters. Standard edition instance: The name must be unique within the same image repository instance. Trial edition instance: The namespace name must be unique across all accounts within the same region. If the namespace name you set is already taken, try another name or purchase a standard edition instance. */ readonly name: pulumi.Output; /** * Name of the project to which the namespace belongs. This parameter is case-sensitive and must not exceed 64 characters. If the parameter is empty, the namespace is associated with the default project. */ readonly project: pulumi.Output; /** * Specify the image repository instance name. Obtain it via ListRegistries or from the instance list page in the image repository console. */ readonly registry: pulumi.Output; /** * Create a NameSpace resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NameSpaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NameSpace resources. */ export interface NameSpaceState { /** * Namespace creation time. */ createdTime?: pulumi.Input; /** * Namespace name. Supports lowercase English letters, numbers, periods (.), hyphens (-), and underscores (_). Punctuation cannot appear at the beginning or end, nor be used consecutively. Length must be between 2 and 90 characters. Standard edition instance: The name must be unique within the same image repository instance. Trial edition instance: The namespace name must be unique across all accounts within the same region. If the namespace name you set is already taken, try another name or purchase a standard edition instance. */ name?: pulumi.Input; /** * Name of the project to which the namespace belongs. This parameter is case-sensitive and must not exceed 64 characters. If the parameter is empty, the namespace is associated with the default project. */ project?: pulumi.Input; /** * Specify the image repository instance name. Obtain it via ListRegistries or from the instance list page in the image repository console. */ registry?: pulumi.Input; } /** * The set of arguments for constructing a NameSpace resource. */ export interface NameSpaceArgs { /** * Namespace name. Supports lowercase English letters, numbers, periods (.), hyphens (-), and underscores (_). Punctuation cannot appear at the beginning or end, nor be used consecutively. Length must be between 2 and 90 characters. Standard edition instance: The name must be unique within the same image repository instance. Trial edition instance: The namespace name must be unique across all accounts within the same region. If the namespace name you set is already taken, try another name or purchase a standard edition instance. */ name: pulumi.Input; /** * Name of the project to which the namespace belongs. This parameter is case-sensitive and must not exceed 64 characters. If the parameter is empty, the namespace is associated with the default project. */ project?: pulumi.Input; /** * Specify the image repository instance name. Obtain it via ListRegistries or from the instance list page in the image repository console. */ registry: pulumi.Input; }