@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
package/k6/project.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
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.Project = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a k6 project.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
16
|
+
*
|
|
17
|
+
* const testProject = new grafana.k6.Project("test_project", {name: "Terraform Test Project"});
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import grafana:k6/project:Project name "{{ id }}"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
class Project extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Project resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name, id, state, opts) {
|
|
37
|
+
return new Project(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of Project. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === Project.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
resourceInputs["created"] = state ? state.created : undefined;
|
|
55
|
+
resourceInputs["grafanaFolderUid"] = state ? state.grafanaFolderUid : undefined;
|
|
56
|
+
resourceInputs["isDefault"] = state ? state.isDefault : undefined;
|
|
57
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
58
|
+
resourceInputs["updated"] = state ? state.updated : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["grafanaFolderUid"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["isDefault"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["updated"] = undefined /*out*/;
|
|
67
|
+
}
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
69
|
+
super(Project.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Project = Project;
|
|
73
|
+
/** @internal */
|
|
74
|
+
Project.__pulumiType = 'grafana:k6/project:Project';
|
|
75
|
+
//# sourceMappingURL=project.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7EL,0BA8EC;AAhEG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages limits for a k6 project.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
10
|
+
*
|
|
11
|
+
* const testProjectLimits = new grafana.k6.Project("test_project_limits", {name: "Terraform Project Test Limits"});
|
|
12
|
+
* const testLimits = new grafana.k6.ProjectLimits("test_limits", {
|
|
13
|
+
* projectId: testProjectLimits.id,
|
|
14
|
+
* vuhMaxPerMonth: 1000,
|
|
15
|
+
* vuMaxPerTest: 100,
|
|
16
|
+
* vuBrowserMaxPerTest: 10,
|
|
17
|
+
* durationMaxPerTest: 3600,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import grafana:k6/projectLimits:ProjectLimits name "{{ project_id }}"
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class ProjectLimits extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing ProjectLimits resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectLimitsState, opts?: pulumi.CustomResourceOptions): ProjectLimits;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of ProjectLimits. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is ProjectLimits;
|
|
43
|
+
/**
|
|
44
|
+
* Maximum duration of a test in seconds.
|
|
45
|
+
*/
|
|
46
|
+
readonly durationMaxPerTest: pulumi.Output<number | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* The identifier of the project to manage limits for.
|
|
49
|
+
*/
|
|
50
|
+
readonly projectId: pulumi.Output<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Maximum number of concurrent browser virtual users (VUs) used in one test.
|
|
53
|
+
*/
|
|
54
|
+
readonly vuBrowserMaxPerTest: pulumi.Output<number | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Maximum number of concurrent virtual users (VUs) used in one test.
|
|
57
|
+
*/
|
|
58
|
+
readonly vuMaxPerTest: pulumi.Output<number | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Maximum amount of virtual user hours (VU/h) used per one calendar month.
|
|
61
|
+
*/
|
|
62
|
+
readonly vuhMaxPerMonth: pulumi.Output<number | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a ProjectLimits 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: ProjectLimitsArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering ProjectLimits resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface ProjectLimitsState {
|
|
76
|
+
/**
|
|
77
|
+
* Maximum duration of a test in seconds.
|
|
78
|
+
*/
|
|
79
|
+
durationMaxPerTest?: pulumi.Input<number>;
|
|
80
|
+
/**
|
|
81
|
+
* The identifier of the project to manage limits for.
|
|
82
|
+
*/
|
|
83
|
+
projectId?: pulumi.Input<number>;
|
|
84
|
+
/**
|
|
85
|
+
* Maximum number of concurrent browser virtual users (VUs) used in one test.
|
|
86
|
+
*/
|
|
87
|
+
vuBrowserMaxPerTest?: pulumi.Input<number>;
|
|
88
|
+
/**
|
|
89
|
+
* Maximum number of concurrent virtual users (VUs) used in one test.
|
|
90
|
+
*/
|
|
91
|
+
vuMaxPerTest?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum amount of virtual user hours (VU/h) used per one calendar month.
|
|
94
|
+
*/
|
|
95
|
+
vuhMaxPerMonth?: pulumi.Input<number>;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The set of arguments for constructing a ProjectLimits resource.
|
|
99
|
+
*/
|
|
100
|
+
export interface ProjectLimitsArgs {
|
|
101
|
+
/**
|
|
102
|
+
* Maximum duration of a test in seconds.
|
|
103
|
+
*/
|
|
104
|
+
durationMaxPerTest?: pulumi.Input<number>;
|
|
105
|
+
/**
|
|
106
|
+
* The identifier of the project to manage limits for.
|
|
107
|
+
*/
|
|
108
|
+
projectId: pulumi.Input<number>;
|
|
109
|
+
/**
|
|
110
|
+
* Maximum number of concurrent browser virtual users (VUs) used in one test.
|
|
111
|
+
*/
|
|
112
|
+
vuBrowserMaxPerTest?: pulumi.Input<number>;
|
|
113
|
+
/**
|
|
114
|
+
* Maximum number of concurrent virtual users (VUs) used in one test.
|
|
115
|
+
*/
|
|
116
|
+
vuMaxPerTest?: pulumi.Input<number>;
|
|
117
|
+
/**
|
|
118
|
+
* Maximum amount of virtual user hours (VU/h) used per one calendar month.
|
|
119
|
+
*/
|
|
120
|
+
vuhMaxPerMonth?: pulumi.Input<number>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
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.ProjectLimits = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages limits for a k6 project.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
16
|
+
*
|
|
17
|
+
* const testProjectLimits = new grafana.k6.Project("test_project_limits", {name: "Terraform Project Test Limits"});
|
|
18
|
+
* const testLimits = new grafana.k6.ProjectLimits("test_limits", {
|
|
19
|
+
* projectId: testProjectLimits.id,
|
|
20
|
+
* vuhMaxPerMonth: 1000,
|
|
21
|
+
* vuMaxPerTest: 100,
|
|
22
|
+
* vuBrowserMaxPerTest: 10,
|
|
23
|
+
* durationMaxPerTest: 3600,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import grafana:k6/projectLimits:ProjectLimits name "{{ project_id }}"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class ProjectLimits extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing ProjectLimits resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new ProjectLimits(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of ProjectLimits. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === ProjectLimits.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["durationMaxPerTest"] = state ? state.durationMaxPerTest : undefined;
|
|
62
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
63
|
+
resourceInputs["vuBrowserMaxPerTest"] = state ? state.vuBrowserMaxPerTest : undefined;
|
|
64
|
+
resourceInputs["vuMaxPerTest"] = state ? state.vuMaxPerTest : undefined;
|
|
65
|
+
resourceInputs["vuhMaxPerMonth"] = state ? state.vuhMaxPerMonth : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'projectId'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["durationMaxPerTest"] = args ? args.durationMaxPerTest : undefined;
|
|
73
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
74
|
+
resourceInputs["vuBrowserMaxPerTest"] = args ? args.vuBrowserMaxPerTest : undefined;
|
|
75
|
+
resourceInputs["vuMaxPerTest"] = args ? args.vuMaxPerTest : undefined;
|
|
76
|
+
resourceInputs["vuhMaxPerMonth"] = args ? args.vuhMaxPerMonth : undefined;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(ProjectLimits.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ProjectLimits = ProjectLimits;
|
|
83
|
+
/** @internal */
|
|
84
|
+
ProjectLimits.__pulumiType = 'grafana:k6/projectLimits:ProjectLimits';
|
|
85
|
+
//# sourceMappingURL=projectLimits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projectLimits.js","sourceRoot":"","sources":["../../k6/projectLimits.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAA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AI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAhFL,sCAiFC;AAnEG,gBAAgB;AACO,0BAAY,GAAG,wCAAwC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/grafana",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing grafana.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "grafana",
|
|
27
|
-
"version": "0.
|
|
27
|
+
"version": "0.18.0",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/provider.d.ts
CHANGED
|
@@ -64,6 +64,14 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
64
64
|
* `GRAFANA_FRONTEND_O11Y_API_ACCESS_TOKEN` environment variable.
|
|
65
65
|
*/
|
|
66
66
|
readonly frontendO11yApiAccessToken: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The k6 Cloud API token. May alternatively be set via the `GRAFANA_K6_ACCESS_TOKEN` environment variable.
|
|
69
|
+
*/
|
|
70
|
+
readonly k6AccessToken: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The k6 Cloud API url. May alternatively be set via the `GRAFANA_K6_URL` environment variable.
|
|
73
|
+
*/
|
|
74
|
+
readonly k6Url: pulumi.Output<string | undefined>;
|
|
67
75
|
/**
|
|
68
76
|
* A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.
|
|
69
77
|
*/
|
|
@@ -172,6 +180,14 @@ export interface ProviderArgs {
|
|
|
172
180
|
* Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.
|
|
173
181
|
*/
|
|
174
182
|
insecureSkipVerify?: pulumi.Input<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
* The k6 Cloud API token. May alternatively be set via the `GRAFANA_K6_ACCESS_TOKEN` environment variable.
|
|
185
|
+
*/
|
|
186
|
+
k6AccessToken?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The k6 Cloud API url. May alternatively be set via the `GRAFANA_K6_URL` environment variable.
|
|
189
|
+
*/
|
|
190
|
+
k6Url?: pulumi.Input<string>;
|
|
175
191
|
/**
|
|
176
192
|
* A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.
|
|
177
193
|
*/
|
package/provider.js
CHANGED
|
@@ -47,6 +47,8 @@ class Provider extends pulumi.ProviderResource {
|
|
|
47
47
|
resourceInputs["frontendO11yApiAccessToken"] = (args === null || args === void 0 ? void 0 : args.frontendO11yApiAccessToken) ? pulumi.secret(args.frontendO11yApiAccessToken) : undefined;
|
|
48
48
|
resourceInputs["httpHeaders"] = pulumi.output((args === null || args === void 0 ? void 0 : args.httpHeaders) ? pulumi.secret(args.httpHeaders) : undefined).apply(JSON.stringify);
|
|
49
49
|
resourceInputs["insecureSkipVerify"] = pulumi.output((_e = (args ? args.insecureSkipVerify : undefined)) !== null && _e !== void 0 ? _e : utilities.getEnvBoolean("GRAFANA_INSECURE_SKIP_VERIFY")).apply(JSON.stringify);
|
|
50
|
+
resourceInputs["k6AccessToken"] = (args === null || args === void 0 ? void 0 : args.k6AccessToken) ? pulumi.secret(args.k6AccessToken) : undefined;
|
|
51
|
+
resourceInputs["k6Url"] = args ? args.k6Url : undefined;
|
|
50
52
|
resourceInputs["oncallAccessToken"] = (_f = ((args === null || args === void 0 ? void 0 : args.oncallAccessToken) ? pulumi.secret(args.oncallAccessToken) : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("GRAFANA_ONCALL_ACCESS_TOKEN");
|
|
51
53
|
resourceInputs["oncallUrl"] = (_g = (args ? args.oncallUrl : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnv("GRAFANA_ONCALL_URL");
|
|
52
54
|
resourceInputs["orgId"] = pulumi.output(args ? args.orgId : undefined).apply(JSON.stringify);
|
|
@@ -62,7 +64,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
62
64
|
resourceInputs["url"] = (_q = (args ? args.url : undefined)) !== null && _q !== void 0 ? _q : utilities.getEnv("GRAFANA_URL");
|
|
63
65
|
}
|
|
64
66
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
-
const secretOpts = { additionalSecretOutputs: ["auth", "cloudAccessPolicyToken", "cloudProviderAccessToken", "connectionsApiAccessToken", "fleetManagementAuth", "frontendO11yApiAccessToken", "oncallAccessToken", "smAccessToken", "tlsKey"] };
|
|
67
|
+
const secretOpts = { additionalSecretOutputs: ["auth", "cloudAccessPolicyToken", "cloudProviderAccessToken", "connectionsApiAccessToken", "fleetManagementAuth", "frontendO11yApiAccessToken", "k6AccessToken", "oncallAccessToken", "smAccessToken", "tlsKey"] };
|
|
66
68
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
67
69
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
68
70
|
}
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB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ACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE;YACnE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AA7JL,4BA8JC;AA7JG,gBAAgB;AACO,qBAAY,GAAG,SAAS,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -4298,19 +4298,19 @@ export declare namespace cloud {
|
|
|
4298
4298
|
}
|
|
4299
4299
|
interface GetProviderAwsCloudwatchScrapeJobsScrapeJob {
|
|
4300
4300
|
/**
|
|
4301
|
-
* 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.
|
|
4301
|
+
* 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.
|
|
4302
4302
|
*/
|
|
4303
4303
|
awsAccountResourceId?: string;
|
|
4304
4304
|
/**
|
|
4305
|
-
* 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.
|
|
4305
|
+
* 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.
|
|
4306
4306
|
*/
|
|
4307
4307
|
customNamespaces?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobCustomNamespace[];
|
|
4308
4308
|
/**
|
|
4309
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4309
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4310
4310
|
*/
|
|
4311
4311
|
disabledReason?: string;
|
|
4312
4312
|
/**
|
|
4313
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
4313
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
4314
4314
|
*/
|
|
4315
4315
|
enabled?: boolean;
|
|
4316
4316
|
/**
|
|
@@ -4320,19 +4320,19 @@ export declare namespace cloud {
|
|
|
4320
4320
|
id?: string;
|
|
4321
4321
|
name?: string;
|
|
4322
4322
|
/**
|
|
4323
|
-
* The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
|
|
4323
|
+
* The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
|
|
4324
4324
|
*/
|
|
4325
4325
|
regions?: string[];
|
|
4326
4326
|
/**
|
|
4327
|
-
* 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.
|
|
4327
|
+
* 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.
|
|
4328
4328
|
*/
|
|
4329
4329
|
regionsSubsetOverrideUsed?: boolean;
|
|
4330
4330
|
/**
|
|
4331
|
-
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
|
|
4331
|
+
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
|
|
4332
4332
|
*/
|
|
4333
4333
|
roleArn?: string;
|
|
4334
4334
|
/**
|
|
4335
|
-
* 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.
|
|
4335
|
+
* 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.
|
|
4336
4336
|
*/
|
|
4337
4337
|
services?: inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobService[];
|
|
4338
4338
|
stackId?: string;
|
|
@@ -4345,19 +4345,19 @@ export declare namespace cloud {
|
|
|
4345
4345
|
}
|
|
4346
4346
|
interface GetProviderAwsCloudwatchScrapeJobsScrapeJobArgs {
|
|
4347
4347
|
/**
|
|
4348
|
-
* 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.
|
|
4348
|
+
* 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.
|
|
4349
4349
|
*/
|
|
4350
4350
|
awsAccountResourceId?: pulumi.Input<string>;
|
|
4351
4351
|
/**
|
|
4352
|
-
* 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.
|
|
4352
|
+
* 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.
|
|
4353
4353
|
*/
|
|
4354
4354
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobCustomNamespaceArgs>[]>;
|
|
4355
4355
|
/**
|
|
4356
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4356
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4357
4357
|
*/
|
|
4358
4358
|
disabledReason?: pulumi.Input<string>;
|
|
4359
4359
|
/**
|
|
4360
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
4360
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
4361
4361
|
*/
|
|
4362
4362
|
enabled?: pulumi.Input<boolean>;
|
|
4363
4363
|
/**
|
|
@@ -4367,19 +4367,19 @@ export declare namespace cloud {
|
|
|
4367
4367
|
id?: pulumi.Input<string>;
|
|
4368
4368
|
name?: pulumi.Input<string>;
|
|
4369
4369
|
/**
|
|
4370
|
-
* The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
|
|
4370
|
+
* The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
|
|
4371
4371
|
*/
|
|
4372
4372
|
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4373
4373
|
/**
|
|
4374
|
-
* 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.
|
|
4374
|
+
* 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.
|
|
4375
4375
|
*/
|
|
4376
4376
|
regionsSubsetOverrideUsed?: pulumi.Input<boolean>;
|
|
4377
4377
|
/**
|
|
4378
|
-
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
|
|
4378
|
+
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
|
|
4379
4379
|
*/
|
|
4380
4380
|
roleArn?: pulumi.Input<string>;
|
|
4381
4381
|
/**
|
|
4382
|
-
* 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.
|
|
4382
|
+
* 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.
|
|
4383
4383
|
*/
|
|
4384
4384
|
services?: pulumi.Input<pulumi.Input<inputs.cloud.GetProviderAwsCloudwatchScrapeJobsScrapeJobServiceArgs>[]>;
|
|
4385
4385
|
stackId?: pulumi.Input<string>;
|
|
@@ -4743,6 +4743,30 @@ export declare namespace cloudProvider {
|
|
|
4743
4743
|
*/
|
|
4744
4744
|
value: pulumi.Input<string>;
|
|
4745
4745
|
}
|
|
4746
|
+
interface AwsResourceMetadataScrapeJobService {
|
|
4747
|
+
/**
|
|
4748
|
+
* 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.
|
|
4749
|
+
*/
|
|
4750
|
+
name: pulumi.Input<string>;
|
|
4751
|
+
/**
|
|
4752
|
+
* 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.
|
|
4753
|
+
*/
|
|
4754
|
+
resourceDiscoveryTagFilters?: pulumi.Input<pulumi.Input<inputs.cloudProvider.AwsResourceMetadataScrapeJobServiceResourceDiscoveryTagFilter>[]>;
|
|
4755
|
+
/**
|
|
4756
|
+
* 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.
|
|
4757
|
+
*/
|
|
4758
|
+
scrapeIntervalSeconds?: pulumi.Input<number>;
|
|
4759
|
+
}
|
|
4760
|
+
interface AwsResourceMetadataScrapeJobServiceResourceDiscoveryTagFilter {
|
|
4761
|
+
/**
|
|
4762
|
+
* The key of the tag filter.
|
|
4763
|
+
*/
|
|
4764
|
+
key: pulumi.Input<string>;
|
|
4765
|
+
/**
|
|
4766
|
+
* The value of the tag filter.
|
|
4767
|
+
*/
|
|
4768
|
+
value: pulumi.Input<string>;
|
|
4769
|
+
}
|
|
4746
4770
|
interface AzureCredentialAutoDiscoveryConfiguration {
|
|
4747
4771
|
/**
|
|
4748
4772
|
* The list of resource type configurations.
|
|
@@ -4906,19 +4930,19 @@ export declare namespace cloudProvider {
|
|
|
4906
4930
|
}
|
|
4907
4931
|
interface GetAwsCloudwatchScrapeJobsScrapeJob {
|
|
4908
4932
|
/**
|
|
4909
|
-
* 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.
|
|
4933
|
+
* 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.
|
|
4910
4934
|
*/
|
|
4911
4935
|
awsAccountResourceId?: string;
|
|
4912
4936
|
/**
|
|
4913
|
-
* 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.
|
|
4937
|
+
* 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.
|
|
4914
4938
|
*/
|
|
4915
4939
|
customNamespaces?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobCustomNamespace[];
|
|
4916
4940
|
/**
|
|
4917
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4941
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4918
4942
|
*/
|
|
4919
4943
|
disabledReason?: string;
|
|
4920
4944
|
/**
|
|
4921
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
4945
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
4922
4946
|
*/
|
|
4923
4947
|
enabled?: boolean;
|
|
4924
4948
|
/**
|
|
@@ -4928,19 +4952,19 @@ export declare namespace cloudProvider {
|
|
|
4928
4952
|
id?: string;
|
|
4929
4953
|
name?: string;
|
|
4930
4954
|
/**
|
|
4931
|
-
* The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
|
|
4955
|
+
* The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
|
|
4932
4956
|
*/
|
|
4933
4957
|
regions?: string[];
|
|
4934
4958
|
/**
|
|
4935
|
-
* 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.
|
|
4959
|
+
* 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.
|
|
4936
4960
|
*/
|
|
4937
4961
|
regionsSubsetOverrideUsed?: boolean;
|
|
4938
4962
|
/**
|
|
4939
|
-
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
|
|
4963
|
+
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
|
|
4940
4964
|
*/
|
|
4941
4965
|
roleArn?: string;
|
|
4942
4966
|
/**
|
|
4943
|
-
* 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.
|
|
4967
|
+
* 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.
|
|
4944
4968
|
*/
|
|
4945
4969
|
services?: inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobService[];
|
|
4946
4970
|
stackId?: string;
|
|
@@ -4953,19 +4977,19 @@ export declare namespace cloudProvider {
|
|
|
4953
4977
|
}
|
|
4954
4978
|
interface GetAwsCloudwatchScrapeJobsScrapeJobArgs {
|
|
4955
4979
|
/**
|
|
4956
|
-
* 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.
|
|
4980
|
+
* 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.
|
|
4957
4981
|
*/
|
|
4958
4982
|
awsAccountResourceId?: pulumi.Input<string>;
|
|
4959
4983
|
/**
|
|
4960
|
-
* 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.
|
|
4984
|
+
* 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.
|
|
4961
4985
|
*/
|
|
4962
4986
|
customNamespaces?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobCustomNamespaceArgs>[]>;
|
|
4963
4987
|
/**
|
|
4964
|
-
* When the CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4988
|
+
* When the AWS CloudWatch Scrape Job is disabled, this will show the reason that it is in that state.
|
|
4965
4989
|
*/
|
|
4966
4990
|
disabledReason?: pulumi.Input<string>;
|
|
4967
4991
|
/**
|
|
4968
|
-
* Whether the CloudWatch Scrape Job is enabled or not.
|
|
4992
|
+
* Whether the AWS CloudWatch Scrape Job is enabled or not.
|
|
4969
4993
|
*/
|
|
4970
4994
|
enabled?: pulumi.Input<boolean>;
|
|
4971
4995
|
/**
|
|
@@ -4975,19 +4999,19 @@ export declare namespace cloudProvider {
|
|
|
4975
4999
|
id?: pulumi.Input<string>;
|
|
4976
5000
|
name?: pulumi.Input<string>;
|
|
4977
5001
|
/**
|
|
4978
|
-
* The set of AWS region names that this CloudWatch Scrape Job is configured to scrape.
|
|
5002
|
+
* The set of AWS region names that this AWS CloudWatch Scrape Job is configured to scrape.
|
|
4979
5003
|
*/
|
|
4980
5004
|
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4981
5005
|
/**
|
|
4982
|
-
* 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.
|
|
5006
|
+
* 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.
|
|
4983
5007
|
*/
|
|
4984
5008
|
regionsSubsetOverrideUsed?: pulumi.Input<boolean>;
|
|
4985
5009
|
/**
|
|
4986
|
-
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this CloudWatch Scrape Job.
|
|
5010
|
+
* The AWS ARN of the IAM role associated with the AWS Account resource that is being used by this AWS CloudWatch Scrape Job.
|
|
4987
5011
|
*/
|
|
4988
5012
|
roleArn?: pulumi.Input<string>;
|
|
4989
5013
|
/**
|
|
4990
|
-
* 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.
|
|
5014
|
+
* 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.
|
|
4991
5015
|
*/
|
|
4992
5016
|
services?: pulumi.Input<pulumi.Input<inputs.cloudProvider.GetAwsCloudwatchScrapeJobsScrapeJobServiceArgs>[]>;
|
|
4993
5017
|
stackId?: pulumi.Input<string>;
|
|
@@ -5368,6 +5392,8 @@ export declare namespace experimental {
|
|
|
5368
5392
|
}
|
|
5369
5393
|
export declare namespace fleetManagement {
|
|
5370
5394
|
}
|
|
5395
|
+
export declare namespace k6 {
|
|
5396
|
+
}
|
|
5371
5397
|
export declare namespace machineLearning {
|
|
5372
5398
|
interface HolidayCustomPeriod {
|
|
5373
5399
|
endTime: pulumi.Input<string>;
|