@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
87 lines (86 loc) • 3.68 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource for managing Harness Notification Channels.
*/
export declare class CentralNotificationChannel extends pulumi.CustomResource {
/**
* Get an existing CentralNotificationChannel 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?: CentralNotificationChannelState, opts?: pulumi.CustomResourceOptions): CentralNotificationChannel;
/**
* Returns true if the given object is an instance of CentralNotificationChannel. 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 CentralNotificationChannel;
/**
* Account identifier associated with this notification channel.
*/
readonly account: pulumi.Output<string>;
readonly channel: pulumi.Output<outputs.platform.CentralNotificationChannelChannel>;
/**
* Timestamp when the notification channel was created.
*/
readonly created: pulumi.Output<number>;
readonly identifier: pulumi.Output<string>;
/**
* Timestamp when the notification channel was last modified.
*/
readonly lastModified: pulumi.Output<number>;
readonly name: pulumi.Output<string>;
readonly notificationChannelType: pulumi.Output<string>;
readonly org: pulumi.Output<string | undefined>;
readonly project: pulumi.Output<string | undefined>;
readonly status: pulumi.Output<string | undefined>;
/**
* Create a CentralNotificationChannel 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: CentralNotificationChannelArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CentralNotificationChannel resources.
*/
export interface CentralNotificationChannelState {
/**
* Account identifier associated with this notification channel.
*/
account?: pulumi.Input<string>;
channel?: pulumi.Input<inputs.platform.CentralNotificationChannelChannel>;
/**
* Timestamp when the notification channel was created.
*/
created?: pulumi.Input<number>;
identifier?: pulumi.Input<string>;
/**
* Timestamp when the notification channel was last modified.
*/
lastModified?: pulumi.Input<number>;
name?: pulumi.Input<string>;
notificationChannelType?: pulumi.Input<string>;
org?: pulumi.Input<string>;
project?: pulumi.Input<string>;
status?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CentralNotificationChannel resource.
*/
export interface CentralNotificationChannelArgs {
channel: pulumi.Input<inputs.platform.CentralNotificationChannelChannel>;
identifier: pulumi.Input<string>;
name?: pulumi.Input<string>;
notificationChannelType: pulumi.Input<string>;
org?: pulumi.Input<string>;
project?: pulumi.Input<string>;
status?: pulumi.Input<string>;
}