@pulumiverse/grafana 2.1.0 → 2.2.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.
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Retrieves allowed private load zones 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 testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
12
+ * const fromProjectId = grafana.k6.getProjectAllowedLoadZonesOutput({
13
+ * projectId: testProjectAllowedLoadZones.id,
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getProjectAllowedLoadZones(args: GetProjectAllowedLoadZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectAllowedLoadZonesResult>;
18
+ /**
19
+ * A collection of arguments for invoking getProjectAllowedLoadZones.
20
+ */
21
+ export interface GetProjectAllowedLoadZonesArgs {
22
+ /**
23
+ * The identifier of the project to retrieve private allowed load zones for.
24
+ */
25
+ projectId: string;
26
+ }
27
+ /**
28
+ * A collection of values returned by getProjectAllowedLoadZones.
29
+ */
30
+ export interface GetProjectAllowedLoadZonesResult {
31
+ /**
32
+ * List of allowed private k6 load zone IDs for this project.
33
+ */
34
+ readonly allowedLoadZones: string[];
35
+ /**
36
+ * The identifier of the project. This is set to the same as the project_id.
37
+ */
38
+ readonly id: string;
39
+ /**
40
+ * The identifier of the project to retrieve private allowed load zones for.
41
+ */
42
+ readonly projectId: string;
43
+ }
44
+ /**
45
+ * Retrieves allowed private load zones for a k6 project.
46
+ *
47
+ * ## Example Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as grafana from "@pulumiverse/grafana";
52
+ *
53
+ * const testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
54
+ * const fromProjectId = grafana.k6.getProjectAllowedLoadZonesOutput({
55
+ * projectId: testProjectAllowedLoadZones.id,
56
+ * });
57
+ * ```
58
+ */
59
+ export declare function getProjectAllowedLoadZonesOutput(args: GetProjectAllowedLoadZonesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectAllowedLoadZonesResult>;
60
+ /**
61
+ * A collection of arguments for invoking getProjectAllowedLoadZones.
62
+ */
63
+ export interface GetProjectAllowedLoadZonesOutputArgs {
64
+ /**
65
+ * The identifier of the project to retrieve private allowed load zones for.
66
+ */
67
+ projectId: pulumi.Input<string>;
68
+ }
@@ -0,0 +1,52 @@
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.getProjectAllowedLoadZonesOutput = exports.getProjectAllowedLoadZones = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Retrieves allowed private load zones 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 testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
18
+ * const fromProjectId = grafana.k6.getProjectAllowedLoadZonesOutput({
19
+ * projectId: testProjectAllowedLoadZones.id,
20
+ * });
21
+ * ```
22
+ */
23
+ function getProjectAllowedLoadZones(args, opts) {
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("grafana:k6/getProjectAllowedLoadZones:getProjectAllowedLoadZones", {
26
+ "projectId": args.projectId,
27
+ }, opts);
28
+ }
29
+ exports.getProjectAllowedLoadZones = getProjectAllowedLoadZones;
30
+ /**
31
+ * Retrieves allowed private load zones for a k6 project.
32
+ *
33
+ * ## Example Usage
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as grafana from "@pulumiverse/grafana";
38
+ *
39
+ * const testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
40
+ * const fromProjectId = grafana.k6.getProjectAllowedLoadZonesOutput({
41
+ * projectId: testProjectAllowedLoadZones.id,
42
+ * });
43
+ * ```
44
+ */
45
+ function getProjectAllowedLoadZonesOutput(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("grafana:k6/getProjectAllowedLoadZones:getProjectAllowedLoadZones", {
48
+ "projectId": args.projectId,
49
+ }, opts);
50
+ }
51
+ exports.getProjectAllowedLoadZonesOutput = getProjectAllowedLoadZonesOutput;
52
+ //# sourceMappingURL=getProjectAllowedLoadZones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getProjectAllowedLoadZones.js","sourceRoot":"","sources":["../../k6/getProjectAllowedLoadZones.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC;AA6BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC"}
package/k6/index.d.ts CHANGED
@@ -7,6 +7,9 @@ export declare const getLoadTestsOutput: typeof import("./getLoadTests").getLoad
7
7
  export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
8
8
  export declare const getProject: typeof import("./getProject").getProject;
9
9
  export declare const getProjectOutput: typeof import("./getProject").getProjectOutput;
10
+ export { GetProjectAllowedLoadZonesArgs, GetProjectAllowedLoadZonesResult, GetProjectAllowedLoadZonesOutputArgs } from "./getProjectAllowedLoadZones";
11
+ export declare const getProjectAllowedLoadZones: typeof import("./getProjectAllowedLoadZones").getProjectAllowedLoadZones;
12
+ export declare const getProjectAllowedLoadZonesOutput: typeof import("./getProjectAllowedLoadZones").getProjectAllowedLoadZonesOutput;
10
13
  export { GetProjectLimitsArgs, GetProjectLimitsResult, GetProjectLimitsOutputArgs } from "./getProjectLimits";
11
14
  export declare const getProjectLimits: typeof import("./getProjectLimits").getProjectLimits;
12
15
  export declare const getProjectLimitsOutput: typeof import("./getProjectLimits").getProjectLimitsOutput;
@@ -22,6 +25,9 @@ export declare const LoadTest: typeof import("./loadTest").LoadTest;
22
25
  export { ProjectArgs, ProjectState } from "./project";
23
26
  export type Project = import("./project").Project;
24
27
  export declare const Project: typeof import("./project").Project;
28
+ export { ProjectAllowedLoadZonesArgs, ProjectAllowedLoadZonesState } from "./projectAllowedLoadZones";
29
+ export type ProjectAllowedLoadZones = import("./projectAllowedLoadZones").ProjectAllowedLoadZones;
30
+ export declare const ProjectAllowedLoadZones: typeof import("./projectAllowedLoadZones").ProjectAllowedLoadZones;
25
31
  export { ProjectLimitsArgs, ProjectLimitsState } from "./projectLimits";
26
32
  export type ProjectLimits = import("./projectLimits").ProjectLimits;
27
33
  export declare const ProjectLimits: typeof import("./projectLimits").ProjectLimits;
package/k6/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.ProjectLimits = exports.Project = exports.LoadTest = exports.Installation = exports.getProjectsOutput = exports.getProjects = exports.getProjectLimitsOutput = exports.getProjectLimits = exports.getProjectOutput = exports.getProject = exports.getLoadTestsOutput = exports.getLoadTests = exports.getLoadTestOutput = exports.getLoadTest = void 0;
5
+ exports.ProjectLimits = exports.ProjectAllowedLoadZones = exports.Project = exports.LoadTest = exports.Installation = exports.getProjectsOutput = exports.getProjects = exports.getProjectLimitsOutput = exports.getProjectLimits = exports.getProjectAllowedLoadZonesOutput = exports.getProjectAllowedLoadZones = exports.getProjectOutput = exports.getProject = exports.getLoadTestsOutput = exports.getLoadTests = exports.getLoadTestOutput = exports.getLoadTest = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getLoadTest = null;
@@ -14,6 +14,9 @@ utilities.lazyLoad(exports, ["getLoadTests", "getLoadTestsOutput"], () => requir
14
14
  exports.getProject = null;
15
15
  exports.getProjectOutput = null;
16
16
  utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
17
+ exports.getProjectAllowedLoadZones = null;
18
+ exports.getProjectAllowedLoadZonesOutput = null;
19
+ utilities.lazyLoad(exports, ["getProjectAllowedLoadZones", "getProjectAllowedLoadZonesOutput"], () => require("./getProjectAllowedLoadZones"));
17
20
  exports.getProjectLimits = null;
18
21
  exports.getProjectLimitsOutput = null;
19
22
  utilities.lazyLoad(exports, ["getProjectLimits", "getProjectLimitsOutput"], () => require("./getProjectLimits"));
@@ -26,6 +29,8 @@ exports.LoadTest = null;
26
29
  utilities.lazyLoad(exports, ["LoadTest"], () => require("./loadTest"));
27
30
  exports.Project = null;
28
31
  utilities.lazyLoad(exports, ["Project"], () => require("./project"));
32
+ exports.ProjectAllowedLoadZones = null;
33
+ utilities.lazyLoad(exports, ["ProjectAllowedLoadZones"], () => require("./projectAllowedLoadZones"));
29
34
  exports.ProjectLimits = null;
30
35
  utilities.lazyLoad(exports, ["ProjectLimits"], () => require("./projectLimits"));
31
36
  const _module = {
@@ -38,6 +43,8 @@ const _module = {
38
43
  return new exports.LoadTest(name, undefined, { urn });
39
44
  case "grafana:k6/project:Project":
40
45
  return new exports.Project(name, undefined, { urn });
46
+ case "grafana:k6/projectAllowedLoadZones:ProjectAllowedLoadZones":
47
+ return new exports.ProjectAllowedLoadZones(name, undefined, { urn });
41
48
  case "grafana:k6/projectLimits:ProjectLimits":
42
49
  return new exports.ProjectLimits(name, undefined, { urn });
43
50
  default:
@@ -48,5 +55,6 @@ const _module = {
48
55
  pulumi.runtime.registerResourceModule("grafana", "k6/installation", _module);
49
56
  pulumi.runtime.registerResourceModule("grafana", "k6/loadTest", _module);
50
57
  pulumi.runtime.registerResourceModule("grafana", "k6/project", _module);
58
+ pulumi.runtime.registerResourceModule("grafana", "k6/projectAllowedLoadZones", _module);
51
59
  pulumi.runtime.registerResourceModule("grafana", "k6/projectLimits", _module);
52
60
  //# sourceMappingURL=index.js.map
package/k6/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../k6/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAA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## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as grafana from "@pulumiverse/grafana";
10
+ *
11
+ * const testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
12
+ * const testAllowedZones = new grafana.k6.ProjectAllowedLoadZones("test_allowed_zones", {
13
+ * projectId: testProjectAllowedLoadZones.id,
14
+ * allowedLoadZones: [
15
+ * "my-load-zone-1",
16
+ * "other-load-zone",
17
+ * ],
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import grafana:k6/projectAllowedLoadZones:ProjectAllowedLoadZones name "{{ project_id }}"
25
+ * ```
26
+ */
27
+ export declare class ProjectAllowedLoadZones extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing ProjectAllowedLoadZones 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?: ProjectAllowedLoadZonesState, opts?: pulumi.CustomResourceOptions): ProjectAllowedLoadZones;
38
+ /**
39
+ * Returns true if the given object is an instance of ProjectAllowedLoadZones. 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 ProjectAllowedLoadZones;
43
+ /**
44
+ * List of allowed private k6 load zone IDs for this project.
45
+ */
46
+ readonly allowedLoadZones: pulumi.Output<string[]>;
47
+ /**
48
+ * The identifier of the project to manage private allowed load zones for.
49
+ */
50
+ readonly projectId: pulumi.Output<string>;
51
+ /**
52
+ * Create a ProjectAllowedLoadZones resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args: ProjectAllowedLoadZonesArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering ProjectAllowedLoadZones resources.
62
+ */
63
+ export interface ProjectAllowedLoadZonesState {
64
+ /**
65
+ * List of allowed private k6 load zone IDs for this project.
66
+ */
67
+ allowedLoadZones?: pulumi.Input<pulumi.Input<string>[]>;
68
+ /**
69
+ * The identifier of the project to manage private allowed load zones for.
70
+ */
71
+ projectId?: pulumi.Input<string>;
72
+ }
73
+ /**
74
+ * The set of arguments for constructing a ProjectAllowedLoadZones resource.
75
+ */
76
+ export interface ProjectAllowedLoadZonesArgs {
77
+ /**
78
+ * List of allowed private k6 load zone IDs for this project.
79
+ */
80
+ allowedLoadZones: pulumi.Input<pulumi.Input<string>[]>;
81
+ /**
82
+ * The identifier of the project to manage private allowed load zones for.
83
+ */
84
+ projectId: pulumi.Input<string>;
85
+ }
@@ -0,0 +1,82 @@
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.ProjectAllowedLoadZones = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages allowed private load zones 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 testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
18
+ * const testAllowedZones = new grafana.k6.ProjectAllowedLoadZones("test_allowed_zones", {
19
+ * projectId: testProjectAllowedLoadZones.id,
20
+ * allowedLoadZones: [
21
+ * "my-load-zone-1",
22
+ * "other-load-zone",
23
+ * ],
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * ```sh
30
+ * $ pulumi import grafana:k6/projectAllowedLoadZones:ProjectAllowedLoadZones name "{{ project_id }}"
31
+ * ```
32
+ */
33
+ class ProjectAllowedLoadZones extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ProjectAllowedLoadZones 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 ProjectAllowedLoadZones(name, state, { ...opts, id: id });
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of ProjectAllowedLoadZones. 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'] === ProjectAllowedLoadZones.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["allowedLoadZones"] = state?.allowedLoadZones;
62
+ resourceInputs["projectId"] = state?.projectId;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if (args?.allowedLoadZones === undefined && !opts.urn) {
67
+ throw new Error("Missing required property 'allowedLoadZones'");
68
+ }
69
+ if (args?.projectId === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'projectId'");
71
+ }
72
+ resourceInputs["allowedLoadZones"] = args?.allowedLoadZones;
73
+ resourceInputs["projectId"] = args?.projectId;
74
+ }
75
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
76
+ super(ProjectAllowedLoadZones.__pulumiType, name, resourceInputs, opts);
77
+ }
78
+ }
79
+ exports.ProjectAllowedLoadZones = ProjectAllowedLoadZones;
80
+ /** @internal */
81
+ ProjectAllowedLoadZones.__pulumiType = 'grafana:k6/projectAllowedLoadZones:ProjectAllowedLoadZones';
82
+ //# sourceMappingURL=projectAllowedLoadZones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectAllowedLoadZones.js","sourceRoot":"","sources":["../../k6/projectAllowedLoadZones.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAKD;;;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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjEL,0DAkEC;AApDG,gBAAgB;AACO,oCAAY,GAAG,4DAA4D,CAAC"}
@@ -19,6 +19,13 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  * url: "https://example.com/",
20
20
  * teamId: myTeamGetTeam.then(myTeamGetTeam => myTeamGetTeam.id),
21
21
  * });
22
+ * const test_acc_outgoingWebhook_incident = new grafana.oncall.OutgoingWebhook("test-acc-outgoing_webhook-incident", {
23
+ * name: "my outgoing incident webhook",
24
+ * preset: "incident_webhook",
25
+ * httpMethod: "POST",
26
+ * url: "https://example.com/",
27
+ * triggerType: "incident declared",
28
+ * });
22
29
  * ```
23
30
  *
24
31
  * ## Import
@@ -79,6 +86,10 @@ export declare class OutgoingWebhook extends pulumi.CustomResource {
79
86
  * The auth data of the webhook. Used for Basic authentication
80
87
  */
81
88
  readonly password: pulumi.Output<string | undefined>;
89
+ /**
90
+ * The preset of the outgoing webhook. Possible values are: `simpleWebhook`, `advancedWebhook`, `grafanaSift`, `incidentWebhook`. If no preset is set, the default preset is `advancedWebhook`.
91
+ */
92
+ readonly preset: pulumi.Output<string | undefined>;
82
93
  /**
83
94
  * The ID of the OnCall team (using the `grafana.onCall.getTeam` datasource).
84
95
  */
@@ -88,13 +99,13 @@ export declare class OutgoingWebhook extends pulumi.CustomResource {
88
99
  */
89
100
  readonly triggerTemplate: pulumi.Output<string | undefined>;
90
101
  /**
91
- * The type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.
102
+ * The type of event that will cause this outgoing webhook to execute. The events available will depend on the preset used. For alert group webhooks, the possible triggers are: `escalation`, `alert group created`, `status change`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`, `resolution note added`, `personal notification`; for incident webhooks: `incident declared`, `incident changed`, `incident resolved`. Defaults to `escalation`.
92
103
  */
93
104
  readonly triggerType: pulumi.Output<string | undefined>;
94
105
  /**
95
- * The webhook URL.
106
+ * The webhook URL. Required when not using a preset that controls this field.
96
107
  */
97
- readonly url: pulumi.Output<string>;
108
+ readonly url: pulumi.Output<string | undefined>;
98
109
  /**
99
110
  * Username to use when making the outgoing webhook request.
100
111
  */
@@ -106,7 +117,7 @@ export declare class OutgoingWebhook extends pulumi.CustomResource {
106
117
  * @param args The arguments to use to populate this resource's properties.
107
118
  * @param opts A bag of options that control this resource's behavior.
108
119
  */
109
- constructor(name: string, args: OutgoingWebhookArgs, opts?: pulumi.CustomResourceOptions);
120
+ constructor(name: string, args?: OutgoingWebhookArgs, opts?: pulumi.CustomResourceOptions);
110
121
  }
111
122
  /**
112
123
  * Input properties used for looking up and filtering OutgoingWebhook resources.
@@ -148,6 +159,10 @@ export interface OutgoingWebhookState {
148
159
  * The auth data of the webhook. Used for Basic authentication
149
160
  */
150
161
  password?: pulumi.Input<string>;
162
+ /**
163
+ * The preset of the outgoing webhook. Possible values are: `simpleWebhook`, `advancedWebhook`, `grafanaSift`, `incidentWebhook`. If no preset is set, the default preset is `advancedWebhook`.
164
+ */
165
+ preset?: pulumi.Input<string>;
151
166
  /**
152
167
  * The ID of the OnCall team (using the `grafana.onCall.getTeam` datasource).
153
168
  */
@@ -157,11 +172,11 @@ export interface OutgoingWebhookState {
157
172
  */
158
173
  triggerTemplate?: pulumi.Input<string>;
159
174
  /**
160
- * The type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.
175
+ * The type of event that will cause this outgoing webhook to execute. The events available will depend on the preset used. For alert group webhooks, the possible triggers are: `escalation`, `alert group created`, `status change`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`, `resolution note added`, `personal notification`; for incident webhooks: `incident declared`, `incident changed`, `incident resolved`. Defaults to `escalation`.
161
176
  */
162
177
  triggerType?: pulumi.Input<string>;
163
178
  /**
164
- * The webhook URL.
179
+ * The webhook URL. Required when not using a preset that controls this field.
165
180
  */
166
181
  url?: pulumi.Input<string>;
167
182
  /**
@@ -209,6 +224,10 @@ export interface OutgoingWebhookArgs {
209
224
  * The auth data of the webhook. Used for Basic authentication
210
225
  */
211
226
  password?: pulumi.Input<string>;
227
+ /**
228
+ * The preset of the outgoing webhook. Possible values are: `simpleWebhook`, `advancedWebhook`, `grafanaSift`, `incidentWebhook`. If no preset is set, the default preset is `advancedWebhook`.
229
+ */
230
+ preset?: pulumi.Input<string>;
212
231
  /**
213
232
  * The ID of the OnCall team (using the `grafana.onCall.getTeam` datasource).
214
233
  */
@@ -218,13 +237,13 @@ export interface OutgoingWebhookArgs {
218
237
  */
219
238
  triggerTemplate?: pulumi.Input<string>;
220
239
  /**
221
- * The type of event that will cause this outgoing webhook to execute. The types of triggers are: `escalation`, `alert group created`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`. Defaults to `escalation`.
240
+ * The type of event that will cause this outgoing webhook to execute. The events available will depend on the preset used. For alert group webhooks, the possible triggers are: `escalation`, `alert group created`, `status change`, `acknowledge`, `resolve`, `silence`, `unsilence`, `unresolve`, `unacknowledge`, `resolution note added`, `personal notification`; for incident webhooks: `incident declared`, `incident changed`, `incident resolved`. Defaults to `escalation`.
222
241
  */
223
242
  triggerType?: pulumi.Input<string>;
224
243
  /**
225
- * The webhook URL.
244
+ * The webhook URL. Required when not using a preset that controls this field.
226
245
  */
227
- url: pulumi.Input<string>;
246
+ url?: pulumi.Input<string>;
228
247
  /**
229
248
  * Username to use when making the outgoing webhook request.
230
249
  */
@@ -25,6 +25,13 @@ const utilities = require("../utilities");
25
25
  * url: "https://example.com/",
26
26
  * teamId: myTeamGetTeam.then(myTeamGetTeam => myTeamGetTeam.id),
27
27
  * });
28
+ * const test_acc_outgoingWebhook_incident = new grafana.oncall.OutgoingWebhook("test-acc-outgoing_webhook-incident", {
29
+ * name: "my outgoing incident webhook",
30
+ * preset: "incident_webhook",
31
+ * httpMethod: "POST",
32
+ * url: "https://example.com/",
33
+ * triggerType: "incident declared",
34
+ * });
28
35
  * ```
29
36
  *
30
37
  * ## Import
@@ -70,6 +77,7 @@ class OutgoingWebhook extends pulumi.CustomResource {
70
77
  resourceInputs["isWebhookEnabled"] = state?.isWebhookEnabled;
71
78
  resourceInputs["name"] = state?.name;
72
79
  resourceInputs["password"] = state?.password;
80
+ resourceInputs["preset"] = state?.preset;
73
81
  resourceInputs["teamId"] = state?.teamId;
74
82
  resourceInputs["triggerTemplate"] = state?.triggerTemplate;
75
83
  resourceInputs["triggerType"] = state?.triggerType;
@@ -78,9 +86,6 @@ class OutgoingWebhook extends pulumi.CustomResource {
78
86
  }
79
87
  else {
80
88
  const args = argsOrState;
81
- if (args?.url === undefined && !opts.urn) {
82
- throw new Error("Missing required property 'url'");
83
- }
84
89
  resourceInputs["authorizationHeader"] = args?.authorizationHeader ? pulumi.secret(args.authorizationHeader) : undefined;
85
90
  resourceInputs["data"] = args?.data;
86
91
  resourceInputs["forwardWholePayload"] = args?.forwardWholePayload;
@@ -90,6 +95,7 @@ class OutgoingWebhook extends pulumi.CustomResource {
90
95
  resourceInputs["isWebhookEnabled"] = args?.isWebhookEnabled;
91
96
  resourceInputs["name"] = args?.name;
92
97
  resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
98
+ resourceInputs["preset"] = args?.preset;
93
99
  resourceInputs["teamId"] = args?.teamId;
94
100
  resourceInputs["triggerTemplate"] = args?.triggerTemplate;
95
101
  resourceInputs["triggerType"] = args?.triggerType;
@@ -1 +1 @@
1
- {"version":3,"file":"outgoingWebhook.js","sourceRoot":"","sources":["../../oncall/outgoingWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAKD;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAmED,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,qBAAqB,CA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C,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACvF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,qBAAqB,EAAE,UAAU,CAAC,EAAE,CAAC;QACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA3IL,0CA4IC;AA9HG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/grafana",
3
- "version": "2.1.0",
3
+ "version": "2.2.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": "2.1.0",
27
+ "version": "2.2.0",
28
28
  "server": "github://api.github.com/pulumiverse"
29
29
  }
30
30
  }
@@ -38,6 +38,11 @@ import * as outputs from "../types/output";
38
38
  * threshold: 14,
39
39
  * period: "",
40
40
  * },
41
+ * {
42
+ * name: "HTTPRequestDurationTooHighAvg",
43
+ * threshold: 5000,
44
+ * period: "10m",
45
+ * },
41
46
  * ],
42
47
  * });
43
48
  * ```
@@ -42,6 +42,11 @@ const utilities = require("../utilities");
42
42
  * threshold: 14,
43
43
  * period: "",
44
44
  * },
45
+ * {
46
+ * name: "HTTPRequestDurationTooHighAvg",
47
+ * threshold: 5000,
48
+ * period: "10m",
49
+ * },
45
50
  * ],
46
51
  * });
47
52
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"checkAlerts.js","sourceRoot":"","sources":["../../syntheticmonitoring/checkAlerts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC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,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjEL,kCAkEC;AApDG,gBAAgB;AACO,wBAAY,GAAG,qDAAqD,CAAC"}
package/types/input.d.ts CHANGED
@@ -2597,6 +2597,10 @@ export declare namespace oss {
2597
2597
  * JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.
2598
2598
  */
2599
2599
  loginAttributePath?: pulumi.Input<string>;
2600
+ /**
2601
+ * Indicates the type of user interaction when the user logs in with the IdP. Available values are `login`, `consent` and `selectAccount`.
2602
+ */
2603
+ loginPrompt?: pulumi.Input<string>;
2600
2604
  /**
2601
2605
  * Helpful if you use more than one identity providers or SSO protocols.
2602
2606
  */
package/types/output.d.ts CHANGED
@@ -2518,6 +2518,10 @@ export declare namespace oss {
2518
2518
  * JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.
2519
2519
  */
2520
2520
  loginAttributePath?: string;
2521
+ /**
2522
+ * Indicates the type of user interaction when the user logs in with the IdP. Available values are `login`, `consent` and `selectAccount`.
2523
+ */
2524
+ loginPrompt?: string;
2521
2525
  /**
2522
2526
  * Helpful if you use more than one identity providers or SSO protocols.
2523
2527
  */