@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
96 lines (95 loc) • 2.71 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a registry namespace.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const myNamespace = scaleway.getRegistryNamespace({
* namespaceId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getRegistryNamespace(args?: GetRegistryNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryNamespaceResult>;
/**
* A collection of arguments for invoking getRegistryNamespace.
*/
export interface GetRegistryNamespaceArgs {
/**
* The namespace name.
* Only one of `name` and `namespaceId` should be specified.
*/
name?: string;
/**
* The namespace id.
* Only one of `name` and `namespaceId` should be specified.
*/
namespaceId?: 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.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const myNamespace = scaleway.getRegistryNamespace({
* namespaceId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getRegistryNamespaceOutput(args?: GetRegistryNamespaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRegistryNamespaceResult>;
/**
* A collection of arguments for invoking getRegistryNamespace.
*/
export interface GetRegistryNamespaceOutputArgs {
/**
* The namespace name.
* Only one of `name` and `namespaceId` should be specified.
*/
name?: pulumi.Input<string>;
/**
* The namespace id.
* Only one of `name` and `namespaceId` should be specified.
*/
namespaceId?: pulumi.Input<string>;
/**
* `region`) The region in which the namespace exists.
*/
region?: pulumi.Input<string>;
}