UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

146 lines 4.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages Scaleway Container Registry. * For more information refer to the [API documentation](https://www.scaleway.com/en/developers/api/registry). * * ## Example Usage * * ### Basic * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.registry.Namespace("main", { * name: "main-cr", * description: "Main container registry", * isPublic: false, * }); * ``` * * ## Import * * Namespaces can be imported using the `{region}/{id}`, e.g. * * ```sh * $ pulumi import scaleway:registry/namespace:Namespace main fr-par/11111111-1111-1111-1111-111111111111 * ``` */ 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<pulumi.ID>, 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; /** * The description of the namespace. */ readonly description: pulumi.Output<string | undefined>; /** * Endpoint reachable by Docker. */ readonly endpoint: pulumi.Output<string>; /** * Whether the images stored in the namespace should be downloadable publicly (docker pull). */ readonly isPublic: pulumi.Output<boolean | undefined>; /** * The unique name of the namespace. * * > **Important** Updates to `name` will recreate the namespace. */ readonly name: pulumi.Output<string>; /** * The Organization ID the namespace is associated with. */ readonly organizationId: pulumi.Output<string>; /** * `projectId`) The ID of the project the namespace is associated with. */ readonly projectId: pulumi.Output<string>; /** * `region`). The region in which the namespace should be created. */ readonly region: pulumi.Output<string | undefined>; /** * 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 { /** * The description of the namespace. */ description?: pulumi.Input<string | undefined>; /** * Endpoint reachable by Docker. */ endpoint?: pulumi.Input<string | undefined>; /** * Whether the images stored in the namespace should be downloadable publicly (docker pull). */ isPublic?: pulumi.Input<boolean | undefined>; /** * The unique name of the namespace. * * > **Important** Updates to `name` will recreate the namespace. */ name?: pulumi.Input<string | undefined>; /** * The Organization ID the namespace is associated with. */ organizationId?: pulumi.Input<string | undefined>; /** * `projectId`) The ID of the project the namespace is associated with. */ projectId?: pulumi.Input<string | undefined>; /** * `region`). The region in which the namespace should be created. */ region?: pulumi.Input<string | undefined>; } /** * The set of arguments for constructing a Namespace resource. */ export interface NamespaceArgs { /** * The description of the namespace. */ description?: pulumi.Input<string | undefined>; /** * Whether the images stored in the namespace should be downloadable publicly (docker pull). */ isPublic?: pulumi.Input<boolean | undefined>; /** * The unique name of the namespace. * * > **Important** Updates to `name` will recreate the namespace. */ name?: pulumi.Input<string | undefined>; /** * `projectId`) The ID of the project the namespace is associated with. */ projectId?: pulumi.Input<string | undefined>; /** * `region`). The region in which the namespace should be created. */ region?: pulumi.Input<string | undefined>; } //# sourceMappingURL=namespace.d.ts.map