@pulumiverse/grafana 0.18.0 → 0.19.0

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 (76) hide show
  1. package/cloud/getStack.d.ts +4 -0
  2. package/cloud/getStack.js.map +1 -1
  3. package/cloud/providerAwsCloudwatchScrapeJob.d.ts +6 -6
  4. package/cloud/stack.d.ts +8 -0
  5. package/cloud/stack.js +2 -0
  6. package/cloud/stack.js.map +1 -1
  7. package/cloudStack.d.ts +8 -0
  8. package/cloudStack.js +2 -0
  9. package/cloudStack.js.map +1 -1
  10. package/cloudprovider/awsCloudwatchScrapeJob.d.ts +6 -6
  11. package/cloudprovider/awsResourceMetadataScrapeJob.d.ts +3 -3
  12. package/enterprise/index.d.ts +3 -0
  13. package/enterprise/index.js +6 -1
  14. package/enterprise/index.js.map +1 -1
  15. package/enterprise/scimConfig.d.ts +87 -0
  16. package/enterprise/scimConfig.js +74 -0
  17. package/enterprise/scimConfig.js.map +1 -0
  18. package/frontendobservability/app.d.ts +3 -3
  19. package/getCloudStack.d.ts +4 -0
  20. package/getCloudStack.js.map +1 -1
  21. package/getOncallIntegration.d.ts +4 -0
  22. package/getOncallIntegration.js.map +1 -1
  23. package/getOncallTeam.d.ts +10 -4
  24. package/getOncallTeam.js +10 -4
  25. package/getOncallTeam.js.map +1 -1
  26. package/k6/getLoadTest.d.ts +11 -11
  27. package/k6/getLoadTest.js +6 -6
  28. package/k6/getLoadTests.d.ts +16 -16
  29. package/k6/getLoadTests.js +12 -12
  30. package/k6/getProject.d.ts +9 -9
  31. package/k6/getProject.js +6 -6
  32. package/k6/getProjectLimits.d.ts +10 -10
  33. package/k6/getProjectLimits.js +6 -6
  34. package/k6/getProjects.d.ts +0 -2
  35. package/k6/getProjects.js +0 -2
  36. package/k6/getProjects.js.map +1 -1
  37. package/k6/loadTest.d.ts +6 -6
  38. package/k6/projectLimits.d.ts +3 -3
  39. package/oncall/escalationChain.d.ts +13 -4
  40. package/oncall/escalationChain.js +10 -1
  41. package/oncall/escalationChain.js.map +1 -1
  42. package/oncall/getIntegration.d.ts +4 -0
  43. package/oncall/getIntegration.js.map +1 -1
  44. package/oncall/getTeam.d.ts +10 -4
  45. package/oncall/getTeam.js +10 -4
  46. package/oncall/getTeam.js.map +1 -1
  47. package/oncall/integration.d.ts +24 -36
  48. package/oncall/integration.js +2 -30
  49. package/oncall/integration.js.map +1 -1
  50. package/oncall/onCallShift.d.ts +3 -3
  51. package/oncall/outgoingWebhook.d.ts +10 -3
  52. package/oncall/outgoingWebhook.js +7 -0
  53. package/oncall/outgoingWebhook.js.map +1 -1
  54. package/oncall/schedule.d.ts +6 -6
  55. package/oncallEscalationChain.d.ts +13 -4
  56. package/oncallEscalationChain.js +10 -1
  57. package/oncallEscalationChain.js.map +1 -1
  58. package/oncallIntegration.d.ts +24 -36
  59. package/oncallIntegration.js +2 -30
  60. package/oncallIntegration.js.map +1 -1
  61. package/oncallOnCallShift.d.ts +3 -3
  62. package/oncallOutgoingWebhook.d.ts +10 -3
  63. package/oncallOutgoingWebhook.js +7 -0
  64. package/oncallOutgoingWebhook.js.map +1 -1
  65. package/oncallSchedule.d.ts +6 -6
  66. package/package.json +2 -2
  67. package/syntheticMonitoringCheck.d.ts +3 -3
  68. package/syntheticmonitoring/check.d.ts +3 -3
  69. package/syntheticmonitoring/checkAlerts.d.ts +109 -0
  70. package/syntheticmonitoring/checkAlerts.js +104 -0
  71. package/syntheticmonitoring/checkAlerts.js.map +1 -0
  72. package/syntheticmonitoring/index.d.ts +3 -0
  73. package/syntheticmonitoring/index.js +6 -1
  74. package/syntheticmonitoring/index.js.map +1 -1
  75. package/types/input.d.ts +35 -5
  76. package/types/output.d.ts +39 -9
