@pulumi/harness 0.8.1-alpha.1755920002 → 0.9.0-alpha.1755842147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/platform/azureCloudCostConnector.d.ts +0 -9
- package/platform/azureCloudCostConnector.js +0 -9
- package/platform/azureCloudCostConnector.js.map +1 -1
- package/platform/getAzureCloudCostConnector.d.ts +0 -3
- package/platform/getAzureCloudCostConnector.js.map +1 -1
- package/platform/gitopsApplicationset.d.ts +0 -1
- package/platform/gitopsApplicationset.js +0 -1
- package/platform/gitopsApplicationset.js.map +1 -1
- package/platform/index.d.ts +0 -6
- package/platform/index.js +7 -16
- package/platform/index.js.map +1 -1
- package/types/input.d.ts +1 -466
- package/types/output.d.ts +2 -444
- package/platform/defaultNotificationTemplateSet.d.ts +0 -147
- package/platform/defaultNotificationTemplateSet.js +0 -80
- package/platform/defaultNotificationTemplateSet.js.map +0 -1
- package/platform/getDefaultNotificationTemplateSet.d.ts +0 -128
- package/platform/getDefaultNotificationTemplateSet.js +0 -40
- package/platform/getDefaultNotificationTemplateSet.js.map +0 -1
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Resource for creating a Harness Default Notification Template Set
|
|
6
|
-
*/
|
|
7
|
-
export declare class DefaultNotificationTemplateSet extends pulumi.CustomResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get an existing DefaultNotificationTemplateSet resource's state with the given name, ID, and optional extra
|
|
10
|
-
* properties used to qualify the lookup.
|
|
11
|
-
*
|
|
12
|
-
* @param name The _unique_ name of the resulting resource.
|
|
13
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
-
* @param state Any extra arguments used during the lookup.
|
|
15
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
-
*/
|
|
17
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DefaultNotificationTemplateSetState, opts?: pulumi.CustomResourceOptions): DefaultNotificationTemplateSet;
|
|
18
|
-
/**
|
|
19
|
-
* Returns true if the given object is an instance of DefaultNotificationTemplateSet. This is designed to work even
|
|
20
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
-
*/
|
|
22
|
-
static isInstance(obj: any): obj is DefaultNotificationTemplateSet;
|
|
23
|
-
/**
|
|
24
|
-
* Timestamp when the default notification template set was created.
|
|
25
|
-
*/
|
|
26
|
-
readonly created: pulumi.Output<number>;
|
|
27
|
-
/**
|
|
28
|
-
* Description for Default Notification Template Set
|
|
29
|
-
*/
|
|
30
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
31
|
-
/**
|
|
32
|
-
* Set of event-template configurations
|
|
33
|
-
*/
|
|
34
|
-
readonly eventTemplateConfigurationSets: pulumi.Output<outputs.platform.DefaultNotificationTemplateSetEventTemplateConfigurationSet[]>;
|
|
35
|
-
/**
|
|
36
|
-
* Identifier of Default Notification Template Set
|
|
37
|
-
*/
|
|
38
|
-
readonly identifier: pulumi.Output<string>;
|
|
39
|
-
/**
|
|
40
|
-
* Timestamp when the default notification template set was last modified.
|
|
41
|
-
*/
|
|
42
|
-
readonly lastModified: pulumi.Output<number>;
|
|
43
|
-
/**
|
|
44
|
-
* Name of Default Notification Template Set
|
|
45
|
-
*/
|
|
46
|
-
readonly name: pulumi.Output<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Type of channel (e.g. SLACK, EMAIL, etc.)
|
|
49
|
-
*/
|
|
50
|
-
readonly notificationChannelType: pulumi.Output<string>;
|
|
51
|
-
/**
|
|
52
|
-
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
53
|
-
*/
|
|
54
|
-
readonly notificationEntity: pulumi.Output<string>;
|
|
55
|
-
/**
|
|
56
|
-
* Key-value tags
|
|
57
|
-
*/
|
|
58
|
-
readonly tags: pulumi.Output<{
|
|
59
|
-
[key: string]: string;
|
|
60
|
-
} | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* Create a DefaultNotificationTemplateSet resource with the given unique name, arguments, and options.
|
|
63
|
-
*
|
|
64
|
-
* @param name The _unique_ name of the resource.
|
|
65
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
-
*/
|
|
68
|
-
constructor(name: string, args: DefaultNotificationTemplateSetArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Input properties used for looking up and filtering DefaultNotificationTemplateSet resources.
|
|
72
|
-
*/
|
|
73
|
-
export interface DefaultNotificationTemplateSetState {
|
|
74
|
-
/**
|
|
75
|
-
* Timestamp when the default notification template set was created.
|
|
76
|
-
*/
|
|
77
|
-
created?: pulumi.Input<number>;
|
|
78
|
-
/**
|
|
79
|
-
* Description for Default Notification Template Set
|
|
80
|
-
*/
|
|
81
|
-
description?: pulumi.Input<string>;
|
|
82
|
-
/**
|
|
83
|
-
* Set of event-template configurations
|
|
84
|
-
*/
|
|
85
|
-
eventTemplateConfigurationSets?: pulumi.Input<pulumi.Input<inputs.platform.DefaultNotificationTemplateSetEventTemplateConfigurationSet>[]>;
|
|
86
|
-
/**
|
|
87
|
-
* Identifier of Default Notification Template Set
|
|
88
|
-
*/
|
|
89
|
-
identifier?: pulumi.Input<string>;
|
|
90
|
-
/**
|
|
91
|
-
* Timestamp when the default notification template set was last modified.
|
|
92
|
-
*/
|
|
93
|
-
lastModified?: pulumi.Input<number>;
|
|
94
|
-
/**
|
|
95
|
-
* Name of Default Notification Template Set
|
|
96
|
-
*/
|
|
97
|
-
name?: pulumi.Input<string>;
|
|
98
|
-
/**
|
|
99
|
-
* Type of channel (e.g. SLACK, EMAIL, etc.)
|
|
100
|
-
*/
|
|
101
|
-
notificationChannelType?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
104
|
-
*/
|
|
105
|
-
notificationEntity?: pulumi.Input<string>;
|
|
106
|
-
/**
|
|
107
|
-
* Key-value tags
|
|
108
|
-
*/
|
|
109
|
-
tags?: pulumi.Input<{
|
|
110
|
-
[key: string]: pulumi.Input<string>;
|
|
111
|
-
}>;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* The set of arguments for constructing a DefaultNotificationTemplateSet resource.
|
|
115
|
-
*/
|
|
116
|
-
export interface DefaultNotificationTemplateSetArgs {
|
|
117
|
-
/**
|
|
118
|
-
* Description for Default Notification Template Set
|
|
119
|
-
*/
|
|
120
|
-
description?: pulumi.Input<string>;
|
|
121
|
-
/**
|
|
122
|
-
* Set of event-template configurations
|
|
123
|
-
*/
|
|
124
|
-
eventTemplateConfigurationSets: pulumi.Input<pulumi.Input<inputs.platform.DefaultNotificationTemplateSetEventTemplateConfigurationSet>[]>;
|
|
125
|
-
/**
|
|
126
|
-
* Identifier of Default Notification Template Set
|
|
127
|
-
*/
|
|
128
|
-
identifier: pulumi.Input<string>;
|
|
129
|
-
/**
|
|
130
|
-
* Name of Default Notification Template Set
|
|
131
|
-
*/
|
|
132
|
-
name?: pulumi.Input<string>;
|
|
133
|
-
/**
|
|
134
|
-
* Type of channel (e.g. SLACK, EMAIL, etc.)
|
|
135
|
-
*/
|
|
136
|
-
notificationChannelType: pulumi.Input<string>;
|
|
137
|
-
/**
|
|
138
|
-
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
139
|
-
*/
|
|
140
|
-
notificationEntity: pulumi.Input<string>;
|
|
141
|
-
/**
|
|
142
|
-
* Key-value tags
|
|
143
|
-
*/
|
|
144
|
-
tags?: pulumi.Input<{
|
|
145
|
-
[key: string]: pulumi.Input<string>;
|
|
146
|
-
}>;
|
|
147
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.DefaultNotificationTemplateSet = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Resource for creating a Harness Default Notification Template Set
|
|
10
|
-
*/
|
|
11
|
-
class DefaultNotificationTemplateSet extends pulumi.CustomResource {
|
|
12
|
-
/**
|
|
13
|
-
* Get an existing DefaultNotificationTemplateSet resource's state with the given name, ID, and optional extra
|
|
14
|
-
* properties used to qualify the lookup.
|
|
15
|
-
*
|
|
16
|
-
* @param name The _unique_ name of the resulting resource.
|
|
17
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
-
* @param state Any extra arguments used during the lookup.
|
|
19
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
-
*/
|
|
21
|
-
static get(name, id, state, opts) {
|
|
22
|
-
return new DefaultNotificationTemplateSet(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Returns true if the given object is an instance of DefaultNotificationTemplateSet. This is designed to work even
|
|
26
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
-
*/
|
|
28
|
-
static isInstance(obj) {
|
|
29
|
-
if (obj === undefined || obj === null) {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
return obj['__pulumiType'] === DefaultNotificationTemplateSet.__pulumiType;
|
|
33
|
-
}
|
|
34
|
-
constructor(name, argsOrState, opts) {
|
|
35
|
-
let resourceInputs = {};
|
|
36
|
-
opts = opts || {};
|
|
37
|
-
if (opts.id) {
|
|
38
|
-
const state = argsOrState;
|
|
39
|
-
resourceInputs["created"] = state ? state.created : undefined;
|
|
40
|
-
resourceInputs["description"] = state ? state.description : undefined;
|
|
41
|
-
resourceInputs["eventTemplateConfigurationSets"] = state ? state.eventTemplateConfigurationSets : undefined;
|
|
42
|
-
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
43
|
-
resourceInputs["lastModified"] = state ? state.lastModified : undefined;
|
|
44
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
45
|
-
resourceInputs["notificationChannelType"] = state ? state.notificationChannelType : undefined;
|
|
46
|
-
resourceInputs["notificationEntity"] = state ? state.notificationEntity : undefined;
|
|
47
|
-
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
const args = argsOrState;
|
|
51
|
-
if ((!args || args.eventTemplateConfigurationSets === undefined) && !opts.urn) {
|
|
52
|
-
throw new Error("Missing required property 'eventTemplateConfigurationSets'");
|
|
53
|
-
}
|
|
54
|
-
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
55
|
-
throw new Error("Missing required property 'identifier'");
|
|
56
|
-
}
|
|
57
|
-
if ((!args || args.notificationChannelType === undefined) && !opts.urn) {
|
|
58
|
-
throw new Error("Missing required property 'notificationChannelType'");
|
|
59
|
-
}
|
|
60
|
-
if ((!args || args.notificationEntity === undefined) && !opts.urn) {
|
|
61
|
-
throw new Error("Missing required property 'notificationEntity'");
|
|
62
|
-
}
|
|
63
|
-
resourceInputs["description"] = args ? args.description : undefined;
|
|
64
|
-
resourceInputs["eventTemplateConfigurationSets"] = args ? args.eventTemplateConfigurationSets : undefined;
|
|
65
|
-
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
66
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
67
|
-
resourceInputs["notificationChannelType"] = args ? args.notificationChannelType : undefined;
|
|
68
|
-
resourceInputs["notificationEntity"] = args ? args.notificationEntity : undefined;
|
|
69
|
-
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
70
|
-
resourceInputs["created"] = undefined /*out*/;
|
|
71
|
-
resourceInputs["lastModified"] = undefined /*out*/;
|
|
72
|
-
}
|
|
73
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
-
super(DefaultNotificationTemplateSet.__pulumiType, name, resourceInputs, opts);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.DefaultNotificationTemplateSet = DefaultNotificationTemplateSet;
|
|
78
|
-
/** @internal */
|
|
79
|
-
DefaultNotificationTemplateSet.__pulumiType = 'harness:platform/defaultNotificationTemplateSet:DefaultNotificationTemplateSet';
|
|
80
|
-
//# sourceMappingURL=defaultNotificationTemplateSet.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultNotificationTemplateSet.js","sourceRoot":"","sources":["../../platform/defaultNotificationTemplateSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,cAAc,CAAC,SA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AAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AAjHL,wEAkHC;AApGG,gBAAgB;AACO,2CAAY,GAAG,gFAAgF,CAAC"}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
|
-
import * as outputs from "../types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Data source for retrieving a Default Notification Template Set.
|
|
6
|
-
*/
|
|
7
|
-
export declare function getDefaultNotificationTemplateSet(args: GetDefaultNotificationTemplateSetArgs, opts?: pulumi.InvokeOptions): Promise<GetDefaultNotificationTemplateSetResult>;
|
|
8
|
-
/**
|
|
9
|
-
* A collection of arguments for invoking getDefaultNotificationTemplateSet.
|
|
10
|
-
*/
|
|
11
|
-
export interface GetDefaultNotificationTemplateSetArgs {
|
|
12
|
-
/**
|
|
13
|
-
* Description for Default Notification Template Set
|
|
14
|
-
*/
|
|
15
|
-
description?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Set of event-template configurations
|
|
18
|
-
*/
|
|
19
|
-
eventTemplateConfigurationSets: inputs.platform.GetDefaultNotificationTemplateSetEventTemplateConfigurationSet[];
|
|
20
|
-
/**
|
|
21
|
-
* Identifier of Default Notification Template Set
|
|
22
|
-
*/
|
|
23
|
-
identifier: string;
|
|
24
|
-
/**
|
|
25
|
-
* Name of Default Notification Template Set
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* Type of channel (e.g. SLACK, EMAIL, etc.)
|
|
30
|
-
*/
|
|
31
|
-
notificationChannelType: string;
|
|
32
|
-
/**
|
|
33
|
-
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
34
|
-
*/
|
|
35
|
-
notificationEntity: string;
|
|
36
|
-
/**
|
|
37
|
-
* Key-value tags
|
|
38
|
-
*/
|
|
39
|
-
tags?: {
|
|
40
|
-
[key: string]: string;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* A collection of values returned by getDefaultNotificationTemplateSet.
|
|
45
|
-
*/
|
|
46
|
-
export interface GetDefaultNotificationTemplateSetResult {
|
|
47
|
-
/**
|
|
48
|
-
* Timestamp when the notification rule was created.
|
|
49
|
-
*/
|
|
50
|
-
readonly created: number;
|
|
51
|
-
/**
|
|
52
|
-
* Description for Default Notification Template Set
|
|
53
|
-
*/
|
|
54
|
-
readonly description?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Set of event-template configurations
|
|
57
|
-
*/
|
|
58
|
-
readonly eventTemplateConfigurationSets: outputs.platform.GetDefaultNotificationTemplateSetEventTemplateConfigurationSet[];
|
|
59
|
-
/**
|
|
60
|
-
* The provider-assigned unique ID for this managed resource.
|
|
61
|
-
*/
|
|
62
|
-
readonly id: string;
|
|
63
|
-
/**
|
|
64
|
-
* Identifier of Default Notification Template Set
|
|
65
|
-
*/
|
|
66
|
-
readonly identifier: string;
|
|
67
|
-
/**
|
|
68
|
-
* Timestamp when the notification rule was last modified.
|
|
69
|
-
*/
|
|
70
|
-
readonly lastModified: number;
|
|
71
|
-
/**
|
|
72
|
-
* Name of Default Notification Template Set
|
|
73
|
-
*/
|
|
74
|
-
readonly name: string;
|
|
75
|
-
/**
|
|
76
|
-
* Type of channel (e.g. SLACK, EMAIL, etc.)
|
|
77
|
-
*/
|
|
78
|
-
readonly notificationChannelType: string;
|
|
79
|
-
/**
|
|
80
|
-
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
81
|
-
*/
|
|
82
|
-
readonly notificationEntity: string;
|
|
83
|
-
/**
|
|
84
|
-
* Key-value tags
|
|
85
|
-
*/
|
|
86
|
-
readonly tags?: {
|
|
87
|
-
[key: string]: string;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Data source for retrieving a Default Notification Template Set.
|
|
92
|
-
*/
|
|
93
|
-
export declare function getDefaultNotificationTemplateSetOutput(args: GetDefaultNotificationTemplateSetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDefaultNotificationTemplateSetResult>;
|
|
94
|
-
/**
|
|
95
|
-
* A collection of arguments for invoking getDefaultNotificationTemplateSet.
|
|
96
|
-
*/
|
|
97
|
-
export interface GetDefaultNotificationTemplateSetOutputArgs {
|
|
98
|
-
/**
|
|
99
|
-
* Description for Default Notification Template Set
|
|
100
|
-
*/
|
|
101
|
-
description?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* Set of event-template configurations
|
|
104
|
-
*/
|
|
105
|
-
eventTemplateConfigurationSets: pulumi.Input<pulumi.Input<inputs.platform.GetDefaultNotificationTemplateSetEventTemplateConfigurationSetArgs>[]>;
|
|
106
|
-
/**
|
|
107
|
-
* Identifier of Default Notification Template Set
|
|
108
|
-
*/
|
|
109
|
-
identifier: pulumi.Input<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Name of Default Notification Template Set
|
|
112
|
-
*/
|
|
113
|
-
name: pulumi.Input<string>;
|
|
114
|
-
/**
|
|
115
|
-
* Type of channel (e.g. SLACK, EMAIL, etc.)
|
|
116
|
-
*/
|
|
117
|
-
notificationChannelType: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Type of the entity (e.g. PIPELINE, SERVICE, etc.)
|
|
120
|
-
*/
|
|
121
|
-
notificationEntity: pulumi.Input<string>;
|
|
122
|
-
/**
|
|
123
|
-
* Key-value tags
|
|
124
|
-
*/
|
|
125
|
-
tags?: pulumi.Input<{
|
|
126
|
-
[key: string]: pulumi.Input<string>;
|
|
127
|
-
}>;
|
|
128
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getDefaultNotificationTemplateSetOutput = exports.getDefaultNotificationTemplateSet = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Data source for retrieving a Default Notification Template Set.
|
|
10
|
-
*/
|
|
11
|
-
function getDefaultNotificationTemplateSet(args, opts) {
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
-
return pulumi.runtime.invoke("harness:platform/getDefaultNotificationTemplateSet:getDefaultNotificationTemplateSet", {
|
|
14
|
-
"description": args.description,
|
|
15
|
-
"eventTemplateConfigurationSets": args.eventTemplateConfigurationSets,
|
|
16
|
-
"identifier": args.identifier,
|
|
17
|
-
"name": args.name,
|
|
18
|
-
"notificationChannelType": args.notificationChannelType,
|
|
19
|
-
"notificationEntity": args.notificationEntity,
|
|
20
|
-
"tags": args.tags,
|
|
21
|
-
}, opts);
|
|
22
|
-
}
|
|
23
|
-
exports.getDefaultNotificationTemplateSet = getDefaultNotificationTemplateSet;
|
|
24
|
-
/**
|
|
25
|
-
* Data source for retrieving a Default Notification Template Set.
|
|
26
|
-
*/
|
|
27
|
-
function getDefaultNotificationTemplateSetOutput(args, opts) {
|
|
28
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
29
|
-
return pulumi.runtime.invokeOutput("harness:platform/getDefaultNotificationTemplateSet:getDefaultNotificationTemplateSet", {
|
|
30
|
-
"description": args.description,
|
|
31
|
-
"eventTemplateConfigurationSets": args.eventTemplateConfigurationSets,
|
|
32
|
-
"identifier": args.identifier,
|
|
33
|
-
"name": args.name,
|
|
34
|
-
"notificationChannelType": args.notificationChannelType,
|
|
35
|
-
"notificationEntity": args.notificationEntity,
|
|
36
|
-
"tags": args.tags,
|
|
37
|
-
}, opts);
|
|
38
|
-
}
|
|
39
|
-
exports.getDefaultNotificationTemplateSetOutput = getDefaultNotificationTemplateSetOutput;
|
|
40
|
-
//# sourceMappingURL=getDefaultNotificationTemplateSet.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultNotificationTemplateSet.js","sourceRoot":"","sources":["../../platform/getDefaultNotificationTemplateSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gCAAgC,EAAE,IAAI,CAAC,8BAA8B;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8EAWC;AAiFD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY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