@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
115 lines (114 loc) • 3.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a container namespace.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const byName = scaleway.getContainerNamespace({
* name: "my-namespace-name",
* });
* const byId = scaleway.getContainerNamespace({
* namespaceId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getContainerNamespace(args?: GetContainerNamespaceArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerNamespaceResult>;
/**
* A collection of arguments for invoking getContainerNamespace.
*/
export interface GetContainerNamespaceArgs {
/**
* 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 getContainerNamespace.
*/
export interface GetContainerNamespaceResult {
/**
* The description of the namespace.
*/
readonly description: string;
readonly destroyRegistry: boolean;
/**
* The environment variables of the namespace.
*/
readonly environmentVariables: {
[key: string]: string;
};
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name?: string;
readonly namespaceId?: string;
/**
* The organization ID the namespace is associated with.
*/
readonly organizationId: string;
readonly projectId: string;
readonly region?: string;
/**
* The registry endpoint of the namespace.
*/
readonly registryEndpoint: string;
/**
* The registry namespace ID of the namespace.
*/
readonly registryNamespaceId: string;
readonly secretEnvironmentVariables: {
[key: string]: string;
};
}
/**
* Gets information about a container namespace.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* const byName = scaleway.getContainerNamespace({
* name: "my-namespace-name",
* });
* const byId = scaleway.getContainerNamespace({
* namespaceId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getContainerNamespaceOutput(args?: GetContainerNamespaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContainerNamespaceResult>;
/**
* A collection of arguments for invoking getContainerNamespace.
*/
export interface GetContainerNamespaceOutputArgs {
/**
* 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>;
}