@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
84 lines (83 loc) • 2.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a registry namespace.
*/
/** @deprecated scaleway.index/getregistrynamespace.getRegistryNamespace has been deprecated in favor of scaleway.registry/getnamespace.getNamespace */
export declare function getRegistryNamespace(args?: GetRegistryNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryNamespaceResult>;
/**
* A collection of arguments for invoking getRegistryNamespace.
*/
export interface GetRegistryNamespaceArgs {
/**
* The namespace name.
*/
name?: string;
/**
* The namespace id.
*
* > **Note** You must specify at least one: `name` and/or `imageId`.
*/
namespaceId?: string;
/**
* `projectId`) The ID of the project the namespace is associated with.
*/
projectId?: string;
/**
* `region`) The region in which the namespace exists.
*/
region?: string;
}
/**
* A collection of values returned by getRegistryNamespace.
*/
export interface GetRegistryNamespaceResult {
readonly description: string;
/**
* The endpoint of the Registry Namespace.
*/
readonly endpoint: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The Namespace Privacy Policy: whether or not the images are public.
*/
readonly isPublic: boolean;
readonly name?: string;
readonly namespaceId?: string;
/**
* The organization ID the namespace is associated with.
*/
readonly organizationId: string;
readonly projectId?: string;
readonly region?: string;
}
/**
* Gets information about a registry namespace.
*/
/** @deprecated scaleway.index/getregistrynamespace.getRegistryNamespace has been deprecated in favor of scaleway.registry/getnamespace.getNamespace */
export declare function getRegistryNamespaceOutput(args?: GetRegistryNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistryNamespaceResult>;
/**
* A collection of arguments for invoking getRegistryNamespace.
*/
export interface GetRegistryNamespaceOutputArgs {
/**
* The namespace name.
*/
name?: pulumi.Input<string>;
/**
* The namespace id.
*
* > **Note** You must specify at least one: `name` and/or `imageId`.
*/
namespaceId?: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the namespace is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* `region`) The region in which the namespace exists.
*/
region?: pulumi.Input<string>;
}