@pulumi/harness 0.11.4 → 0.11.5

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.
Files changed (53) hide show
  1. package/autostopping/alert.d.ts +113 -0
  2. package/autostopping/alert.js +68 -0
  3. package/autostopping/alert.js.map +1 -0
  4. package/autostopping/awsProxy.d.ts +16 -0
  5. package/autostopping/awsProxy.js +4 -0
  6. package/autostopping/awsProxy.js.map +1 -1
  7. package/autostopping/azureProxy.d.ts +16 -0
  8. package/autostopping/azureProxy.js +4 -0
  9. package/autostopping/azureProxy.js.map +1 -1
  10. package/autostopping/gcpProxy.d.ts +16 -0
  11. package/autostopping/gcpProxy.js +4 -0
  12. package/autostopping/gcpProxy.js.map +1 -1
  13. package/autostopping/getAlert.d.ts +106 -0
  14. package/autostopping/getAlert.js +38 -0
  15. package/autostopping/getAlert.js.map +1 -0
  16. package/autostopping/getAwsProxy.d.ts +8 -0
  17. package/autostopping/getAwsProxy.js.map +1 -1
  18. package/autostopping/getAzureProxy.d.ts +8 -0
  19. package/autostopping/getAzureProxy.js.map +1 -1
  20. package/autostopping/getGcpProxy.d.ts +8 -0
  21. package/autostopping/getGcpProxy.js.map +1 -1
  22. package/autostopping/getRuleEcs.d.ts +1 -1
  23. package/autostopping/getRuleK8s.d.ts +134 -0
  24. package/autostopping/getRuleK8s.js +46 -0
  25. package/autostopping/getRuleK8s.js.map +1 -0
  26. package/autostopping/getRuleRds.d.ts +1 -1
  27. package/autostopping/getRuleScaleGroup.d.ts +1 -1
  28. package/autostopping/getRuleVm.d.ts +7 -1
  29. package/autostopping/getRuleVm.js.map +1 -1
  30. package/autostopping/getRules.d.ts +127 -0
  31. package/autostopping/getRules.js +102 -0
  32. package/autostopping/getRules.js.map +1 -0
  33. package/autostopping/index.d.ts +15 -0
  34. package/autostopping/index.js +20 -1
  35. package/autostopping/index.js.map +1 -1
  36. package/autostopping/ruleEcs.d.ts +2 -2
  37. package/autostopping/ruleK8s.d.ts +145 -0
  38. package/autostopping/ruleK8s.js +80 -0
  39. package/autostopping/ruleK8s.js.map +1 -0
  40. package/autostopping/ruleRds.d.ts +2 -2
  41. package/autostopping/ruleScaleGroup.d.ts +2 -2
  42. package/autostopping/ruleVm.d.ts +14 -2
  43. package/autostopping/ruleVm.js +2 -0
  44. package/autostopping/ruleVm.js.map +1 -1
  45. package/package.json +2 -2
  46. package/platform/harRegistry.d.ts +13 -0
  47. package/platform/harRegistry.js +13 -0
  48. package/platform/harRegistry.js.map +1 -1
  49. package/platform/resourceGroup.d.ts +213 -2
  50. package/platform/resourceGroup.js +213 -2
  51. package/platform/resourceGroup.js.map +1 -1
  52. package/types/input.d.ts +92 -8
  53. package/types/output.d.ts +80 -6
