@pulumiverse/grafana 0.17.0 → 0.18.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 (52) hide show
  1. package/cloud/getProviderAwsCloudwatchScrapeJob.d.ts +12 -12
  2. package/cloud/providerAwsCloudwatchScrapeJob.d.ts +11 -11
  3. package/cloudprovider/awsCloudwatchScrapeJob.d.ts +11 -11
  4. package/cloudprovider/awsResourceMetadataScrapeJob.d.ts +166 -0
  5. package/cloudprovider/awsResourceMetadataScrapeJob.js +117 -0
  6. package/cloudprovider/awsResourceMetadataScrapeJob.js.map +1 -0
  7. package/cloudprovider/getAwsCloudwatchScrapeJob.d.ts +12 -12
  8. package/cloudprovider/index.d.ts +3 -0
  9. package/cloudprovider/index.js +6 -1
  10. package/cloudprovider/index.js.map +1 -1
  11. package/config/vars.d.ts +8 -0
  12. package/config/vars.js +12 -0
  13. package/config/vars.js.map +1 -1
  14. package/index.d.ts +2 -1
  15. package/index.js +3 -1
  16. package/index.js.map +1 -1
  17. package/k6/getLoadTest.d.ts +100 -0
  18. package/k6/getLoadTest.js +68 -0
  19. package/k6/getLoadTest.js.map +1 -0
  20. package/k6/getLoadTests.d.ts +126 -0
  21. package/k6/getLoadTests.js +102 -0
  22. package/k6/getLoadTests.js.map +1 -0
  23. package/k6/getProject.d.ts +80 -0
  24. package/k6/getProject.js +52 -0
  25. package/k6/getProject.js.map +1 -0
  26. package/k6/getProjectLimits.d.ts +80 -0
  27. package/k6/getProjectLimits.js +52 -0
  28. package/k6/getProjectLimits.js.map +1 -0
  29. package/k6/getProjects.d.ts +68 -0
  30. package/k6/getProjects.js +56 -0
  31. package/k6/getProjects.js.map +1 -0
  32. package/k6/index.d.ts +27 -0
  33. package/k6/index.js +52 -0
  34. package/k6/index.js.map +1 -0
  35. package/k6/installation.d.ts +154 -0
  36. package/k6/installation.js +127 -0
  37. package/k6/installation.js.map +1 -0
  38. package/k6/loadTest.d.ts +126 -0
  39. package/k6/loadTest.js +91 -0
  40. package/k6/loadTest.js.map +1 -0
  41. package/k6/project.d.ts +98 -0
  42. package/k6/project.js +75 -0
  43. package/k6/project.js.map +1 -0
  44. package/k6/projectLimits.d.ts +121 -0
  45. package/k6/projectLimits.js +85 -0
  46. package/k6/projectLimits.js.map +1 -0
  47. package/package.json +2 -2
  48. package/provider.d.ts +16 -0
  49. package/provider.js +3 -1
  50. package/provider.js.map +1 -1
  51. package/types/input.d.ts +58 -32
  52. package/types/output.d.ts +59 -16
package/types/output.d.ts CHANGED
@@ -4546,19 +4546,19 @@ export declare namespace cloud {
4546
4546
  }
