@pulumiverse/grafana 0.7.0 → 0.7.1

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 (172) hide show
  1. package/alerting/contactPoint.d.ts +1 -1
  2. package/alerting/contactPoint.js +1 -1
  3. package/alerting/messageTemplate.d.ts +2 -2
  4. package/alerting/messageTemplate.js +2 -2
  5. package/alerting/muteTiming.d.ts +2 -2
  6. package/alerting/muteTiming.js +2 -2
  7. package/alerting/notificationPolicy.d.ts +2 -2
  8. package/alerting/notificationPolicy.js +2 -2
  9. package/alerting/ruleGroup.d.ts +1 -1
  10. package/alerting/ruleGroup.js +1 -1
  11. package/cloud/getAccessPolicies.d.ts +50 -0
  12. package/cloud/getAccessPolicies.js +46 -0
  13. package/cloud/getAccessPolicies.js.map +1 -0
  14. package/cloud/getProviderAwsAccount.d.ts +92 -0
  15. package/cloud/getProviderAwsAccount.js +74 -0
  16. package/cloud/getProviderAwsAccount.js.map +1 -0
  17. package/cloud/getProviderAwsCloudwatchScrapeJob.d.ts +211 -0
  18. package/cloud/getProviderAwsCloudwatchScrapeJob.js +160 -0
  19. package/cloud/getProviderAwsCloudwatchScrapeJob.js.map +1 -0
  20. package/cloud/getProviderAwsCloudwatchScrapeJobs.d.ts +66 -0
  21. package/cloud/getProviderAwsCloudwatchScrapeJobs.js +54 -0
  22. package/cloud/getProviderAwsCloudwatchScrapeJobs.js.map +1 -0
  23. package/cloud/index.d.ts +18 -0
  24. package/cloud/index.js +23 -1
  25. package/cloud/index.js.map +1 -1
  26. package/cloud/providerAwsAccount.d.ts +103 -0
  27. package/cloud/providerAwsAccount.js +96 -0
  28. package/cloud/providerAwsAccount.js.map +1 -0
  29. package/cloud/providerAwsCloudwatchScrapeJob.d.ts +192 -0
  30. package/cloud/providerAwsCloudwatchScrapeJob.js +139 -0
  31. package/cloud/providerAwsCloudwatchScrapeJob.js.map +1 -0
  32. package/config/vars.d.ts +19 -0
  33. package/config/vars.js +24 -0
  34. package/config/vars.js.map +1 -1
  35. package/connectionsMetricsEndpointScrapeJob.d.ts +151 -0
  36. package/connectionsMetricsEndpointScrapeJob.js +101 -0
  37. package/connectionsMetricsEndpointScrapeJob.js.map +1 -0
  38. package/contactPoint.d.ts +1 -1
  39. package/contactPoint.js +1 -1
  40. package/dashboardPermissionItem.d.ts +3 -3
  41. package/dataSource.d.ts +9 -0
  42. package/dataSource.js +9 -0
  43. package/dataSource.js.map +1 -1
  44. package/dataSourcePermissionItem.d.ts +3 -3
  45. package/enterprise/dataSourcePermissionItem.d.ts +3 -3
  46. package/enterprise/roleAssignmentItem.d.ts +3 -3
  47. package/folderPermissionItem.d.ts +3 -3
  48. package/getConnectionsMetricsEndpointScrapeJob.d.ts +79 -0
  49. package/getConnectionsMetricsEndpointScrapeJob.js +50 -0
  50. package/getConnectionsMetricsEndpointScrapeJob.js.map +1 -0
  51. package/getLibraryPanels.d.ts +114 -0
  52. package/getLibraryPanels.js +102 -0
  53. package/getLibraryPanels.js.map +1 -0
  54. package/getOncallUser.d.ts +1 -1
  55. package/getTeam.d.ts +1 -0
  56. package/getTeam.js.map +1 -1
  57. package/getUser.d.ts +2 -0
  58. package/getUser.js +2 -0
  59. package/getUser.js.map +1 -1
  60. package/getUsers.d.ts +2 -0
  61. package/getUsers.js +2 -0
  62. package/getUsers.js.map +1 -1
  63. package/index.d.ts +9 -0
  64. package/index.js +14 -3
  65. package/index.js.map +1 -1
  66. package/machineLearningHoliday.d.ts +42 -0
  67. package/machineLearningHoliday.js +42 -0
  68. package/machineLearningHoliday.js.map +1 -1
  69. package/machineLearningJob.d.ts +137 -9
  70. package/machineLearningJob.js +125 -0
  71. package/machineLearningJob.js.map +1 -1
  72. package/machineLearningOutlierDetector.d.ts +64 -6
  73. package/machineLearningOutlierDetector.js +55 -0
  74. package/machineLearningOutlierDetector.js.map +1 -1
  75. package/machinelearning/alert.d.ts +236 -0
  76. package/machinelearning/alert.js +138 -0
  77. package/machinelearning/alert.js.map +1 -0
  78. package/machinelearning/holiday.d.ts +42 -0
  79. package/machinelearning/holiday.js +42 -0
  80. package/machinelearning/holiday.js.map +1 -1
  81. package/machinelearning/index.d.ts +3 -0
  82. package/machinelearning/index.js +6 -1
  83. package/machinelearning/index.js.map +1 -1
  84. package/machinelearning/job.d.ts +137 -9
  85. package/machinelearning/job.js +125 -0
  86. package/machinelearning/job.js.map +1 -1
  87. package/machinelearning/outlierDetector.d.ts +64 -6
  88. package/machinelearning/outlierDetector.js +55 -0
  89. package/machinelearning/outlierDetector.js.map +1 -1
  90. package/messageTemplate.d.ts +2 -2
  91. package/messageTemplate.js +2 -2
  92. package/muteTiming.d.ts +2 -2
  93. package/muteTiming.js +2 -2
  94. package/notificationPolicy.d.ts +2 -2
  95. package/notificationPolicy.js +2 -2
  96. package/oncall/escalation.d.ts +18 -6
  97. package/oncall/escalation.js +2 -0
  98. package/oncall/escalation.js.map +1 -1
  99. package/oncall/getUser.d.ts +1 -1
  100. package/oncall/getUsers.d.ts +20 -0
  101. package/oncall/getUsers.js +24 -0
  102. package/oncall/getUsers.js.map +1 -0
  103. package/oncall/index.d.ts +3 -0
  104. package/oncall/index.js +4 -1
  105. package/oncall/index.js.map +1 -1
  106. package/oncall/integration.d.ts +1 -1
  107. package/oncall/integration.js +1 -1
  108. package/oncall/onCallShift.d.ts +12 -0
  109. package/oncall/onCallShift.js +2 -0
  110. package/oncall/onCallShift.js.map +1 -1
  111. package/oncallEscalation.d.ts +18 -6
  112. package/oncallEscalation.js +2 -0
  113. package/oncallEscalation.js.map +1 -1
  114. package/oncallIntegration.d.ts +1 -1
  115. package/oncallIntegration.js +1 -1
  116. package/oncallOnCallShift.d.ts +12 -0
  117. package/oncallOnCallShift.js +2 -0
  118. package/oncallOnCallShift.js.map +1 -1
  119. package/organization.d.ts +1 -0
  120. package/organization.js +1 -0
  121. package/organization.js.map +1 -1
  122. package/oss/dashboardPermissionItem.d.ts +3 -3
  123. package/oss/dataSource.d.ts +9 -0
  124. package/oss/dataSource.js +9 -0
  125. package/oss/dataSource.js.map +1 -1
  126. package/oss/folderPermissionItem.d.ts +3 -3
  127. package/oss/getTeam.d.ts +1 -0
  128. package/oss/getTeam.js.map +1 -1
  129. package/oss/getUser.d.ts +2 -0
  130. package/oss/getUser.js +2 -0
  131. package/oss/getUser.js.map +1 -1
  132. package/oss/getUsers.d.ts +2 -0
  133. package/oss/getUsers.js +2 -0
  134. package/oss/getUsers.js.map +1 -1
  135. package/oss/organization.d.ts +1 -0
  136. package/oss/organization.js +1 -0
  137. package/oss/organization.js.map +1 -1
  138. package/oss/serviceAccountPermissionItem.d.ts +3 -3
  139. package/oss/ssoSettings.d.ts +56 -4
  140. package/oss/ssoSettings.js +43 -1
  141. package/oss/ssoSettings.js.map +1 -1
  142. package/oss/team.d.ts +8 -0
  143. package/oss/team.js +2 -0
  144. package/oss/team.js.map +1 -1
  145. package/oss/user.d.ts +1 -0
  146. package/oss/user.js +1 -0
  147. package/oss/user.js.map +1 -1
  148. package/package.json +2 -2
  149. package/provider.d.ts +38 -0
  150. package/provider.js +5 -1
  151. package/provider.js.map +1 -1
  152. package/roleAssignmentItem.d.ts +3 -3
  153. package/ruleGroup.d.ts +1 -1
  154. package/ruleGroup.js +1 -1
  155. package/serviceAccountPermissionItem.d.ts +3 -3
  156. package/slo/slo.d.ts +14 -2
  157. package/slo/slo.js +5 -0
  158. package/slo/slo.js.map +1 -1
  159. package/slo.d.ts +14 -2
  160. package/slo.js +5 -0
  161. package/slo.js.map +1 -1
  162. package/ssoSettings.d.ts +56 -4
  163. package/ssoSettings.js +43 -1
  164. package/ssoSettings.js.map +1 -1
  165. package/team.d.ts +8 -0
  166. package/team.js +2 -0
  167. package/team.js.map +1 -1
  168. package/types/input.d.ts +894 -10
  169. package/types/output.d.ts +837 -14
  170. package/user.d.ts +1 -0
  171. package/user.js +1 -0
  172. package/user.js.map +1 -1
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getProviderAwsCloudwatchScrapeJobOutput = exports.getProviderAwsCloudwatchScrapeJob = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ * import * as grafana from "@pulumi/grafana";
15
+ * import * as grafana from "@pulumiverse/grafana";
16
+ *
17
+ * const test = grafana.cloud.getStack({
18
+ * slug: "gcloudstacktest",
19
+ * });
20
+ * const testGetRole = aws.iam.getRole({
21
+ * name: "my-role",
22
+ * });
23
+ * const testProviderAwsAccount = new grafana.cloud.ProviderAwsAccount("test", {
24
+ * stackId: test.then(test => test.id),
25
+ * roleArn: testGetRole.then(testGetRole => testGetRole.arn),
26
+ * regions: [
27
+ * "us-east-1",
28
+ * "us-east-2",
29
+ * "us-west-1",
30
+ * ],
31
+ * });
32
+ * const testProviderAwsCloudwatchScrapeJob = new grafana.cloud.ProviderAwsCloudwatchScrapeJob("test", {
33
+ * stackId: test.then(test => test.id),
34
+ * name: "my-cloudwatch-scrape-job",
35
+ * awsAccountResourceId: testProviderAwsAccount.resourceId,
36
+ * exportTags: true,
37
+ * services: [{
38
+ * name: "AWS/EC2",
39
+ * metrics: [
40
+ * {
41
+ * name: "CPUUtilization",
42
+ * statistics: ["Average"],
43
+ * },
44
+ * {
45
+ * name: "StatusCheckFailed",
46
+ * statistics: ["Maximum"],
47
+ * },
48
+ * ],
49
+ * scrapeIntervalSeconds: 300,
50
+ * resourceDiscoveryTagFilters: [{
51
+ * key: "k8s.io/cluster-autoscaler/enabled",
52
+ * value: "true",
53
+ * }],
54
+ * tagsToAddToMetrics: ["eks:cluster-name"],
55
+ * }],
56
+ * customNamespaces: [{
57
+ * name: "CoolApp",
58
+ * metrics: [{
59
+ * name: "CoolMetric",
60
+ * statistics: [
61
+ * "Maximum",
62
+ * "Sum",
63
+ * ],
64
+ * }],
65
+ * scrapeIntervalSeconds: 300,
66
+ * }],
67
+ * });
68
+ * const testGetProviderAwsCloudwatchScrapeJob = pulumi.all([test, testProviderAwsCloudwatchScrapeJob.name]).apply(([test, name]) => grafana.cloud.getProviderAwsCloudwatchScrapeJobOutput({
69
+ * stackId: test.id,
70
+ * name: name,
71
+ * }));
72
+ * ```
73
+ */
74
+ function getProviderAwsCloudwatchScrapeJob(args, opts) {
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
76
+ return pulumi.runtime.invoke("grafana:cloud/getProviderAwsCloudwatchScrapeJob:getProviderAwsCloudwatchScrapeJob", {
77
+ "customNamespaces": args.customNamespaces,
78
+ "name": args.name,
79
+ "services": args.services,
80
+ "stackId": args.stackId,
81
+ }, opts);
82
+ }
83
+ exports.getProviderAwsCloudwatchScrapeJob = getProviderAwsCloudwatchScrapeJob;
84
+ /**
85
+ * ## Example Usage
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as aws from "@pulumi/aws";
90
+ * import * as grafana from "@pulumi/grafana";
91
+ * import * as grafana from "@pulumiverse/grafana";
92
+ *
93
+ * const test = grafana.cloud.getStack({
94
+ * slug: "gcloudstacktest",
95
+ * });
96
+ * const testGetRole = aws.iam.getRole({
97
+ * name: "my-role",
98
+ * });
99
+ * const testProviderAwsAccount = new grafana.cloud.ProviderAwsAccount("test", {
100
+ * stackId: test.then(test => test.id),
101
+ * roleArn: testGetRole.then(testGetRole => testGetRole.arn),
102
+ * regions: [
103
+ * "us-east-1",
104
+ * "us-east-2",
105
+ * "us-west-1",
106
+ * ],
107
+ * });
108
+ * const testProviderAwsCloudwatchScrapeJob = new grafana.cloud.ProviderAwsCloudwatchScrapeJob("test", {
109
+ * stackId: test.then(test => test.id),
110
+ * name: "my-cloudwatch-scrape-job",
111
+ * awsAccountResourceId: testProviderAwsAccount.resourceId,
112
+ * exportTags: true,
113
+ * services: [{
114
+ * name: "AWS/EC2",
115
+ * metrics: [
116
+ * {
117
+ * name: "CPUUtilization",
118
+ * statistics: ["Average"],
119
+ * },
120
+ * {
121
+ * name: "StatusCheckFailed",
122
+ * statistics: ["Maximum"],
123
+ * },
124
+ * ],
125
+ * scrapeIntervalSeconds: 300,
126
+ * resourceDiscoveryTagFilters: [{
127
+ * key: "k8s.io/cluster-autoscaler/enabled",
128
+ * value: "true",
129
+ * }],
130
+ * tagsToAddToMetrics: ["eks:cluster-name"],
131
+ * }],
132
+ * customNamespaces: [{
133
+ * name: "CoolApp",
134
+ * metrics: [{
135
+ * name: "CoolMetric",
136
+ * statistics: [
137
+ * "Maximum",
138
+ * "Sum",
139
+ * ],
140
+ * }],
141
+ * scrapeIntervalSeconds: 300,
142
+ * }],
143
+ * });
144
+ * const testGetProviderAwsCloudwatchScrapeJob = pulumi.all([test, testProviderAwsCloudwatchScrapeJob.name]).apply(([test, name]) => grafana.cloud.getProviderAwsCloudwatchScrapeJobOutput({
145
+ * stackId: test.id,
146
+ * name: name,
147
+ * }));
148
+ * ```
149
+ */
150
+ function getProviderAwsCloudwatchScrapeJobOutput(args, opts) {
151
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
152
+ return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAwsCloudwatchScrapeJob:getProviderAwsCloudwatchScrapeJob", {
153
+ "customNamespaces": args.customNamespaces,
154
+ "name": args.name,
155
+ "services": args.services,
156
+ "stackId": args.stackId,
157
+ }, opts);
158
+ }
159
+ exports.getProviderAwsCloudwatchScrapeJobOutput = getProviderAwsCloudwatchScrapeJobOutput;
160
+ //# sourceMappingURL=getProviderAwsCloudwatchScrapeJob.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getProviderAwsCloudwatchScrapeJob.js","sourceRoot":"","sources":["../../cloud/getProviderAwsCloudwatchScrapeJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mFAAmF,EAAE;QAC9G,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8EAQC;AA8DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAA2B;IAClI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mFAAmF,EAAE;QACpH,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0FAQC"}
@@ -0,0 +1,66 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as grafana from "@pulumi/grafana";
10
+ *
11
+ * const test = grafana.cloud.getStack({
12
+ * slug: "gcloudstacktest",
13
+ * });
14
+ * const testGetProviderAwsCloudwatchScrapeJobs = test.then(test => grafana.cloud.getProviderAwsCloudwatchScrapeJobs({
15
+ * stackId: test.id,
16
+ * }));
17
+ * ```
18
+ */
19
+ export declare function getProviderAwsCloudwatchScrapeJobs(args: GetProviderAwsCloudwatchScrapeJobsArgs, opts?: pulumi.InvokeOptions): Promise<GetProviderAwsCloudwatchScrapeJobsResult>;
20
+ /**
21
+ * A collection of arguments for invoking getProviderAwsCloudwatchScrapeJobs.
22
+ */
23
+ export interface GetProviderAwsCloudwatchScrapeJobsArgs {
24
+ /**
25
+ * A list of AWS CloudWatch Scrape Job objects associated with the given StackID.
26
+ */
27
+ scrapeJobs?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJob[];
28
+ stackId: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getProviderAwsCloudwatchScrapeJobs.
32
+ */
33
+ export interface GetProviderAwsCloudwatchScrapeJobsResult {
34
+ readonly id: string;
35
+ /**
36
+ * A list of AWS CloudWatch Scrape Job objects associated with the given StackID.
37
+ */
38
+ readonly scrapeJobs?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJob[];
39
+ readonly stackId: string;
40
+ }
41
+ /**
42
+ * ## Example Usage
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as grafana from "@pulumi/grafana";
47
+ *
48
+ * const test = grafana.cloud.getStack({
49
+ * slug: "gcloudstacktest",
50
+ * });
51
+ * const testGetProviderAwsCloudwatchScrapeJobs = test.then(test => grafana.cloud.getProviderAwsCloudwatchScrapeJobs({
52
+ * stackId: test.id,
53
+ * }));
54
+ * ```
55
+ */
56
+ export declare function getProviderAwsCloudwatchScrapeJobsOutput(args: GetProviderAwsCloudwatchScrapeJobsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProviderAwsCloudwatchScrapeJobsResult>;
57
+ /**
58
+ * A collection of arguments for invoking getProviderAwsCloudwatchScrapeJobs.
59
+ */
60
+ export interface GetProviderAwsCloudwatchScrapeJobsOutputArgs {
61
+ /**
62
+ * A list of AWS CloudWatch Scrape Job objects associated with the given StackID.
63
+ */
64
+ scrapeJobs?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobArgs>[]>;
65
+ stackId: pulumi.Input<string>;
66
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.getProviderAwsCloudwatchScrapeJobsOutput = exports.getProviderAwsCloudwatchScrapeJobs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as grafana from "@pulumi/grafana";
14
+ *
15
+ * const test = grafana.cloud.getStack({
16
+ * slug: "gcloudstacktest",
17
+ * });
18
+ * const testGetProviderAwsCloudwatchScrapeJobs = test.then(test => grafana.cloud.getProviderAwsCloudwatchScrapeJobs({
19
+ * stackId: test.id,
20
+ * }));
21
+ * ```
22
+ */
23
+ function getProviderAwsCloudwatchScrapeJobs(args, opts) {
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("grafana:cloud/getProviderAwsCloudwatchScrapeJobs:getProviderAwsCloudwatchScrapeJobs", {
26
+ "scrapeJobs": args.scrapeJobs,
27
+ "stackId": args.stackId,
28
+ }, opts);
29
+ }
30
+ exports.getProviderAwsCloudwatchScrapeJobs = getProviderAwsCloudwatchScrapeJobs;
31
+ /**
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as grafana from "@pulumi/grafana";
37
+ *
38
+ * const test = grafana.cloud.getStack({
39
+ * slug: "gcloudstacktest",
40
+ * });
41
+ * const testGetProviderAwsCloudwatchScrapeJobs = test.then(test => grafana.cloud.getProviderAwsCloudwatchScrapeJobs({
42
+ * stackId: test.id,
43
+ * }));
44
+ * ```
45
+ */
46
+ function getProviderAwsCloudwatchScrapeJobsOutput(args, opts) {
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
+ return pulumi.runtime.invokeOutput("grafana:cloud/getProviderAwsCloudwatchScrapeJobs:getProviderAwsCloudwatchScrapeJobs", {
49
+ "scrapeJobs": args.scrapeJobs,
50
+ "stackId": args.stackId,
51
+ }, opts);
52
+ }
53
+ exports.getProviderAwsCloudwatchScrapeJobsOutput = getProviderAwsCloudwatchScrapeJobsOutput;
54
+ //# sourceMappingURL=getProviderAwsCloudwatchScrapeJobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getProviderAwsCloudwatchScrapeJobs.js","sourceRoot":"","sources":["../../cloud/getProviderAwsCloudwatchScrapeJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qFAAqF,EAAE;QAChH,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gFAMC;AAwBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IACpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qFAAqF,EAAE;QACtH,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4FAMC"}
package/cloud/index.d.ts CHANGED
@@ -4,12 +4,24 @@ export declare const AccessPolicy: typeof import("./accessPolicy").AccessPolicy;
4
4
  export { AccessPolicyTokenArgs, AccessPolicyTokenState } from "./accessPolicyToken";
5
5
  export type AccessPolicyToken = import("./accessPolicyToken").AccessPolicyToken;
6
6
  export declare const AccessPolicyToken: typeof import("./accessPolicyToken").AccessPolicyToken;
7
+ export { GetAccessPoliciesArgs, GetAccessPoliciesResult, GetAccessPoliciesOutputArgs } from "./getAccessPolicies";
8
+ export declare const getAccessPolicies: typeof import("./getAccessPolicies").getAccessPolicies;
9
+ export declare const getAccessPoliciesOutput: typeof import("./getAccessPolicies").getAccessPoliciesOutput;
7
10
  export { GetIpsResult } from "./getIps";
8
11
  export declare const getIps: typeof import("./getIps").getIps;
9
12
  export declare const getIpsOutput: typeof import("./getIps").getIpsOutput;
10
13
  export { GetOrganizationArgs, GetOrganizationResult, GetOrganizationOutputArgs } from "./getOrganization";
11
14
  export declare const getOrganization: typeof import("./getOrganization").getOrganization;
12
15
  export declare const getOrganizationOutput: typeof import("./getOrganization").getOrganizationOutput;
16
+ export { GetProviderAwsAccountArgs, GetProviderAwsAccountResult, GetProviderAwsAccountOutputArgs } from "./getProviderAwsAccount";
17
+ export declare const getProviderAwsAccount: typeof import("./getProviderAwsAccount").getProviderAwsAccount;
18
+ export declare const getProviderAwsAccountOutput: typeof import("./getProviderAwsAccount").getProviderAwsAccountOutput;
19
+ export { GetProviderAwsCloudwatchScrapeJobArgs, GetProviderAwsCloudwatchScrapeJobResult, GetProviderAwsCloudwatchScrapeJobOutputArgs } from "./getProviderAwsCloudwatchScrapeJob";
20
+ export declare const getProviderAwsCloudwatchScrapeJob: typeof import("./getProviderAwsCloudwatchScrapeJob").getProviderAwsCloudwatchScrapeJob;
21
+ export declare const getProviderAwsCloudwatchScrapeJobOutput: typeof import("./getProviderAwsCloudwatchScrapeJob").getProviderAwsCloudwatchScrapeJobOutput;
22
+ export { GetProviderAwsCloudwatchScrapeJobsArgs, GetProviderAwsCloudwatchScrapeJobsResult, GetProviderAwsCloudwatchScrapeJobsOutputArgs } from "./getProviderAwsCloudwatchScrapeJobs";
23
+ export declare const getProviderAwsCloudwatchScrapeJobs: typeof import("./getProviderAwsCloudwatchScrapeJobs").getProviderAwsCloudwatchScrapeJobs;
24
+ export declare const getProviderAwsCloudwatchScrapeJobsOutput: typeof import("./getProviderAwsCloudwatchScrapeJobs").getProviderAwsCloudwatchScrapeJobsOutput;
13
25
  export { GetStackArgs, GetStackResult, GetStackOutputArgs } from "./getStack";
14
26
  export declare const getStack: typeof import("./getStack").getStack;
15
27
  export declare const getStackOutput: typeof import("./getStack").getStackOutput;
@@ -19,6 +31,12 @@ export declare const OrgMember: typeof import("./orgMember").OrgMember;
19
31
  export { PluginInstallationArgs, PluginInstallationState } from "./pluginInstallation";
20
32
  export type PluginInstallation = import("./pluginInstallation").PluginInstallation;
21
33
  export declare const PluginInstallation: typeof import("./pluginInstallation").PluginInstallation;
34
+ export { ProviderAwsAccountArgs, ProviderAwsAccountState } from "./providerAwsAccount";
35
+ export type ProviderAwsAccount = import("./providerAwsAccount").ProviderAwsAccount;
36
+ export declare const ProviderAwsAccount: typeof import("./providerAwsAccount").ProviderAwsAccount;
37
+ export { ProviderAwsCloudwatchScrapeJobArgs, ProviderAwsCloudwatchScrapeJobState } from "./providerAwsCloudwatchScrapeJob";
38
+ export type ProviderAwsCloudwatchScrapeJob = import("./providerAwsCloudwatchScrapeJob").ProviderAwsCloudwatchScrapeJob;
39
+ export declare const ProviderAwsCloudwatchScrapeJob: typeof import("./providerAwsCloudwatchScrapeJob").ProviderAwsCloudwatchScrapeJob;
22
40
  export { StackArgs, StackState } from "./stack";
23
41
  export type Stack = import("./stack").Stack;
24
42
  export declare const Stack: typeof import("./stack").Stack;
package/cloud/index.js CHANGED
@@ -2,19 +2,31 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.StackServiceAccountToken = exports.StackServiceAccount = exports.Stack = exports.PluginInstallation = exports.OrgMember = exports.getStackOutput = exports.getStack = exports.getOrganizationOutput = exports.getOrganization = exports.getIpsOutput = exports.getIps = exports.AccessPolicyToken = exports.AccessPolicy = void 0;
5
+ exports.StackServiceAccountToken = exports.StackServiceAccount = exports.Stack = exports.ProviderAwsCloudwatchScrapeJob = exports.ProviderAwsAccount = exports.PluginInstallation = exports.OrgMember = exports.getStackOutput = exports.getStack = exports.getProviderAwsCloudwatchScrapeJobsOutput = exports.getProviderAwsCloudwatchScrapeJobs = exports.getProviderAwsCloudwatchScrapeJobOutput = exports.getProviderAwsCloudwatchScrapeJob = exports.getProviderAwsAccountOutput = exports.getProviderAwsAccount = exports.getOrganizationOutput = exports.getOrganization = exports.getIpsOutput = exports.getIps = exports.getAccessPoliciesOutput = exports.getAccessPolicies = exports.AccessPolicyToken = exports.AccessPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AccessPolicy = null;
9
9
  utilities.lazyLoad(exports, ["AccessPolicy"], () => require("./accessPolicy"));
10
10
  exports.AccessPolicyToken = null;
11
11
  utilities.lazyLoad(exports, ["AccessPolicyToken"], () => require("./accessPolicyToken"));
12
+ exports.getAccessPolicies = null;
13
+ exports.getAccessPoliciesOutput = null;
14
+ utilities.lazyLoad(exports, ["getAccessPolicies", "getAccessPoliciesOutput"], () => require("./getAccessPolicies"));
12
15
  exports.getIps = null;
13
16
  exports.getIpsOutput = null;
14
17
  utilities.lazyLoad(exports, ["getIps", "getIpsOutput"], () => require("./getIps"));
15
18
  exports.getOrganization = null;
16
19
  exports.getOrganizationOutput = null;
17
20
  utilities.lazyLoad(exports, ["getOrganization", "getOrganizationOutput"], () => require("./getOrganization"));
21
+ exports.getProviderAwsAccount = null;
22
+ exports.getProviderAwsAccountOutput = null;
23
+ utilities.lazyLoad(exports, ["getProviderAwsAccount", "getProviderAwsAccountOutput"], () => require("./getProviderAwsAccount"));
24
+ exports.getProviderAwsCloudwatchScrapeJob = null;
25
+ exports.getProviderAwsCloudwatchScrapeJobOutput = null;
26
+ utilities.lazyLoad(exports, ["getProviderAwsCloudwatchScrapeJob", "getProviderAwsCloudwatchScrapeJobOutput"], () => require("./getProviderAwsCloudwatchScrapeJob"));
27
+ exports.getProviderAwsCloudwatchScrapeJobs = null;
28
+ exports.getProviderAwsCloudwatchScrapeJobsOutput = null;
29
+ utilities.lazyLoad(exports, ["getProviderAwsCloudwatchScrapeJobs", "getProviderAwsCloudwatchScrapeJobsOutput"], () => require("./getProviderAwsCloudwatchScrapeJobs"));
18
30
  exports.getStack = null;
19
31
  exports.getStackOutput = null;
20
32
  utilities.lazyLoad(exports, ["getStack", "getStackOutput"], () => require("./getStack"));
@@ -22,6 +34,10 @@ exports.OrgMember = null;
22
34
  utilities.lazyLoad(exports, ["OrgMember"], () => require("./orgMember"));
23
35
  exports.PluginInstallation = null;
24
36
  utilities.lazyLoad(exports, ["PluginInstallation"], () => require("./pluginInstallation"));
37
+ exports.ProviderAwsAccount = null;
38
+ utilities.lazyLoad(exports, ["ProviderAwsAccount"], () => require("./providerAwsAccount"));
39
+ exports.ProviderAwsCloudwatchScrapeJob = null;
40
+ utilities.lazyLoad(exports, ["ProviderAwsCloudwatchScrapeJob"], () => require("./providerAwsCloudwatchScrapeJob"));
25
41
  exports.Stack = null;
26
42
  utilities.lazyLoad(exports, ["Stack"], () => require("./stack"));
27
43
  exports.StackServiceAccount = null;
@@ -40,6 +56,10 @@ const _module = {
40
56
  return new exports.OrgMember(name, undefined, { urn });
41
57
  case "grafana:cloud/pluginInstallation:PluginInstallation":
42
58
  return new exports.PluginInstallation(name, undefined, { urn });
59
+ case "grafana:cloud/providerAwsAccount:ProviderAwsAccount":
60
+ return new exports.ProviderAwsAccount(name, undefined, { urn });
61
+ case "grafana:cloud/providerAwsCloudwatchScrapeJob:ProviderAwsCloudwatchScrapeJob":
62
+ return new exports.ProviderAwsCloudwatchScrapeJob(name, undefined, { urn });
43
63
  case "grafana:cloud/stack:Stack":
44
64
  return new exports.Stack(name, undefined, { urn });
45
65
  case "grafana:cloud/stackServiceAccount:StackServiceAccount":
@@ -55,6 +75,8 @@ pulumi.runtime.registerResourceModule("grafana", "cloud/accessPolicy", _module);
55
75
  pulumi.runtime.registerResourceModule("grafana", "cloud/accessPolicyToken", _module);
56
76
  pulumi.runtime.registerResourceModule("grafana", "cloud/orgMember", _module);
57
77
  pulumi.runtime.registerResourceModule("grafana", "cloud/pluginInstallation", _module);
78
+ pulumi.runtime.registerResourceModule("grafana", "cloud/providerAwsAccount", _module);
79
+ pulumi.runtime.registerResourceModule("grafana", "cloud/providerAwsCloudwatchScrapeJob", _module);
58
80
  pulumi.runtime.registerResourceModule("grafana", "cloud/stack", _module);
59
81
  pulumi.runtime.registerResourceModule("grafana", "cloud/stackServiceAccount", _module);
60
82
  pulumi.runtime.registerResourceModule("grafana", "cloud/stackServiceAccountToken", _module);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloud/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAA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umi from "@pulumi/pulumi";
7
+ * import * as aws from "@pulumi/aws";
8
+ * import * as grafana from "@pulumi/grafana";
9
+ * import * as grafana from "@pulumiverse/grafana";
10
+ *
11
+ * const test = grafana.cloud.getStack({
12
+ * slug: "gcloudstacktest",
13
+ * });
14
+ * const testGetRole = aws.iam.getRole({
15
+ * name: "my-role",
16
+ * });
17
+ * const testProviderAwsAccount = new grafana.cloud.ProviderAwsAccount("test", {
18
+ * stackId: test.then(test => test.id),
19
+ * roleArn: testGetRole.then(testGetRole => testGetRole.arn),
20
+ * regions: [
21
+ * "us-east-1",
22
+ * "us-east-2",
23
+ * "us-west-1",
24
+ * ],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * ```sh
31
+ * $ pulumi import grafana:cloud/providerAwsAccount:ProviderAwsAccount name "{{ stack_id }}:{{ resource_id }}"
32
+ * ```
33
+ */
34
+ export declare class ProviderAwsAccount extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ProviderAwsAccount 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: string, id: pulumi.Input<pulumi.ID>, state?: ProviderAwsAccountState, opts?: pulumi.CustomResourceOptions): ProviderAwsAccount;
45
+ /**
46
+ * Returns true if the given object is an instance of ProviderAwsAccount. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is ProviderAwsAccount;
50
+ /**
51
+ * A set of regions that this AWS Account resource applies to.
52
+ */
53
+ readonly regions: pulumi.Output<string[]>;
54
+ /**
55
+ * The ID given by the Grafana Cloud Provider API to this AWS Account resource.
56
+ */
57
+ readonly resourceId: pulumi.Output<string>;
58
+ /**
59
+ * An IAM Role ARN string to represent with this AWS Account resource.
60
+ */
61
+ readonly roleArn: pulumi.Output<string>;
62
+ readonly stackId: pulumi.Output<string>;
63
+ /**
64
+ * Create a ProviderAwsAccount resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: ProviderAwsAccountArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering ProviderAwsAccount resources.
74
+ */
75
+ export interface ProviderAwsAccountState {
76
+ /**
77
+ * A set of regions that this AWS Account resource applies to.
78
+ */
79
+ regions?: pulumi.Input<pulumi.Input<string>[]>;
80
+ /**
81
+ * The ID given by the Grafana Cloud Provider API to this AWS Account resource.
82
+ */
83
+ resourceId?: pulumi.Input<string>;
84
+ /**
85
+ * An IAM Role ARN string to represent with this AWS Account resource.
86
+ */
87
+ roleArn?: pulumi.Input<string>;
88
+ stackId?: pulumi.Input<string>;
89
+ }
90
+ /**
91
+ * The set of arguments for constructing a ProviderAwsAccount resource.
92
+ */
93
+ export interface ProviderAwsAccountArgs {
94
+ /**
95
+ * A set of regions that this AWS Account resource applies to.
96
+ */
97
+ regions: pulumi.Input<pulumi.Input<string>[]>;
98
+ /**
99
+ * An IAM Role ARN string to represent with this AWS Account resource.
100
+ */
101
+ roleArn: pulumi.Input<string>;
102
+ stackId: pulumi.Input<string>;
103
+ }
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.ProviderAwsAccount = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ * import * as grafana from "@pulumi/grafana";
15
+ * import * as grafana from "@pulumiverse/grafana";
16
+ *
17
+ * const test = grafana.cloud.getStack({
18
+ * slug: "gcloudstacktest",
19
+ * });
20
+ * const testGetRole = aws.iam.getRole({
21
+ * name: "my-role",
22
+ * });
23
+ * const testProviderAwsAccount = new grafana.cloud.ProviderAwsAccount("test", {
24
+ * stackId: test.then(test => test.id),
25
+ * roleArn: testGetRole.then(testGetRole => testGetRole.arn),
26
+ * regions: [
27
+ * "us-east-1",
28
+ * "us-east-2",
29
+ * "us-west-1",
30
+ * ],
31
+ * });
32
+ * ```
33
+ *
34
+ * ## Import
35
+ *
36
+ * ```sh
37
+ * $ pulumi import grafana:cloud/providerAwsAccount:ProviderAwsAccount name "{{ stack_id }}:{{ resource_id }}"
38
+ * ```
39
+ */
40
+ class ProviderAwsAccount extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing ProviderAwsAccount resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new ProviderAwsAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of ProviderAwsAccount. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === ProviderAwsAccount.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["regions"] = state ? state.regions : undefined;
69
+ resourceInputs["resourceId"] = state ? state.resourceId : undefined;
70
+ resourceInputs["roleArn"] = state ? state.roleArn : undefined;
71
+ resourceInputs["stackId"] = state ? state.stackId : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if ((!args || args.regions === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'regions'");
77
+ }
78
+ if ((!args || args.roleArn === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'roleArn'");
80
+ }
81
+ if ((!args || args.stackId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'stackId'");
83
+ }
84
+ resourceInputs["regions"] = args ? args.regions : undefined;
85
+ resourceInputs["roleArn"] = args ? args.roleArn : undefined;
86
+ resourceInputs["stackId"] = args ? args.stackId : undefined;
87
+ resourceInputs["resourceId"] = undefined /*out*/;
88
+ }
89
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
90
+ super(ProviderAwsAccount.__pulumiType, name, resourceInputs, opts);
91
+ }
92
+ }
93
+ exports.ProviderAwsAccount = ProviderAwsAccount;
94
+ /** @internal */
95
+ ProviderAwsAccount.__pulumiType = 'grafana:cloud/providerAwsAccount:ProviderAwsAccount';
96
+ //# sourceMappingURL=providerAwsAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providerAwsAccount.js","sourceRoot":"","sources":["../../cloud/providerAwsAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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