@@ -0,0 +1,113 @@
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 and managing Harness AutoStopping alerts. Alerts notify users via email or Slack when events such as warmup failures, cooldown failures, or rule lifecycle changes occur.
6
+ */
7
+ export declare class Alert extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Alert 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?: AlertState, opts?: pulumi.CustomResourceOptions): Alert;
18
+ /**
19
+ * Returns true if the given object is an instance of Alert. 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 Alert;
23
+ /**
24
+ * When true, the alert applies to all AutoStopping rules in the account (leave `ruleIdList` empty). Mutually exclusive with `ruleIdList`.
25
+ */
26
+ readonly applicableToAllRules: pulumi.Output<boolean | undefined>;
27
+ /**
28
+ * Whether the alert is enabled.
29
+ */
30
+ readonly enabled: pulumi.Output<boolean | undefined>;
31
+ /**
32
+ * List of event types that trigger the alert (e.g. autostopping*rule*created, autostopping*warmup*failed, autostopping*cooldown*failed).
33
+ */
34
+ readonly events: pulumi.Output<string[]>;
35
+ /**
36
+ * Name of the alert.
37
+ */
38
+ readonly name: pulumi.Output<string>;
39
+ /**
40
+ * Notification recipients. At least one of `email` or `slack` is required (with at least one value).
41
+ */
42
+ readonly recipients: pulumi.Output<outputs.autostopping.AlertRecipients>;
43
+ /**
44
+ * List of AutoStopping rule IDs to apply the alert to. Required when `applicableToAllRules` is false. Mutually exclusive with `applicableToAllRules` = true.
45
+ */
46
+ readonly ruleIdLists: pulumi.Output<number[] | undefined>;
47
+ /**
48
+ * Create a Alert resource with the given unique name, arguments, and options.
49
+ *
50
+ * @param name The _unique_ name of the resource.
51
+ * @param args The arguments to use to populate this resource's properties.
52
+ * @param opts A bag of options that control this resource's behavior.
53
+ */
54
+ constructor(name: string, args: AlertArgs, opts?: pulumi.CustomResourceOptions);
55
+ }
56
+ /**
57
+ * Input properties used for looking up and filtering Alert resources.
58
+ */
59
+ export interface AlertState {
60
+ /**
61
+ * When true, the alert applies to all AutoStopping rules in the account (leave `ruleIdList` empty). Mutually exclusive with `ruleIdList`.
62
+ */
63
+ applicableToAllRules?: pulumi.Input<boolean>;
64
+ /**
65
+ * Whether the alert is enabled.
66
+ */
67
+ enabled?: pulumi.Input<boolean>;
68
+ /**
69
+ * List of event types that trigger the alert (e.g. autostopping*rule*created, autostopping*warmup*failed, autostopping*cooldown*failed).
70
+ */
71
+ events?: pulumi.Input<pulumi.Input<string>[]>;
72
+ /**
73
+ * Name of the alert.
74
+ */
75
+ name?: pulumi.Input<string>;
76
+ /**
77
+ * Notification recipients. At least one of `email` or `slack` is required (with at least one value).
78
+ */
79
+ recipients?: pulumi.Input<inputs.autostopping.AlertRecipients>;
80
+ /**
81
+ * List of AutoStopping rule IDs to apply the alert to. Required when `applicableToAllRules` is false. Mutually exclusive with `applicableToAllRules` = true.
82
+ */
83
+ ruleIdLists?: pulumi.Input<pulumi.Input<number>[]>;
84
+ }
85
+ /**
86
+ * The set of arguments for constructing a Alert resource.
87
+ */
88
+ export interface AlertArgs {
89
+ /**
90
+ * When true, the alert applies to all AutoStopping rules in the account (leave `ruleIdList` empty). Mutually exclusive with `ruleIdList`.
91
+ */
92
+ applicableToAllRules?: pulumi.Input<boolean>;
93
+ /**
94
+ * Whether the alert is enabled.
95
+ */
96
+ enabled?: pulumi.Input<boolean>;
97
+ /**
98
+ * List of event types that trigger the alert (e.g. autostopping*rule*created, autostopping*warmup*failed, autostopping*cooldown*failed).
99
+ */
100
+ events: pulumi.Input<pulumi.Input<string>[]>;
101
+ /**
102
+ * Name of the alert.
103
+ */
104
+ name?: pulumi.Input<string>;
105
+ /**
106
+ * Notification recipients. At least one of `email` or `slack` is required (with at least one value).
107
+ */
108
+ recipients: pulumi.Input<inputs.autostopping.AlertRecipients>;
109
+ /**
110
+ * List of AutoStopping rule IDs to apply the alert to. Required when `applicableToAllRules` is false. Mutually exclusive with `applicableToAllRules` = true.
111
+ */
112
+ ruleIdLists?: pulumi.Input<pulumi.Input<number>[]>;
113
+ }
@@ -0,0 +1,68 @@
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.Alert = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for creating and managing Harness AutoStopping alerts. Alerts notify users via email or Slack when events such as warmup failures, cooldown failures, or rule lifecycle changes occur.
10
+ */
11
+ class Alert extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Alert 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 Alert(name, state, { ...opts, id: id });
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of Alert. 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'] === Alert.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["applicableToAllRules"] = state?.applicableToAllRules;
40
+ resourceInputs["enabled"] = state?.enabled;
41
+ resourceInputs["events"] = state?.events;
42
+ resourceInputs["name"] = state?.name;
43
+ resourceInputs["recipients"] = state?.recipients;
44
+ resourceInputs["ruleIdLists"] = state?.ruleIdLists;
45
+ }
46
+ else {
47
+ const args = argsOrState;
48
+ if (args?.events === undefined && !opts.urn) {
49
+ throw new Error("Missing required property 'events'");
50
+ }
51
+ if (args?.recipients === undefined && !opts.urn) {
52
+ throw new Error("Missing required property 'recipients'");
53
+ }
54
+ resourceInputs["applicableToAllRules"] = args?.applicableToAllRules;
55
+ resourceInputs["enabled"] = args?.enabled;
56
+ resourceInputs["events"] = args?.events;
57
+ resourceInputs["name"] = args?.name;
58
+ resourceInputs["recipients"] = args?.recipients;
59
+ resourceInputs["ruleIdLists"] = args?.ruleIdLists;
60
+ }
61
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
62
+ super(Alert.__pulumiType, name, resourceInputs, opts);
63
+ }
64
+ }
65
+ exports.Alert = Alert;
66
+ /** @internal */
67
+ Alert.__pulumiType = 'harness:autostopping/alert:Alert';
68
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","sourceRoot":"","sources":["../../autostopping/alert.ts"],"names":[],"mappings":";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AAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAzFL,sBA0FC;AA5EG,gBAAgB;AACO,kBAAY,GAAG,kCAAkC,CAAC"}
@@ -72,6 +72,14 @@ export declare class AwsProxy extends pulumi.CustomResource {
72
72
  * Name of the proxy
73
73
  */
74
74
  readonly name: pulumi.Output<string>;
75
+ /**
76
+ * Private IP address of the proxy
77
+ */
78
+ readonly privateIp: pulumi.Output<string>;
79
+ /**
80
+ * Public IP address of the proxy
81
+ */
82
+ readonly publicIp: pulumi.Output<string>;
75
83
  /**
76
84
  * Region in which cloud resources are hosted
77
85
  */
@@ -127,6 +135,14 @@ export interface AwsProxyState {
127
135
  * Name of the proxy
128
136
  */
129
137
  name?: pulumi.Input<string>;
138
+ /**
139
+ * Private IP address of the proxy
140
+ */
141
+ privateIp?: pulumi.Input<string>;
142
+ /**
143
+ * Public IP address of the proxy
144
+ */
145
+ publicIp?: pulumi.Input<string>;
130
146
  /**
131
147
  * Region in which cloud resources are hosted
132
148
  */
@@ -67,6 +67,8 @@ class AwsProxy extends pulumi.CustomResource {
67
67
  resourceInputs["keypair"] = state?.keypair;
68
68
  resourceInputs["machineType"] = state?.machineType;
69
69
  resourceInputs["name"] = state?.name;
70
+ resourceInputs["privateIp"] = state?.privateIp;
71
+ resourceInputs["publicIp"] = state?.publicIp;
70
72
  resourceInputs["region"] = state?.region;
71
73
  resourceInputs["securityGroups"] = state?.securityGroups;
72
74
  resourceInputs["vpc"] = state?.vpc;
@@ -103,6 +105,8 @@ class AwsProxy extends pulumi.CustomResource {
103
105
  resourceInputs["securityGroups"] = args?.securityGroups;
104
106
  resourceInputs["vpc"] = args?.vpc;
105
107
  resourceInputs["identifier"] = undefined /*out*/;
108
+ resourceInputs["privateIp"] = undefined /*out*/;
109
+ resourceInputs["publicIp"] = undefined /*out*/;
106
110
  }
107
111
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
108
112
  const secretOpts = { additionalSecretOutputs: ["apiKey"] };
@@ -1 +1 @@
1
- {"version":3,"file":"awsProxy.js","sourceRoot":"","sources":["../../autostopping/awsProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU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AE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,EAAE,6BAA6B,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjJL,4BAkJC;AApIG,gBAAgB;AACO,qBAAY,GAAG,wCAAwC,CAAC"}
@@ -76,6 +76,14 @@ export declare class AzureProxy extends pulumi.CustomResource {
76
76
  * Name of the proxy
77
77
  */
78
78
  readonly name: pulumi.Output<string>;
79
+ /**
80
+ * Private IP address of the proxy
81
+ */
82
+ readonly privateIp: pulumi.Output<string>;
83
+ /**
84
+ * Public IP address of the proxy
85
+ */
86
+ readonly publicIp: pulumi.Output<string>;
79
87
  /**
80
88
  * Region in which cloud resources are hosted
81
89
  */
@@ -143,6 +151,14 @@ export interface AzureProxyState {
143
151
  * Name of the proxy
144
152
  */
145
153
  name?: pulumi.Input<string>;
154
+ /**
155
+ * Private IP address of the proxy
156
+ */
157
+ privateIp?: pulumi.Input<string>;
158
+ /**
159
+ * Public IP address of the proxy
160
+ */
161
+ publicIp?: pulumi.Input<string>;
146
162
  /**
147
163
  * Region in which cloud resources are hosted
148
164
  */
@@ -68,6 +68,8 @@ class AzureProxy extends pulumi.CustomResource {
68
68
  resourceInputs["keypair"] = state?.keypair;
69
69
  resourceInputs["machineType"] = state?.machineType;
70
70
  resourceInputs["name"] = state?.name;
71
+ resourceInputs["privateIp"] = state?.privateIp;
72
+ resourceInputs["publicIp"] = state?.publicIp;
71
73
  resourceInputs["region"] = state?.region;
72
74
  resourceInputs["resourceGroup"] = state?.resourceGroup;
73
75
  resourceInputs["securityGroups"] = state?.securityGroups;
@@ -118,6 +120,8 @@ class AzureProxy extends pulumi.CustomResource {
118
120
  resourceInputs["subnetId"] = args?.subnetId;
119
121
  resourceInputs["vpc"] = args?.vpc;
120
122
  resourceInputs["identifier"] = undefined /*out*/;
123
+ resourceInputs["privateIp"] = undefined /*out*/;
124
+ resourceInputs["publicIp"] = undefined /*out*/;
121
125
  }
122
126
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
127
  const secretOpts = { additionalSecretOutputs: ["apiKey"] };
@@ -1 +1 @@
1
- {"version":3,"file":"azureProxy.js","sourceRoot":"","sources":["../../autostopping/azureProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE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,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA5KL,gCA6KC;AA/JG,gBAAgB;AACO,uBAAY,GAAG,4CAA4C,CAAC"}
@@ -74,6 +74,14 @@ export declare class GcpProxy extends pulumi.CustomResource {
74
74
  * Name of the proxy
75
75
  */
76
76
  readonly name: pulumi.Output<string>;
77
+ /**
78
+ * Private IP address of the proxy
79
+ */
80
+ readonly privateIp: pulumi.Output<string>;
81
+ /**
82
+ * Public IP address of the proxy
83
+ */
84
+ readonly publicIp: pulumi.Output<string>;
77
85
  /**
78
86
  * Region in which cloud resources are hosted
79
87
  */
@@ -136,6 +144,14 @@ export interface GcpProxyState {
136
144
  * Name of the proxy
137
145
  */
138
146
  name?: pulumi.Input<string>;
147
+ /**
148
+ * Private IP address of the proxy
149
+ */
150
+ privateIp?: pulumi.Input<string>;
151
+ /**
152
+ * Public IP address of the proxy
153
+ */
154
+ publicIp?: pulumi.Input<string>;
139
155
  /**
140
156
  * Region in which cloud resources are hosted
141
157
  */
@@ -69,6 +69,8 @@ class GcpProxy extends pulumi.CustomResource {
69
69
  resourceInputs["identifier"] = state?.identifier;
70
70
  resourceInputs["machineType"] = state?.machineType;
71
71
  resourceInputs["name"] = state?.name;
72
+ resourceInputs["privateIp"] = state?.privateIp;
73
+ resourceInputs["publicIp"] = state?.publicIp;
72
74
  resourceInputs["region"] = state?.region;
73
75
  resourceInputs["securityGroups"] = state?.securityGroups;
74
76
  resourceInputs["subnetId"] = state?.subnetId;
@@ -114,6 +116,8 @@ class GcpProxy extends pulumi.CustomResource {
114
116
  resourceInputs["vpc"] = args?.vpc;
115
117
  resourceInputs["zone"] = args?.zone;
116
118
  resourceInputs["identifier"] = undefined /*out*/;
119
+ resourceInputs["privateIp"] = undefined /*out*/;
120
+ resourceInputs["publicIp"] = undefined /*out*/;
117
121
  }
118
122
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
119
123
  const secretOpts = { additionalSecretOutputs: ["apiKey"] };
@@ -1 +1 @@
1
- {"version":3,"file":"gcpProxy.js","sourceRoot":"","sources":["../../autostopping/gcpProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA4DD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CA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AAC;IAC7D,CAAC;;AAhKL,4BAiKC;AAnJG,gBAAgB;AACO,qBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,106 @@
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 Harness AutoStopping alert by ID. Use the id (identifier) returned by the API when the alert was created.
6
+ */
7
+ export declare function getAlert(args: GetAlertArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertResult>;
8
+ /**
9
+ * A collection of arguments for invoking getAlert.
10
+ */
11
+ export interface GetAlertArgs {
12
+ /**
13
+ * When true, the alert applies to all AutoStopping rules in the account (leave `ruleIdList` empty). Mutually exclusive with `ruleIdList`.
14
+ */
15
+ applicableToAllRules?: boolean;
16
+ /**
17
+ * Whether the alert is enabled.
18
+ */
19
+ enabled?: boolean;
20
+ /**
21
+ * List of event types that trigger the alert.
22
+ */
23
+ events: string[];
24
+ /**
25
+ * Name of the alert.
26
+ */
27
+ name: string;
28
+ /**
29
+ * Notification recipients (email and/or slack).
30
+ */
31
+ recipients: inputs.autostopping.GetAlertRecipients;
32
+ /**
33
+ * List of AutoStopping rule IDs to apply the alert to. Required when `applicableToAllRules` is false. Mutually exclusive with `applicableToAllRules` = true.
34
+ */
35
+ ruleIdLists?: number[];
36
+ }
37
+ /**
38
+ * A collection of values returned by getAlert.
39
+ */
40
+ export interface GetAlertResult {
41
+ /**
42
+ * When true, the alert applies to all AutoStopping rules in the account (leave `ruleIdList` empty). Mutually exclusive with `ruleIdList`.
43
+ */
44
+ readonly applicableToAllRules?: boolean;
45
+ /**
46
+ * Whether the alert is enabled.
47
+ */
48
+ readonly enabled?: boolean;
49
+ /**
50
+ * List of event types that trigger the alert.
51
+ */
52
+ readonly events: string[];
53
+ /**
54
+ * The provider-assigned unique ID for this managed resource.
55
+ */
56
+ readonly id: string;
57
+ /**
58
+ * Unique identifier of the alert.
59
+ */
60
+ readonly identifier: string;
61
+ /**
62
+ * Name of the alert.
63
+ */
64
+ readonly name: string;
65
+ /**
66
+ * Notification recipients (email and/or slack).
67
+ */
68
+ readonly recipients: outputs.autostopping.GetAlertRecipients;
69
+ /**
70
+ * List of AutoStopping rule IDs to apply the alert to. Required when `applicableToAllRules` is false. Mutually exclusive with `applicableToAllRules` = true.
71
+ */
72
+ readonly ruleIdLists?: number[];
73
+ }
74
+ /**
75
+ * Data source for retrieving a Harness AutoStopping alert by ID. Use the id (identifier) returned by the API when the alert was created.
76
+ */
77
+ export declare function getAlertOutput(args: GetAlertOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertResult>;
78
+ /**
79
+ * A collection of arguments for invoking getAlert.
80
+ */
81
+ export interface GetAlertOutputArgs {
82
+ /**
83
+ * When true, the alert applies to all AutoStopping rules in the account (leave `ruleIdList` empty). Mutually exclusive with `ruleIdList`.
84
+ */
85
+ applicableToAllRules?: pulumi.Input<boolean>;
86
+ /**
87
+ * Whether the alert is enabled.
88
+ */
89
+ enabled?: pulumi.Input<boolean>;
90
+ /**
91
+ * List of event types that trigger the alert.
92
+ */
93
+ events: pulumi.Input<pulumi.Input<string>[]>;
94
+ /**
95
+ * Name of the alert.
96
+ */
97
+ name: pulumi.Input<string>;
98
+ /**
99
+ * Notification recipients (email and/or slack).
100
+ */
101
+ recipients: pulumi.Input<inputs.autostopping.GetAlertRecipientsArgs>;
102
+ /**
103
+ * List of AutoStopping rule IDs to apply the alert to. Required when `applicableToAllRules` is false. Mutually exclusive with `applicableToAllRules` = true.
104
+ */
105
+ ruleIdLists?: pulumi.Input<pulumi.Input<number>[]>;
106
+ }
@@ -0,0 +1,38 @@
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.getAlertOutput = exports.getAlert = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data source for retrieving a Harness AutoStopping alert by ID. Use the id (identifier) returned by the API when the alert was created.
10
+ */
11
+ function getAlert(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("harness:autostopping/getAlert:getAlert", {
14
+ "applicableToAllRules": args.applicableToAllRules,
15
+ "enabled": args.enabled,
16
+ "events": args.events,
17
+ "name": args.name,
18
+ "recipients": args.recipients,
19
+ "ruleIdLists": args.ruleIdLists,
20
+ }, opts);
21
+ }
22
+ exports.getAlert = getAlert;
23
+ /**
24
+ * Data source for retrieving a Harness AutoStopping alert by ID. Use the id (identifier) returned by the API when the alert was created.
25
+ */
26
+ function getAlertOutput(args, opts) {
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
+ return pulumi.runtime.invokeOutput("harness:autostopping/getAlert:getAlert", {
29
+ "applicableToAllRules": args.applicableToAllRules,
30
+ "enabled": args.enabled,
31
+ "events": args.events,
32
+ "name": args.name,
33
+ "recipients": args.recipients,
34
+ "ruleIdLists": args.ruleIdLists,
35
+ }, opts);
36
+ }
37
+ exports.getAlertOutput = getAlertOutput;
38
+ //# sourceMappingURL=getAlert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlert.js","sourceRoot":"","sources":["../../autostopping/getAlert.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4BAUC;AAqED;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC"}
@@ -88,6 +88,14 @@ export interface GetAwsProxyResult {
88
88
  * Name of the proxy
89
89
  */
90
90
  readonly name: string;
91
+ /**
92
+ * Private IP address of the proxy
93
+ */
94
+ readonly privateIp: string;
95
+ /**
96
+ * Public IP address of the proxy
97
+ */
98
+ readonly publicIp: string;
91
99
  /**
92
100
  * Region in which cloud resources are hosted
93
101
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsProxy.js","sourceRoot":"","sources":["../../autostopping/getAwsProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,E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,EAAE,IAAI,CAAC,gBAAgB;QACzC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,8CAeC"}
@@ -104,6 +104,14 @@ export interface GetAzureProxyResult {
104
104
  * Name of the proxy
105
105
  */
106
106
  readonly name: string;
107
+ /**
108
+ * Private IP address of the proxy
109
+ */
110
+ readonly privateIp: string;
111
+ /**
112
+ * Public IP address of the proxy
113
+ */
114
+ readonly publicIp: string;
107
115
  /**
108
116
  * Region in which cloud resources are hosted
109
117
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getAzureProxy.js","sourceRoot":"","sources":["../../autostopping/getAzureProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;QACv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Y;QACjC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,kDAkBC"}
@@ -94,6 +94,14 @@ export interface GetGcpProxyResult {
94
94
  * Name of the proxy
95
95
  */
96
96
  readonly name: string;
97
+ /**
98
+ * Private IP address of the proxy
99
+ */
100
+ readonly privateIp: string;
101
+ /**
102
+ * Public IP address of the proxy
103
+ */
104
+ readonly publicIp: string;
97
105
  /**
98
106
  * Region in which cloud resources are hosted
99
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getGcpProxy.js","sourceRoot":"","sources":["../../autostopping/getGcpProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,+BAA+B,EAAE,IAAI,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B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,8CAgBC"}
@@ -65,7 +65,7 @@ export interface GetRuleEcsResult {
65
65
  /**
66
66
  * Unique identifier of the resource
67
67
  */
68
- readonly identifier: number;
68
+ readonly identifier: string;
69
69
  /**
70
70
  * Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
71
71
  */