package/types/output.d.ts CHANGED
@@ -1903,6 +1903,10 @@ export interface RuleGroupRule {
1903
1903
  labels?: {
1904
1904
  [key: string]: string;
1905
1905
  };
1906
+ /**
1907
+ * The number of missing series evaluations that must occur before the rule is considered to be resolved.
1908
+ */
1909
+ missingSeriesEvalsToResolve?: number;
1906
1910
  /**
1907
1911
  * The name of the alert rule.
1908
1912
  */
@@ -1991,6 +1995,10 @@ export interface RuleGroupRuleRecord {
1991
1995
  * The name of the metric to write to.
1992
1996
  */
1993
1997
  metric: string;
1998
+ /**
1999
+ * The UID of the datasource to write the metric to.
2000
+ */
2001
+ targetDatasourceUid?: string;
1994
2002
  }
1995
2003
  export interface SLOAlerting {
1996
2004
  /**
@@ -4350,6 +4358,10 @@ export declare namespace alerting {
4350
4358
  labels?: {
4351
4359
  [key: string]: string;
4352
4360
  };
4361
+ /**
4362
+ * The number of missing series evaluations that must occur before the rule is considered to be resolved.
4363
+ */
4364
+ missingSeriesEvalsToResolve?: number;
4353
4365
  /**
4354
4366
  * The name of the alert rule.
4355
4367
  */
@@ -4438,6 +4450,10 @@ export declare namespace alerting {
4438
4450
  * The name of the metric to write to.
4439
4451
  */
4440
4452
  metric: string;
4453
+ /**
4454
+ * The UID of the datasource to write the metric to.
4455
+ */
4456
+ targetDatasourceUid?: string;
4441
4457
  }
4442
4458
  }
4443
4459
  export declare namespace cloud {
@@ -4696,7 +4712,7 @@ export declare namespace cloud {
4696
4712
  */
4697
4713
  name: string;
4698
4714
  /**
4699
- * The interval in seconds to scrape the custom namespace.
4715
+ * The interval in seconds to scrape the custom namespace. Defaults to `300`.
4700
4716
  */
4701
4717
  scrapeIntervalSeconds: number;
4702
4718
  }
@@ -4724,7 +4740,7 @@ export declare namespace cloud {
4724
4740
  */
4725
4741
  resourceDiscoveryTagFilters?: outputs.cloud.ProviderAwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4726
4742
  /**
4727
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4743
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.
4728
4744
  */
4729
4745
  scrapeIntervalSeconds: number;
4730
4746
  /**
@@ -4793,7 +4809,7 @@ export declare namespace cloudProvider {
4793
4809
  */
4794
4810
  name: string;
4795
4811
  /**
4796
- * The interval in seconds to scrape the custom namespace.
4812
+ * The interval in seconds to scrape the custom namespace. Defaults to `300`.
4797
4813
  */
4798
4814
  scrapeIntervalSeconds: number;
4799
4815
  }
@@ -4821,7 +4837,7 @@ export declare namespace cloudProvider {
4821
4837
  */
4822
4838
  resourceDiscoveryTagFilters?: outputs.cloudProvider.AwsCloudwatchScrapeJobServiceResourceDiscoveryTagFilter[];
4823
4839
  /**
4824
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4840
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.
4825
4841
  */
4826
4842
  scrapeIntervalSeconds: number;
4827
4843
  /**
@@ -4859,7 +4875,7 @@ export declare namespace cloudProvider {
4859
4875
  */
4860
4876
  resourceDiscoveryTagFilters?: outputs.cloudProvider.AwsResourceMetadataScrapeJobServiceResourceDiscoveryTagFilter[];
4861
4877
  /**
4862
- * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals.
4878
+ * The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported scrape intervals. Defaults to `300`.
4863
4879
  */
4864
4880
  scrapeIntervalSeconds: number;
4865
4881
  }
@@ -5312,18 +5328,18 @@ export declare namespace fleetManagement {
5312
5328
  }
5313
5329
  export declare namespace k6 {
5314
5330
  interface GetLoadTestsLoadTest {
5315
- baselineTestRunId: number;
5331
+ baselineTestRunId: string;
5316
5332
  created: string;
5317
- id: number;
5333
+ id: string;
5318
5334
  name: string;
5319
- projectId: number;
5335
+ projectId: string;
5320
5336
  script: string;
5321
5337
  updated: string;
5322
5338
  }
5323
5339
  interface GetProjectsProject {
5324
5340
  created: string;
5325
5341
  grafanaFolderUid: string;
5326
- id: number;
5342
+ id: string;
5327
5343
  isDefault: boolean;
5328
5344
  name: string;
5329
5345
  updated: string;
@@ -6592,6 +6608,20 @@ export declare namespace slo {
6592
6608
  }
6593
6609
  }
6594
6610
  export declare namespace syntheticMonitoring {
6611
+ interface CheckAlertsAlert {
6612
+ /**
6613
+ * Name of the alert. Required.
6614
+ */
6615
+ name: string;
6616
+ /**
6617
+ * Period for the alert. Required and must be one of: `5m`, `10m`, `15m`, `20m`, `30m`, `1h`.
6618
+ */
6619
+ period?: string;
6620
+ /**
6621
+ * Threshold value for the alert.
6622
+ */
6623
+ threshold: number;
6624
+ }
6595
6625
  interface CheckSettings {
6596
6626
  /**
6597
6627
  * Settings for browser check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6-browser/.