@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
89 lines • 2.99 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about Artifact Registry Docker images.
* See [the official documentation](https://cloud.google.com/artifact-registry/docs/docker)
* and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages/list).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const myImages = gcp.artifactregistry.getDockerImages({
* location: "us-central1",
* repositoryId: "example-repo",
* });
* ```
*/
export declare function getDockerImages(args: GetDockerImagesArgs, opts?: pulumi.InvokeOptions): Promise<GetDockerImagesResult>;
/**
* A collection of arguments for invoking getDockerImages.
*/
export interface GetDockerImagesArgs {
/**
* The location of the Artifact Registry repository.
*/
location: string;
/**
* The project ID in which the resource belongs. If it is not provided, the provider project is used.
*/
project?: string;
/**
* The last part of the repository name to fetch from.
*/
repositoryId: string;
}
/**
* A collection of values returned by getDockerImages.
*/
export interface GetDockerImagesResult {
/**
* A list of all retrieved Artifact Registry Docker images. Structure is defined below.
*/
readonly dockerImages: outputs.artifactregistry.GetDockerImagesDockerImage[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly location: string;
readonly project?: string;
readonly repositoryId: string;
}
/**
* Get information about Artifact Registry Docker images.
* See [the official documentation](https://cloud.google.com/artifact-registry/docs/docker)
* and [API](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages/list).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const myImages = gcp.artifactregistry.getDockerImages({
* location: "us-central1",
* repositoryId: "example-repo",
* });
* ```
*/
export declare function getDockerImagesOutput(args: GetDockerImagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDockerImagesResult>;
/**
* A collection of arguments for invoking getDockerImages.
*/
export interface GetDockerImagesOutputArgs {
/**
* The location of the Artifact Registry repository.
*/
location: pulumi.Input<string>;
/**
* The project ID in which the resource belongs. If it is not provided, the provider project is used.
*/
project?: pulumi.Input<string | undefined>;
/**
* The last part of the repository name to fetch from.
*/
repositoryId: pulumi.Input<string>;
}
//# sourceMappingURL=getDockerImages.d.ts.map