4547
4547
  interface GetProviderAwsCloudwatchScrapeJobsScrapeJob {
4548
4548
  /**
4549
- * The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this CloudWatch Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
4549
+ * The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
4550
4550
  */
4551
4551
  awsAccountResourceId: string;
4552
4552
  /**
4553
- * Zero or more configuration blocks to configure custom namespaces for the CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4553
+ * Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4554
4554
  */
4555
4555
  customNamespaces?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobCustomNamespace[];
4556
4556
  /**
4557
- * When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
4557
+ * When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
4558
4558
  */
4559
4559
  disabledReason: string;
4560
4560
  /**
4561
- * Whether the CloudWatch Scrape Job is enabled or not.
4561
+ * Whether the AWS CloudWatch Scrape Job is enabled or not.
4562
4562
  */
4563
4563
  enabled: boolean;
4564
4564
  /**
@@ -4568,19 +4568,19 @@ export declare namespace cloud {
4568
4568
  id: string;
4569
4569
  name: string;
4570
4570
  /**
4571
- * The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
4571
+ * The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
4572
4572
  */
4573
4573
  regions: string[];
4574
4574
  /**
4575
- * When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this CloudWatch Scrape Job.
4575
+ * When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job.
4576
4576
  */
4577
4577
  regionsSubsetOverrideUsed: boolean;
4578
4578
  /**
4579
- * The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
4579
+ * The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
4580
4580
  */
4581
4581
  roleArn: string;
4582
4582
  /**
4583
- * One or more configuration blocks to dictate what this CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4583
+ * One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4584
4584
  */
4585
4585
  services?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobService[];
4586
4586
  stackId: string;
@@ -4849,6 +4849,30 @@ export declare namespace cloudProvider {
4849
4849
  */
4850
4850
  value: string;
4851
4851
  }
4852
+ interface AwsResourceMetadataScrapeJobService {
4853
+ /**
4854
+ * The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/aws/cloudwatch-metrics/services/ for supported services.
4855
+ */
4856
+ name: string;
4857
+ /**
4858
+ * One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
4859
+ */
4860
+ resourceDiscoveryTagFilters?: outputs.cloudProvider.AwsResourceMetadataScrapeJobServiceResourceDiscoveryTagFilter[];
4861
+ /**
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.
4863
+ */
4864
+ scrapeIntervalSeconds: number;
4865
+ }
4866
+ interface AwsResourceMetadataScrapeJobServiceResourceDiscoveryTagFilter {
4867
+ /**
4868
+ * The key of the tag filter.
4869
+ */
4870
+ key: string;
4871
+ /**
4872
+ * The value of the tag filter.
4873
+ */
4874
+ value: string;
4875
+ }
4852
4876
  interface AzureCredentialAutoDiscoveryConfiguration {
4853
4877
  /**
4854
4878
  * The list of resource type configurations.
@@ -4946,19 +4970,19 @@ export declare namespace cloudProvider {
4946
4970
  }
4947
4971
  interface GetAwsCloudwatchScrapeJobsScrapeJob {
4948
4972
  /**
4949
- * The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this CloudWatch Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
4973
+ * The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this AWS CloudWatch Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
4950
4974
  */
4951
4975
  awsAccountResourceId: string;
4952
4976
  /**
4953
- * Zero or more configuration blocks to configure custom namespaces for the CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4977
+ * Zero or more configuration blocks to configure custom namespaces for the AWS CloudWatch Scrape Job to scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4954
4978
  */
4955
4979
  customNamespaces?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobCustomNamespace[];
4956
4980
  /**
4957
- * When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
4981
+ * When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
4958
4982
  */
4959
4983
  disabledReason: string;
4960
4984
  /**
4961
- * Whether the CloudWatch Scrape Job is enabled or not.
4985
+ * Whether the AWS CloudWatch Scrape Job is enabled or not.
4962
4986
  */
4963
4987
  enabled: boolean;
4964
4988
  /**
@@ -4968,19 +4992,19 @@ export declare namespace cloudProvider {
4968
4992
  id: string;
4969
4993
  name: string;
4970
4994
  /**
4971
- * The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
4995
+ * The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
4972
4996
  */
4973
4997
  regions: string[];
4974
4998
  /**
4975
- * When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this CloudWatch Scrape Job.
4999
+ * When true, the `regions` attribute will be the set of regions configured in the override. When false, the `regions` attribute will be the set of regions belonging to the AWS Account resource that is associated with this AWS CloudWatch Scrape Job.
4976
5000
  */
4977
5001
  regionsSubsetOverrideUsed: boolean;
4978
5002
  /**
4979
- * The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
5003
+ * The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
4980
5004
  */
4981
5005
  roleArn: string;
4982
5006
  /**
4983
- * One or more configuration blocks to dictate what this CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
5007
+ * One or more configuration blocks to dictate what this AWS CloudWatch Scrape Job should scrape. Each block must have a distinct `name` attribute. When accessing this as an attribute reference, it is a list of objects.
4984
5008
  */
4985
5009
  services?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobService[];
4986
5010
  stackId: string;
@@ -5286,6 +5310,25 @@ export declare namespace fleetManagement {
5286
5310
  };
5287
5311
  }
5288
5312
  }
5313
+ export declare namespace k6 {
5314
+ interface GetLoadTestsLoadTest {
5315
+ baselineTestRunId: number;
5316
+ created: string;
5317
+ id: number;
5318
+ name: string;
5319
+ projectId: number;
5320
+ script: string;
5321
+ updated: string;
5322
+ }
5323
+ interface GetProjectsProject {
5324
+ created: string;
5325
+ grafanaFolderUid: string;
5326
+ id: number;
5327
+ isDefault: boolean;
5328
+ name: string;
5329
+ updated: string;
5330
+ }
5331
+ }
5289
5332
  export declare namespace machineLearning {
5290
5333
  interface HolidayCustomPeriod {
5291
5334
  endTime: string;