UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

78 lines 2.97 kB
import * as pulumi from "@pulumi/pulumi"; /** * Creates a new revision tag for a Pulumi ESC environment. Revision tags are named references that point to specific revision numbers, similar to Git tags. They allow pinning a stable reference to a known-good version of an environment. Tagged versions can be used in imports and Pulumi stack configuration (e.g., myproject/env@prod) to ensure stable references unaffected by subsequent changes. The built-in 'latest' tag always points to the most recent revision. */ export declare class RevisionTag extends pulumi.CustomResource { /** * Get an existing RevisionTag resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RevisionTag; /** * Returns true if the given object is an instance of RevisionTag. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RevisionTag; /** * The timestamp when the tag was created. */ readonly created: pulumi.Output<string>; /** * The login name of the user who last edited the tag. */ readonly editorLogin: pulumi.Output<string | undefined>; /** * The display name of the user who last edited the tag. */ readonly editorName: pulumi.Output<string | undefined>; /** * The timestamp when the tag was last modified. */ readonly modified: pulumi.Output<string>; /** * The name of the tag. */ readonly name: pulumi.Output<string>; /** * The revision number this tag points to. */ readonly revision: pulumi.Output<number>; /** * Create a RevisionTag resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RevisionTagArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RevisionTag resource. */ export interface RevisionTagArgs { /** * The environment name */ envName: pulumi.Input<string>; /** * The name */ name: pulumi.Input<string>; /** * The organization name */ orgName: pulumi.Input<string>; /** * The project name */ projectName: pulumi.Input<string>; /** * The revision */ revision?: pulumi.Input<number | undefined>; } //# sourceMappingURL=revisionTag.d.ts.map