@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [. The tag name and value are provided in the request body. Returns the created EnvironmentTag on success. Returns 409 if a tag with the same name already exists on the environment.
*/
export declare class EnvironmentTag extends pulumi.CustomResource {
/**
* Get an existing EnvironmentTag 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): EnvironmentTag;
/**
* Returns true if the given object is an instance of EnvironmentTag. 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 EnvironmentTag;
/**
* 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>;
/**
* The display name of the user who last edited the tag.
*/
readonly editorName: pulumi.Output<string>;
/**
* The timestamp when the tag was last modified.
*/
readonly modified: pulumi.Output<string>;
/**
* The name of the tag.
*/
readonly name: pulumi.Output<string>;
/**
* The value of the tag.
*/
readonly value: pulumi.Output<string>;
/**
* Create a EnvironmentTag 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: EnvironmentTagArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a EnvironmentTag resource.
*/
export interface EnvironmentTagArgs {
/**
* 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 value
*/
value: pulumi.Input<string>;
}
//# sourceMappingURL=environmentTag.d.ts.map