@pulumiverse/grafana 0.7.0 → 0.7.1
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/alerting/contactPoint.d.ts +1 -1
- package/alerting/contactPoint.js +1 -1
- package/alerting/messageTemplate.d.ts +2 -2
- package/alerting/messageTemplate.js +2 -2
- package/alerting/muteTiming.d.ts +2 -2
- package/alerting/muteTiming.js +2 -2
- package/alerting/notificationPolicy.d.ts +2 -2
- package/alerting/notificationPolicy.js +2 -2
- package/alerting/ruleGroup.d.ts +1 -1
- package/alerting/ruleGroup.js +1 -1
- package/cloud/getAccessPolicies.d.ts +50 -0
- package/cloud/getAccessPolicies.js +46 -0
- package/cloud/getAccessPolicies.js.map +1 -0
- package/cloud/getProviderAwsAccount.d.ts +92 -0
- package/cloud/getProviderAwsAccount.js +74 -0
- package/cloud/getProviderAwsAccount.js.map +1 -0
- package/cloud/getProviderAwsCloudwatchScrapeJob.d.ts +211 -0
- package/cloud/getProviderAwsCloudwatchScrapeJob.js +160 -0
- package/cloud/getProviderAwsCloudwatchScrapeJob.js.map +1 -0
- package/cloud/getProviderAwsCloudwatchScrapeJobs.d.ts +66 -0
- package/cloud/getProviderAwsCloudwatchScrapeJobs.js +54 -0
- package/cloud/getProviderAwsCloudwatchScrapeJobs.js.map +1 -0
- package/cloud/index.d.ts +18 -0
- package/cloud/index.js +23 -1
- package/cloud/index.js.map +1 -1
- package/cloud/providerAwsAccount.d.ts +103 -0
- package/cloud/providerAwsAccount.js +96 -0
- package/cloud/providerAwsAccount.js.map +1 -0
- package/cloud/providerAwsCloudwatchScrapeJob.d.ts +192 -0
- package/cloud/providerAwsCloudwatchScrapeJob.js +139 -0
- package/cloud/providerAwsCloudwatchScrapeJob.js.map +1 -0
- package/config/vars.d.ts +19 -0
- package/config/vars.js +24 -0
- package/config/vars.js.map +1 -1
- package/connectionsMetricsEndpointScrapeJob.d.ts +151 -0
- package/connectionsMetricsEndpointScrapeJob.js +101 -0
- package/connectionsMetricsEndpointScrapeJob.js.map +1 -0
- package/contactPoint.d.ts +1 -1
- package/contactPoint.js +1 -1
- package/dashboardPermissionItem.d.ts +3 -3
- package/dataSource.d.ts +9 -0
- package/dataSource.js +9 -0
- package/dataSource.js.map +1 -1
- package/dataSourcePermissionItem.d.ts +3 -3
- package/enterprise/dataSourcePermissionItem.d.ts +3 -3
- package/enterprise/roleAssignmentItem.d.ts +3 -3
- package/folderPermissionItem.d.ts +3 -3
- package/getConnectionsMetricsEndpointScrapeJob.d.ts +79 -0
- package/getConnectionsMetricsEndpointScrapeJob.js +50 -0
- package/getConnectionsMetricsEndpointScrapeJob.js.map +1 -0
- package/getLibraryPanels.d.ts +114 -0
- package/getLibraryPanels.js +102 -0
- package/getLibraryPanels.js.map +1 -0
- package/getOncallUser.d.ts +1 -1
- package/getTeam.d.ts +1 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +2 -0
- package/getUser.js +2 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +2 -0
- package/getUsers.js +2 -0
- package/getUsers.js.map +1 -1
- package/index.d.ts +9 -0
- package/index.js +14 -3
- package/index.js.map +1 -1
- package/machineLearningHoliday.d.ts +42 -0
- package/machineLearningHoliday.js +42 -0
- package/machineLearningHoliday.js.map +1 -1
- package/machineLearningJob.d.ts +137 -9
- package/machineLearningJob.js +125 -0
- package/machineLearningJob.js.map +1 -1
- package/machineLearningOutlierDetector.d.ts +64 -6
- package/machineLearningOutlierDetector.js +55 -0
- package/machineLearningOutlierDetector.js.map +1 -1
- package/machinelearning/alert.d.ts +236 -0
- package/machinelearning/alert.js +138 -0
- package/machinelearning/alert.js.map +1 -0
- package/machinelearning/holiday.d.ts +42 -0
- package/machinelearning/holiday.js +42 -0
- package/machinelearning/holiday.js.map +1 -1
- package/machinelearning/index.d.ts +3 -0
- package/machinelearning/index.js +6 -1
- package/machinelearning/index.js.map +1 -1
- package/machinelearning/job.d.ts +137 -9
- package/machinelearning/job.js +125 -0
- package/machinelearning/job.js.map +1 -1
- package/machinelearning/outlierDetector.d.ts +64 -6
- package/machinelearning/outlierDetector.js +55 -0
- package/machinelearning/outlierDetector.js.map +1 -1
- package/messageTemplate.d.ts +2 -2
- package/messageTemplate.js +2 -2
- package/muteTiming.d.ts +2 -2
- package/muteTiming.js +2 -2
- package/notificationPolicy.d.ts +2 -2
- package/notificationPolicy.js +2 -2
- package/oncall/escalation.d.ts +18 -6
- package/oncall/escalation.js +2 -0
- package/oncall/escalation.js.map +1 -1
- package/oncall/getUser.d.ts +1 -1
- package/oncall/getUsers.d.ts +20 -0
- package/oncall/getUsers.js +24 -0
- package/oncall/getUsers.js.map +1 -0
- package/oncall/index.d.ts +3 -0
- package/oncall/index.js +4 -1
- package/oncall/index.js.map +1 -1
- package/oncall/integration.d.ts +1 -1
- package/oncall/integration.js +1 -1
- package/oncall/onCallShift.d.ts +12 -0
- package/oncall/onCallShift.js +2 -0
- package/oncall/onCallShift.js.map +1 -1
- package/oncallEscalation.d.ts +18 -6
- package/oncallEscalation.js +2 -0
- package/oncallEscalation.js.map +1 -1
- package/oncallIntegration.d.ts +1 -1
- package/oncallIntegration.js +1 -1
- package/oncallOnCallShift.d.ts +12 -0
- package/oncallOnCallShift.js +2 -0
- package/oncallOnCallShift.js.map +1 -1
- package/organization.d.ts +1 -0
- package/organization.js +1 -0
- package/organization.js.map +1 -1
- package/oss/dashboardPermissionItem.d.ts +3 -3
- package/oss/dataSource.d.ts +9 -0
- package/oss/dataSource.js +9 -0
- package/oss/dataSource.js.map +1 -1
- package/oss/folderPermissionItem.d.ts +3 -3
- package/oss/getTeam.d.ts +1 -0
- package/oss/getTeam.js.map +1 -1
- package/oss/getUser.d.ts +2 -0
- package/oss/getUser.js +2 -0
- package/oss/getUser.js.map +1 -1
- package/oss/getUsers.d.ts +2 -0
- package/oss/getUsers.js +2 -0
- package/oss/getUsers.js.map +1 -1
- package/oss/organization.d.ts +1 -0
- package/oss/organization.js +1 -0
- package/oss/organization.js.map +1 -1
- package/oss/serviceAccountPermissionItem.d.ts +3 -3
- package/oss/ssoSettings.d.ts +56 -4
- package/oss/ssoSettings.js +43 -1
- package/oss/ssoSettings.js.map +1 -1
- package/oss/team.d.ts +8 -0
- package/oss/team.js +2 -0
- package/oss/team.js.map +1 -1
- package/oss/user.d.ts +1 -0
- package/oss/user.js +1 -0
- package/oss/user.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +38 -0
- package/provider.js +5 -1
- package/provider.js.map +1 -1
- package/roleAssignmentItem.d.ts +3 -3
- package/ruleGroup.d.ts +1 -1
- package/ruleGroup.js +1 -1
- package/serviceAccountPermissionItem.d.ts +3 -3
- package/slo/slo.d.ts +14 -2
- package/slo/slo.js +5 -0
- package/slo/slo.js.map +1 -1
- package/slo.d.ts +14 -2
- package/slo.js +5 -0
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +56 -4
- package/ssoSettings.js +43 -1
- package/ssoSettings.js.map +1 -1
- package/team.d.ts +8 -0
- package/team.js +2 -0
- package/team.js.map +1 -1
- package/types/input.d.ts +894 -10
- package/types/output.d.ts +837 -14
- package/user.d.ts +1 -0
- package/user.js +1 -0
- package/user.js.map +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectionsMetricsEndpointScrapeJob.js","sourceRoot":"","sources":["../connectionsMetricsEndpointScrapeJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1F,CAAC;IAKD;;;O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
7
|
+
* * Official documentation
|
|
8
8
|
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#contact-points)
|
|
9
9
|
*
|
|
10
10
|
* This resource requires Grafana 9.1.0 or later.
|
package/contactPoint.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages Grafana Alerting contact points.
|
|
10
10
|
*
|
|
11
|
-
* *
|
|
11
|
+
* * Official documentation
|
|
12
12
|
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#contact-points)
|
|
13
13
|
*
|
|
14
14
|
* This resource requires Grafana 9.1.0 or later.
|
|
@@ -68,7 +68,7 @@ export declare class DashboardPermissionItem extends pulumi.CustomResource {
|
|
|
68
68
|
*/
|
|
69
69
|
readonly dashboardUid: pulumi.Output<string>;
|
|
70
70
|
/**
|
|
71
|
-
* The Organization ID. If not set, the
|
|
71
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
72
72
|
*/
|
|
73
73
|
readonly orgId: pulumi.Output<string>;
|
|
74
74
|
/**
|
|
@@ -106,7 +106,7 @@ export interface DashboardPermissionItemState {
|
|
|
106
106
|
*/
|
|
107
107
|
dashboardUid?: pulumi.Input<string>;
|
|
108
108
|
/**
|
|
109
|
-
* The Organization ID. If not set, the
|
|
109
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
110
110
|
*/
|
|
111
111
|
orgId?: pulumi.Input<string>;
|
|
112
112
|
/**
|
|
@@ -135,7 +135,7 @@ export interface DashboardPermissionItemArgs {
|
|
|
135
135
|
*/
|
|
136
136
|
dashboardUid: pulumi.Input<string>;
|
|
137
137
|
/**
|
|
138
|
-
* The Organization ID. If not set, the
|
|
138
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
139
139
|
*/
|
|
140
140
|
orgId?: pulumi.Input<string>;
|
|
141
141
|
/**
|
package/dataSource.d.ts
CHANGED
|
@@ -52,6 +52,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
52
52
|
* secretKey: "456",
|
|
53
53
|
* }),
|
|
54
54
|
* });
|
|
55
|
+
* const cloudwatchAssumeARN = new grafana.oss.DataSource("cloudwatch_assumeARN", {
|
|
56
|
+
* type: "cloudwatch",
|
|
57
|
+
* name: "cw-assumeARN-example",
|
|
58
|
+
* jsonDataEncoded: JSON.stringify({
|
|
59
|
+
* defaultRegion: "us-east-1",
|
|
60
|
+
* authType: "grafana_assume_role",
|
|
61
|
+
* assumeRoleArn: "arn:aws:iam::123456789012:root",
|
|
62
|
+
* }),
|
|
63
|
+
* });
|
|
55
64
|
* const prometheus = new grafana.oss.DataSource("prometheus", {
|
|
56
65
|
* type: "prometheus",
|
|
57
66
|
* name: "mimir",
|
package/dataSource.js
CHANGED
|
@@ -58,6 +58,15 @@ const utilities = require("./utilities");
|
|
|
58
58
|
* secretKey: "456",
|
|
59
59
|
* }),
|
|
60
60
|
* });
|
|
61
|
+
* const cloudwatchAssumeARN = new grafana.oss.DataSource("cloudwatch_assumeARN", {
|
|
62
|
+
* type: "cloudwatch",
|
|
63
|
+
* name: "cw-assumeARN-example",
|
|
64
|
+
* jsonDataEncoded: JSON.stringify({
|
|
65
|
+
* defaultRegion: "us-east-1",
|
|
66
|
+
* authType: "grafana_assume_role",
|
|
67
|
+
* assumeRoleArn: "arn:aws:iam::123456789012:root",
|
|
68
|
+
* }),
|
|
69
|
+
* });
|
|
61
70
|
* const prometheus = new grafana.oss.DataSource("prometheus", {
|
|
62
71
|
* type: "prometheus",
|
|
63
72
|
* name: "mimir",
|
package/dataSource.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataSource.js","sourceRoot":"","sources":["../dataSource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
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AC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9IL,gCA+IC;AAhIG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -86,7 +86,7 @@ export declare class DataSourcePermissionItem extends pulumi.CustomResource {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly datasourceUid: pulumi.Output<string>;
|
|
88
88
|
/**
|
|
89
|
-
* The Organization ID. If not set, the
|
|
89
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
90
90
|
*/
|
|
91
91
|
readonly orgId: pulumi.Output<string>;
|
|
92
92
|
/**
|
|
@@ -124,7 +124,7 @@ export interface DataSourcePermissionItemState {
|
|
|
124
124
|
*/
|
|
125
125
|
datasourceUid?: pulumi.Input<string>;
|
|
126
126
|
/**
|
|
127
|
-
* The Organization ID. If not set, the
|
|
127
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
128
128
|
*/
|
|
129
129
|
orgId?: pulumi.Input<string>;
|
|
130
130
|
/**
|
|
@@ -153,7 +153,7 @@ export interface DataSourcePermissionItemArgs {
|
|
|
153
153
|
*/
|
|
154
154
|
datasourceUid: pulumi.Input<string>;
|
|
155
155
|
/**
|
|
156
|
-
* The Organization ID. If not set, the
|
|
156
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
157
157
|
*/
|
|
158
158
|
orgId?: pulumi.Input<string>;
|
|
159
159
|
/**
|
|
@@ -84,7 +84,7 @@ export declare class DataSourcePermissionItem extends pulumi.CustomResource {
|
|
|
84
84
|
*/
|
|
85
85
|
readonly datasourceUid: pulumi.Output<string>;
|
|
86
86
|
/**
|
|
87
|
-
* The Organization ID. If not set, the
|
|
87
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
88
88
|
*/
|
|
89
89
|
readonly orgId: pulumi.Output<string>;
|
|
90
90
|
/**
|
|
@@ -121,7 +121,7 @@ export interface DataSourcePermissionItemState {
|
|
|
121
121
|
*/
|
|
122
122
|
datasourceUid?: pulumi.Input<string>;
|
|
123
123
|
/**
|
|
124
|
-
* The Organization ID. If not set, the
|
|
124
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
125
125
|
*/
|
|
126
126
|
orgId?: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
@@ -150,7 +150,7 @@ export interface DataSourcePermissionItemArgs {
|
|
|
150
150
|
*/
|
|
151
151
|
datasourceUid: pulumi.Input<string>;
|
|
152
152
|
/**
|
|
153
|
-
* The Organization ID. If not set, the
|
|
153
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
154
154
|
*/
|
|
155
155
|
orgId?: pulumi.Input<string>;
|
|
156
156
|
/**
|
|
@@ -69,7 +69,7 @@ export declare class RoleAssignmentItem extends pulumi.CustomResource {
|
|
|
69
69
|
*/
|
|
70
70
|
static isInstance(obj: any): obj is RoleAssignmentItem;
|
|
71
71
|
/**
|
|
72
|
-
* The Organization ID. If not set, the
|
|
72
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
73
73
|
*/
|
|
74
74
|
readonly orgId: pulumi.Output<string>;
|
|
75
75
|
/**
|
|
@@ -102,7 +102,7 @@ export declare class RoleAssignmentItem extends pulumi.CustomResource {
|
|
|
102
102
|
*/
|
|
103
103
|
export interface RoleAssignmentItemState {
|
|
104
104
|
/**
|
|
105
|
-
* The Organization ID. If not set, the
|
|
105
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
106
106
|
*/
|
|
107
107
|
orgId?: pulumi.Input<string>;
|
|
108
108
|
/**
|
|
@@ -127,7 +127,7 @@ export interface RoleAssignmentItemState {
|
|
|
127
127
|
*/
|
|
128
128
|
export interface RoleAssignmentItemArgs {
|
|
129
129
|
/**
|
|
130
|
-
* The Organization ID. If not set, the
|
|
130
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
131
131
|
*/
|
|
132
132
|
orgId?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
@@ -67,7 +67,7 @@ export declare class FolderPermissionItem extends pulumi.CustomResource {
|
|
|
67
67
|
*/
|
|
68
68
|
readonly folderUid: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
70
|
-
* The Organization ID. If not set, the
|
|
70
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
71
71
|
*/
|
|
72
72
|
readonly orgId: pulumi.Output<string>;
|
|
73
73
|
/**
|
|
@@ -105,7 +105,7 @@ export interface FolderPermissionItemState {
|
|
|
105
105
|
*/
|
|
106
106
|
folderUid?: pulumi.Input<string>;
|
|
107
107
|
/**
|
|
108
|
-
* The Organization ID. If not set, the
|
|
108
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
109
109
|
*/
|
|
110
110
|
orgId?: pulumi.Input<string>;
|
|
111
111
|
/**
|
|
@@ -134,7 +134,7 @@ export interface FolderPermissionItemArgs {
|
|
|
134
134
|
*/
|
|
135
135
|
folderUid: pulumi.Input<string>;
|
|
136
136
|
/**
|
|
137
|
-
* The Organization ID. If not set, the
|
|
137
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
138
138
|
*/
|
|
139
139
|
orgId?: pulumi.Input<string>;
|
|
140
140
|
/**
|
|
@@ -0,0 +1,79 @@
|
|
|
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 dsTest = grafana.getConnectionsMetricsEndpointScrapeJob({
|
|
10
|
+
* stackId: "1",
|
|
11
|
+
* name: "my-scrape-job",
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getConnectionsMetricsEndpointScrapeJob(args: GetConnectionsMetricsEndpointScrapeJobArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionsMetricsEndpointScrapeJobResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getConnectionsMetricsEndpointScrapeJob.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetConnectionsMetricsEndpointScrapeJobArgs {
|
|
20
|
+
name: string;
|
|
21
|
+
stackId: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A collection of values returned by getConnectionsMetricsEndpointScrapeJob.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetConnectionsMetricsEndpointScrapeJobResult {
|
|
27
|
+
/**
|
|
28
|
+
* Password for basic authentication.
|
|
29
|
+
*/
|
|
30
|
+
readonly authenticationBasicPassword: string;
|
|
31
|
+
/**
|
|
32
|
+
* Username for basic authentication.
|
|
33
|
+
*/
|
|
34
|
+
readonly authenticationBasicUsername: string;
|
|
35
|
+
/**
|
|
36
|
+
* Token for authentication bearer.
|
|
37
|
+
*/
|
|
38
|
+
readonly authenticationBearerToken: string;
|
|
39
|
+
/**
|
|
40
|
+
* Method to pass authentication credentials: basic or bearer.
|
|
41
|
+
*/
|
|
42
|
+
readonly authenticationMethod: string;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the metrics endpoint scrape job is enabled or not.
|
|
45
|
+
*/
|
|
46
|
+
readonly enabled: boolean;
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly name: string;
|
|
49
|
+
/**
|
|
50
|
+
* Frequency for scraping the metrics endpoint: 30, 60, or 120 seconds.
|
|
51
|
+
*/
|
|
52
|
+
readonly scrapeIntervalSeconds: number;
|
|
53
|
+
readonly stackId: string;
|
|
54
|
+
/**
|
|
55
|
+
* The url to scrape metrics.
|
|
56
|
+
*/
|
|
57
|
+
readonly url: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* ## Example Usage
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as grafana from "@pulumi/grafana";
|
|
65
|
+
*
|
|
66
|
+
* const dsTest = grafana.getConnectionsMetricsEndpointScrapeJob({
|
|
67
|
+
* stackId: "1",
|
|
68
|
+
* name: "my-scrape-job",
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export declare function getConnectionsMetricsEndpointScrapeJobOutput(args: GetConnectionsMetricsEndpointScrapeJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionsMetricsEndpointScrapeJobResult>;
|
|
73
|
+
/**
|
|
74
|
+
* A collection of arguments for invoking getConnectionsMetricsEndpointScrapeJob.
|
|
75
|
+
*/
|
|
76
|
+
export interface GetConnectionsMetricsEndpointScrapeJobOutputArgs {
|
|
77
|
+
name: pulumi.Input<string>;
|
|
78
|
+
stackId: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.getConnectionsMetricsEndpointScrapeJobOutput = exports.getConnectionsMetricsEndpointScrapeJob = 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 dsTest = grafana.getConnectionsMetricsEndpointScrapeJob({
|
|
16
|
+
* stackId: "1",
|
|
17
|
+
* name: "my-scrape-job",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getConnectionsMetricsEndpointScrapeJob(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("grafana:index/getConnectionsMetricsEndpointScrapeJob:getConnectionsMetricsEndpointScrapeJob", {
|
|
24
|
+
"name": args.name,
|
|
25
|
+
"stackId": args.stackId,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getConnectionsMetricsEndpointScrapeJob = getConnectionsMetricsEndpointScrapeJob;
|
|
29
|
+
/**
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as grafana from "@pulumi/grafana";
|
|
35
|
+
*
|
|
36
|
+
* const dsTest = grafana.getConnectionsMetricsEndpointScrapeJob({
|
|
37
|
+
* stackId: "1",
|
|
38
|
+
* name: "my-scrape-job",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function getConnectionsMetricsEndpointScrapeJobOutput(args, opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("grafana:index/getConnectionsMetricsEndpointScrapeJob:getConnectionsMetricsEndpointScrapeJob", {
|
|
45
|
+
"name": args.name,
|
|
46
|
+
"stackId": args.stackId,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getConnectionsMetricsEndpointScrapeJobOutput = getConnectionsMetricsEndpointScrapeJobOutput;
|
|
50
|
+
//# sourceMappingURL=getConnectionsMetricsEndpointScrapeJob.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectionsMetricsEndpointScrapeJob.js","sourceRoot":"","sources":["../getConnectionsMetricsEndpointScrapeJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAA2B;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6FAA6F,EAAE;QACxH,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wFAMC;AA8CD;;;;;;;;;;;;GAYG;AACH,SAAgB,4CAA4C,CAAC,IAAsD,EAAE,IAA2B;IAC5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6FAA6F,EAAE;QAC9H,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oGAMC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as grafana from "@pulumi/grafana";
|
|
9
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
10
|
+
*
|
|
11
|
+
* const test = new grafana.oss.LibraryPanel("test", {
|
|
12
|
+
* name: "panelname",
|
|
13
|
+
* modelJson: JSON.stringify({
|
|
14
|
+
* title: "test name",
|
|
15
|
+
* type: "text",
|
|
16
|
+
* version: 0,
|
|
17
|
+
* description: "test description",
|
|
18
|
+
* }),
|
|
19
|
+
* });
|
|
20
|
+
* const testFolder = new grafana.oss.Folder("test", {
|
|
21
|
+
* title: "Panel Folder",
|
|
22
|
+
* uid: "panelname-folder",
|
|
23
|
+
* });
|
|
24
|
+
* const folder = new grafana.oss.LibraryPanel("folder", {
|
|
25
|
+
* name: "panelname In Folder",
|
|
26
|
+
* folderUid: testFolder.uid,
|
|
27
|
+
* modelJson: JSON.stringify({
|
|
28
|
+
* gridPos: {
|
|
29
|
+
* x: 0,
|
|
30
|
+
* y: 0,
|
|
31
|
+
* h: 10,
|
|
32
|
+
* w: 10,
|
|
33
|
+
* },
|
|
34
|
+
* title: "panel",
|
|
35
|
+
* type: "text",
|
|
36
|
+
* version: 0,
|
|
37
|
+
* }),
|
|
38
|
+
* });
|
|
39
|
+
* const all = grafana.getLibraryPanels({});
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare function getLibraryPanels(args?: GetLibraryPanelsArgs, opts?: pulumi.InvokeOptions): Promise<GetLibraryPanelsResult>;
|
|
43
|
+
/**
|
|
44
|
+
* A collection of arguments for invoking getLibraryPanels.
|
|
45
|
+
*/
|
|
46
|
+
export interface GetLibraryPanelsArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
49
|
+
*/
|
|
50
|
+
orgId?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* A collection of values returned by getLibraryPanels.
|
|
54
|
+
*/
|
|
55
|
+
export interface GetLibraryPanelsResult {
|
|
56
|
+
/**
|
|
57
|
+
* The ID of this resource.
|
|
58
|
+
*/
|
|
59
|
+
readonly id: string;
|
|
60
|
+
/**
|
|
61
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
62
|
+
*/
|
|
63
|
+
readonly orgId: string;
|
|
64
|
+
readonly panels: outputs.GetLibraryPanelsPanel[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* ## Example Usage
|
|
68
|
+
*
|
|
69
|
+
* ```typescript
|
|
70
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
71
|
+
* import * as grafana from "@pulumi/grafana";
|
|
72
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
73
|
+
*
|
|
74
|
+
* const test = new grafana.oss.LibraryPanel("test", {
|
|
75
|
+
* name: "panelname",
|
|
76
|
+
* modelJson: JSON.stringify({
|
|
77
|
+
* title: "test name",
|
|
78
|
+
* type: "text",
|
|
79
|
+
* version: 0,
|
|
80
|
+
* description: "test description",
|
|
81
|
+
* }),
|
|
82
|
+
* });
|
|
83
|
+
* const testFolder = new grafana.oss.Folder("test", {
|
|
84
|
+
* title: "Panel Folder",
|
|
85
|
+
* uid: "panelname-folder",
|
|
86
|
+
* });
|
|
87
|
+
* const folder = new grafana.oss.LibraryPanel("folder", {
|
|
88
|
+
* name: "panelname In Folder",
|
|
89
|
+
* folderUid: testFolder.uid,
|
|
90
|
+
* modelJson: JSON.stringify({
|
|
91
|
+
* gridPos: {
|
|
92
|
+
* x: 0,
|
|
93
|
+
* y: 0,
|
|
94
|
+
* h: 10,
|
|
95
|
+
* w: 10,
|
|
96
|
+
* },
|
|
97
|
+
* title: "panel",
|
|
98
|
+
* type: "text",
|
|
99
|
+
* version: 0,
|
|
100
|
+
* }),
|
|
101
|
+
* });
|
|
102
|
+
* const all = grafana.getLibraryPanels({});
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare function getLibraryPanelsOutput(args?: GetLibraryPanelsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLibraryPanelsResult>;
|
|
106
|
+
/**
|
|
107
|
+
* A collection of arguments for invoking getLibraryPanels.
|
|
108
|
+
*/
|
|
109
|
+
export interface GetLibraryPanelsOutputArgs {
|
|
110
|
+
/**
|
|
111
|
+
* The Organization ID. If not set, the default organization is used for basic authentication, or the one that owns your service account for token authentication.
|
|
112
|
+
*/
|
|
113
|
+
orgId?: pulumi.Input<string>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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.getLibraryPanelsOutput = exports.getLibraryPanels = 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
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
15
|
+
*
|
|
16
|
+
* const test = new grafana.oss.LibraryPanel("test", {
|
|
17
|
+
* name: "panelname",
|
|
18
|
+
* modelJson: JSON.stringify({
|
|
19
|
+
* title: "test name",
|
|
20
|
+
* type: "text",
|
|
21
|
+
* version: 0,
|
|
22
|
+
* description: "test description",
|
|
23
|
+
* }),
|
|
24
|
+
* });
|
|
25
|
+
* const testFolder = new grafana.oss.Folder("test", {
|
|
26
|
+
* title: "Panel Folder",
|
|
27
|
+
* uid: "panelname-folder",
|
|
28
|
+
* });
|
|
29
|
+
* const folder = new grafana.oss.LibraryPanel("folder", {
|
|
30
|
+
* name: "panelname In Folder",
|
|
31
|
+
* folderUid: testFolder.uid,
|
|
32
|
+
* modelJson: JSON.stringify({
|
|
33
|
+
* gridPos: {
|
|
34
|
+
* x: 0,
|
|
35
|
+
* y: 0,
|
|
36
|
+
* h: 10,
|
|
37
|
+
* w: 10,
|
|
38
|
+
* },
|
|
39
|
+
* title: "panel",
|
|
40
|
+
* type: "text",
|
|
41
|
+
* version: 0,
|
|
42
|
+
* }),
|
|
43
|
+
* });
|
|
44
|
+
* const all = grafana.getLibraryPanels({});
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getLibraryPanels(args, opts) {
|
|
48
|
+
args = args || {};
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invoke("grafana:index/getLibraryPanels:getLibraryPanels", {
|
|
51
|
+
"orgId": args.orgId,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getLibraryPanels = getLibraryPanels;
|
|
55
|
+
/**
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as grafana from "@pulumi/grafana";
|
|
61
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
62
|
+
*
|
|
63
|
+
* const test = new grafana.oss.LibraryPanel("test", {
|
|
64
|
+
* name: "panelname",
|
|
65
|
+
* modelJson: JSON.stringify({
|
|
66
|
+
* title: "test name",
|
|
67
|
+
* type: "text",
|
|
68
|
+
* version: 0,
|
|
69
|
+
* description: "test description",
|
|
70
|
+
* }),
|
|
71
|
+
* });
|
|
72
|
+
* const testFolder = new grafana.oss.Folder("test", {
|
|
73
|
+
* title: "Panel Folder",
|
|
74
|
+
* uid: "panelname-folder",
|
|
75
|
+
* });
|
|
76
|
+
* const folder = new grafana.oss.LibraryPanel("folder", {
|
|
77
|
+
* name: "panelname In Folder",
|
|
78
|
+
* folderUid: testFolder.uid,
|
|
79
|
+
* modelJson: JSON.stringify({
|
|
80
|
+
* gridPos: {
|
|
81
|
+
* x: 0,
|
|
82
|
+
* y: 0,
|
|
83
|
+
* h: 10,
|
|
84
|
+
* w: 10,
|
|
85
|
+
* },
|
|
86
|
+
* title: "panel",
|
|
87
|
+
* type: "text",
|
|
88
|
+
* version: 0,
|
|
89
|
+
* }),
|
|
90
|
+
* });
|
|
91
|
+
* const all = grafana.getLibraryPanels({});
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
function getLibraryPanelsOutput(args, opts) {
|
|
95
|
+
args = args || {};
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
97
|
+
return pulumi.runtime.invokeOutput("grafana:index/getLibraryPanels:getLibraryPanels", {
|
|
98
|
+
"orgId": args.orgId,
|
|
99
|
+
}, opts);
|
|
100
|
+
}
|
|
101
|
+
exports.getLibraryPanelsOutput = getLibraryPanelsOutput;
|
|
102
|
+
//# sourceMappingURL=getLibraryPanels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLibraryPanels.js","sourceRoot":"","sources":["../getLibraryPanels.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC"}
|
package/getOncallUser.d.ts
CHANGED
package/getTeam.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export interface GetTeamResult {
|
|
|
50
50
|
readonly readTeamSync?: boolean;
|
|
51
51
|
readonly teamId: number;
|
|
52
52
|
readonly teamSyncs: outputs.GetTeamTeamSync[];
|
|
53
|
+
readonly teamUid: string;
|
|
53
54
|
}
|
|
54
55
|
/**
|
|
55
56
|
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/team-management/)
|
package/getTeam.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,4GAA4G;AAC5G,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;IACnI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;
|
|
1
|
+
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,4GAA4G;AAC5G,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;IACnI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,4GAA4G;AAC5G,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;IACnI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+BAA+B,EAAE;QAChE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC"}
|
package/getUser.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* This data source uses Grafana's admin APIs for reading users which
|
|
7
7
|
* does not currently work with API Tokens. You must use basic auth.
|
|
8
|
+
* This data source is also not compatible with Grafana Cloud, as it does not allow basic auth.
|
|
8
9
|
*
|
|
9
10
|
* ## Example Usage
|
|
10
11
|
*
|
|
@@ -85,6 +86,7 @@ export interface GetUserResult {
|
|
|
85
86
|
*
|
|
86
87
|
* This data source uses Grafana's admin APIs for reading users which
|
|
87
88
|
* does not currently work with API Tokens. You must use basic auth.
|
|
89
|
+
* This data source is also not compatible with Grafana Cloud, as it does not allow basic auth.
|
|
88
90
|
*
|
|
89
91
|
* ## Example Usage
|
|
90
92
|
*
|
package/getUser.js
CHANGED
|
@@ -11,6 +11,7 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* This data source uses Grafana's admin APIs for reading users which
|
|
13
13
|
* does not currently work with API Tokens. You must use basic auth.
|
|
14
|
+
* This data source is also not compatible with Grafana Cloud, as it does not allow basic auth.
|
|
14
15
|
*
|
|
15
16
|
* ## Example Usage
|
|
16
17
|
*
|
|
@@ -55,6 +56,7 @@ exports.getUser = getUser;
|
|
|
55
56
|
*
|
|
56
57
|
* This data source uses Grafana's admin APIs for reading users which
|
|
57
58
|
* does not currently work with API Tokens. You must use basic auth.
|
|
59
|
+
* This data source is also not compatible with Grafana Cloud, as it does not allow basic auth.
|
|
58
60
|
*
|
|
59
61
|
* ## Example Usage
|
|
60
62
|
*
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;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