@pulumiverse/grafana 0.4.2-alpha.1713165727 → 0.4.2
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/annotation.d.ts +3 -18
- package/annotation.js +0 -15
- package/annotation.js.map +1 -1
- package/apiKey.d.ts +0 -18
- package/apiKey.js +0 -18
- package/apiKey.js.map +1 -1
- package/cloudAccessPolicy.d.ts +15 -57
- package/cloudAccessPolicy.js +0 -51
- package/cloudAccessPolicy.js.map +1 -1
- package/cloudAccessPolicyToken.d.ts +9 -54
- package/cloudAccessPolicyToken.js +0 -51
- package/cloudAccessPolicyToken.js.map +1 -1
- package/cloudApiKey.d.ts +6 -35
- package/cloudApiKey.js +0 -32
- package/cloudApiKey.js.map +1 -1
- package/cloudPluginInstallation.d.ts +0 -32
- package/cloudPluginInstallation.js +0 -32
- package/cloudPluginInstallation.js.map +1 -1
- package/cloudStack.d.ts +38 -53
- package/cloudStack.js +0 -34
- package/cloudStack.js.map +1 -1
- package/cloudStackServiceAccount.d.ts +3 -30
- package/cloudStackServiceAccount.js +0 -27
- package/cloudStackServiceAccount.js.map +1 -1
- package/cloudStackServiceAccountToken.d.ts +0 -28
- package/cloudStackServiceAccountToken.js +0 -28
- package/cloudStackServiceAccountToken.js.map +1 -1
- package/contactPoint.d.ts +9 -40
- package/contactPoint.js +0 -34
- package/contactPoint.js.map +1 -1
- package/dashboard.d.ts +16 -44
- package/dashboard.js +0 -37
- package/dashboard.js.map +1 -1
- package/dashboardPermission.d.ts +3 -51
- package/dashboardPermission.js +0 -48
- package/dashboardPermission.js.map +1 -1
- package/dashboardPublic.d.ts +12 -73
- package/dashboardPublic.js +0 -67
- package/dashboardPublic.js.map +1 -1
- package/dataSource.d.ts +36 -110
- package/dataSource.js +0 -86
- package/dataSource.js.map +1 -1
- package/dataSourcePermission.d.ts +0 -53
- package/dataSourcePermission.js +0 -53
- package/dataSourcePermission.js.map +1 -1
- package/folder.d.ts +9 -43
- package/folder.js +0 -37
- package/folder.js.map +1 -1
- package/folderPermission.d.ts +0 -49
- package/folderPermission.js +0 -49
- package/folderPermission.js.map +1 -1
- package/getCloudIps.d.ts +0 -43
- package/getCloudIps.js +0 -28
- package/getCloudIps.js.map +1 -1
- package/getCloudOrganization.d.ts +0 -37
- package/getCloudOrganization.js +0 -28
- package/getCloudOrganization.js.map +1 -1
- package/getCloudStack.d.ts +0 -84
- package/getCloudStack.js +0 -6
- package/getCloudStack.js.map +1 -1
- package/getDashboard.d.ts +0 -112
- package/getDashboard.js +0 -64
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +0 -50
- package/getDashboards.js +0 -14
- package/getDashboards.js.map +1 -1
- package/getDataSource.d.ts +0 -121
- package/getDataSource.js +0 -76
- package/getDataSource.js.map +1 -1
- package/getFolder.d.ts +0 -68
- package/getFolder.js +0 -44
- package/getFolder.js.map +1 -1
- package/getFolders.d.ts +0 -60
- package/getFolders.js +0 -48
- package/getFolders.js.map +1 -1
- package/getLibraryPanel.d.ts +0 -66
- package/getLibraryPanel.js +0 -6
- package/getLibraryPanel.js.map +1 -1
- package/getOnCallSlackChannel.d.ts +0 -44
- package/getOnCallSlackChannel.js +0 -32
- package/getOnCallSlackChannel.js.map +1 -1
- package/getOncallAction.d.ts +0 -21
- package/getOncallAction.js +0 -12
- package/getOncallAction.js.map +1 -1
- package/getOncallEscalationChain.d.ts +0 -41
- package/getOncallEscalationChain.js +0 -32
- package/getOncallEscalationChain.js.map +1 -1
- package/getOncallOutgoingWebhook.d.ts +0 -41
- package/getOncallOutgoingWebhook.js +0 -32
- package/getOncallOutgoingWebhook.js.map +1 -1
- package/getOncallSchedule.d.ts +0 -46
- package/getOncallSchedule.js +0 -34
- package/getOncallSchedule.js.map +1 -1
- package/getOncallTeam.d.ts +0 -37
- package/getOncallTeam.js +0 -28
- package/getOncallTeam.js.map +1 -1
- package/getOncallUser.d.ts +0 -47
- package/getOncallUser.js +0 -32
- package/getOncallUser.js.map +1 -1
- package/getOncallUserGroup.d.ts +0 -32
- package/getOncallUserGroup.js +0 -32
- package/getOncallUserGroup.js.map +1 -1
- package/getOrganization.d.ts +0 -70
- package/getOrganization.js +0 -52
- package/getOrganization.js.map +1 -1
- package/getOrganizationPreferences.d.ts +0 -53
- package/getOrganizationPreferences.js +0 -30
- package/getOrganizationPreferences.js.map +1 -1
- package/getRole.d.ts +0 -116
- package/getRole.js +0 -80
- package/getRole.js.map +1 -1
- package/getServiceAccount.d.ts +0 -32
- package/getServiceAccount.js +0 -8
- package/getServiceAccount.js.map +1 -1
- package/getSlos.d.ts +0 -17
- package/getSlos.js +0 -14
- package/getSlos.js.map +1 -1
- package/getSyntheticMonitoringProbe.d.ts +0 -62
- package/getSyntheticMonitoringProbe.js +0 -32
- package/getSyntheticMonitoringProbe.js.map +1 -1
- package/getSyntheticMonitoringProbes.d.ts +0 -40
- package/getSyntheticMonitoringProbes.js +0 -28
- package/getSyntheticMonitoringProbes.js.map +1 -1
- package/getTeam.d.ts +0 -50
- package/getTeam.js +0 -50
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +0 -99
- package/getUser.js +0 -66
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +0 -51
- package/getUsers.js +0 -48
- package/getUsers.js.map +1 -1
- package/libraryPanel.d.ts +9 -36
- package/libraryPanel.js +0 -33
- package/libraryPanel.js.map +1 -1
- package/machineLearningHoliday.d.ts +3 -8
- package/machineLearningHoliday.js +0 -5
- package/machineLearningHoliday.js.map +1 -1
- package/machineLearningJob.d.ts +12 -12
- package/machineLearningJob.js +0 -3
- package/machineLearningJob.js.map +1 -1
- package/machineLearningOutlierDetector.d.ts +12 -16
- package/machineLearningOutlierDetector.js +0 -7
- package/machineLearningOutlierDetector.js.map +1 -1
- package/messageTemplate.d.ts +0 -28
- package/messageTemplate.js +0 -28
- package/messageTemplate.js.map +1 -1
- package/muteTiming.d.ts +0 -47
- package/muteTiming.js +0 -47
- package/muteTiming.js.map +1 -1
- package/notificationPolicy.d.ts +9 -96
- package/notificationPolicy.js +0 -90
- package/notificationPolicy.js.map +1 -1
- package/oncallEscalation.d.ts +33 -76
- package/oncallEscalation.js +0 -49
- package/oncallEscalation.js.map +1 -1
- package/oncallEscalationChain.d.ts +6 -25
- package/oncallEscalationChain.js +0 -22
- package/oncallEscalationChain.js.map +1 -1
- package/oncallIntegration.d.ts +15 -16
- package/oncallIntegration.js +0 -10
- package/oncallIntegration.js.map +1 -1
- package/oncallOnCallShift.d.ts +27 -30
- package/oncallOnCallShift.js +0 -9
- package/oncallOnCallShift.js.map +1 -1
- package/oncallOutgoingWebhook.d.ts +21 -34
- package/oncallOutgoingWebhook.js +0 -22
- package/oncallOutgoingWebhook.js.map +1 -1
- package/oncallRoute.d.ts +3 -46
- package/oncallRoute.js +0 -43
- package/oncallRoute.js.map +1 -1
- package/oncallSchedule.d.ts +9 -49
- package/oncallSchedule.js +0 -43
- package/oncallSchedule.js.map +1 -1
- package/organization.d.ts +39 -94
- package/organization.js +0 -37
- package/organization.js.map +1 -1
- package/organizationPreference.d.ts +9 -25
- package/organizationPreference.js +0 -19
- package/organizationPreference.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/playlist.d.ts +0 -31
- package/playlist.js +0 -31
- package/playlist.js.map +1 -1
- package/report.d.ts +15 -46
- package/report.js +0 -31
- package/report.js.map +1 -1
- package/role.d.ts +15 -54
- package/role.js +0 -42
- package/role.js.map +1 -1
- package/roleAssignment.d.ts +0 -38
- package/roleAssignment.js +0 -38
- package/roleAssignment.js.map +1 -1
- package/ruleGroup.d.ts +9 -113
- package/ruleGroup.js +0 -107
- package/ruleGroup.js.map +1 -1
- package/serviceAccount.d.ts +3 -23
- package/serviceAccount.js +0 -20
- package/serviceAccount.js.map +1 -1
- package/serviceAccountPermission.d.ts +0 -40
- package/serviceAccountPermission.js +0 -40
- package/serviceAccountPermission.js.map +1 -1
- package/serviceAccountToken.d.ts +9 -27
- package/serviceAccountToken.js +0 -24
- package/serviceAccountToken.js.map +1 -1
- package/slo.d.ts +27 -33
- package/slo.js +0 -9
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +0 -25
- package/ssoSettings.js +0 -25
- package/ssoSettings.js.map +1 -1
- package/syntheticMonitoringCheck.d.ts +36 -431
- package/syntheticMonitoringCheck.js +0 -413
- package/syntheticMonitoringCheck.js.map +1 -1
- package/syntheticMonitoringInstallation.d.ts +24 -75
- package/syntheticMonitoringInstallation.js +0 -69
- package/syntheticMonitoringInstallation.js.map +1 -1
- package/syntheticMonitoringProbe.d.ts +6 -39
- package/syntheticMonitoringProbe.js +0 -36
- package/syntheticMonitoringProbe.js.map +1 -1
- package/team.d.ts +0 -33
- package/team.js +0 -33
- package/team.js.map +1 -1
- package/teamExternalGroup.d.ts +0 -27
- package/teamExternalGroup.js +0 -27
- package/teamExternalGroup.js.map +1 -1
- package/types/input.d.ts +125 -131
- package/types/output.d.ts +125 -131
- package/user.d.ts +3 -33
- package/user.js +0 -30
- package/user.js.map +1 -1
package/annotation.d.ts
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/)
|
|
4
|
-
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/annotations/)
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
12
|
-
*
|
|
13
|
-
* const test = new grafana.Annotation("test", {text: "basic text"});
|
|
14
|
-
* ```
|
|
15
|
-
* <!--End PulumiCodeChooser -->
|
|
16
|
-
*/
|
|
17
2
|
export declare class Annotation extends pulumi.CustomResource {
|
|
18
3
|
/**
|
|
19
4
|
* Get an existing Annotation resource's state with the given name, ID, and optional extra
|
|
@@ -31,7 +16,7 @@ export declare class Annotation extends pulumi.CustomResource {
|
|
|
31
16
|
*/
|
|
32
17
|
static isInstance(obj: any): obj is Annotation;
|
|
33
18
|
/**
|
|
34
|
-
* The ID of the dashboard on which to create the annotation. Deprecated: Use
|
|
19
|
+
* The ID of the dashboard on which to create the annotation. Deprecated: Use dashboard_uid instead.
|
|
35
20
|
*
|
|
36
21
|
* @deprecated Use dashboardUid instead.
|
|
37
22
|
*/
|
|
@@ -78,7 +63,7 @@ export declare class Annotation extends pulumi.CustomResource {
|
|
|
78
63
|
*/
|
|
79
64
|
export interface AnnotationState {
|
|
80
65
|
/**
|
|
81
|
-
* The ID of the dashboard on which to create the annotation. Deprecated: Use
|
|
66
|
+
* The ID of the dashboard on which to create the annotation. Deprecated: Use dashboard_uid instead.
|
|
82
67
|
*
|
|
83
68
|
* @deprecated Use dashboardUid instead.
|
|
84
69
|
*/
|
|
@@ -117,7 +102,7 @@ export interface AnnotationState {
|
|
|
117
102
|
*/
|
|
118
103
|
export interface AnnotationArgs {
|
|
119
104
|
/**
|
|
120
|
-
* The ID of the dashboard on which to create the annotation. Deprecated: Use
|
|
105
|
+
* The ID of the dashboard on which to create the annotation. Deprecated: Use dashboard_uid instead.
|
|
121
106
|
*
|
|
122
107
|
* @deprecated Use dashboardUid instead.
|
|
123
108
|
*/
|
package/annotation.js
CHANGED
|
@@ -5,21 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Annotation = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/)
|
|
10
|
-
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/annotations/)
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
18
|
-
*
|
|
19
|
-
* const test = new grafana.Annotation("test", {text: "basic text"});
|
|
20
|
-
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
|
-
*/
|
|
23
8
|
class Annotation extends pulumi.CustomResource {
|
|
24
9
|
/**
|
|
25
10
|
* Get an existing Annotation resource's state with the given name, ID, and optional extra
|
package/annotation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotation.js","sourceRoot":"","sources":["../annotation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"annotation.js","sourceRoot":"","sources":["../annotation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA6CD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EA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->
|
|
6
|
-
* ```typescript
|
|
7
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
9
|
-
*
|
|
10
|
-
* const foo = new grafana.ApiKey("foo", {role: "Viewer"});
|
|
11
|
-
* const bar = new grafana.ApiKey("bar", {
|
|
12
|
-
* role: "Admin",
|
|
13
|
-
* secondsToLive: 30,
|
|
14
|
-
* });
|
|
15
|
-
* export const apiKeyFooKeyOnly = foo.key;
|
|
16
|
-
* export const apiKeyBar = bar;
|
|
17
|
-
* ```
|
|
18
|
-
* <!--End PulumiCodeChooser -->
|
|
19
|
-
*/
|
|
20
2
|
export declare class ApiKey extends pulumi.CustomResource {
|
|
21
3
|
/**
|
|
22
4
|
* Get an existing ApiKey resource's state with the given name, ID, and optional extra
|
package/apiKey.js
CHANGED
|
@@ -5,24 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ApiKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
15
|
-
*
|
|
16
|
-
* const foo = new grafana.ApiKey("foo", {role: "Viewer"});
|
|
17
|
-
* const bar = new grafana.ApiKey("bar", {
|
|
18
|
-
* role: "Admin",
|
|
19
|
-
* secondsToLive: 30,
|
|
20
|
-
* });
|
|
21
|
-
* export const apiKeyFooKeyOnly = foo.key;
|
|
22
|
-
* export const apiKeyBar = bar;
|
|
23
|
-
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
|
-
*/
|
|
26
8
|
class ApiKey extends pulumi.CustomResource {
|
|
27
9
|
/**
|
|
28
10
|
* Get an existing ApiKey resource's state with the given name, ID, and optional extra
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAoBD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,c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AAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAzEL,wBA0EC;AA5DG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/cloudAccessPolicy.d.ts
CHANGED
|
@@ -1,57 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
|
|
6
|
-
* * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)
|
|
7
|
-
*
|
|
8
|
-
* Required access policy scopes:
|
|
9
|
-
*
|
|
10
|
-
* * accesspolicies:read
|
|
11
|
-
* * accesspolicies:write
|
|
12
|
-
* * accesspolicies:delete
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as grafana from "@pulumi/grafana";
|
|
20
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
21
|
-
*
|
|
22
|
-
* const current = grafana.getCloudOrganization({
|
|
23
|
-
* slug: "<your org slug>",
|
|
24
|
-
* });
|
|
25
|
-
* const testCloudAccessPolicy = new grafana.CloudAccessPolicy("testCloudAccessPolicy", {
|
|
26
|
-
* region: "us",
|
|
27
|
-
* displayName: "My Policy",
|
|
28
|
-
* scopes: [
|
|
29
|
-
* "metrics:read",
|
|
30
|
-
* "logs:read",
|
|
31
|
-
* ],
|
|
32
|
-
* realms: [{
|
|
33
|
-
* type: "org",
|
|
34
|
-
* identifier: current.then(current => current.id),
|
|
35
|
-
* labelPolicies: [{
|
|
36
|
-
* selector: "{namespace=\"default\"}",
|
|
37
|
-
* }],
|
|
38
|
-
* }],
|
|
39
|
-
* });
|
|
40
|
-
* const testCloudAccessPolicyToken = new grafana.CloudAccessPolicyToken("testCloudAccessPolicyToken", {
|
|
41
|
-
* region: "us",
|
|
42
|
-
* accessPolicyId: testCloudAccessPolicy.policyId,
|
|
43
|
-
* displayName: "My Policy Token",
|
|
44
|
-
* expiresAt: "2023-01-01T00:00:00Z",
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
* <!--End PulumiCodeChooser -->
|
|
48
|
-
*
|
|
49
|
-
* ## Import
|
|
50
|
-
*
|
|
51
|
-
* ```sh
|
|
52
|
-
* $ pulumi import grafana:index/cloudAccessPolicy:CloudAccessPolicy name "{{ region }}:{{ policyId }}"
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
4
|
export declare class CloudAccessPolicy extends pulumi.CustomResource {
|
|
56
5
|
/**
|
|
57
6
|
* Get an existing CloudAccessPolicy resource's state with the given name, ID, and optional extra
|
|
@@ -86,11 +35,14 @@ export declare class CloudAccessPolicy extends pulumi.CustomResource {
|
|
|
86
35
|
readonly policyId: pulumi.Output<string>;
|
|
87
36
|
readonly realms: pulumi.Output<outputs.CloudAccessPolicyRealm[]>;
|
|
88
37
|
/**
|
|
89
|
-
* Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of
|
|
38
|
+
* Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of
|
|
39
|
+
* available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
|
|
90
40
|
*/
|
|
91
41
|
readonly region: pulumi.Output<string>;
|
|
92
42
|
/**
|
|
93
|
-
* Scopes of the access policy. See
|
|
43
|
+
* Scopes of the access policy. See
|
|
44
|
+
* https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for
|
|
45
|
+
* possible values.
|
|
94
46
|
*/
|
|
95
47
|
readonly scopes: pulumi.Output<string[]>;
|
|
96
48
|
/**
|
|
@@ -128,11 +80,14 @@ export interface CloudAccessPolicyState {
|
|
|
128
80
|
policyId?: pulumi.Input<string>;
|
|
129
81
|
realms?: pulumi.Input<pulumi.Input<inputs.CloudAccessPolicyRealm>[]>;
|
|
130
82
|
/**
|
|
131
|
-
* Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of
|
|
83
|
+
* Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of
|
|
84
|
+
* available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
|
|
132
85
|
*/
|
|
133
86
|
region?: pulumi.Input<string>;
|
|
134
87
|
/**
|
|
135
|
-
* Scopes of the access policy. See
|
|
88
|
+
* Scopes of the access policy. See
|
|
89
|
+
* https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for
|
|
90
|
+
* possible values.
|
|
136
91
|
*/
|
|
137
92
|
scopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
93
|
/**
|
|
@@ -154,11 +109,14 @@ export interface CloudAccessPolicyArgs {
|
|
|
154
109
|
name?: pulumi.Input<string>;
|
|
155
110
|
realms: pulumi.Input<pulumi.Input<inputs.CloudAccessPolicyRealm>[]>;
|
|
156
111
|
/**
|
|
157
|
-
* Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of
|
|
112
|
+
* Region where the API is deployed. Generally where the stack is deployed. Use the region list API to get the list of
|
|
113
|
+
* available regions: https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
|
|
158
114
|
*/
|
|
159
115
|
region: pulumi.Input<string>;
|
|
160
116
|
/**
|
|
161
|
-
* Scopes of the access policy. See
|
|
117
|
+
* Scopes of the access policy. See
|
|
118
|
+
* https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/#scopes for
|
|
119
|
+
* possible values.
|
|
162
120
|
*/
|
|
163
121
|
scopes: pulumi.Input<pulumi.Input<string>[]>;
|
|
164
122
|
}
|
package/cloudAccessPolicy.js
CHANGED
|
@@ -5,57 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.CloudAccessPolicy = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
|
|
10
|
-
* * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-an-access-policy)
|
|
11
|
-
*
|
|
12
|
-
* Required access policy scopes:
|
|
13
|
-
*
|
|
14
|
-
* * accesspolicies:read
|
|
15
|
-
* * accesspolicies:write
|
|
16
|
-
* * accesspolicies:delete
|
|
17
|
-
*
|
|
18
|
-
* ## Example Usage
|
|
19
|
-
*
|
|
20
|
-
* <!--Start PulumiCodeChooser -->
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as grafana from "@pulumi/grafana";
|
|
24
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
25
|
-
*
|
|
26
|
-
* const current = grafana.getCloudOrganization({
|
|
27
|
-
* slug: "<your org slug>",
|
|
28
|
-
* });
|
|
29
|
-
* const testCloudAccessPolicy = new grafana.CloudAccessPolicy("testCloudAccessPolicy", {
|
|
30
|
-
* region: "us",
|
|
31
|
-
* displayName: "My Policy",
|
|
32
|
-
* scopes: [
|
|
33
|
-
* "metrics:read",
|
|
34
|
-
* "logs:read",
|
|
35
|
-
* ],
|
|
36
|
-
* realms: [{
|
|
37
|
-
* type: "org",
|
|
38
|
-
* identifier: current.then(current => current.id),
|
|
39
|
-
* labelPolicies: [{
|
|
40
|
-
* selector: "{namespace=\"default\"}",
|
|
41
|
-
* }],
|
|
42
|
-
* }],
|
|
43
|
-
* });
|
|
44
|
-
* const testCloudAccessPolicyToken = new grafana.CloudAccessPolicyToken("testCloudAccessPolicyToken", {
|
|
45
|
-
* region: "us",
|
|
46
|
-
* accessPolicyId: testCloudAccessPolicy.policyId,
|
|
47
|
-
* displayName: "My Policy Token",
|
|
48
|
-
* expiresAt: "2023-01-01T00:00:00Z",
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
* <!--End PulumiCodeChooser -->
|
|
52
|
-
*
|
|
53
|
-
* ## Import
|
|
54
|
-
*
|
|
55
|
-
* ```sh
|
|
56
|
-
* $ pulumi import grafana:index/cloudAccessPolicy:CloudAccessPolicy name "{{ region }}:{{ policyId }}"
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
8
|
class CloudAccessPolicy extends pulumi.CustomResource {
|
|
60
9
|
/**
|
|
61
10
|
* Get an existing CloudAccessPolicy resource's state with the given name, ID, and optional extra
|
package/cloudAccessPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudAccessPolicy.js","sourceRoot":"","sources":["../cloudAccessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudAccessPolicy.js","sourceRoot":"","sources":["../cloudAccessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,C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AAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAxGL,8CAyGC;AA3FG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -1,55 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
|
|
4
|
-
* * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)
|
|
5
|
-
*
|
|
6
|
-
* Required access policy scopes:
|
|
7
|
-
*
|
|
8
|
-
* * accesspolicies:read
|
|
9
|
-
* * accesspolicies:write
|
|
10
|
-
* * accesspolicies:delete
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as grafana from "@pulumi/grafana";
|
|
18
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
19
|
-
*
|
|
20
|
-
* const current = grafana.getCloudOrganization({
|
|
21
|
-
* slug: "<your org slug>",
|
|
22
|
-
* });
|
|
23
|
-
* const testCloudAccessPolicy = new grafana.CloudAccessPolicy("testCloudAccessPolicy", {
|
|
24
|
-
* region: "us",
|
|
25
|
-
* displayName: "My Policy",
|
|
26
|
-
* scopes: [
|
|
27
|
-
* "metrics:read",
|
|
28
|
-
* "logs:read",
|
|
29
|
-
* ],
|
|
30
|
-
* realms: [{
|
|
31
|
-
* type: "org",
|
|
32
|
-
* identifier: current.then(current => current.id),
|
|
33
|
-
* labelPolicies: [{
|
|
34
|
-
* selector: "{namespace=\"default\"}",
|
|
35
|
-
* }],
|
|
36
|
-
* }],
|
|
37
|
-
* });
|
|
38
|
-
* const testCloudAccessPolicyToken = new grafana.CloudAccessPolicyToken("testCloudAccessPolicyToken", {
|
|
39
|
-
* region: "us",
|
|
40
|
-
* accessPolicyId: testCloudAccessPolicy.policyId,
|
|
41
|
-
* displayName: "My Policy Token",
|
|
42
|
-
* expiresAt: "2023-01-01T00:00:00Z",
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
* <!--End PulumiCodeChooser -->
|
|
46
|
-
*
|
|
47
|
-
* ## Import
|
|
48
|
-
*
|
|
49
|
-
* ```sh
|
|
50
|
-
* $ pulumi import grafana:index/cloudAccessPolicyToken:CloudAccessPolicyToken name "{{ region }}:{{ tokenId }}"
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
2
|
export declare class CloudAccessPolicyToken extends pulumi.CustomResource {
|
|
54
3
|
/**
|
|
55
4
|
* Get an existing CloudAccessPolicyToken resource's state with the given name, ID, and optional extra
|
|
@@ -87,7 +36,9 @@ export declare class CloudAccessPolicyToken extends pulumi.CustomResource {
|
|
|
87
36
|
*/
|
|
88
37
|
readonly name: pulumi.Output<string>;
|
|
89
38
|
/**
|
|
90
|
-
* Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the
|
|
39
|
+
* Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the
|
|
40
|
+
* list of available regions:
|
|
41
|
+
* https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
|
|
91
42
|
*/
|
|
92
43
|
readonly region: pulumi.Output<string>;
|
|
93
44
|
readonly token: pulumi.Output<string>;
|
|
@@ -129,7 +80,9 @@ export interface CloudAccessPolicyTokenState {
|
|
|
129
80
|
*/
|
|
130
81
|
name?: pulumi.Input<string>;
|
|
131
82
|
/**
|
|
132
|
-
* Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the
|
|
83
|
+
* Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the
|
|
84
|
+
* list of available regions:
|
|
85
|
+
* https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
|
|
133
86
|
*/
|
|
134
87
|
region?: pulumi.Input<string>;
|
|
135
88
|
token?: pulumi.Input<string>;
|
|
@@ -159,7 +112,9 @@ export interface CloudAccessPolicyTokenArgs {
|
|
|
159
112
|
*/
|
|
160
113
|
name?: pulumi.Input<string>;
|
|
161
114
|
/**
|
|
162
|
-
* Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the
|
|
115
|
+
* Region of the access policy. Should be set to the same region as the access policy. Use the region list API to get the
|
|
116
|
+
* list of available regions:
|
|
117
|
+
* https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#list-regions.
|
|
163
118
|
*/
|
|
164
119
|
region: pulumi.Input<string>;
|
|
165
120
|
}
|
|
@@ -5,57 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.CloudAccessPolicyToken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* * [Official documentation](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/access-policies/)
|
|
10
|
-
* * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#create-a-token)
|
|
11
|
-
*
|
|
12
|
-
* Required access policy scopes:
|
|
13
|
-
*
|
|
14
|
-
* * accesspolicies:read
|
|
15
|
-
* * accesspolicies:write
|
|
16
|
-
* * accesspolicies:delete
|
|
17
|
-
*
|
|
18
|
-
* ## Example Usage
|
|
19
|
-
*
|
|
20
|
-
* <!--Start PulumiCodeChooser -->
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as grafana from "@pulumi/grafana";
|
|
24
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
25
|
-
*
|
|
26
|
-
* const current = grafana.getCloudOrganization({
|
|
27
|
-
* slug: "<your org slug>",
|
|
28
|
-
* });
|
|
29
|
-
* const testCloudAccessPolicy = new grafana.CloudAccessPolicy("testCloudAccessPolicy", {
|
|
30
|
-
* region: "us",
|
|
31
|
-
* displayName: "My Policy",
|
|
32
|
-
* scopes: [
|
|
33
|
-
* "metrics:read",
|
|
34
|
-
* "logs:read",
|
|
35
|
-
* ],
|
|
36
|
-
* realms: [{
|
|
37
|
-
* type: "org",
|
|
38
|
-
* identifier: current.then(current => current.id),
|
|
39
|
-
* labelPolicies: [{
|
|
40
|
-
* selector: "{namespace=\"default\"}",
|
|
41
|
-
* }],
|
|
42
|
-
* }],
|
|
43
|
-
* });
|
|
44
|
-
* const testCloudAccessPolicyToken = new grafana.CloudAccessPolicyToken("testCloudAccessPolicyToken", {
|
|
45
|
-
* region: "us",
|
|
46
|
-
* accessPolicyId: testCloudAccessPolicy.policyId,
|
|
47
|
-
* displayName: "My Policy Token",
|
|
48
|
-
* expiresAt: "2023-01-01T00:00:00Z",
|
|
49
|
-
* });
|
|
50
|
-
* ```
|
|
51
|
-
* <!--End PulumiCodeChooser -->
|
|
52
|
-
*
|
|
53
|
-
* ## Import
|
|
54
|
-
*
|
|
55
|
-
* ```sh
|
|
56
|
-
* $ pulumi import grafana:index/cloudAccessPolicyToken:CloudAccessPolicyToken name "{{ region }}:{{ tokenId }}"
|
|
57
|
-
* ```
|
|
58
|
-
*/
|
|
59
8
|
class CloudAccessPolicyToken extends pulumi.CustomResource {
|
|
60
9
|
/**
|
|
61
10
|
* Get an existing CloudAccessPolicyToken resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudAccessPolicyToken.js","sourceRoot":"","sources":["../cloudAccessPolicyToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudAccessPolicyToken.js","sourceRoot":"","sources":["../cloudAccessPolicyToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IA0CD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aA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YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAtGL,wDAuGC;AAzFG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
|
package/cloudApiKey.d.ts
CHANGED
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource is deprecated and will be removed in a future release. Please use grafana.CloudAccessPolicy instead.
|
|
4
|
-
*
|
|
5
|
-
* Manages a single API key on the Grafana Cloud portal (on the organization level)
|
|
6
|
-
* * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#api-keys)
|
|
7
|
-
*
|
|
8
|
-
* Required access policy scopes:
|
|
9
|
-
*
|
|
10
|
-
* * api-keys:read
|
|
11
|
-
* * api-keys:write
|
|
12
|
-
* * api-keys:delete
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
20
|
-
*
|
|
21
|
-
* const test = new grafana.CloudApiKey("test", {
|
|
22
|
-
* cloudOrgSlug: "myorg",
|
|
23
|
-
* role: "Admin",
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
|
-
*
|
|
28
|
-
* ## Import
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
|
-
* $ pulumi import grafana:index/cloudApiKey:CloudApiKey name "{{ orgSlug }}:{{ apiKeyName }}"
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
2
|
export declare class CloudApiKey extends pulumi.CustomResource {
|
|
35
3
|
/**
|
|
36
4
|
* Get an existing CloudApiKey resource's state with the given name, ID, and optional extra
|
|
@@ -60,7 +28,8 @@ export declare class CloudApiKey extends pulumi.CustomResource {
|
|
|
60
28
|
*/
|
|
61
29
|
readonly name: pulumi.Output<string>;
|
|
62
30
|
/**
|
|
63
|
-
* Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See
|
|
31
|
+
* Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See
|
|
32
|
+
* https://grafana.com/docs/grafana-cloud/api/#create-api-key for details.
|
|
64
33
|
*/
|
|
65
34
|
readonly role: pulumi.Output<string>;
|
|
66
35
|
/**
|
|
@@ -89,7 +58,8 @@ export interface CloudApiKeyState {
|
|
|
89
58
|
*/
|
|
90
59
|
name?: pulumi.Input<string>;
|
|
91
60
|
/**
|
|
92
|
-
* Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See
|
|
61
|
+
* Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See
|
|
62
|
+
* https://grafana.com/docs/grafana-cloud/api/#create-api-key for details.
|
|
93
63
|
*/
|
|
94
64
|
role?: pulumi.Input<string>;
|
|
95
65
|
}
|
|
@@ -106,7 +76,8 @@ export interface CloudApiKeyArgs {
|
|
|
106
76
|
*/
|
|
107
77
|
name?: pulumi.Input<string>;
|
|
108
78
|
/**
|
|
109
|
-
* Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See
|
|
79
|
+
* Role of the API key. Should be one of [Viewer Editor Admin MetricsPublisher PluginPublisher]. See
|
|
80
|
+
* https://grafana.com/docs/grafana-cloud/api/#create-api-key for details.
|
|
110
81
|
*/
|
|
111
82
|
role: pulumi.Input<string>;
|
|
112
83
|
}
|
package/cloudApiKey.js
CHANGED
|
@@ -5,38 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.CloudApiKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* This resource is deprecated and will be removed in a future release. Please use grafana.CloudAccessPolicy instead.
|
|
10
|
-
*
|
|
11
|
-
* Manages a single API key on the Grafana Cloud portal (on the organization level)
|
|
12
|
-
* * [API documentation](https://grafana.com/docs/grafana-cloud/developer-resources/api-reference/cloud-api/#api-keys)
|
|
13
|
-
*
|
|
14
|
-
* Required access policy scopes:
|
|
15
|
-
*
|
|
16
|
-
* * api-keys:read
|
|
17
|
-
* * api-keys:write
|
|
18
|
-
* * api-keys:delete
|
|
19
|
-
*
|
|
20
|
-
* ## Example Usage
|
|
21
|
-
*
|
|
22
|
-
* <!--Start PulumiCodeChooser -->
|
|
23
|
-
* ```typescript
|
|
24
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
26
|
-
*
|
|
27
|
-
* const test = new grafana.CloudApiKey("test", {
|
|
28
|
-
* cloudOrgSlug: "myorg",
|
|
29
|
-
* role: "Admin",
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
* <!--End PulumiCodeChooser -->
|
|
33
|
-
*
|
|
34
|
-
* ## Import
|
|
35
|
-
*
|
|
36
|
-
* ```sh
|
|
37
|
-
* $ pulumi import grafana:index/cloudApiKey:CloudApiKey name "{{ orgSlug }}:{{ apiKeyName }}"
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
8
|
class CloudApiKey extends pulumi.CustomResource {
|
|
41
9
|
/**
|
|
42
10
|
* Get an existing CloudApiKey resource's state with the given name, ID, and optional extra
|
package/cloudApiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudApiKey.js","sourceRoot":"","sources":["../cloudApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"cloudApiKey.js","sourceRoot":"","sources":["../cloudApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CA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C,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhFL,kCAiFC;AAnEG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Manages Grafana Cloud Plugin Installations.
|
|
4
|
-
*
|
|
5
|
-
* * [Plugin Catalog](https://grafana.com/grafana/plugins/)
|
|
6
|
-
*
|
|
7
|
-
* Required access policy scopes:
|
|
8
|
-
*
|
|
9
|
-
* * stack-plugins:read
|
|
10
|
-
* * stack-plugins:write
|
|
11
|
-
* * stack-plugins:delete
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as grafana from "@pulumiverse/grafana";
|
|
19
|
-
*
|
|
20
|
-
* const test = new grafana.CloudPluginInstallation("test", {
|
|
21
|
-
* slug: "some-plugin",
|
|
22
|
-
* stackSlug: "stackname",
|
|
23
|
-
* version: "1.2.3",
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
|
-
*
|
|
28
|
-
* ## Import
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
|
-
* $ pulumi import grafana:index/cloudPluginInstallation:CloudPluginInstallation name "{{ stackSlug }}:{{ pluginSlug }}"
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
2
|
export declare class CloudPluginInstallation extends pulumi.CustomResource {
|
|
35
3
|
/**
|
|
36
4
|
* Get an existing CloudPluginInstallation resource's state with the given name, ID, and optional extra
|