@ryan-pip/pulumi_astronomer 0.2.8 → 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 +50 -16
  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
package/getAlerts.js ADDED
@@ -0,0 +1,117 @@
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.getAlertsOutput = exports.getAlerts = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Alerts data source
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
39
+ *
40
+ * const exampleAlerts = astronomer.getAlerts({});
41
+ * const alertIdsExample = astronomer.getAlerts({
42
+ * alertIds: ["cm4ntm56001gk01mbhudv1elv"],
43
+ * });
44
+ * const workspaceIdsExample = astronomer.getAlerts({
45
+ * workspaceIds: ["clx42sxw501gl01o0gjenthnh"],
46
+ * });
47
+ * const deploymentIdsExample = astronomer.getAlerts({
48
+ * deploymentIds: ["clx44jyu001m201m5dzsbexqr"],
49
+ * });
50
+ * const alertTypesExample = astronomer.getAlerts({
51
+ * alertTypes: [
52
+ * "DAG_FAILURE",
53
+ * "DAG_SUCCESS",
54
+ * ],
55
+ * });
56
+ * const entityTypeExample = astronomer.getAlerts({
57
+ * entityType: "DEPLOYMENT",
58
+ * });
59
+ * export const alerts = exampleAlerts;
60
+ * ```
61
+ */
62
+ function getAlerts(args, opts) {
63
+ args = args || {};
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
65
+ return pulumi.runtime.invoke("astronomer:index/getAlerts:getAlerts", {
66
+ "alertIds": args.alertIds,
67
+ "alertTypes": args.alertTypes,
68
+ "deploymentIds": args.deploymentIds,
69
+ "entityType": args.entityType,
70
+ "workspaceIds": args.workspaceIds,
71
+ }, opts);
72
+ }
73
+ exports.getAlerts = getAlerts;
74
+ /**
75
+ * Alerts data source
76
+ *
77
+ * ## Example Usage
78
+ *
79
+ * ```typescript
80
+ * import * as pulumi from "@pulumi/pulumi";
81
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
82
+ *
83
+ * const exampleAlerts = astronomer.getAlerts({});
84
+ * const alertIdsExample = astronomer.getAlerts({
85
+ * alertIds: ["cm4ntm56001gk01mbhudv1elv"],
86
+ * });
87
+ * const workspaceIdsExample = astronomer.getAlerts({
88
+ * workspaceIds: ["clx42sxw501gl01o0gjenthnh"],
89
+ * });
90
+ * const deploymentIdsExample = astronomer.getAlerts({
91
+ * deploymentIds: ["clx44jyu001m201m5dzsbexqr"],
92
+ * });
93
+ * const alertTypesExample = astronomer.getAlerts({
94
+ * alertTypes: [
95
+ * "DAG_FAILURE",
96
+ * "DAG_SUCCESS",
97
+ * ],
98
+ * });
99
+ * const entityTypeExample = astronomer.getAlerts({
100
+ * entityType: "DEPLOYMENT",
101
+ * });
102
+ * export const alerts = exampleAlerts;
103
+ * ```
104
+ */
105
+ function getAlertsOutput(args, opts) {
106
+ args = args || {};
107
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
108
+ return pulumi.runtime.invokeOutput("astronomer:index/getAlerts:getAlerts", {
109
+ "alertIds": args.alertIds,
110
+ "alertTypes": args.alertTypes,
111
+ "deploymentIds": args.deploymentIds,
112
+ "entityType": args.entityType,
113
+ "workspaceIds": args.workspaceIds,
114
+ }, opts);
115
+ }
116
+ exports.getAlertsOutput = getAlertsOutput;
117
+ //# sourceMappingURL=getAlerts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlerts.js","sourceRoot":"","sources":["../getAlerts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC"}
package/getApiToken.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
- * import * as astronomer from "@pulumi/astronomer";
10
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
11
11
  *
12
12
  * const exampleApiToken = astronomer.getApiToken({
13
13
  * id: "clxm4836f00ql01me3nigmcr6",
@@ -93,7 +93,7 @@ export interface GetApiTokenResult {
93
93
  *
94
94
  * ```typescript
95
95
  * import * as pulumi from "@pulumi/pulumi";
96
- * import * as astronomer from "@pulumi/astronomer";
96
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
97
97
  *
