@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
148 lines (147 loc) • 5.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource for creating a Harness Default Notification Template Set
*/
export declare class DefaultNotificationTemplateSet extends pulumi.CustomResource {
/**
* Get an existing DefaultNotificationTemplateSet 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 state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DefaultNotificationTemplateSetState, opts?: pulumi.CustomResourceOptions): DefaultNotificationTemplateSet;
/**
* Returns true if the given object is an instance of DefaultNotificationTemplateSet. 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 DefaultNotificationTemplateSet;
/**
* Timestamp when the default notification template set was created.
*/
readonly created: pulumi.Output<number>;
/**
* Description for Default Notification Template Set
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Set of event-template configurations
*/
readonly eventTemplateConfigurationSets: pulumi.Output<outputs.platform.DefaultNotificationTemplateSetEventTemplateConfigurationSet[]>;
/**
* Identifier of Default Notification Template Set
*/
readonly identifier: pulumi.Output<string>;
/**
* Timestamp when the default notification template set was last modified.
*/
readonly lastModified: pulumi.Output<number>;
/**
* Name of Default Notification Template Set
*/
readonly name: pulumi.Output<string>;
/**
* Type of channel (e.g. SLACK, EMAIL, etc.)
*/
readonly notificationChannelType: pulumi.Output<string>;
/**
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
*/
readonly notificationEntity: pulumi.Output<string>;
/**
* Key-value tags
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Create a DefaultNotificationTemplateSet 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: DefaultNotificationTemplateSetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DefaultNotificationTemplateSet resources.
*/
export interface DefaultNotificationTemplateSetState {
/**
* Timestamp when the default notification template set was created.
*/
created?: pulumi.Input<number>;
/**
* Description for Default Notification Template Set
*/
description?: pulumi.Input<string>;
/**
* Set of event-template configurations
*/
eventTemplateConfigurationSets?: pulumi.Input<pulumi.Input<inputs.platform.DefaultNotificationTemplateSetEventTemplateConfigurationSet>[]>;
/**
* Identifier of Default Notification Template Set
*/
identifier?: pulumi.Input<string>;
/**
* Timestamp when the default notification template set was last modified.
*/
lastModified?: pulumi.Input<number>;
/**
* Name of Default Notification Template Set
*/
name?: pulumi.Input<string>;
/**
* Type of channel (e.g. SLACK, EMAIL, etc.)
*/
notificationChannelType?: pulumi.Input<string>;
/**
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
*/
notificationEntity?: pulumi.Input<string>;
/**
* Key-value tags
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}
/**
* The set of arguments for constructing a DefaultNotificationTemplateSet resource.
*/
export interface DefaultNotificationTemplateSetArgs {
/**
* Description for Default Notification Template Set
*/
description?: pulumi.Input<string>;
/**
* Set of event-template configurations
*/
eventTemplateConfigurationSets: pulumi.Input<pulumi.Input<inputs.platform.DefaultNotificationTemplateSetEventTemplateConfigurationSet>[]>;
/**
* Identifier of Default Notification Template Set
*/
identifier: pulumi.Input<string>;
/**
* Name of Default Notification Template Set
*/
name?: pulumi.Input<string>;
/**
* Type of channel (e.g. SLACK, EMAIL, etc.)
*/
notificationChannelType: pulumi.Input<string>;
/**
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
*/
notificationEntity: pulumi.Input<string>;
/**
* Key-value tags
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}