@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.
- package/cloud/getProviderAwsCloudwatchScrapeJob.d.ts +12 -12
- package/cloud/providerAwsCloudwatchScrapeJob.d.ts +11 -11
- package/cloudprovider/awsCloudwatchScrapeJob.d.ts +11 -11
- package/cloudprovider/awsResourceMetadataScrapeJob.d.ts +166 -0
- package/cloudprovider/awsResourceMetadataScrapeJob.js +117 -0
- package/cloudprovider/awsResourceMetadataScrapeJob.js.map +1 -0
- package/cloudprovider/getAwsCloudwatchScrapeJob.d.ts +12 -12
- package/cloudprovider/index.d.ts +3 -0
- package/cloudprovider/index.js +6 -1
- package/cloudprovider/index.js.map +1 -1
- package/config/vars.d.ts +8 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/k6/getLoadTest.d.ts +100 -0
- package/k6/getLoadTest.js +68 -0
- package/k6/getLoadTest.js.map +1 -0
- package/k6/getLoadTests.d.ts +126 -0
- package/k6/getLoadTests.js +102 -0
- package/k6/getLoadTests.js.map +1 -0
- package/k6/getProject.d.ts +80 -0
- package/k6/getProject.js +52 -0
- package/k6/getProject.js.map +1 -0
- package/k6/getProjectLimits.d.ts +80 -0
- package/k6/getProjectLimits.js +52 -0
- package/k6/getProjectLimits.js.map +1 -0
- package/k6/getProjects.d.ts +68 -0
- package/k6/getProjects.js +56 -0
- package/k6/getProjects.js.map +1 -0
- package/k6/index.d.ts +27 -0
- package/k6/index.js +52 -0
- package/k6/index.js.map +1 -0
- package/k6/installation.d.ts +154 -0
- package/k6/installation.js +127 -0
- package/k6/installation.js.map +1 -0
- package/k6/loadTest.d.ts +126 -0
- package/k6/loadTest.js +91 -0
- package/k6/loadTest.js.map +1 -0
- package/k6/project.d.ts +98 -0
- package/k6/project.js +75 -0
- package/k6/project.js.map +1 -0
- package/k6/projectLimits.d.ts +121 -0
- package/k6/projectLimits.js +85 -0
- package/k6/projectLimits.js.map +1 -0
- package/package.json +2 -2
- package/provider.d.ts +16 -0
- package/provider.js +3 -1
- package/provider.js.map +1 -1
- package/types/input.d.ts +58 -32
- package/types/output.d.ts +59 -16
|
@@ -77,12 +77,12 @@ export declare function getProviderAwsCloudwatchScrapeJob(args: GetProviderAwsCl
|
|
|
77
77
|
*/
|
|
78
78
|
export interface GetProviderAwsCloudwatchScrapeJobArgs {
|
|
79
79
|
/**
|
|
80
|
-
* 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.
|
|
80
|
+
* 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.
|
|
81
81
|
*/
|
|
82
82
|
customNamespaces?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobCustomNamespace[];
|
|
83
83
|
name: string;
|
|
84
84
|
/**
|
|
85
|
-
* 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.
|
|
85
|
+
* 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.
|
|
86
86
|
*/
|
|
87
87
|
services?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobService[];
|
|
88
88
|
stackId: string;
|
|
@@ -92,19 +92,19 @@ export interface GetProviderAwsCloudwatchScrapeJobArgs {
|
|
|
92
92
|
*/
|
|
93
93
|
export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
94
94
|
/**
|
|
95
|
-
* 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.
|
|
95
|
+
* 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.
|
|
96
96
|
*/
|
|
97
97
|
readonly awsAccountResourceId: string;
|
|
98
98
|
/**
|
|
99
|
-
* 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.
|
|
99
|
+
* 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.
|
|
100
100
|
*/
|
|
101
101
|
readonly customNamespaces?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobCustomNamespace[];
|
|
102
102
|
/**
|
|
103
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
103
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
104
104
|
*/
|
|
105
105
|
readonly disabledReason: string;
|
|
106
106
|
/**
|
|
107
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
107
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
108
108
|
*/
|
|
109
109
|
readonly enabled: boolean;
|
|
110
110
|
/**
|
|
@@ -114,19 +114,19 @@ export interface GetProviderAwsCloudwatchScrapeJobResult {
|
|
|
114
114
|
readonly id: string;
|
|
115
115
|
readonly name: string;
|
|
116
116
|
/**
|
|
117
|
-
* The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
|
|
117
|
+
* The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
|
|
118
118
|
*/
|
|
119
119
|
readonly regions: string[];
|
|
120
120
|
/**
|
|
121
|
-
* 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.
|
|
121
|
+
* 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.
|
|
122
122
|
*/
|
|
123
123
|
readonly regionsSubsetOverrideUsed: boolean;
|
|
124
124
|
/**
|
|
125
|
-
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
|
|
125
|
+
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
|
|
126
126
|
*/
|
|
127
127
|
readonly roleArn: string;
|
|
128
128
|
/**
|
|
129
|
-
* 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.
|
|
129
|
+
* 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.
|
|
130
130
|
*/
|
|
131
131
|
readonly services?: outputs.cloud.GetProviderAwsCloudwatchScrapeJobService[];
|
|
132
132
|
readonly stackId: string;
|
|
@@ -213,12 +213,12 @@ export declare function getProviderAwsCloudwatchScrapeJobOutput(args: GetProvide
|
|
|
213
213
|
*/
|
|
214
214
|
export interface GetProviderAwsCloudwatchScrapeJobOutputArgs {
|
|
215
215
|
/**
|
|
216
|
-
* 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.
|
|
216
|
+
* 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.
|
|
217
217
|
*/
|
|
218
218
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobCustomNamespaceArgs>[]>;
|
|
219
219
|
name: pulumi.Input<string>;
|
|
220
220
|
/**
|
|
221
|
-
* 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.
|
|
221
|
+
* 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.
|
|
222
222
|
*/
|
|
223
223
|
services?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobServiceArgs>[]>;
|
|
224
224
|
stackId: pulumi.Input<string>;
|
|
@@ -95,15 +95,15 @@ export declare class ProviderAwsCloudwatchScrapeJob extends pulumi.CustomResourc
|
|
|
95
95
|
*/
|
|
96
96
|
readonly awsAccountResourceId: pulumi.Output<string>;
|
|
97
97
|
/**
|
|
98
|
-
* 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.
|
|
98
|
+
* 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.
|
|
99
99
|
*/
|
|
100
100
|
readonly customNamespaces: pulumi.Output<outputs.cloud.ProviderAwsCloudwatchScrapeJobCustomNamespace[] | undefined>;
|
|
101
101
|
/**
|
|
102
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
102
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
103
103
|
*/
|
|
104
104
|
readonly disabledReason: pulumi.Output<string>;
|
|
105
105
|
/**
|
|
106
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
106
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
107
107
|
*/
|
|
108
108
|
readonly enabled: pulumi.Output<boolean>;
|
|
109
109
|
/**
|
|
@@ -116,7 +116,7 @@ export declare class ProviderAwsCloudwatchScrapeJob extends pulumi.CustomResourc
|
|
|
116
116
|
*/
|
|
117
117
|
readonly regionsSubsetOverrides: pulumi.Output<string[]>;
|
|
118
118
|
/**
|
|
119
|
-
* One or more configuration blocks to configure AWS services 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.
|
|
119
|
+
* One or more configuration blocks to configure AWS services 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.
|
|
120
120
|
*/
|
|
121
121
|
readonly services: pulumi.Output<outputs.cloud.ProviderAwsCloudwatchScrapeJobService[] | undefined>;
|
|
122
122
|
readonly stackId: pulumi.Output<string>;
|
|
@@ -145,15 +145,15 @@ export interface ProviderAwsCloudwatchScrapeJobState {
|
|
|
145
145
|
*/
|
|
146
146
|
awsAccountResourceId?: pulumi.Input<string>;
|
|
147
147
|
/**
|
|
148
|
-
* 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.
|
|
148
|
+
* 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.
|
|
149
149
|
*/
|
|
150
150
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAwsCloudwatchScrapeJobCustomNamespace>[]>;
|
|
151
151
|
/**
|
|
152
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
152
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
153
153
|
*/
|
|
154
154
|
disabledReason?: pulumi.Input<string>;
|
|
155
155
|
/**
|
|
156
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
156
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
157
157
|
*/
|
|
158
158
|
enabled?: pulumi.Input<boolean>;
|
|
159
159
|
/**
|
|
@@ -166,7 +166,7 @@ export interface ProviderAwsCloudwatchScrapeJobState {
|
|
|
166
166
|
*/
|
|
167
167
|
regionsSubsetOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
168
168
|
/**
|
|
169
|
-
* One or more configuration blocks to configure AWS services 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.
|
|
169
|
+
* One or more configuration blocks to configure AWS services 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.
|
|
170
170
|
*/
|
|
171
171
|
services?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAwsCloudwatchScrapeJobService>[]>;
|
|
172
172
|
stackId?: pulumi.Input<string>;
|
|
@@ -186,11 +186,11 @@ export interface ProviderAwsCloudwatchScrapeJobArgs {
|
|
|
186
186
|
*/
|
|
187
187
|
awsAccountResourceId: pulumi.Input<string>;
|
|
188
188
|
/**
|
|
189
|
-
* 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.
|
|
189
|
+
* 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.
|
|
190
190
|
*/
|
|
191
191
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAwsCloudwatchScrapeJobCustomNamespace>[]>;
|
|
192
192
|
/**
|
|
193
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
193
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
194
194
|
*/
|
|
195
195
|
enabled?: pulumi.Input<boolean>;
|
|
196
196
|
/**
|
|
@@ -203,7 +203,7 @@ export interface ProviderAwsCloudwatchScrapeJobArgs {
|
|
|
203
203
|
*/
|
|
204
204
|
regionsSubsetOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
205
205
|
/**
|
|
206
|
-
* One or more configuration blocks to configure AWS services 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.
|
|
206
|
+
* One or more configuration blocks to configure AWS services 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.
|
|
207
207
|
*/
|
|
208
208
|
services?: pulumi.Input<pulumi.Input<inputs.cloud.ProviderAwsCloudwatchScrapeJobService>[]>;
|
|
209
209
|
stackId: pulumi.Input<string>;
|
|
@@ -93,15 +93,15 @@ export declare class AwsCloudwatchScrapeJob extends pulumi.CustomResource {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly awsAccountResourceId: pulumi.Output<string>;
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
96
|
+
* 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.
|
|
97
97
|
*/
|
|
98
98
|
readonly customNamespaces: pulumi.Output<outputs.cloudProvider.AwsCloudwatchScrapeJobCustomNamespace[] | undefined>;
|
|
99
99
|
/**
|
|
100
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
100
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
101
101
|
*/
|
|
102
102
|
readonly disabledReason: pulumi.Output<string>;
|
|
103
103
|
/**
|
|
104
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
104
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
105
105
|
*/
|
|
106
106
|
readonly enabled: pulumi.Output<boolean>;
|
|
107
107
|
/**
|
|
@@ -114,7 +114,7 @@ export declare class AwsCloudwatchScrapeJob extends pulumi.CustomResource {
|
|
|
114
114
|
*/
|
|
115
115
|
readonly regionsSubsetOverrides: pulumi.Output<string[]>;
|
|
116
116
|
/**
|
|
117
|
-
* One or more configuration blocks to configure AWS services 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.
|
|
117
|
+
* One or more configuration blocks to configure AWS services 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.
|
|
118
118
|
*/
|
|
119
119
|
readonly services: pulumi.Output<outputs.cloudProvider.AwsCloudwatchScrapeJobService[] | undefined>;
|
|
120
120
|
readonly stackId: pulumi.Output<string>;
|
|
@@ -142,15 +142,15 @@ export interface AwsCloudwatchScrapeJobState {
|
|
|
142
142
|
*/
|
|
143
143
|
awsAccountResourceId?: pulumi.Input<string>;
|
|
144
144
|
/**
|
|
145
|
-
* 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.
|
|
145
|
+
* 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.
|
|
146
146
|
*/
|
|
147
147
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsCloudwatchScrapeJobCustomNamespace>[]>;
|
|
148
148
|
/**
|
|
149
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
149
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
150
150
|
*/
|
|
151
151
|
disabledReason?: pulumi.Input<string>;
|
|
152
152
|
/**
|
|
153
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
153
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
154
154
|
*/
|
|
155
155
|
enabled?: pulumi.Input<boolean>;
|
|
156
156
|
/**
|
|
@@ -163,7 +163,7 @@ export interface AwsCloudwatchScrapeJobState {
|
|
|
163
163
|
*/
|
|
164
164
|
regionsSubsetOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
165
|
/**
|
|
166
|
-
* One or more configuration blocks to configure AWS services 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.
|
|
166
|
+
* One or more configuration blocks to configure AWS services 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.
|
|
167
167
|
*/
|
|
168
168
|
services?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsCloudwatchScrapeJobService>[]>;
|
|
169
169
|
stackId?: pulumi.Input<string>;
|
|
@@ -183,11 +183,11 @@ export interface AwsCloudwatchScrapeJobArgs {
|
|
|
183
183
|
*/
|
|
184
184
|
awsAccountResourceId: pulumi.Input<string>;
|
|
185
185
|
/**
|
|
186
|
-
* 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.
|
|
186
|
+
* 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.
|
|
187
187
|
*/
|
|
188
188
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsCloudwatchScrapeJobCustomNamespace>[]>;
|
|
189
189
|
/**
|
|
190
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
190
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
191
191
|
*/
|
|
192
192
|
enabled?: pulumi.Input<boolean>;
|
|
193
193
|
/**
|
|
@@ -200,7 +200,7 @@ export interface AwsCloudwatchScrapeJobArgs {
|
|
|
200
200
|
*/
|
|
201
201
|
regionsSubsetOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
202
202
|
/**
|
|
203
|
-
* One or more configuration blocks to configure AWS services 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.
|
|
203
|
+
* One or more configuration blocks to configure AWS services 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.
|
|
204
204
|
*/
|
|
205
205
|
services?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsCloudwatchScrapeJobService>[]>;
|
|
206
206
|
stackId: pulumi.Input<string>;
|
|
@@ -0,0 +1,166 @@
|
|
|
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 aws from "@pulumi/aws";
|
|
10
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
11
|
+
*
|
|
12
|
+
* const test = grafana.cloud.getStack({
|
|
13
|
+
* slug: "gcloudstacktest",
|
|
14
|
+
* });
|
|
15
|
+
* const testGetRole = aws.iam.getRole({
|
|
16
|
+
* name: "my-role",
|
|
17
|
+
* });
|
|
18
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
19
|
+
* stackId: test.then(test => test.id),
|
|
20
|
+
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
21
|
+
* regions: [
|
|
22
|
+
* "us-east-1",
|
|
23
|
+
* "us-east-2",
|
|
24
|
+
* "us-west-1",
|
|
25
|
+
* ],
|
|
26
|
+
* });
|
|
27
|
+
* const testAwsResourceMetadataScrapeJob = new grafana.cloudprovider.AwsResourceMetadataScrapeJob("test", {
|
|
28
|
+
* stackId: test.then(test => test.id),
|
|
29
|
+
* name: "my-aws-resource-metadata-scrape-job",
|
|
30
|
+
* awsAccountResourceId: testAwsAccount.resourceId,
|
|
31
|
+
* services: [{
|
|
32
|
+
* name: "AWS/EC2",
|
|
33
|
+
* scrapeIntervalSeconds: 300,
|
|
34
|
+
* resourceDiscoveryTagFilters: [{
|
|
35
|
+
* key: "k8s.io/cluster-autoscaler/enabled",
|
|
36
|
+
* value: "true",
|
|
37
|
+
* }],
|
|
38
|
+
* }],
|
|
39
|
+
* staticLabels: {
|
|
40
|
+
* label1: "value1",
|
|
41
|
+
* label2: "value2",
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import grafana:cloudProvider/awsResourceMetadataScrapeJob:AwsResourceMetadataScrapeJob name "{{ stack_id }}:{{ name }}"
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class AwsResourceMetadataScrapeJob extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing AwsResourceMetadataScrapeJob resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwsResourceMetadataScrapeJobState, opts?: pulumi.CustomResourceOptions): AwsResourceMetadataScrapeJob;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of AwsResourceMetadataScrapeJob. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is AwsResourceMetadataScrapeJob;
|
|
68
|
+
/**
|
|
69
|
+
* The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this Resource Metadata Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
|
|
70
|
+
*/
|
|
71
|
+
readonly awsAccountResourceId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* When the AWS Resource Metadata Scrape Job is disabled, this will show the reason that it is in that state.
|
|
74
|
+
*/
|
|
75
|
+
readonly disabledReason: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the AWS Resource Metadata Scrape Job is enabled or not.
|
|
78
|
+
*/
|
|
79
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
80
|
+
readonly name: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.
|
|
83
|
+
*/
|
|
84
|
+
readonly regionsSubsetOverrides: pulumi.Output<string[]>;
|
|
85
|
+
/**
|
|
86
|
+
* One or more configuration blocks to configure AWS services for the Resource Metadata 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.
|
|
87
|
+
*/
|
|
88
|
+
readonly services: pulumi.Output<outputs.cloudProvider.AwsResourceMetadataScrapeJobService[] | undefined>;
|
|
89
|
+
readonly stackId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* A set of static labels to add to all metrics exported by this scrape job.
|
|
92
|
+
*/
|
|
93
|
+
readonly staticLabels: pulumi.Output<{
|
|
94
|
+
[key: string]: string;
|
|
95
|
+
}>;
|
|
96
|
+
/**
|
|
97
|
+
* Create a AwsResourceMetadataScrapeJob resource with the given unique name, arguments, and options.
|
|
98
|
+
*
|
|
99
|
+
* @param name The _unique_ name of the resource.
|
|
100
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
101
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
102
|
+
*/
|
|
103
|
+
constructor(name: string, args: AwsResourceMetadataScrapeJobArgs, opts?: pulumi.CustomResourceOptions);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Input properties used for looking up and filtering AwsResourceMetadataScrapeJob resources.
|
|
107
|
+
*/
|
|
108
|
+
export interface AwsResourceMetadataScrapeJobState {
|
|
109
|
+
/**
|
|
110
|
+
* The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this Resource Metadata Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
|
|
111
|
+
*/
|
|
112
|
+
awsAccountResourceId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* When the AWS Resource Metadata Scrape Job is disabled, this will show the reason that it is in that state.
|
|
115
|
+
*/
|
|
116
|
+
disabledReason?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Whether the AWS Resource Metadata Scrape Job is enabled or not.
|
|
119
|
+
*/
|
|
120
|
+
enabled?: pulumi.Input<boolean>;
|
|
121
|
+
name?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.
|
|
124
|
+
*/
|
|
125
|
+
regionsSubsetOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* One or more configuration blocks to configure AWS services for the Resource Metadata 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.
|
|
128
|
+
*/
|
|
129
|
+
services?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsResourceMetadataScrapeJobService>[]>;
|
|
130
|
+
stackId?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* A set of static labels to add to all metrics exported by this scrape job.
|
|
133
|
+
*/
|
|
134
|
+
staticLabels?: pulumi.Input<{
|
|
135
|
+
[key: string]: pulumi.Input<string>;
|
|
136
|
+
}>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a AwsResourceMetadataScrapeJob resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface AwsResourceMetadataScrapeJobArgs {
|
|
142
|
+
/**
|
|
143
|
+
* The ID assigned by the Grafana Cloud Provider API to an AWS Account resource that should be associated with this Resource Metadata Scrape Job. This can be provided by the `resourceId` attribute of the `grafana.cloudProvider.AwsAccount` resource.
|
|
144
|
+
*/
|
|
145
|
+
awsAccountResourceId: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Whether the AWS Resource Metadata Scrape Job is enabled or not.
|
|
148
|
+
*/
|
|
149
|
+
enabled?: pulumi.Input<boolean>;
|
|
150
|
+
name?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* A subset of the regions that are configured in the associated AWS Account resource to apply to this scrape job. If not set or empty, all of the Account resource's regions are scraped.
|
|
153
|
+
*/
|
|
154
|
+
regionsSubsetOverrides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
155
|
+
/**
|
|
156
|
+
* One or more configuration blocks to configure AWS services for the Resource Metadata 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.
|
|
157
|
+
*/
|
|
158
|
+
services?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsResourceMetadataScrapeJobService>[]>;
|
|
159
|
+
stackId: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* A set of static labels to add to all metrics exported by this scrape job.
|
|
162
|
+
*/
|
|
163
|
+
staticLabels?: pulumi.Input<{
|
|
164
|
+
[key: string]: pulumi.Input<string>;
|
|
165
|
+
}>;
|
|
166
|
+
}
|
|
@@ -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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AwsResourceMetadataScrapeJob = 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 "@pulumiverse/grafana";
|
|
15
|
+
*
|
|
16
|
+
* const test = grafana.cloud.getStack({
|
|
17
|
+
* slug: "gcloudstacktest",
|
|
18
|
+
* });
|
|
19
|
+
* const testGetRole = aws.iam.getRole({
|
|
20
|
+
* name: "my-role",
|
|
21
|
+
* });
|
|
22
|
+
* const testAwsAccount = new grafana.cloudprovider.AwsAccount("test", {
|
|
23
|
+
* stackId: test.then(test => test.id),
|
|
24
|
+
* roleArn: testGetRole.then(testGetRole => testGetRole.arn),
|
|
25
|
+
* regions: [
|
|
26
|
+
* "us-east-1",
|
|
27
|
+
* "us-east-2",
|
|
28
|
+
* "us-west-1",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* const testAwsResourceMetadataScrapeJob = new grafana.cloudprovider.AwsResourceMetadataScrapeJob("test", {
|
|
32
|
+
* stackId: test.then(test => test.id),
|
|
33
|
+
* name: "my-aws-resource-metadata-scrape-job",
|
|
34
|
+
* awsAccountResourceId: testAwsAccount.resourceId,
|
|
35
|
+
* services: [{
|
|
36
|
+
* name: "AWS/EC2",
|
|
37
|
+
* scrapeIntervalSeconds: 300,
|
|
38
|
+
* resourceDiscoveryTagFilters: [{
|
|
39
|
+
* key: "k8s.io/cluster-autoscaler/enabled",
|
|
40
|
+
* value: "true",
|
|
41
|
+
* }],
|
|
42
|
+
* }],
|
|
43
|
+
* staticLabels: {
|
|
44
|
+
* label1: "value1",
|
|
45
|
+
* label2: "value2",
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import grafana:cloudProvider/awsResourceMetadataScrapeJob:AwsResourceMetadataScrapeJob name "{{ stack_id }}:{{ name }}"
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
class AwsResourceMetadataScrapeJob extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing AwsResourceMetadataScrapeJob resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name, id, state, opts) {
|
|
67
|
+
return new AwsResourceMetadataScrapeJob(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of AwsResourceMetadataScrapeJob. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === AwsResourceMetadataScrapeJob.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
constructor(name, argsOrState, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (opts.id) {
|
|
83
|
+
const state = argsOrState;
|
|
84
|
+
resourceInputs["awsAccountResourceId"] = state ? state.awsAccountResourceId : undefined;
|
|
85
|
+
resourceInputs["disabledReason"] = state ? state.disabledReason : undefined;
|
|
86
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
87
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
88
|
+
resourceInputs["regionsSubsetOverrides"] = state ? state.regionsSubsetOverrides : undefined;
|
|
89
|
+
resourceInputs["services"] = state ? state.services : undefined;
|
|
90
|
+
resourceInputs["stackId"] = state ? state.stackId : undefined;
|
|
91
|
+
resourceInputs["staticLabels"] = state ? state.staticLabels : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
if ((!args || args.awsAccountResourceId === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'awsAccountResourceId'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.stackId === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'stackId'");
|
|
100
|
+
}
|
|
101
|
+
resourceInputs["awsAccountResourceId"] = args ? args.awsAccountResourceId : undefined;
|
|
102
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
103
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
104
|
+
resourceInputs["regionsSubsetOverrides"] = args ? args.regionsSubsetOverrides : undefined;
|
|
105
|
+
resourceInputs["services"] = args ? args.services : undefined;
|
|
106
|
+
resourceInputs["stackId"] = args ? args.stackId : undefined;
|
|
107
|
+
resourceInputs["staticLabels"] = args ? args.staticLabels : undefined;
|
|
108
|
+
resourceInputs["disabledReason"] = undefined /*out*/;
|
|
109
|
+
}
|
|
110
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
+
super(AwsResourceMetadataScrapeJob.__pulumiType, name, resourceInputs, opts);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.AwsResourceMetadataScrapeJob = AwsResourceMetadataScrapeJob;
|
|
115
|
+
/** @internal */
|
|
116
|
+
AwsResourceMetadataScrapeJob.__pulumiType = 'grafana:cloudProvider/awsResourceMetadataScrapeJob:AwsResourceMetadataScrapeJob';
|
|
117
|
+
//# sourceMappingURL=awsResourceMetadataScrapeJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"awsResourceMetadataScrapeJob.js","sourceRoot":"","sources":["../../cloudprovider/awsResourceMetadataScrapeJob.ts"],"names":[],"mappings":"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"}
|
|
@@ -76,12 +76,12 @@ export declare function getAwsCloudwatchScrapeJob(args: GetAwsCloudwatchScrapeJo
|
|
|
76
76
|
*/
|
|
77
77
|
export interface GetAwsCloudwatchScrapeJobArgs {
|
|
78
78
|
/**
|
|
79
|
-
* 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.
|
|
79
|
+
* 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.
|
|
80
80
|
*/
|
|
81
81
|
customNamespaces?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobCustomNamespace[];
|
|
82
82
|
name: string;
|
|
83
83
|
/**
|
|
84
|
-
* 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.
|
|
84
|
+
* 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.
|
|
85
85
|
*/
|
|
86
86
|
services?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobService[];
|
|
87
87
|
stackId: string;
|
|
@@ -91,19 +91,19 @@ export interface GetAwsCloudwatchScrapeJobArgs {
|
|
|
91
91
|
*/
|
|
92
92
|
export interface GetAwsCloudwatchScrapeJobResult {
|
|
93
93
|
/**
|
|
94
|
-
* 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.
|
|
94
|
+
* 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.
|
|
95
95
|
*/
|
|
96
96
|
readonly awsAccountResourceId: string;
|
|
97
97
|
/**
|
|
98
|
-
* 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.
|
|
98
|
+
* 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.
|
|
99
99
|
*/
|
|
100
100
|
readonly customNamespaces?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobCustomNamespace[];
|
|
101
101
|
/**
|
|
102
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
102
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
103
103
|
*/
|
|
104
104
|
readonly disabledReason: string;
|
|
105
105
|
/**
|
|
106
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
106
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
107
107
|
*/
|
|
108
108
|
readonly enabled: boolean;
|
|
109
109
|
/**
|
|
@@ -113,19 +113,19 @@ export interface GetAwsCloudwatchScrapeJobResult {
|
|
|
113
113
|
readonly id: string;
|
|
114
114
|
readonly name: string;
|
|
115
115
|
/**
|
|
116
|
-
* The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
|
|
116
|
+
* The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
|
|
117
117
|
*/
|
|
118
118
|
readonly regions: string[];
|
|
119
119
|
/**
|
|
120
|
-
* 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.
|
|
120
|
+
* 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.
|
|
121
121
|
*/
|
|
122
122
|
readonly regionsSubsetOverrideUsed: boolean;
|
|
123
123
|
/**
|
|
124
|
-
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
|
|
124
|
+
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
|
|
125
125
|
*/
|
|
126
126
|
readonly roleArn: string;
|
|
127
127
|
/**
|
|
128
|
-
* 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.
|
|
128
|
+
* 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.
|
|
129
129
|
*/
|
|
130
130
|
readonly services?: outputs.cloudProvider.GetAwsCloudwatchScrapeJobService[];
|
|
131
131
|
readonly stackId: string;
|
|
@@ -211,12 +211,12 @@ export declare function getAwsCloudwatchScrapeJobOutput(args: GetAwsCloudwatchSc
|
|
|
211
211
|
*/
|
|
212
212
|
export interface GetAwsCloudwatchScrapeJobOutputArgs {
|
|
213
213
|
/**
|
|
214
|
-
* 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.
|
|
214
|
+
* 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.
|
|
215
215
|
*/
|
|
216
216
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobCustomNamespaceArgs>[]>;
|
|
217
217
|
name: pulumi.Input<string>;
|
|
218
218
|
/**
|
|
219
|
-
* 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.
|
|
219
|
+
* 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.
|
|
220
220
|
*/
|
|
221
221
|
services?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobServiceArgs>[]>;
|
|
222
222
|
stackId: pulumi.Input<string>;
|
package/cloudprovider/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const AwsAccount: typeof import("./awsAccount").AwsAccount;
|
|
|
4
4
|
export { AwsCloudwatchScrapeJobArgs, AwsCloudwatchScrapeJobState } from "./awsCloudwatchScrapeJob";
|
|
5
5
|
export type AwsCloudwatchScrapeJob = import("./awsCloudwatchScrapeJob").AwsCloudwatchScrapeJob;
|
|
6
6
|
export declare const AwsCloudwatchScrapeJob: typeof import("./awsCloudwatchScrapeJob").AwsCloudwatchScrapeJob;
|
|
7
|
+
export { AwsResourceMetadataScrapeJobArgs, AwsResourceMetadataScrapeJobState } from "./awsResourceMetadataScrapeJob";
|
|
8
|
+
export type AwsResourceMetadataScrapeJob = import("./awsResourceMetadataScrapeJob").AwsResourceMetadataScrapeJob;
|
|
9
|
+
export declare const AwsResourceMetadataScrapeJob: typeof import("./awsResourceMetadataScrapeJob").AwsResourceMetadataScrapeJob;
|
|
7
10
|
export { AzureCredentialArgs, AzureCredentialState } from "./azureCredential";
|
|
8
11
|
export type AzureCredential = import("./azureCredential").AzureCredential;
|
|
9
12
|
export declare const AzureCredential: typeof import("./azureCredential").AzureCredential;
|