98
98
  * const exampleApiToken = astronomer.getApiToken({
99
99
  * id: "clxm4836f00ql01me3nigmcr6",
@@ -111,3 +111,4 @@ export interface GetApiTokenOutputArgs {
111
111
  */
112
112
  id: pulumi.Input<string>;
113
113
  }
114
+ //# sourceMappingURL=getApiToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiToken.d.ts","sourceRoot":"","sources":["../getApiToken.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAK1G;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,oBAAoB,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,EAAE,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,oBAAoB,CAAC;CACpD;AACD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAKlI;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
package/getApiToken.js CHANGED
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
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
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.getApiTokenOutput = exports.getApiToken = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * API Token data source
10
33
  *
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
12
35
  *
13
36
  * ```typescript
14
37
  * import * as pulumi from "@pulumi/pulumi";
15
- * import * as astronomer from "@pulumi/astronomer";
38
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
16
39
  *
17
40
  * const exampleApiToken = astronomer.getApiToken({
18
41
  * id: "clxm4836f00ql01me3nigmcr6",
@@ -34,7 +57,7 @@ exports.getApiToken = getApiToken;
34
57
  *
35
58
  * ```typescript
36
59
  * import * as pulumi from "@pulumi/pulumi";
37
- * import * as astronomer from "@pulumi/astronomer";
60
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
38
61
  *
39
62
  * const exampleApiToken = astronomer.getApiToken({
40
63
  * id: "clxm4836f00ql01me3nigmcr6",
@@ -1 +1 @@
1
- {"version":3,"file":"getApiToken.js","sourceRoot":"","sources":["../getApiToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI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,EAAE;QAC3E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
package/getApiTokens.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
- * import * as astronomer from "@pulumi/astronomer";
10
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
11
11
  *
12
12
  * const exampleApiTokens = astronomer.getApiTokens({});
13
13
  * const organizationOnlyExample = astronomer.getApiTokens({
@@ -51,7 +51,7 @@ export interface GetApiTokensResult {
51
51
  *
52
52
  * ```typescript
53
53
  * import * as pulumi from "@pulumi/pulumi";
54
- * import * as astronomer from "@pulumi/astronomer";
54
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
55
55
  *
56
56
  * const exampleApiTokens = astronomer.getApiTokens({});
57
57
  * const organizationOnlyExample = astronomer.getApiTokens({
@@ -75,3 +75,4 @@ export interface GetApiTokensOutputArgs {
75
75
  includeOnlyOrganizationTokens?: pulumi.Input<boolean>;
76
76
  workspaceId?: pulumi.Input<string>;
77
77
  }
78
+ //# sourceMappingURL=getApiTokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiTokens.d.ts","sourceRoot":"","sources":["../getApiTokens.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,YAAY,CAAC,IAAI,CAAC,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAQ9G;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,oBAAoB,EAAE,CAAC;IACnD,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CACjC;AACD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAQtI;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC,6BAA6B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
package/getApiTokens.js CHANGED
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
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
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.getApiTokensOutput = exports.getApiTokens = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * API Tokens data source
10
33
  *
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
12
35
  *
13
36
  * ```typescript
14
37
  * import * as pulumi from "@pulumi/pulumi";
15
- * import * as astronomer from "@pulumi/astronomer";
38
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
16
39
  *
17
40
  * const exampleApiTokens = astronomer.getApiTokens({});
18
41
  * const organizationOnlyExample = astronomer.getApiTokens({
@@ -44,7 +67,7 @@ exports.getApiTokens = getApiTokens;
44
67
  *
45
68
  * ```typescript
46
69
  * import * as pulumi from "@pulumi/pulumi";
47
- * import * as astronomer from "@pulumi/astronomer";
70
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
48
71
  *
49
72
  * const exampleApiTokens = astronomer.getApiTokens({});
50
73
  * const organizationOnlyExample = astronomer.getApiTokens({
@@ -1 +1 @@
1
- {"version":3,"file":"getApiTokens.js","sourceRoot":"","sources":["../getApiTokens.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AA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M,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAwBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,+BAA+B,EAAE,IAAI,CAAC,6BAA6B;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
package/getCluster.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
- * import * as astronomer from "@pulumi/astronomer";
10
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
11
11
  *
12
12
  * const exampleCluster = astronomer.getCluster({
13
13
  * id: "clozc036j01to01jrlgvueo8t",
@@ -30,7 +30,7 @@ export interface GetClusterArgs {
30
30
  */
31
31
  export interface GetClusterResult {
32
32
  /**
33
- * Cluster cloud provider
33
+ * Cluster cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
34
34
  */
35
35
  readonly cloudProvider: string;
36
36
  /**
@@ -41,6 +41,22 @@ export interface GetClusterResult {
41
41
  * Cluster database instance type
42
42
  */
43
43
  readonly dbInstanceType: string;
44
+ /**
45
+ * The secondary region for Disaster Recovery
46
+ */
47
+ readonly drRegion: string;
48
+ /**
49
+ * Secondary CIDR for pod networking in the DR region (AWS only)
50
+ */
51
+ readonly drSecondaryVpcCidr: string;
52
+ /**
53
+ * The VPC subnet range for the Disaster Recovery region
54
+ */
55
+ readonly drVpcSubnetRange: string;
56
+ /**
57
+ * Whether S3 Replication Time Control is enabled for Disaster Recovery (AWS only)
58
+ */
59
+ readonly enableReplicationTimeControl: boolean;
44
60
  /**
45
61
  * Cluster health status
46
62
  */
@@ -49,6 +65,14 @@ export interface GetClusterResult {
49
65
  * Cluster identifier
50
66
  */
51
67
  readonly id: string;
68
+ /**
69
+ * Whether Disaster Recovery is enabled on the cluster
70
+ */
71
+ readonly isDrEnabled: boolean;
72
+ /**
73
+ * Whether the cluster is currently failed over to the DR region
74
+ */
75
+ readonly isFailedOver: boolean;
52
76
  /**
53
77
  * Whether the cluster is limited
54
78
  */
@@ -121,7 +145,7 @@ export interface GetClusterResult {
121
145
  *
122
146
  * ```typescript
123
147
  * import * as pulumi from "@pulumi/pulumi";
124
- * import * as astronomer from "@pulumi/astronomer";
148
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
125
149
  *
126
150
  * const exampleCluster = astronomer.getCluster({
127
151
  * id: "clozc036j01to01jrlgvueo8t",
@@ -139,3 +163,4 @@ export interface GetClusterOutputArgs {
139
163
  */
140
164
  id: pulumi.Input<string>;
141
165
  }
166
+ //# sourceMappingURL=getCluster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCluster.d.ts","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cA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H,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,EAAE,CAAC;IACvC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;CACnC;AACD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
package/getCluster.js CHANGED
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
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
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.getClusterOutput = exports.getCluster = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * Cluster data source
10
33
  *
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
12
35
  *
13
36
  * ```typescript
14
37
  * import * as pulumi from "@pulumi/pulumi";
15
- * import * as astronomer from "@pulumi/astronomer";
38
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
16
39
  *
17
40
  * const exampleCluster = astronomer.getCluster({
18
41
  * id: "clozc036j01to01jrlgvueo8t",
@@ -34,7 +57,7 @@ exports.getCluster = getCluster;
34
57
  *
35
58
  * ```typescript
36
59
  * import * as pulumi from "@pulumi/pulumi";
37
- * import * as astronomer from "@pulumi/astronomer";
60
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
38
61
  *
39
62
  * const exampleCluster = astronomer.getCluster({
40
63
  * id: "clozc036j01to01jrlgvueo8t",
package/getCluster.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AA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;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
- * import * as astronomer from "@pulumi/astronomer";
10
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
11
11
  *
12
12
  * const exampleClusterOptions = astronomer.getClusterOptions({
13
13
  * type: "HYBRID",
@@ -24,6 +24,9 @@ export declare function getClusterOptions(args: GetClusterOptionsArgs, opts?: pu
24
24
  * A collection of arguments for invoking getClusterOptions.
25
25
  */
26
26
  export interface GetClusterOptionsArgs {
27
+ /**
28
+ * ClusterOptions cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
29
+ */
27
30
  cloudProvider?: string;
28
31
  type: string;
29
32
  }
@@ -31,6 +34,9 @@ export interface GetClusterOptionsArgs {
31
34
  * A collection of values returned by getClusterOptions.
32
35
  */
33
36
  export interface GetClusterOptionsResult {
37
+ /**
38
+ * ClusterOptions cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
39
+ */
34
40
  readonly cloudProvider?: string;
35
41
  readonly clusterOptions: outputs.GetClusterOptionsClusterOption[];
36
42
  /**
@@ -46,7 +52,7 @@ export interface GetClusterOptionsResult {
46
52
  *
47
53
  * ```typescript
48
54
  * import * as pulumi from "@pulumi/pulumi";
49
- * import * as astronomer from "@pulumi/astronomer";
55
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
50
56
  *
51
57
  * const exampleClusterOptions = astronomer.getClusterOptions({
52
58
  * type: "HYBRID",
@@ -63,6 +69,10 @@ export declare function getClusterOptionsOutput(args: GetClusterOptionsOutputArg
63
69
  * A collection of arguments for invoking getClusterOptions.
64
70
  */
65
71
  export interface GetClusterOptionsOutputArgs {
72
+ /**
73
+ * ClusterOptions cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
74
+ */
66
75
  cloudProvider?: pulumi.Input<string>;
67
76
  type: pulumi.Input<string>;
68
77
  }
78
+ //# sourceMappingURL=getClusterOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClusterOptions.d.ts","sourceRoot":"","sources":["../getClusterOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAM5H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,8BAA8B,EAAE,CAAC;IAClE;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAMpJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
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
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.getClusterOptionsOutput = exports.getClusterOptions = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * ClusterOptions data source
10
33
  *
@@ -12,7 +35,7 @@ const utilities = require("./utilities");
12
35
  *
13
36
  * ```typescript
14
37
  * import * as pulumi from "@pulumi/pulumi";
15
- * import * as astronomer from "@pulumi/astronomer";
38
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
16
39
  *
17
40
  * const exampleClusterOptions = astronomer.getClusterOptions({
18
41
  * type: "HYBRID",
@@ -39,7 +62,7 @@ exports.getClusterOptions = getClusterOptions;
39
62
  *
40
63
  * ```typescript
41
64
  * import * as pulumi from "@pulumi/pulumi";
42
- * import * as astronomer from "@pulumi/astronomer";
65
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
43
66
  *
44
67
  * const exampleClusterOptions = astronomer.getClusterOptions({
45
68
  * type: "HYBRID",
@@ -1 +1 @@
1
- {"version":3,"file":"getClusterOptions.js","sourceRoot":"","sources":["../getClusterOptions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAsBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
1
+ {"version":3,"file":"getClusterOptions.js","sourceRoot":"","sources":["../getClusterOptions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA4BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC"}
package/getClusters.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as outputs from "./types/output";
7
7
  *
8
8
  * ```typescript
9
9
  * import * as pulumi from "@pulumi/pulumi";
10
- * import * as astronomer from "@pulumi/astronomer";
10
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
11
11
  *
12
12
  * const exampleClusters = astronomer.getClusters({});
13
13
  * const exampleClustersFilterByNames = astronomer.getClusters({
@@ -24,6 +24,9 @@ export declare function getClusters(args?: GetClustersArgs, opts?: pulumi.Invoke
24
24
  * A collection of arguments for invoking getClusters.
25
25
  */
26
26
  export interface GetClustersArgs {
27
+ /**
28
+ * Clusters cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
29
+ */
27
30
  cloudProvider?: string;
28
31
  names?: string[];
29
32
  }
@@ -31,6 +34,9 @@ export interface GetClustersArgs {
31
34
  * A collection of values returned by getClusters.
32
35
  */
33
36
  export interface GetClustersResult {
37
+ /**
38
+ * Clusters cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
39
+ */
34
40
  readonly cloudProvider?: string;
35
41
  readonly clusters: outputs.GetClustersCluster[];
36
42
  /**
@@ -46,7 +52,7 @@ export interface GetClustersResult {
46
52
  *
47
53
  * ```typescript
48
54
  * import * as pulumi from "@pulumi/pulumi";
49
- * import * as astronomer from "@pulumi/astronomer";
55
+ * import * as astronomer from "@ryan-pip/pulumi_astronomer";
50
56
  *
51
57
  * const exampleClusters = astronomer.getClusters({});
52
58
  * const exampleClustersFilterByNames = astronomer.getClusters({
@@ -63,6 +69,10 @@ export declare function getClustersOutput(args?: GetClustersOutputArgs, opts?: p
63
69
  * A collection of arguments for invoking getClusters.
64
70
  */
65
71
  export interface GetClustersOutputArgs {
72
+ /**
73
+ * Clusters cloud provider. Allowed values: `AWS`, `GCP`, `AZURE`.
74
+ */
66
75
  cloudProvider?: pulumi.Input<string>;
67
76
  names?: pulumi.Input<pulumi.Input<string>[]>;
68
77
  }
78
+ //# sourceMappingURL=getClusters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClusters.d.ts","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAO3G;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAOnI;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CAChD"}