@ryan-pip/pulumi_astronomer 1.0.3 → 1.2.3-alpha.4

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 (170) hide show
  1. package/agentToken.d.ts +96 -0
  2. package/agentToken.d.ts.map +1 -0
  3. package/agentToken.js +88 -0
  4. package/agentToken.js.map +1 -0
  5. package/alert.d.ts +190 -0
  6. package/alert.d.ts.map +1 -0
  7. package/alert.js +121 -0
  8. package/alert.js.map +1 -0
  9. package/apiToken.d.ts +7 -0
  10. package/apiToken.d.ts.map +1 -0
  11. package/apiToken.js +50 -27
  12. package/apiToken.js.map +1 -1
  13. package/cluster.d.ts +76 -50
  14. package/cluster.d.ts.map +1 -0
  15. package/cluster.js +76 -88
  16. package/cluster.js.map +1 -1
  17. package/config/index.d.ts +1 -0
  18. package/config/index.d.ts.map +1 -0
  19. package/config/index.js +1 -1
  20. package/config/index.js.map +1 -1
  21. package/config/vars.d.ts +1 -0
  22. package/config/vars.d.ts.map +1 -0
  23. package/config/vars.js +28 -6
  24. package/config/vars.js.map +1 -1
  25. package/customRole.d.ts +162 -0
  26. package/customRole.d.ts.map +1 -0
  27. package/customRole.js +125 -0
  28. package/customRole.js.map +1 -0
  29. package/deployment.d.ts +47 -13
  30. package/deployment.d.ts.map +1 -0
  31. package/deployment.js +114 -87
  32. package/deployment.js.map +1 -1
  33. package/getAlert.d.ts +118 -0
  34. package/getAlert.d.ts.map +1 -0
  35. package/getAlert.js +75 -0
  36. package/getAlert.js.map +1 -0
  37. package/getAlerts.d.ts +102 -0
  38. package/getAlerts.d.ts.map +1 -0
  39. package/getAlerts.js +117 -0
  40. package/getAlerts.js.map +1 -0
  41. package/getApiToken.d.ts +3 -2
  42. package/getApiToken.d.ts.map +1 -0
  43. package/getApiToken.js +28 -5
  44. package/getApiToken.js.map +1 -1
  45. package/getApiTokens.d.ts +3 -2
  46. package/getApiTokens.d.ts.map +1 -0
  47. package/getApiTokens.js +28 -5
  48. package/getApiTokens.js.map +1 -1
  49. package/getCluster.d.ts +28 -3
  50. package/getCluster.d.ts.map +1 -0
  51. package/getCluster.js +28 -5
  52. package/getCluster.js.map +1 -1
  53. package/getClusterOptions.d.ts +12 -2
  54. package/getClusterOptions.d.ts.map +1 -0
  55. package/getClusterOptions.js +28 -5
  56. package/getClusterOptions.js.map +1 -1
  57. package/getClusters.d.ts +12 -2
  58. package/getClusters.d.ts.map +1 -0
  59. package/getClusters.js +28 -5
  60. package/getClusters.js.map +1 -1
  61. package/getCustomRole.d.ts +98 -0
  62. package/getCustomRole.d.ts.map +1 -0
  63. package/getCustomRole.js +75 -0
  64. package/getCustomRole.js.map +1 -0
  65. package/getDeployment.d.ts +10 -5
  66. package/getDeployment.d.ts.map +1 -0
  67. package/getDeployment.js +28 -5
  68. package/getDeployment.js.map +1 -1
  69. package/getDeploymentOptions.d.ts +6 -5
  70. package/getDeploymentOptions.d.ts.map +1 -0
  71. package/getDeploymentOptions.js +28 -5
  72. package/getDeploymentOptions.js.map +1 -1
  73. package/getDeployments.d.ts +3 -2
  74. package/getDeployments.d.ts.map +1 -0
  75. package/getDeployments.js +28 -5
  76. package/getDeployments.js.map +1 -1
  77. package/getNotificationChannel.d.ts +114 -0
  78. package/getNotificationChannel.d.ts.map +1 -0
  79. package/getNotificationChannel.js +75 -0
  80. package/getNotificationChannel.js.map +1 -0
  81. package/getNotificationChannels.d.ts +50 -0
  82. package/getNotificationChannels.d.ts.map +1 -0
  83. package/getNotificationChannels.js +65 -0
  84. package/getNotificationChannels.js.map +1 -0
  85. package/getOrganization.d.ts +3 -2
  86. package/getOrganization.d.ts.map +1 -0
  87. package/getOrganization.js +28 -5
  88. package/getOrganization.js.map +1 -1
  89. package/getTeam.d.ts +11 -2
  90. package/getTeam.d.ts.map +1 -0
  91. package/getTeam.js +28 -5
  92. package/getTeam.js.map +1 -1
  93. package/getTeams.d.ts +27 -18
  94. package/getTeams.d.ts.map +1 -0
  95. package/getTeams.js +52 -21
  96. package/getTeams.js.map +1 -1
  97. package/getUser.d.ts +7 -2
  98. package/getUser.d.ts.map +1 -0
  99. package/getUser.js +28 -5
  100. package/getUser.js.map +1 -1
  101. package/getUsers.d.ts +27 -18
  102. package/getUsers.d.ts.map +1 -0
  103. package/getUsers.js +52 -21
  104. package/getUsers.js.map +1 -1
  105. package/getWorkspace.d.ts +3 -2
  106. package/getWorkspace.d.ts.map +1 -0
  107. package/getWorkspace.js +28 -5
  108. package/getWorkspace.js.map +1 -1
  109. package/getWorkspaces.d.ts +39 -30
  110. package/getWorkspaces.d.ts.map +1 -0
  111. package/getWorkspaces.js +64 -33
  112. package/getWorkspaces.js.map +1 -1
  113. package/hybridClusterWorkspaceAuthorization.d.ts +1 -19
  114. package/hybridClusterWorkspaceAuthorization.d.ts.map +1 -0
  115. package/hybridClusterWorkspaceAuthorization.js +34 -30
  116. package/hybridClusterWorkspaceAuthorization.js.map +1 -1
  117. package/index.d.ts +32 -3
  118. package/index.d.ts.map +1 -0
  119. package/index.js +76 -9
  120. package/index.js.map +1 -1
  121. package/notificationChannel.d.ts +170 -0
  122. package/notificationChannel.d.ts.map +1 -0
  123. package/notificationChannel.js +111 -0
  124. package/notificationChannel.js.map +1 -0
  125. package/package.json +4 -3
  126. package/provider.d.ts +18 -3
  127. package/provider.d.ts.map +1 -0
  128. package/provider.js +39 -12
  129. package/provider.js.map +1 -1
  130. package/team.d.ts +20 -7
  131. package/team.d.ts.map +1 -0
  132. package/team.js +51 -26
  133. package/team.js.map +1 -1
  134. package/teamMembership.d.ts +66 -0
  135. package/teamMembership.d.ts.map +1 -0
  136. package/teamMembership.js +85 -0
  137. package/teamMembership.js.map +1 -0
  138. package/teamRoles.d.ts +20 -7
  139. package/teamRoles.d.ts.map +1 -0
  140. package/teamRoles.js +42 -17
  141. package/teamRoles.js.map +1 -1
  142. package/types/index.d.ts +1 -0
  143. package/types/index.d.ts.map +1 -0
  144. package/types/index.js +26 -3
  145. package/types/index.js.map +1 -1
  146. package/types/input.d.ts +316 -3
  147. package/types/input.d.ts.map +1 -0
  148. package/types/input.js +1 -1
  149. package/types/input.js.map +1 -1
  150. package/types/output.d.ts +944 -11
  151. package/types/output.d.ts.map +1 -0
  152. package/types/output.js +1 -1
  153. package/types/output.js.map +1 -1
  154. package/userInvite.d.ts +2 -1
  155. package/userInvite.d.ts.map +1 -0
  156. package/userInvite.js +41 -18
  157. package/userInvite.js.map +1 -1
  158. package/userRoles.d.ts +20 -7
  159. package/userRoles.d.ts.map +1 -0
  160. package/userRoles.js +42 -17
  161. package/userRoles.js.map +1 -1
  162. package/utilities.d.ts +1 -4
  163. package/utilities.d.ts.map +1 -0
  164. package/utilities.js +43 -30
  165. package/utilities.js.map +1 -1
  166. package/workspace.d.ts +1 -16
  167. package/workspace.d.ts.map +1 -0
  168. package/workspace.js +41 -34
  169. package/workspace.js.map +1 -1
  170. package/package.json.bak +0 -29
