UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

108 lines (107 loc) 3.06 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Container Registry image. */ /** @deprecated scaleway.index/getregistryimage.getRegistryImage has been deprecated in favor of scaleway.registry/getimage.getImage */ export declare function getRegistryImage(args?: GetRegistryImageArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryImageResult>; /** * A collection of arguments for invoking getRegistryImage. */ export interface GetRegistryImageArgs { /** * 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 getRegistryImage. */ export interface GetRegistryImageResult { /** * 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. */ /** @deprecated scaleway.index/getregistryimage.getRegistryImage has been deprecated in favor of scaleway.registry/getimage.getImage */ export declare function getRegistryImageOutput(args?: GetRegistryImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRegistryImageResult>; /** * A collection of arguments for invoking getRegistryImage. */ export interface GetRegistryImageOutputArgs { /** * 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>[]>; }