@pulumiverse/grafana 2.3.0 → 2.4.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,70 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Retrieves a k6 schedule.
6
+ */
7
+ export declare function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduleResult>;
8
+ /**
9
+ * A collection of arguments for invoking getSchedule.
10
+ */
11
+ export interface GetScheduleArgs {
12
+ /**
13
+ * The identifier of the load test to retrieve the schedule for.
14
+ */
15
+ loadTestId: string;
16
+ /**
17
+ * The schedule recurrence settings. If null, the test will run only once on the starts date.
18
+ */
19
+ recurrenceRule?: inputs.k6.GetScheduleRecurrenceRule;
20
+ }
21
+ /**
22
+ * A collection of values returned by getSchedule.
23
+ */
24
+ export interface GetScheduleResult {
25
+ /**
26
+ * The email of the user who created the schedule.
27
+ */
28
+ readonly createdBy: string;
29
+ /**
30
+ * Whether the schedule is deactivated.
31
+ */
32
+ readonly deactivated: boolean;
33
+ /**
34
+ * Numeric identifier of the schedule.
35
+ */
36
+ readonly id: string;
37
+ /**
38
+ * The identifier of the load test to retrieve the schedule for.
39
+ */
40
+ readonly loadTestId: string;
41
+ /**
42
+ * The next scheduled execution time.
43
+ */
44
+ readonly nextRun: string;
45
+ /**
46
+ * The schedule recurrence settings. If null, the test will run only once on the starts date.
47
+ */
48
+ readonly recurrenceRule?: outputs.k6.GetScheduleRecurrenceRule;
49
+ /**
50
+ * The start time for the schedule (RFC3339 format).
51
+ */
52
+ readonly starts: string;
53
+ }
54
+ /**
55
+ * Retrieves a k6 schedule.
56
+ */
57
+ export declare function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduleResult>;
58
+ /**
59
+ * A collection of arguments for invoking getSchedule.
60
+ */
61
+ export interface GetScheduleOutputArgs {
62
+ /**
63
+ * The identifier of the load test to retrieve the schedule for.
64
+ */
65
+ loadTestId: pulumi.Input<string>;
66
+ /**
67
+ * The schedule recurrence settings. If null, the test will run only once on the starts date.
68
+ */
69
+ recurrenceRule?: pulumi.Input<inputs.k6.GetScheduleRecurrenceRuleArgs>;
70
+ }
@@ -0,0 +1,30 @@
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.getScheduleOutput = exports.getSchedule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Retrieves a k6 schedule.
10
+ */
11
+ function getSchedule(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("grafana:k6/getSchedule:getSchedule", {
14
+ "loadTestId": args.loadTestId,
15
+ "recurrenceRule": args.recurrenceRule,
16
+ }, opts);
17
+ }
18
+ exports.getSchedule = getSchedule;
19
+ /**
20
+ * Retrieves a k6 schedule.
21
+ */
22
+ function getScheduleOutput(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invokeOutput("grafana:k6/getSchedule:getSchedule", {
25
+ "loadTestId": args.loadTestId,
26
+ "recurrenceRule": args.recurrenceRule,
27
+ }, opts);
28
+ }
29
+ exports.getScheduleOutput = getScheduleOutput;
30
+ //# sourceMappingURL=getSchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchedule.js","sourceRoot":"","sources":["../../k6/getSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAiDD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
@@ -0,0 +1,23 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Retrieves all k6 schedules.
5
+ */
6
+ export declare function getSchedules(opts?: pulumi.InvokeOptions): Promise<GetSchedulesResult>;
7
+ /**
8
+ * A collection of values returned by getSchedules.
9
+ */
10
+ export interface GetSchedulesResult {
11
+ /**
12
+ * The identifier for this data source.
13
+ */
14
+ readonly id: string;
15
+ /**
16
+ * List of k6 schedules.
17
+ */
18
+ readonly schedules: outputs.k6.GetSchedulesSchedule[];
19
+ }
20
+ /**
21
+ * Retrieves all k6 schedules.
22
+ */
23
+ export declare function getSchedulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSchedulesResult>;
@@ -0,0 +1,24 @@
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.getSchedulesOutput = exports.getSchedules = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Retrieves all k6 schedules.
10
+ */
11
+ function getSchedules(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("grafana:k6/getSchedules:getSchedules", {}, opts);
14
+ }
15
+ exports.getSchedules = getSchedules;
16
+ /**
17
+ * Retrieves all k6 schedules.
18
+ */
19
+ function getSchedulesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("grafana:k6/getSchedules:getSchedules", {}, opts);
22
+ }
23
+ exports.getSchedulesOutput = getSchedulesOutput;
24
+ //# sourceMappingURL=getSchedules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchedules.js","sourceRoot":"","sources":["../../k6/getSchedules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
package/k6/index.d.ts CHANGED
@@ -16,6 +16,12 @@ export declare const getProjectLimitsOutput: typeof import("./getProjectLimits")
16
16
  export { GetProjectsArgs, GetProjectsResult, GetProjectsOutputArgs } from "./getProjects";