@@ -0,0 +1,96 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Agent Token resource
4
+ */
5
+ export declare class AgentToken extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing AgentToken resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param state Any extra arguments used during the lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentTokenState, opts?: pulumi.CustomResourceOptions): AgentToken;
16
+ /**
17
+ * Returns true if the given object is an instance of AgentToken. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is AgentToken;
21
+ /**
22
+ * ID of the deployment this agent token belongs to
23
+ */
24
+ readonly deploymentId: pulumi.Output<string>;
25
+ /**
26
+ * Agent Token description
27
+ */
28
+ readonly description: pulumi.Output<string | undefined>;
29
+ /**
30
+ * Agent Token expiry period in days. If not set, the token will not expire.
31
+ */
32
+ readonly expiryPeriodInDays: pulumi.Output<number | undefined>;
33
+ /**
34
+ * Agent Token name
35
+ */
36
+ readonly name: pulumi.Output<string>;
37
+ /**
38
+ * Agent Token value. Warning: This value will be saved in plaintext in the terraform state file.
39
+ */
40
+ readonly token: pulumi.Output<string>;
41
+ /**
42
+ * Create a AgentToken resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name: string, args: AgentTokenArgs, opts?: pulumi.CustomResourceOptions);
49
+ }
50
+ /**
51
+ * Input properties used for looking up and filtering AgentToken resources.
52
+ */
53
+ export interface AgentTokenState {
54
+ /**
55
+ * ID of the deployment this agent token belongs to
56
+ */
57
+ deploymentId?: pulumi.Input<string>;
58
+ /**
59
+ * Agent Token description
60
+ */
61
+ description?: pulumi.Input<string>;
62
+ /**
63
+ * Agent Token expiry period in days. If not set, the token will not expire.
64
+ */
65
+ expiryPeriodInDays?: pulumi.Input<number>;
66
+ /**
67
+ * Agent Token name
68
+ */
69
+ name?: pulumi.Input<string>;
70
+ /**
71
+ * Agent Token value. Warning: This value will be saved in plaintext in the terraform state file.
72
+ */
73
+ token?: pulumi.Input<string>;
74
+ }
75
+ /**
76
+ * The set of arguments for constructing a AgentToken resource.
77
+ */
78
+ export interface AgentTokenArgs {
79
+ /**
80
+ * ID of the deployment this agent token belongs to
81
+ */
82
+ deploymentId: pulumi.Input<string>;
83
+ /**
84
+ * Agent Token description
85
+ */
86
+ description?: pulumi.Input<string>;
87
+ /**
88
+ * Agent Token expiry period in days. If not set, the token will not expire.
89
+ */
90
+ expiryPeriodInDays?: pulumi.Input<number>;
91
+ /**
92
+ * Agent Token name
93
+ */
94
+ name?: pulumi.Input<string>;
95
+ }
96
+ //# sourceMappingURL=agentToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentTo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AAC,MAAM,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
package/agentToken.js ADDED
@@ -0,0 +1,88 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AgentToken = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Agent Token resource
33
+ */
34
+ class AgentToken extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing AgentToken resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new AgentToken(name, state, { ...opts, id: id });
46
+ }
47
+ /** @internal */
48
+ static __pulumiType = 'astronomer:index/agentToken:AgentToken';
49
+ /**
50
+ * Returns true if the given object is an instance of AgentToken. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === AgentToken.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["deploymentId"] = state?.deploymentId;
65
+ resourceInputs["description"] = state?.description;
66
+ resourceInputs["expiryPeriodInDays"] = state?.expiryPeriodInDays;
67
+ resourceInputs["name"] = state?.name;
68
+ resourceInputs["token"] = state?.token;
69
+ }
70
+ else {
71
+ const args = argsOrState;
72
+ if (args?.deploymentId === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'deploymentId'");
74
+ }
75
+ resourceInputs["deploymentId"] = args?.deploymentId;
76
+ resourceInputs["description"] = args?.description;
77
+ resourceInputs["expiryPeriodInDays"] = args?.expiryPeriodInDays;
78
+ resourceInputs["name"] = args?.name;
79
+ resourceInputs["token"] = undefined /*out*/;
80
+ }
81
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
82
+ const secretOpts = { additionalSecretOutputs: ["token"] };
83
+ opts = pulumi.mergeOptions(opts, secretOpts);
84
+ super(AgentToken.__pulumiType, name, resourceInputs, opts);
85
+ }
86
+ }
87
+ exports.AgentToken = AgentToken;
88
+ //# sourceMappingURL=agentToken.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentToken.js","sourceRoot":"","sources":["../agentToken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wCAAwC,CAAC;IAE/E;;;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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,cAA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 import * as outputs from "./types/output";
4
+ /**
5
+ * Alert resource
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
+ * Alert creation timestamp
25
+ */
26
+ readonly createdAt: pulumi.Output<string>;
27
+ /**
28
+ * Alert creator
29
+ */
30
+ readonly createdBy: pulumi.Output<outputs.AlertCreatedBy>;
31
+ /**
32
+ * The ID of the Deployment to which the alert is scoped
33
+ */
34
+ readonly deploymentId: pulumi.Output<string>;
35
+ /**
36
+ * The entity ID the alert is associated with
37
+ */
38
+ readonly entityId: pulumi.Output<string>;
39
+ /**
40
+ * The name of the entity the alert is associated with
41
+ */
42
+ readonly entityName: pulumi.Output<string>;
43
+ /**
44
+ * The ID of the Deployment to which the alert is scoped
45
+ */
46
+ readonly entityType: pulumi.Output<string>;
47
+ /**
48
+ * Alert name
49
+ */
50
+ readonly name: pulumi.Output<string>;
51
+ /**
52
+ * Set of notification channel identifiers to notify when the alert is triggered
53
+ */
54
+ readonly notificationChannelIds: pulumi.Output<string[]>;
55
+ /**
56
+ * The notification channels to send alerts to
57
+ */
58
+ readonly notificationChannels: pulumi.Output<outputs.AlertNotificationChannel[]>;
59
+ /**
60
+ * Alert rules defining the conditions for triggering the alert
61
+ */
62
+ readonly rules: pulumi.Output<outputs.AlertRules>;
63
+ /**
64
+ * The alert's severity
65
+ */
66
+ readonly severity: pulumi.Output<string>;
67
+ /**
68
+ * The alert's type
69
+ */
70
+ readonly type: pulumi.Output<string>;
71
+ /**
72
+ * Alert last updated timestamp
73
+ */
74
+ readonly updatedAt: pulumi.Output<string>;
75
+ /**
76
+ * Alert updater
77
+ */
78
+ readonly updatedBy: pulumi.Output<outputs.AlertUpdatedBy>;
79
+ /**
80
+ * The ID of the Workspace to which the alert is scoped
81
+ */
82
+ readonly workspaceId: pulumi.Output<string>;
83
+ /**
84
+ * Create a Alert resource with the given unique name, arguments, and options.
85
+ *
86
+ * @param name The _unique_ name of the resource.
87
+ * @param args The arguments to use to populate this resource's properties.
88
+ * @param opts A bag of options that control this resource's behavior.
89
+ */
90
+ constructor(name: string, args: AlertArgs, opts?: pulumi.CustomResourceOptions);
91
+ }
92
+ /**
93
+ * Input properties used for looking up and filtering Alert resources.
94
+ */
95
+ export interface AlertState {
96
+ /**
97
+ * Alert creation timestamp
98
+ */
99
+ createdAt?: pulumi.Input<string>;
100
+ /**
101
+ * Alert creator
102
+ */
103
+ createdBy?: pulumi.Input<inputs.AlertCreatedBy>;
104
+ /**
105
+ * The ID of the Deployment to which the alert is scoped
106
+ */
107
+ deploymentId?: pulumi.Input<string>;
108
+ /**
109
+ * The entity ID the alert is associated with
110
+ */
111
+ entityId?: pulumi.Input<string>;
112
+ /**
113
+ * The name of the entity the alert is associated with
114
+ */
115
+ entityName?: pulumi.Input<string>;
116
+ /**
117
+ * The ID of the Deployment to which the alert is scoped
118
+ */
119
+ entityType?: pulumi.Input<string>;
120
+ /**
121
+ * Alert name
122
+ */
123
+ name?: pulumi.Input<string>;
124
+ /**
125
+ * Set of notification channel identifiers to notify when the alert is triggered
126
+ */
127
+ notificationChannelIds?: pulumi.Input<pulumi.Input<string>[]>;
128
+ /**
129
+ * The notification channels to send alerts to
130
+ */
131
+ notificationChannels?: pulumi.Input<pulumi.Input<inputs.AlertNotificationChannel>[]>;
132
+ /**
133
+ * Alert rules defining the conditions for triggering the alert
134
+ */
135
+ rules?: pulumi.Input<inputs.AlertRules>;
136
+ /**
137
+ * The alert's severity
138
+ */
139
+ severity?: pulumi.Input<string>;
140
+ /**
141
+ * The alert's type
142
+ */
143
+ type?: pulumi.Input<string>;
144
+ /**
145
+ * Alert last updated timestamp
146
+ */
147
+ updatedAt?: pulumi.Input<string>;
148
+ /**
149
+ * Alert updater
150
+ */
151
+ updatedBy?: pulumi.Input<inputs.AlertUpdatedBy>;
152
+ /**
153
+ * The ID of the Workspace to which the alert is scoped
154
+ */
155
+ workspaceId?: pulumi.Input<string>;
156
+ }
157
+ /**
158
+ * The set of arguments for constructing a Alert resource.
159
+ */
160
+ export interface AlertArgs {
161
+ /**
162
+ * The entity ID the alert is associated with
163
+ */
164
+ entityId: pulumi.Input<string>;
165
+ /**
166
+ * The ID of the Deployment to which the alert is scoped
167
+ */
168
+ entityType: pulumi.Input<string>;
169
+ /**
170
+ * Alert name
171
+ */
172
+ name?: pulumi.Input<string>;
173
+ /**
174
+ * Set of notification channel identifiers to notify when the alert is triggered
175
+ */
176
+ notificationChannelIds: pulumi.Input<pulumi.Input<string>[]>;
177
+ /**
178
+ * Alert rules defining the conditions for triggering the alert
179
+ */
180
+ rules: pulumi.Input<inputs.AlertRules>;
181
+ /**
182
+ * The alert's severity
183
+ */
184
+ severity: pulumi.Input<string>;
185
+ /**
186
+ * The alert's type
187
+ */
188
+ type: pulumi.Input<string>;
189
+ }
190
+ //# sourceMappingURL=alert.d.ts.map
package/alert.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;WACW,GAAG,CAAC,IA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C,CAAC;IACrF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IAChD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC7D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACvC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
package/alert.js ADDED
@@ -0,0 +1,121 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Alert = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Alert resource
33
+ */
34
+ class Alert extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Alert resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new Alert(name, state, { ...opts, id: id });
46
+ }
47
+ /** @internal */
48
+ static __pulumiType = 'astronomer:index/alert:Alert';
49
+ /**
50
+ * Returns true if the given object is an instance of Alert. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Alert.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["createdAt"] = state?.createdAt;
65
+ resourceInputs["createdBy"] = state?.createdBy;
66
+ resourceInputs["deploymentId"] = state?.deploymentId;
67
+ resourceInputs["entityId"] = state?.entityId;
68
+ resourceInputs["entityName"] = state?.entityName;
69
+ resourceInputs["entityType"] = state?.entityType;
70
+ resourceInputs["name"] = state?.name;
71
+ resourceInputs["notificationChannelIds"] = state?.notificationChannelIds;
72
+ resourceInputs["notificationChannels"] = state?.notificationChannels;
73
+ resourceInputs["rules"] = state?.rules;
74
+ resourceInputs["severity"] = state?.severity;
75
+ resourceInputs["type"] = state?.type;
76
+ resourceInputs["updatedAt"] = state?.updatedAt;
77
+ resourceInputs["updatedBy"] = state?.updatedBy;
78
+ resourceInputs["workspaceId"] = state?.workspaceId;
79
+ }
80
+ else {
81
+ const args = argsOrState;
82
+ if (args?.entityId === undefined && !opts.urn) {
83
+ throw new Error("Missing required property 'entityId'");
84
+ }
85
+ if (args?.entityType === undefined && !opts.urn) {
86
+ throw new Error("Missing required property 'entityType'");
87
+ }
88
+ if (args?.notificationChannelIds === undefined && !opts.urn) {
89
+ throw new Error("Missing required property 'notificationChannelIds'");
90
+ }
91
+ if (args?.rules === undefined && !opts.urn) {
92
+ throw new Error("Missing required property 'rules'");
93
+ }
94
+ if (args?.severity === undefined && !opts.urn) {
95
+ throw new Error("Missing required property 'severity'");
96
+ }
97
+ if (args?.type === undefined && !opts.urn) {
98
+ throw new Error("Missing required property 'type'");
99
+ }
100
+ resourceInputs["entityId"] = args?.entityId;
101
+ resourceInputs["entityType"] = args?.entityType;
102
+ resourceInputs["name"] = args?.name;
103
+ resourceInputs["notificationChannelIds"] = args?.notificationChannelIds;
104
+ resourceInputs["rules"] = args?.rules;
105
+ resourceInputs["severity"] = args?.severity;
106
+ resourceInputs["type"] = args?.type;
107
+ resourceInputs["createdAt"] = undefined /*out*/;
108
+ resourceInputs["createdBy"] = undefined /*out*/;
109
+ resourceInputs["deploymentId"] = undefined /*out*/;
110
+ resourceInputs["entityName"] = undefined /*out*/;
111
+ resourceInputs["notificationChannels"] = undefined /*out*/;
112
+ resourceInputs["updatedAt"] = undefined /*out*/;
113
+ resourceInputs["updatedBy"] = undefined /*out*/;
114
+ resourceInputs["workspaceId"] = undefined /*out*/;
115
+ }
116
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
+ super(Alert.__pulumiType, name, resourceInputs, opts);
118
+ }
119
+ }
120
+ exports.Alert = Alert;
121
+ //# sourceMappingURL=alert.js.map
package/alert.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8BAA8B,CAAC;IAErE;;;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,KAAK,CAAC,YAAY,CAAC;IACt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AAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,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;;AA3JL,sBA4JC"}
package/apiToken.d.ts CHANGED
@@ -60,6 +60,9 @@ export declare class ApiToken extends pulumi.CustomResource {
60
60
  * time when the API token will become valid in UTC
61
61
  */
62
62
  readonly startAt: pulumi.Output<string>;
63
+ /**
64
+ * API Token value. Warning: This value will be saved in plaintext in the terraform state file.
65
+ */
63
66
  readonly token: pulumi.Output<string>;
64
67
  /**
65
68
  * API Token type - if changing this value, the API Token will be recreated with the new type
@@ -126,6 +129,9 @@ export interface ApiTokenState {
126
129
  * time when the API token will become valid in UTC
127
130
  */
128
131
  startAt?: pulumi.Input<string>;
132
+ /**
133
+ * API Token value. Warning: This value will be saved in plaintext in the terraform state file.
134
+ */
129
135
  token?: pulumi.Input<string>;
130
136
  /**
131
137
  * API Token type - if changing this value, the API Token will be recreated with the new type
@@ -165,3 +171,4 @@ export interface ApiTokenArgs {
165
171
  */
166
172
  type: pulumi.Input<string>;
167
173
  }
174
+ //# sourceMappingUR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