@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
106 lines (105 loc) • 2.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about a Container Registry image.
*/
export declare function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>;
/**
* A collection of arguments for invoking getImage.
*/
export interface GetImageArgs {
/**
* The image ID.
*
* > **Note** You must specify at least one: `name` and/or `imageId`.
*/
imageId?: string;
/**
* The image name.
*/
name?: string;
/**
* The namespace ID in which the image is.
*/
namespaceId?: string;
/**
* `projectId`) The ID of the project the image is associated with.
*/
projectId?: string;
/**
* `region`) The region in which the image exists.
*/
region?: string;
/**
* The tags associated with the registry image
*/
tags?: string[];
}
/**
* A collection of values returned by getImage.
*/
export interface GetImageResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly imageId?: string;
readonly name?: string;
readonly namespaceId: string;
/**
* The organization ID the image is associated with.
*/
readonly organizationId: string;
readonly projectId: string;
readonly region: string;
/**
* The size of the registry image.
*/
readonly size: number;
/**
* The tags associated with the registry image
*/
readonly tags: string[];
/**
* The date the image of the last update
*/
readonly updatedAt: string;
/**
* The privacy policy of the registry image.
*/
readonly visibility: string;
}
/**
* Gets information about a Container Registry image.
*/
export declare function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult>;
/**
* A collection of arguments for invoking getImage.
*/
export interface GetImageOutputArgs {
/**
* The image ID.
*
* > **Note** You must specify at least one: `name` and/or `imageId`.
*/
imageId?: pulumi.Input<string>;
/**
* The image name.
*/
name?: pulumi.Input<string>;
/**
* The namespace ID in which the image is.
*/
namespaceId?: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the image is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* `region`) The region in which the image exists.
*/
region?: pulumi.Input<string>;
/**
* The tags associated with the registry image
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
}