17
17
  export declare const getProjects: typeof import("./getProjects").getProjects;
18
18
  export declare const getProjectsOutput: typeof import("./getProjects").getProjectsOutput;
19
+ export { GetScheduleArgs, GetScheduleResult, GetScheduleOutputArgs } from "./getSchedule";
20
+ export declare const getSchedule: typeof import("./getSchedule").getSchedule;
21
+ export declare const getScheduleOutput: typeof import("./getSchedule").getScheduleOutput;
22
+ export { GetSchedulesResult } from "./getSchedules";
23
+ export declare const getSchedules: typeof import("./getSchedules").getSchedules;
24
+ export declare const getSchedulesOutput: typeof import("./getSchedules").getSchedulesOutput;
19
25
  export { InstallationArgs, InstallationState } from "./installation";
20
26
  export type Installation = import("./installation").Installation;
21
27
  export declare const Installation: typeof import("./installation").Installation;
@@ -31,3 +37,6 @@ export declare const ProjectAllowedLoadZones: typeof import("./projectAllowedLoa
31
37
  export { ProjectLimitsArgs, ProjectLimitsState } from "./projectLimits";
32
38
  export type ProjectLimits = import("./projectLimits").ProjectLimits;
33
39
  export declare const ProjectLimits: typeof import("./projectLimits").ProjectLimits;
40
+ export { ScheduleArgs, ScheduleState } from "./schedule";
41
+ export type Schedule = import("./schedule").Schedule;
42
+ export declare const Schedule: typeof import("./schedule").Schedule;
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.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;
5
+ exports.Schedule = exports.ProjectLimits = exports.ProjectAllowedLoadZones = exports.Project = exports.LoadTest = exports.Installation = exports.getSchedulesOutput = exports.getSchedules = exports.getScheduleOutput = exports.getSchedule = 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;
@@ -23,6 +23,12 @@ utilities.lazyLoad(exports, ["getProjectLimits", "getProjectLimitsOutput"], () =
23
23
  exports.getProjects = null;
24
24
  exports.getProjectsOutput = null;
25
25
  utilities.lazyLoad(exports, ["getProjects", "getProjectsOutput"], () => require("./getProjects"));
26
+ exports.getSchedule = null;
27
+ exports.getScheduleOutput = null;
28
+ utilities.lazyLoad(exports, ["getSchedule", "getScheduleOutput"], () => require("./getSchedule"));
29
+ exports.getSchedules = null;
30
+ exports.getSchedulesOutput = null;
31
+ utilities.lazyLoad(exports, ["getSchedules", "getSchedulesOutput"], () => require("./getSchedules"));
26
32
  exports.Installation = null;
27
33
  utilities.lazyLoad(exports, ["Installation"], () => require("./installation"));
28
34
  exports.LoadTest = null;
@@ -33,6 +39,8 @@ exports.ProjectAllowedLoadZones = null;
33
39
  utilities.lazyLoad(exports, ["ProjectAllowedLoadZones"], () => require("./projectAllowedLoadZones"));
34
40
  exports.ProjectLimits = null;
35
41
  utilities.lazyLoad(exports, ["ProjectLimits"], () => require("./projectLimits"));
42
+ exports.Schedule = null;
43
+ utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
36
44
  const _module = {
37
45
  version: utilities.getVersion(),
38
46
  construct: (name, type, urn) => {
@@ -47,6 +55,8 @@ const _module = {
47
55
  return new exports.ProjectAllowedLoadZones(name, undefined, { urn });
48
56
  case "grafana:k6/projectLimits:ProjectLimits":
49
57
  return new exports.ProjectLimits(name, undefined, { urn });
58
+ case "grafana:k6/schedule:Schedule":
59
+ return new exports.Schedule(name, undefined, { urn });
50
60
  default:
51
61
  throw new Error(`unknown resource type ${type}`);
52
62
  }
@@ -57,4 +67,5 @@ pulumi.runtime.registerResourceModule("grafana", "k6/loadTest", _module);
57
67
  pulumi.runtime.registerResourceModule("grafana", "k6/project", _module);
58
68
  pulumi.runtime.registerResourceModule("grafana", "k6/projectAllowedLoadZones", _module);
59
69
  pulumi.runtime.registerResourceModule("grafana", "k6/projectLimits", _module);
70
+ pulumi.runtime.registerResourceModule("grafana", "k6/schedule", _module);
60
71
  //# 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,CAAC,CAAC;AAGpF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,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GAAG,EAAE,CAAC,CAAA;YACrE,KAAK,wCAAwC;gBACzC,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a k6 schedule for automated test execution.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import grafana:k6/schedule:Schedule name "{{ load_test_id }}"
11
+ * ```
12
+ */
13
+ export declare class Schedule extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Schedule resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScheduleState, opts?: pulumi.CustomResourceOptions): Schedule;
24
+ /**
25
+ * Returns true if the given object is an instance of Schedule. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is Schedule;
29
+ /**
30
+ * The email of the user who created the schedule.
31
+ */
32
+ readonly createdBy: pulumi.Output<string>;
33
+ /**
34
+ * Whether the schedule is deactivated.
35
+ */
36
+ readonly deactivated: pulumi.Output<boolean>;
37
+ /**
38
+ * The identifier of the load test to schedule.
39
+ */
40
+ readonly loadTestId: pulumi.Output<string>;
41
+ /**
42
+ * The next scheduled execution time.
43
+ */
44
+ readonly nextRun: pulumi.Output<string>;
45
+ /**
46
+ * The schedule recurrence settings. If not specified, the test will run only once on the 'starts' date.
47
+ */
48
+ readonly recurrenceRule: pulumi.Output<outputs.k6.ScheduleRecurrenceRule | undefined>;
49
+ /**
50
+ * The start time for the schedule (RFC3339 format).
51
+ */
52
+ readonly starts: pulumi.Output<string>;
53
+ /**
54
+ * Create a Schedule resource with the given unique name, arguments, and options.
55
+ *
56
+ * @param name The _unique_ name of the resource.
57
+ * @param args The arguments to use to populate this resource's properties.
58
+ * @param opts A bag of options that control this resource's behavior.
59
+ */
60
+ constructor(name: string, args: ScheduleArgs, opts?: pulumi.CustomResourceOptions);
61
+ }
62
+ /**
63
+ * Input properties used for looking up and filtering Schedule resources.
64
+ */
65
+ export interface ScheduleState {
66
+ /**
67
+ * The email of the user who created the schedule.
68
+ */
69
+ createdBy?: pulumi.Input<string>;
70
+ /**
71
+ * Whether the schedule is deactivated.
72
+ */
73
+ deactivated?: pulumi.Input<boolean>;
74
+ /**
75
+ * The identifier of the load test to schedule.
76
+ */
77
+ loadTestId?: pulumi.Input<string>;
78
+ /**
79
+ * The next scheduled execution time.
80
+ */
81
+ nextRun?: pulumi.Input<string>;
82
+ /**
83
+ * The schedule recurrence settings. If not specified, the test will run only once on the 'starts' date.
84
+ */
85
+ recurrenceRule?: pulumi.Input<inputs.k6.ScheduleRecurrenceRule>;
86
+ /**
87
+ * The start time for the schedule (RFC3339 format).
88
+ */
89
+ starts?: pulumi.Input<string>;
90
+ }
91
+ /**
92
+ * The set of arguments for constructing a Schedule resource.
93
+ */
94
+ export interface ScheduleArgs {
95
+ /**
96
+ * The identifier of the load test to schedule.
97
+ */
98
+ loadTestId: pulumi.Input<string>;
99
+ /**
100
+ * The schedule recurrence settings. If not specified, the test will run only once on the 'starts' date.
101
+ */
102
+ recurrenceRule?: pulumi.Input<inputs.k6.ScheduleRecurrenceRule>;
103
+ /**
104
+ * The start time for the schedule (RFC3339 format).
105
+ */
106
+ starts: pulumi.Input<string>;
107
+ }
package/k6/schedule.js ADDED
@@ -0,0 +1,74 @@
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.Schedule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a k6 schedule for automated test execution.
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import grafana:k6/schedule:Schedule name "{{ load_test_id }}"
15
+ * ```
16
+ */
17
+ class Schedule extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Schedule resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new Schedule(name, state, { ...opts, id: id });
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of Schedule. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Schedule.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["createdBy"] = state?.createdBy;
46
+ resourceInputs["deactivated"] = state?.deactivated;
47
+ resourceInputs["loadTestId"] = state?.loadTestId;
48
+ resourceInputs["nextRun"] = state?.nextRun;
49
+ resourceInputs["recurrenceRule"] = state?.recurrenceRule;
50
+ resourceInputs["starts"] = state?.starts;
51
+ }
52
+ else {
53
+ const args = argsOrState;
54
+ if (args?.loadTestId === undefined && !opts.urn) {
55
+ throw new Error("Missing required property 'loadTestId'");
56
+ }
57
+ if (args?.starts === undefined && !opts.urn) {
58
+ throw new Error("Missing required property 'starts'");
59
+ }
60
+ resourceInputs["loadTestId"] = args?.loadTestId;
61
+ resourceInputs["recurrenceRule"] = args?.recurrenceRule;
62
+ resourceInputs["starts"] = args?.starts;
63
+ resourceInputs["createdBy"] = undefined /*out*/;
64
+ resourceInputs["deactivated"] = undefined /*out*/;
65
+ resourceInputs["nextRun"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ super(Schedule.__pulumiType, name, resourceInputs, opts);
69
+ }
70
+ }
71
+ exports.Schedule = Schedule;
72
+ /** @internal */
73
+ Schedule.__pulumiType = 'grafana:k6/schedule:Schedule';
74
+ //# sourceMappingURL=schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../k6/schedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;G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AAC;aAC7D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAzFL,4BA0FC;AA5EG,gBAAgB;AACO,qBAAY,GAAG,8BAA8B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/grafana",
3
- "version": "2.3.0",
3
+ "version": "2.4.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.3.0",
27
+ "version": "2.4.0",
28
28
  "server": "github://api.github.com/pulumiverse"
29
29
  }
30
30
  }
package/types/input.d.ts CHANGED
@@ -2058,6 +2058,72 @@ export declare namespace experimental {
2058
2058
  export declare namespace fleetManagement {
2059
2059
  }
2060
2060
  export declare namespace k6 {
2061
+ interface GetScheduleRecurrenceRule {
2062
+ /**
2063
+ * The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.
2064
+ */
2065
+ bydays?: string[];
2066
+ /**
2067
+ * How many times the recurrence will repeat.
2068
+ */
2069
+ count?: number;
2070
+ /**
2071
+ * The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY).
2072
+ */
2073
+ frequency?: string;
2074
+ /**
2075
+ * The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY).
2076
+ */
2077
+ interval?: number;
2078
+ /**
2079
+ * The end time for the recurrence (RFC3339 format).
2080
+ */
2081
+ until?: string;
2082
+ }
2083
+ interface GetScheduleRecurrenceRuleArgs {
2084
+ /**
2085
+ * The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.
2086
+ */
2087
+ bydays?: pulumi.Input<pulumi.Input<string>[]>;
2088
+ /**
2089
+ * How many times the recurrence will repeat.
2090
+ */
2091
+ count?: pulumi.Input<number>;
2092
+ /**
2093
+ * The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY).
2094
+ */
2095
+ frequency?: pulumi.Input<string>;
2096
+ /**
2097
+ * The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY).
2098
+ */
2099
+ interval?: pulumi.Input<number>;
2100
+ /**
2101
+ * The end time for the recurrence (RFC3339 format).
2102
+ */
2103
+ until?: pulumi.Input<string>;
2104
+ }
2105
+ interface ScheduleRecurrenceRule {
2106
+ /**
2107
+ * The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.
2108
+ */
2109
+ bydays?: pulumi.Input<pulumi.Input<string>[]>;
2110
+ /**
2111
+ * How many times the recurrence will repeat.
2112
+ */
2113
+ count?: pulumi.Input<number>;
2114
+ /**
2115
+ * The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY, YEARLY).
2116
+ */
2117
+ frequency?: pulumi.Input<string>;
2118
+ /**
2119
+ * The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY). Defaults to 1.
2120
+ */
2121
+ interval?: pulumi.Input<number>;
2122
+ /**
2123
+ * The end time for the recurrence (RFC3339 format).
2124
+ */
2125
+ until?: pulumi.Input<string>;
2126
+ }
2061
2127
  }
2062
2128
  export declare namespace machineLearning {
2063
2129
  interface HolidayCustomPeriod {
package/types/output.d.ts CHANGED
@@ -1900,6 +1900,66 @@ export declare namespace k6 {
1900
1900
  name: string;
1901
1901
  updated: string;
1902
1902
  }
1903
+ interface GetScheduleRecurrenceRule {
1904
+ /**
1905
+ * The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.
1906
+ */
1907
+ bydays: string[];
1908
+ /**
1909
+ * How many times the recurrence will repeat.
1910
+ */
1911
+ count: number;
1912
+ /**
1913
+ * The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY).
1914
+ */
1915
+ frequency: string;
1916
+ /**
1917
+ * The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY).
1918
+ */
1919
+ interval: number;
1920
+ /**
1921
+ * The end time for the recurrence (RFC3339 format).
1922
+ */
1923
+ until: string;
1924
+ }
1925
+ interface GetSchedulesSchedule {
1926
+ createdBy: string;
1927
+ deactivated: boolean;
1928
+ id: string;
1929
+ loadTestId: string;
1930
+ nextRun: string;
1931
+ recurrenceRule: outputs.k6.GetSchedulesScheduleRecurrenceRule;
1932
+ starts: string;
1933
+ }
1934
+ interface GetSchedulesScheduleRecurrenceRule {
1935
+ bydays: string[];
1936
+ count: number;
1937
+ frequency: string;
1938
+ interval: number;
1939
+ until: string;
1940
+ }
1941
+ interface ScheduleRecurrenceRule {
1942
+ /**
1943
+ * The weekdays when the 'WEEKLY' recurrence will be applied (e.g., ['MO', 'WE', 'FR']). Cannot be set for other frequencies.
1944
+ */
1945
+ bydays?: string[];
1946
+ /**
1947
+ * How many times the recurrence will repeat.
1948
+ */
1949
+ count?: number;
1950
+ /**
1951
+ * The frequency of the schedule (HOURLY, DAILY, WEEKLY, MONTHLY, YEARLY).
1952
+ */
1953
+ frequency?: string;
1954
+ /**
1955
+ * The interval between each frequency iteration (e.g., 2 = every 2 hours for HOURLY). Defaults to 1.
1956
+ */
1957
+ interval: number;
1958
+ /**
1959
+ * The end time for the recurrence (RFC3339 format).
1960
+ */
1961
+ until?: string;
1962
+ }
1903
1963
  }
1904
1964
  export declare namespace machineLearning {
1905
1965
  interface HolidayCustomPeriod {