@pulumiverse/grafana 0.2.1-alpha.1709570924
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/LICENSE +202 -0
- package/README.md +54 -0
- package/annotation.d.ts +151 -0
- package/annotation.js +79 -0
- package/annotation.js.map +1 -0
- package/apiKey.d.ts +77 -0
- package/apiKey.js +80 -0
- package/apiKey.js.map +1 -0
- package/cloudAccessPolicy.d.ts +156 -0
- package/cloudAccessPolicy.js +115 -0
- package/cloudAccessPolicy.js.map +1 -0
- package/cloudAccessPolicyToken.d.ts +151 -0
- package/cloudAccessPolicyToken.js +108 -0
- package/cloudAccessPolicyToken.js.map +1 -0
- package/cloudApiKey.d.ts +102 -0
- package/cloudApiKey.js +85 -0
- package/cloudApiKey.js.map +1 -0
- package/cloudPluginInstallation.d.ts +96 -0
- package/cloudPluginInstallation.js +86 -0
- package/cloudPluginInstallation.js.map +1 -0
- package/cloudStack.d.ts +291 -0
- package/cloudStack.js +142 -0
- package/cloudStack.js.map +1 -0
- package/cloudStackApiKey.d.ts +52 -0
- package/cloudStackApiKey.js +67 -0
- package/cloudStackApiKey.js.map +1 -0
- package/cloudStackServiceAccount.d.ts +97 -0
- package/cloudStackServiceAccount.js +80 -0
- package/cloudStackServiceAccount.js.map +1 -0
- package/cloudStackServiceAccountToken.d.ts +78 -0
- package/cloudStackServiceAccountToken.js +93 -0
- package/cloudStackServiceAccountToken.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +89 -0
- package/config/vars.js +131 -0
- package/config/vars.js.map +1 -0
- package/contactPoint.d.ts +310 -0
- package/contactPoint.js +119 -0
- package/contactPoint.js.map +1 -0
- package/dashboard.d.ts +154 -0
- package/dashboard.js +94 -0
- package/dashboard.js.map +1 -0
- package/dashboardPermission.d.ts +131 -0
- package/dashboardPermission.js +97 -0
- package/dashboardPermission.js.map +1 -0
- package/dataSource.d.ts +294 -0
- package/dataSource.js +164 -0
- package/dataSource.js.map +1 -0
- package/dataSourcePermission.d.ts +124 -0
- package/dataSourcePermission.js +109 -0
- package/dataSourcePermission.js.map +1 -0
- package/folder.d.ts +127 -0
- package/folder.js +95 -0
- package/folder.js.map +1 -0
- package/folderPermission.d.ts +106 -0
- package/folderPermission.js +91 -0
- package/folderPermission.js.map +1 -0
- package/getCloudIps.d.ts +56 -0
- package/getCloudIps.js +41 -0
- package/getCloudIps.js.map +1 -0
- package/getCloudOrganization.d.ts +37 -0
- package/getCloudOrganization.js +21 -0
- package/getCloudOrganization.js.map +1 -0
- package/getCloudStack.d.ts +130 -0
- package/getCloudStack.js +25 -0
- package/getCloudStack.js.map +1 -0
- package/getDashboard.d.ts +134 -0
- package/getDashboard.js +81 -0
- package/getDashboard.js.map +1 -0
- package/getDashboards.d.ts +74 -0
- package/getDashboards.js +36 -0
- package/getDashboards.js.map +1 -0
- package/getDataSource.d.ts +156 -0
- package/getDataSource.js +95 -0
- package/getDataSource.js.map +1 -0
- package/getFolder.d.ts +82 -0
- package/getFolder.js +59 -0
- package/getFolder.js.map +1 -0
- package/getFolders.d.ts +61 -0
- package/getFolders.js +61 -0
- package/getFolders.js.map +1 -0
- package/getLibraryPanel.d.ts +108 -0
- package/getLibraryPanel.js +28 -0
- package/getLibraryPanel.js.map +1 -0
- package/getOnCallSlackChannel.d.ts +66 -0
- package/getOnCallSlackChannel.js +47 -0
- package/getOnCallSlackChannel.js.map +1 -0
- package/getOncallAction.d.ts +46 -0
- package/getOncallAction.js +31 -0
- package/getOncallAction.js.map +1 -0
- package/getOncallEscalationChain.d.ts +62 -0
- package/getOncallEscalationChain.js +47 -0
- package/getOncallEscalationChain.js.map +1 -0
- package/getOncallOutgoingWebhook.d.ts +62 -0
- package/getOncallOutgoingWebhook.js +47 -0
- package/getOncallOutgoingWebhook.js.map +1 -0
- package/getOncallSchedule.d.ts +68 -0
- package/getOncallSchedule.js +49 -0
- package/getOncallSchedule.js.map +1 -0
- package/getOncallTeam.d.ts +60 -0
- package/getOncallTeam.js +43 -0
- package/getOncallTeam.js.map +1 -0
- package/getOncallUser.d.ts +70 -0
- package/getOncallUser.js +47 -0
- package/getOncallUser.js.map +1 -0
- package/getOncallUserGroup.d.ts +54 -0
- package/getOncallUserGroup.js +47 -0
- package/getOncallUserGroup.js.map +1 -0
- package/getOrganization.d.ts +94 -0
- package/getOrganization.js +67 -0
- package/getOrganization.js.map +1 -0
- package/getOrganizationPreferences.d.ts +62 -0
- package/getOrganizationPreferences.js +43 -0
- package/getOrganizationPreferences.js.map +1 -0
- package/getRole.d.ts +147 -0
- package/getRole.js +95 -0
- package/getRole.js.map +1 -0
- package/getSlos.d.ts +31 -0
- package/getSlos.js +31 -0
- package/getSlos.js.map +1 -0
- package/getSyntheticMonitoringProbe.d.ts +88 -0
- package/getSyntheticMonitoringProbe.js +47 -0
- package/getSyntheticMonitoringProbe.js.map +1 -0
- package/getSyntheticMonitoringProbes.d.ts +64 -0
- package/getSyntheticMonitoringProbes.js +44 -0
- package/getSyntheticMonitoringProbes.js.map +1 -0
- package/getTeam.d.ts +83 -0
- package/getTeam.js +67 -0
- package/getTeam.js.map +1 -0
- package/getUser.d.ts +128 -0
- package/getUser.js +84 -0
- package/getUser.js.map +1 -0
- package/getUsers.d.ts +61 -0
- package/getUsers.js +61 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +228 -0
- package/index.js +353 -0
- package/index.js.map +1 -0
- package/libraryPanel.d.ts +193 -0
- package/libraryPanel.js +103 -0
- package/libraryPanel.js.map +1 -0
- package/machineLearningHoliday.d.ts +103 -0
- package/machineLearningHoliday.js +62 -0
- package/machineLearningHoliday.js.map +1 -0
- package/machineLearningJob.d.ts +201 -0
- package/machineLearningJob.js +83 -0
- package/machineLearningJob.js.map +1 -0
- package/machineLearningOutlierDetector.d.ts +159 -0
- package/machineLearningOutlierDetector.js +84 -0
- package/machineLearningOutlierDetector.js.map +1 -0
- package/messageTemplate.d.ts +86 -0
- package/messageTemplate.js +80 -0
- package/messageTemplate.js.map +1 -0
- package/muteTiming.d.ts +106 -0
- package/muteTiming.js +95 -0
- package/muteTiming.js.map +1 -0
- package/notificationPolicy.d.ts +186 -0
- package/notificationPolicy.js +141 -0
- package/notificationPolicy.js.map +1 -0
- package/oncallEscalation.d.ts +227 -0
- package/oncallEscalation.js +124 -0
- package/oncallEscalation.js.map +1 -0
- package/oncallEscalationChain.d.ts +80 -0
- package/oncallEscalationChain.js +71 -0
- package/oncallEscalationChain.js.map +1 -0
- package/oncallIntegration.d.ts +116 -0
- package/oncallIntegration.js +75 -0
- package/oncallIntegration.js.map +1 -0
- package/oncallOnCallShift.d.ts +237 -0
- package/oncallOnCallShift.js +97 -0
- package/oncallOnCallShift.js.map +1 -0
- package/oncallOutgoingWebhook.d.ts +152 -0
- package/oncallOutgoingWebhook.js +88 -0
- package/oncallOutgoingWebhook.js.map +1 -0
- package/oncallRoute.d.ts +175 -0
- package/oncallRoute.js +116 -0
- package/oncallRoute.js.map +1 -0
- package/oncallSchedule.d.ts +187 -0
- package/oncallSchedule.js +109 -0
- package/oncallSchedule.js.map +1 -0
- package/organization.d.ts +193 -0
- package/organization.js +96 -0
- package/organization.js.map +1 -0
- package/organizationPreference.d.ts +125 -0
- package/organizationPreference.js +76 -0
- package/organizationPreference.js.map +1 -0
- package/package.json +30 -0
- package/package.json.bak +29 -0
- package/package.json.dev +29 -0
- package/playlist.d.ts +72 -0
- package/playlist.js +65 -0
- package/playlist.js.map +1 -0
- package/provider.d.ts +166 -0
- package/provider.js +64 -0
- package/provider.js.map +1 -0
- package/report.d.ts +241 -0
- package/report.js +110 -0
- package/report.js.map +1 -0
- package/role.d.ts +210 -0
- package/role.js +109 -0
- package/role.js.map +1 -0
- package/roleAssignment.d.ts +131 -0
- package/roleAssignment.js +95 -0
- package/roleAssignment.js.map +1 -0
- package/ruleGroup.d.ts +203 -0
- package/ruleGroup.js +174 -0
- package/ruleGroup.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/serviceAccount.d.ts +102 -0
- package/serviceAccount.js +73 -0
- package/serviceAccount.js.map +1 -0
- package/serviceAccountPermission.d.ts +110 -0
- package/serviceAccountPermission.js +95 -0
- package/serviceAccountPermission.js.map +1 -0
- package/serviceAccountToken.d.ts +72 -0
- package/serviceAccountToken.js +85 -0
- package/serviceAccountToken.js.map +1 -0
- package/slo.d.ts +131 -0
- package/slo.js +77 -0
- package/slo.js.map +1 -0
- package/syntheticMonitoringCheck.d.ts +555 -0
- package/syntheticMonitoringCheck.js +464 -0
- package/syntheticMonitoringCheck.js.map +1 -0
- package/syntheticMonitoringInstallation.d.ts +112 -0
- package/syntheticMonitoringInstallation.js +95 -0
- package/syntheticMonitoringInstallation.js.map +1 -0
- package/syntheticMonitoringProbe.d.ts +164 -0
- package/syntheticMonitoringProbe.js +108 -0
- package/syntheticMonitoringProbe.js.map +1 -0
- package/team.d.ts +165 -0
- package/team.js +89 -0
- package/team.js.map +1 -0
- package/teamExternalGroup.d.ts +84 -0
- package/teamExternalGroup.js +81 -0
- package/teamExternalGroup.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1914 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +2011 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +132 -0
- package/user.js +95 -0
- package/user.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +69 -0
- package/utilities.js.map +1 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as grafana from "@pulumi/grafana";
|
|
10
|
+
*
|
|
11
|
+
* const exampleSlackChannel = grafana.getOnCallSlackChannel({
|
|
12
|
+
* name: "example_slack_channel",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOnCallSlackChannel(args: GetOnCallSlackChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetOnCallSlackChannelResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getOnCallSlackChannel.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOnCallSlackChannelArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The Slack channel name.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getOnCallSlackChannel.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetOnCallSlackChannelResult {
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The Slack channel name.
|
|
36
|
+
*/
|
|
37
|
+
readonly name: string;
|
|
38
|
+
/**
|
|
39
|
+
* The Slack ID of the channel.
|
|
40
|
+
*/
|
|
41
|
+
readonly slackId: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as grafana from "@pulumi/grafana";
|
|
51
|
+
*
|
|
52
|
+
* const exampleSlackChannel = grafana.getOnCallSlackChannel({
|
|
53
|
+
* name: "example_slack_channel",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare function getOnCallSlackChannelOutput(args: GetOnCallSlackChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOnCallSlackChannelResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getOnCallSlackChannel.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetOnCallSlackChannelOutputArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The Slack channel name.
|
|
64
|
+
*/
|
|
65
|
+
name: pulumi.Input<string>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getOnCallSlackChannelOutput = exports.getOnCallSlackChannel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as grafana from "@pulumi/grafana";
|
|
16
|
+
*
|
|
17
|
+
* const exampleSlackChannel = grafana.getOnCallSlackChannel({
|
|
18
|
+
* name: "example_slack_channel",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getOnCallSlackChannel(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("grafana:index/getOnCallSlackChannel:getOnCallSlackChannel", {
|
|
25
|
+
"name": args.name,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getOnCallSlackChannel = getOnCallSlackChannel;
|
|
29
|
+
/**
|
|
30
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/slack_channels/)
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as grafana from "@pulumi/grafana";
|
|
37
|
+
*
|
|
38
|
+
* const exampleSlackChannel = grafana.getOnCallSlackChannel({
|
|
39
|
+
* name: "example_slack_channel",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getOnCallSlackChannelOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getOnCallSlackChannel(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getOnCallSlackChannelOutput = getOnCallSlackChannelOutput;
|
|
47
|
+
//# sourceMappingURL=getOnCallSlackChannel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOnCallSlackChannel.js","sourceRoot":"","sources":["../getOnCallSlackChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,EAAE;QACtF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
|
|
4
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
5
|
+
*
|
|
6
|
+
* !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getOncallAction(args: GetOncallActionArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallActionResult>;
|
|
9
|
+
/**
|
|
10
|
+
* A collection of arguments for invoking getOncallAction.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetOncallActionArgs {
|
|
13
|
+
/**
|
|
14
|
+
* The action name.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A collection of values returned by getOncallAction.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetOncallActionResult {
|
|
22
|
+
/**
|
|
23
|
+
* The provider-assigned unique ID for this managed resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The action name.
|
|
28
|
+
*/
|
|
29
|
+
readonly name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
|
|
33
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
34
|
+
*
|
|
35
|
+
* !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
|
|
36
|
+
*/
|
|
37
|
+
export declare function getOncallActionOutput(args: GetOncallActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallActionResult>;
|
|
38
|
+
/**
|
|
39
|
+
* A collection of arguments for invoking getOncallAction.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetOncallActionOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* The action name.
|
|
44
|
+
*/
|
|
45
|
+
name: pulumi.Input<string>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getOncallActionOutput = exports.getOncallAction = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
|
|
10
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
11
|
+
*
|
|
12
|
+
* !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
|
|
13
|
+
*/
|
|
14
|
+
function getOncallAction(args, opts) {
|
|
15
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
16
|
+
return pulumi.runtime.invoke("grafana:index/getOncallAction:getOncallAction", {
|
|
17
|
+
"name": args.name,
|
|
18
|
+
}, opts);
|
|
19
|
+
}
|
|
20
|
+
exports.getOncallAction = getOncallAction;
|
|
21
|
+
/**
|
|
22
|
+
* **Note:** This data source is going to be deprecated, please use outgoing webhook data source instead.
|
|
23
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
24
|
+
*
|
|
25
|
+
* !> Deprecated: Use the `grafana.OncallOutgoingWebhook` data source instead.
|
|
26
|
+
*/
|
|
27
|
+
function getOncallActionOutput(args, opts) {
|
|
28
|
+
return pulumi.output(args).apply((a) => getOncallAction(a, opts));
|
|
29
|
+
}
|
|
30
|
+
exports.getOncallActionOutput = getOncallActionOutput;
|
|
31
|
+
//# sourceMappingURL=getOncallAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOncallAction.js","sourceRoot":"","sources":["../getOncallAction.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAyBD;;;;;GAKG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as grafana from "@pulumi/grafana";
|
|
10
|
+
*
|
|
11
|
+
* const default = grafana.getOncallEscalationChain({
|
|
12
|
+
* name: "default",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOncallEscalationChain(args: GetOncallEscalationChainArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallEscalationChainResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getOncallEscalationChain.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOncallEscalationChainArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The escalation chain name.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getOncallEscalationChain.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetOncallEscalationChainResult {
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The escalation chain name.
|
|
36
|
+
*/
|
|
37
|
+
readonly name: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as grafana from "@pulumi/grafana";
|
|
47
|
+
*
|
|
48
|
+
* const default = grafana.getOncallEscalationChain({
|
|
49
|
+
* name: "default",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getOncallEscalationChainOutput(args: GetOncallEscalationChainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallEscalationChainResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getOncallEscalationChain.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetOncallEscalationChainOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The escalation chain name.
|
|
60
|
+
*/
|
|
61
|
+
name: pulumi.Input<string>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getOncallEscalationChainOutput = exports.getOncallEscalationChain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as grafana from "@pulumi/grafana";
|
|
16
|
+
*
|
|
17
|
+
* const default = grafana.getOncallEscalationChain({
|
|
18
|
+
* name: "default",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getOncallEscalationChain(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("grafana:index/getOncallEscalationChain:getOncallEscalationChain", {
|
|
25
|
+
"name": args.name,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getOncallEscalationChain = getOncallEscalationChain;
|
|
29
|
+
/**
|
|
30
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/)
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as grafana from "@pulumi/grafana";
|
|
37
|
+
*
|
|
38
|
+
* const default = grafana.getOncallEscalationChain({
|
|
39
|
+
* name: "default",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getOncallEscalationChainOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getOncallEscalationChain(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getOncallEscalationChainOutput = getOncallEscalationChainOutput;
|
|
47
|
+
//# sourceMappingURL=getOncallEscalationChain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOncallEscalationChain.js","sourceRoot":"","sources":["../getOncallEscalationChain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAyBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as grafana from "@pulumi/grafana";
|
|
10
|
+
*
|
|
11
|
+
* const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
|
|
12
|
+
* name: "example_outgoing_webhook",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOncallOutgoingWebhook(args: GetOncallOutgoingWebhookArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallOutgoingWebhookResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getOncallOutgoingWebhook.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOncallOutgoingWebhookArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The outgoing webhook name.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getOncallOutgoingWebhook.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetOncallOutgoingWebhookResult {
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The outgoing webhook name.
|
|
36
|
+
*/
|
|
37
|
+
readonly name: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as grafana from "@pulumi/grafana";
|
|
47
|
+
*
|
|
48
|
+
* const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
|
|
49
|
+
* name: "example_outgoing_webhook",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getOncallOutgoingWebhookOutput(args: GetOncallOutgoingWebhookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallOutgoingWebhookResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getOncallOutgoingWebhook.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetOncallOutgoingWebhookOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The outgoing webhook name.
|
|
60
|
+
*/
|
|
61
|
+
name: pulumi.Input<string>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getOncallOutgoingWebhookOutput = exports.getOncallOutgoingWebhook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as grafana from "@pulumi/grafana";
|
|
16
|
+
*
|
|
17
|
+
* const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
|
|
18
|
+
* name: "example_outgoing_webhook",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getOncallOutgoingWebhook(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("grafana:index/getOncallOutgoingWebhook:getOncallOutgoingWebhook", {
|
|
25
|
+
"name": args.name,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getOncallOutgoingWebhook = getOncallOutgoingWebhook;
|
|
29
|
+
/**
|
|
30
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/)
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as grafana from "@pulumi/grafana";
|
|
37
|
+
*
|
|
38
|
+
* const exampleOutgoingWebhook = grafana.getOncallOutgoingWebhook({
|
|
39
|
+
* name: "example_outgoing_webhook",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getOncallOutgoingWebhookOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getOncallOutgoingWebhook(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getOncallOutgoingWebhookOutput = getOncallOutgoingWebhookOutput;
|
|
47
|
+
//# sourceMappingURL=getOncallOutgoingWebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOncallOutgoingWebhook.js","sourceRoot":"","sources":["../getOncallOutgoingWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AAyBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/on-call-schedules/)
|
|
4
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as grafana from "@pulumi/grafana";
|
|
11
|
+
*
|
|
12
|
+
* const schedule = grafana.getOncallSchedule({
|
|
13
|
+
* name: "example_schedule",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getOncallSchedule(args: GetOncallScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallScheduleResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getOncallSchedule.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetOncallScheduleArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The schedule name.
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getOncallSchedule.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetOncallScheduleResult {
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* The schedule name.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
39
|
+
/**
|
|
40
|
+
* The schedule type.
|
|
41
|
+
*/
|
|
42
|
+
readonly type: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/on-call-schedules/)
|
|
46
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
|
|
47
|
+
*
|
|
48
|
+
* ## Example Usage
|
|
49
|
+
*
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
+
* import * as grafana from "@pulumi/grafana";
|
|
53
|
+
*
|
|
54
|
+
* const schedule = grafana.getOncallSchedule({
|
|
55
|
+
* name: "example_schedule",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function getOncallScheduleOutput(args: GetOncallScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallScheduleResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getOncallSchedule.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetOncallScheduleOutputArgs {
|
|
64
|
+
/**
|
|
65
|
+
* The schedule name.
|
|
66
|
+
*/
|
|
67
|
+
name: pulumi.Input<string>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getOncallScheduleOutput = exports.getOncallSchedule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/on-call-schedules/)
|
|
10
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as grafana from "@pulumi/grafana";
|
|
17
|
+
*
|
|
18
|
+
* const schedule = grafana.getOncallSchedule({
|
|
19
|
+
* name: "example_schedule",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getOncallSchedule(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("grafana:index/getOncallSchedule:getOncallSchedule", {
|
|
26
|
+
"name": args.name,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getOncallSchedule = getOncallSchedule;
|
|
30
|
+
/**
|
|
31
|
+
* * [Official documentation](https://grafana.com/docs/oncall/latest/on-call-schedules/)
|
|
32
|
+
* * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/schedules/)
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as grafana from "@pulumi/grafana";
|
|
39
|
+
*
|
|
40
|
+
* const schedule = grafana.getOncallSchedule({
|
|
41
|
+
* name: "example_schedule",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getOncallScheduleOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getOncallSchedule(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getOncallScheduleOutput = getOncallScheduleOutput;
|
|
49
|
+
//# sourceMappingURL=getOncallSchedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOncallSchedule.js","sourceRoot":"","sources":["../getOncallSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA6BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as grafana from "@pulumi/grafana";
|
|
8
|
+
*
|
|
9
|
+
* const exampleTeam = grafana.getOncallTeam({
|
|
10
|
+
* name: "example_team",
|
|
11
|
+
* });
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function getOncallTeam(args: GetOncallTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetOncallTeamResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking getOncallTeam.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetOncallTeamArgs {
|
|
19
|
+
/**
|
|
20
|
+
* The team name.
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getOncallTeam.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetOncallTeamResult {
|
|
28
|
+
readonly avatarUrl: string;
|
|
29
|
+
readonly email: string;
|
|
30
|
+
/**
|
|
31
|
+
* The provider-assigned unique ID for this managed resource.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* The team name.
|
|
36
|
+
*/
|
|
37
|
+
readonly name: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as grafana from "@pulumi/grafana";
|
|
45
|
+
*
|
|
46
|
+
* const exampleTeam = grafana.getOncallTeam({
|
|
47
|
+
* name: "example_team",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function getOncallTeamOutput(args: GetOncallTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOncallTeamResult>;
|
|
52
|
+
/**
|
|
53
|
+
* A collection of arguments for invoking getOncallTeam.
|
|
54
|
+
*/
|
|
55
|
+
export interface GetOncallTeamOutputArgs {
|
|
56
|
+
/**
|
|
57
|
+
* The team name.
|
|
58
|
+
*/
|
|
59
|
+
name: pulumi.Input<string>;
|
|
60
|
+
}
|
package/getOncallTeam.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getOncallTeamOutput = exports.getOncallTeam = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as grafana from "@pulumi/grafana";
|
|
14
|
+
*
|
|
15
|
+
* const exampleTeam = grafana.getOncallTeam({
|
|
16
|
+
* name: "example_team",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getOncallTeam(args, opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("grafana:index/getOncallTeam:getOncallTeam", {
|
|
23
|
+
"name": args.name,
|
|
24
|
+
}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.getOncallTeam = getOncallTeam;
|
|
27
|
+
/**
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as grafana from "@pulumi/grafana";
|
|
33
|
+
*
|
|
34
|
+
* const exampleTeam = grafana.getOncallTeam({
|
|
35
|
+
* name: "example_team",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getOncallTeamOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply((a) => getOncallTeam(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getOncallTeamOutput = getOncallTeamOutput;
|
|
43
|
+
//# sourceMappingURL=getOncallTeam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOncallTeam.js","sourceRoot":"","sources":["../getOncallTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA2BD;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|