@pulumiverse/grafana 0.5.0 → 0.5.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/annotation.d.ts +28 -3
- package/annotation.js +25 -0
- package/annotation.js.map +1 -1
- package/apiKey.d.ts +18 -0
- package/apiKey.js +18 -0
- package/apiKey.js.map +1 -1
- package/cloudAccessPolicy.d.ts +57 -15
- package/cloudAccessPolicy.js +51 -0
- package/cloudAccessPolicy.js.map +1 -1
- package/cloudAccessPolicyToken.d.ts +54 -9
- package/cloudAccessPolicyToken.js +51 -0
- package/cloudAccessPolicyToken.js.map +1 -1
- package/cloudApiKey.d.ts +35 -6
- package/cloudApiKey.js +32 -0
- package/cloudApiKey.js.map +1 -1
- package/cloudOrgMember.d.ts +9 -0
- package/cloudOrgMember.js +9 -0
- package/cloudOrgMember.js.map +1 -1
- package/cloudPluginInstallation.d.ts +32 -0
- package/cloudPluginInstallation.js +32 -0
- package/cloudPluginInstallation.js.map +1 -1
- package/cloudStack.d.ts +49 -38
- package/cloudStack.js +30 -0
- package/cloudStack.js.map +1 -1
- package/cloudStackServiceAccount.d.ts +36 -3
- package/cloudStackServiceAccount.js +33 -0
- package/cloudStackServiceAccount.js.map +1 -1
- package/cloudStackServiceAccountToken.d.ts +28 -0
- package/cloudStackServiceAccountToken.js +28 -0
- package/cloudStackServiceAccountToken.js.map +1 -1
- package/contactPoint.d.ts +44 -9
- package/contactPoint.js +38 -0
- package/contactPoint.js.map +1 -1
- package/dashboard.d.ts +44 -16
- package/dashboard.js +37 -0
- package/dashboard.js.map +1 -1
- package/dashboardPermission.d.ts +55 -3
- package/dashboardPermission.js +52 -0
- package/dashboardPermission.js.map +1 -1
- package/dashboardPermissionItem.d.ts +48 -0
- package/dashboardPermissionItem.js +48 -0
- package/dashboardPermissionItem.js.map +1 -1
- package/dashboardPublic.d.ts +73 -12
- package/dashboardPublic.js +67 -0
- package/dashboardPublic.js.map +1 -1
- package/dataSource.d.ts +102 -36
- package/dataSource.js +78 -0
- package/dataSource.js.map +1 -1
- package/dataSourceConfig.d.ts +69 -18
- package/dataSourceConfig.js +63 -0
- package/dataSourceConfig.js.map +1 -1
- package/dataSourcePermission.d.ts +66 -3
- package/dataSourcePermission.js +63 -0
- package/dataSourcePermission.js.map +1 -1
- package/dataSourcePermissionItem.d.ts +61 -0
- package/dataSourcePermissionItem.js +61 -0
- package/dataSourcePermissionItem.js.map +1 -1
- package/folder.d.ts +43 -9
- package/folder.js +37 -0
- package/folder.js.map +1 -1
- package/folderPermission.d.ts +49 -0
- package/folderPermission.js +49 -0
- package/folderPermission.js.map +1 -1
- package/folderPermissionItem.d.ts +47 -0
- package/folderPermissionItem.js +47 -0
- package/folderPermissionItem.js.map +1 -1
- package/getCloudIps.d.ts +43 -0
- package/getCloudIps.js +28 -0
- package/getCloudIps.js.map +1 -1
- package/getCloudOrganization.d.ts +37 -0
- package/getCloudOrganization.js +28 -0
- package/getCloudOrganization.js.map +1 -1
- package/getCloudStack.d.ts +84 -0
- package/getCloudStack.js +6 -0
- package/getCloudStack.js.map +1 -1
- package/getDashboard.d.ts +114 -0
- package/getDashboard.js +64 -0
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +56 -0
- package/getDashboards.js +14 -0
- package/getDashboards.js.map +1 -1
- package/getDataSource.d.ts +118 -0
- package/getDataSource.js +76 -0
- package/getDataSource.js.map +1 -1
- package/getFolder.d.ts +71 -0
- package/getFolder.js +44 -0
- package/getFolder.js.map +1 -1
- package/getFolders.d.ts +60 -0
- package/getFolders.js +48 -0
- package/getFolders.js.map +1 -1
- package/getLibraryPanel.d.ts +65 -0
- package/getLibraryPanel.js +6 -0
- package/getLibraryPanel.js.map +1 -1
- package/getOnCallSlackChannel.d.ts +44 -0
- package/getOnCallSlackChannel.js +32 -0
- package/getOnCallSlackChannel.js.map +1 -1
- package/getOncallAction.d.ts +21 -0
- package/getOncallAction.js +12 -0
- package/getOncallAction.js.map +1 -1
- package/getOncallEscalationChain.d.ts +41 -0
- package/getOncallEscalationChain.js +32 -0
- package/getOncallEscalationChain.js.map +1 -1
- package/getOncallIntegration.d.ts +44 -0
- package/getOncallIntegration.js +32 -0
- package/getOncallIntegration.js.map +1 -1
- package/getOncallOutgoingWebhook.d.ts +41 -0
- package/getOncallOutgoingWebhook.js +32 -0
- package/getOncallOutgoingWebhook.js.map +1 -1
- package/getOncallSchedule.d.ts +46 -0
- package/getOncallSchedule.js +34 -0
- package/getOncallSchedule.js.map +1 -1
- package/getOncallTeam.d.ts +37 -0
- package/getOncallTeam.js +28 -0
- package/getOncallTeam.js.map +1 -1
- package/getOncallUser.d.ts +47 -0
- package/getOncallUser.js +32 -0
- package/getOncallUser.js.map +1 -1
- package/getOncallUserGroup.d.ts +32 -0
- package/getOncallUserGroup.js +32 -0
- package/getOncallUserGroup.js.map +1 -1
- package/getOrganization.d.ts +70 -0
- package/getOrganization.js +52 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationPreferences.d.ts +53 -0
- package/getOrganizationPreferences.js +30 -0
- package/getOrganizationPreferences.js.map +1 -1
- package/getRole.d.ts +118 -0
- package/getRole.js +82 -0
- package/getRole.js.map +1 -1
- package/getServiceAccount.d.ts +32 -0
- package/getServiceAccount.js +8 -0
- package/getServiceAccount.js.map +1 -1
- package/getSlos.d.ts +17 -0
- package/getSlos.js +14 -0
- package/getSlos.js.map +1 -1
- package/getSyntheticMonitoringProbe.d.ts +62 -0
- package/getSyntheticMonitoringProbe.js +32 -0
- package/getSyntheticMonitoringProbe.js.map +1 -1
- package/getSyntheticMonitoringProbes.d.ts +40 -0
- package/getSyntheticMonitoringProbes.js +28 -0
- package/getSyntheticMonitoringProbes.js.map +1 -1
- package/getTeam.d.ts +50 -0
- package/getTeam.js +50 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +99 -0
- package/getUser.js +66 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +51 -0
- package/getUsers.js +48 -0
- package/getUsers.js.map +1 -1
- package/libraryPanel.d.ts +43 -12
- package/libraryPanel.js +37 -0
- package/libraryPanel.js.map +1 -1
- package/machineLearningHoliday.d.ts +14 -3
- package/machineLearningHoliday.js +11 -0
- package/machineLearningHoliday.js.map +1 -1
- package/machineLearningJob.d.ts +18 -12
- package/machineLearningJob.js +9 -0
- package/machineLearningJob.js.map +1 -1
- package/machineLearningOutlierDetector.d.ts +22 -12
- package/machineLearningOutlierDetector.js +13 -0
- package/machineLearningOutlierDetector.js.map +1 -1
- package/messageTemplate.d.ts +32 -0
- package/messageTemplate.js +32 -0
- package/messageTemplate.js.map +1 -1
- package/muteTiming.d.ts +51 -0
- package/muteTiming.js +51 -0
- package/muteTiming.js.map +1 -1
- package/notificationPolicy.d.ts +98 -9
- package/notificationPolicy.js +92 -0
- package/notificationPolicy.js.map +1 -1
- package/oncallEscalation.d.ts +81 -41
- package/oncallEscalation.js +52 -0
- package/oncallEscalation.js.map +1 -1
- package/oncallEscalationChain.d.ts +25 -6
- package/oncallEscalationChain.js +22 -0
- package/oncallEscalationChain.js.map +1 -1
- package/oncallIntegration.d.ts +16 -15
- package/oncallIntegration.js +10 -0
- package/oncallIntegration.js.map +1 -1
- package/oncallOnCallShift.d.ts +30 -27
- package/oncallOnCallShift.js +9 -0
- package/oncallOnCallShift.js.map +1 -1
- package/oncallOutgoingWebhook.d.ts +34 -21
- package/oncallOutgoingWebhook.js +22 -0
- package/oncallOutgoingWebhook.js.map +1 -1
- package/oncallRoute.d.ts +49 -3
- package/oncallRoute.js +46 -0
- package/oncallRoute.js.map +1 -1
- package/oncallSchedule.d.ts +49 -9
- package/oncallSchedule.js +43 -0
- package/oncallSchedule.js.map +1 -1
- package/organization.d.ts +94 -39
- package/organization.js +37 -0
- package/organization.js.map +1 -1
- package/organizationPreference.d.ts +31 -9
- package/organizationPreference.js +25 -0
- package/organizationPreference.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/playlist.d.ts +41 -0
- package/playlist.js +41 -0
- package/playlist.js.map +1 -1
- package/report.d.ts +56 -15
- package/report.js +41 -0
- package/report.js.map +1 -1
- package/role.d.ts +58 -15
- package/role.js +46 -0
- package/role.js.map +1 -1
- package/roleAssignment.d.ts +48 -0
- package/roleAssignment.js +48 -0
- package/roleAssignment.js.map +1 -1
- package/roleAssignmentItem.d.ts +51 -0
- package/roleAssignmentItem.js +51 -0
- package/roleAssignmentItem.js.map +1 -1
- package/ruleGroup.d.ts +117 -9
- package/ruleGroup.js +111 -0
- package/ruleGroup.js.map +1 -1
- package/serviceAccount.d.ts +33 -3
- package/serviceAccount.js +30 -0
- package/serviceAccount.js.map +1 -1
- package/serviceAccountPermission.d.ts +50 -0
- package/serviceAccountPermission.js +50 -0
- package/serviceAccountPermission.js.map +1 -1
- package/serviceAccountPermissionItem.d.ts +44 -0
- package/serviceAccountPermissionItem.js +44 -0
- package/serviceAccountPermissionItem.js.map +1 -1
- package/serviceAccountToken.d.ts +27 -9
- package/serviceAccountToken.js +24 -0
- package/serviceAccountToken.js.map +1 -1
- package/slo.d.ts +39 -27
- package/slo.js +15 -0
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +75 -3
- package/ssoSettings.js +72 -0
- package/ssoSettings.js.map +1 -1
- package/syntheticMonitoringCheck.d.ts +431 -36
- package/syntheticMonitoringCheck.js +413 -0
- package/syntheticMonitoringCheck.js.map +1 -1
- package/syntheticMonitoringInstallation.d.ts +75 -24
- package/syntheticMonitoringInstallation.js +69 -0
- package/syntheticMonitoringInstallation.js.map +1 -1
- package/syntheticMonitoringProbe.d.ts +39 -6
- package/syntheticMonitoringProbe.js +36 -0
- package/syntheticMonitoringProbe.js.map +1 -1
- package/team.d.ts +33 -0
- package/team.js +33 -0
- package/team.js.map +1 -1
- package/teamExternalGroup.d.ts +31 -0
- package/teamExternalGroup.js +31 -0
- package/teamExternalGroup.js.map +1 -1
- package/types/input.d.ts +123 -123
- package/types/output.d.ts +123 -123
- package/user.d.ts +33 -3
- package/user.js +30 -0
- package/user.js.map +1 -1
package/folder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folder.js","sourceRoot":"","sources":["../folder.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;
|
|
1
|
+
{"version":3,"file":"folder.js","sourceRoot":"","sources":["../folder.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,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,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,SAAS,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,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,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAtFL,wBAuFC;AAzEG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/folderPermission.d.ts
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
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
|
+
* Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed.
|
|
6
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)
|
|
7
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)
|
|
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 team = new grafana.Team("team", {});
|
|
17
|
+
* const user = new grafana.User("user", {
|
|
18
|
+
* email: "user.name@example.com",
|
|
19
|
+
* login: "user.name",
|
|
20
|
+
* password: "my-password",
|
|
21
|
+
* });
|
|
22
|
+
* const collection = new grafana.Folder("collection", {title: "Folder Title"});
|
|
23
|
+
* const collectionPermission = new grafana.FolderPermission("collectionPermission", {
|
|
24
|
+
* folderUid: collection.uid,
|
|
25
|
+
* permissions: [
|
|
26
|
+
* {
|
|
27
|
+
* role: "Editor",
|
|
28
|
+
* permission: "Edit",
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* teamId: team.id,
|
|
32
|
+
* permission: "View",
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* userId: user.id,
|
|
36
|
+
* permission: "Admin",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
* <!--End PulumiCodeChooser -->
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import grafana:index/folderPermission:FolderPermission name "{{ folderUID }}"
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import grafana:index/folderPermission:FolderPermission name "{{ orgID }}:{{ folderUID }}"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
4
53
|
export declare class FolderPermission extends pulumi.CustomResource {
|
|
5
54
|
/**
|
|
6
55
|
* Get an existing FolderPermission resource's state with the given name, ID, and optional extra
|
package/folderPermission.js
CHANGED
|
@@ -5,6 +5,55 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.FolderPermission = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed.
|
|
10
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)
|
|
11
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)
|
|
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 team = new grafana.Team("team", {});
|
|
21
|
+
* const user = new grafana.User("user", {
|
|
22
|
+
* email: "user.name@example.com",
|
|
23
|
+
* login: "user.name",
|
|
24
|
+
* password: "my-password",
|
|
25
|
+
* });
|
|
26
|
+
* const collection = new grafana.Folder("collection", {title: "Folder Title"});
|
|
27
|
+
* const collectionPermission = new grafana.FolderPermission("collectionPermission", {
|
|
28
|
+
* folderUid: collection.uid,
|
|
29
|
+
* permissions: [
|
|
30
|
+
* {
|
|
31
|
+
* role: "Editor",
|
|
32
|
+
* permission: "Edit",
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* teamId: team.id,
|
|
36
|
+
* permission: "View",
|
|
37
|
+
* },
|
|
38
|
+
* {
|
|
39
|
+
* userId: user.id,
|
|
40
|
+
* permission: "Admin",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
* <!--End PulumiCodeChooser -->
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import grafana:index/folderPermission:FolderPermission name "{{ folderUID }}"
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import grafana:index/folderPermission:FolderPermission name "{{ orgID }}:{{ folderUID }}"
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
8
57
|
class FolderPermission extends pulumi.CustomResource {
|
|
9
58
|
/**
|
|
10
59
|
* Get an existing FolderPermission resource's state with the given name, ID, and optional extra
|
package/folderPermission.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folderPermission.js","sourceRoot":"","sources":["../folderPermission.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,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AS,CAAC;YAChE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AApEL,4CAqEC;AAvDG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -1,4 +1,51 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a single permission item for a folder. Conflicts with the "grafana.FolderPermission" resource which manages the entire set of permissions for a folder.
|
|
4
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)
|
|
5
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
13
|
+
*
|
|
14
|
+
* const team = new grafana.Team("team", {});
|
|
15
|
+
* const user = new grafana.User("user", {
|
|
16
|
+
* email: "user.name@example.com",
|
|
17
|
+
* login: "user.name",
|
|
18
|
+
* password: "my-password",
|
|
19
|
+
* });
|
|
20
|
+
* const collection = new grafana.Folder("collection", {title: "Folder Title"});
|
|
21
|
+
* const onRole = new grafana.FolderPermissionItem("onRole", {
|
|
22
|
+
* folderUid: collection.uid,
|
|
23
|
+
* role: "Viewer",
|
|
24
|
+
* permission: "Edit",
|
|
25
|
+
* });
|
|
26
|
+
* const onTeam = new grafana.FolderPermissionItem("onTeam", {
|
|
27
|
+
* folderUid: collection.uid,
|
|
28
|
+
* team: team.id,
|
|
29
|
+
* permission: "View",
|
|
30
|
+
* });
|
|
31
|
+
* const onUser = new grafana.FolderPermissionItem("onUser", {
|
|
32
|
+
* folderUid: collection.uid,
|
|
33
|
+
* user: user.id,
|
|
34
|
+
* permission: "Admin",
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import grafana:index/folderPermissionItem:FolderPermissionItem name "{{ folderUID }}:{{ type (role, team, or user) }}:{{ identifier }}"
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import grafana:index/folderPermissionItem:FolderPermissionItem name "{{ orgID }}:{{ folderUID }}:{{ type (role, team, or user) }}:{{ identifier }}"
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
2
49
|
export declare class FolderPermissionItem extends pulumi.CustomResource {
|
|
3
50
|
/**
|
|
4
51
|
* Get an existing FolderPermissionItem resource's state with the given name, ID, and optional extra
|
package/folderPermissionItem.js
CHANGED
|
@@ -5,6 +5,53 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.FolderPermissionItem = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a single permission item for a folder. Conflicts with the "grafana.FolderPermission" resource which manages the entire set of permissions for a folder.
|
|
10
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/)
|
|
11
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_permissions/)
|
|
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 team = new grafana.Team("team", {});
|
|
21
|
+
* const user = new grafana.User("user", {
|
|
22
|
+
* email: "user.name@example.com",
|
|
23
|
+
* login: "user.name",
|
|
24
|
+
* password: "my-password",
|
|
25
|
+
* });
|
|
26
|
+
* const collection = new grafana.Folder("collection", {title: "Folder Title"});
|
|
27
|
+
* const onRole = new grafana.FolderPermissionItem("onRole", {
|
|
28
|
+
* folderUid: collection.uid,
|
|
29
|
+
* role: "Viewer",
|
|
30
|
+
* permission: "Edit",
|
|
31
|
+
* });
|
|
32
|
+
* const onTeam = new grafana.FolderPermissionItem("onTeam", {
|
|
33
|
+
* folderUid: collection.uid,
|
|
34
|
+
* team: team.id,
|
|
35
|
+
* permission: "View",
|
|
36
|
+
* });
|
|
37
|
+
* const onUser = new grafana.FolderPermissionItem("onUser", {
|
|
38
|
+
* folderUid: collection.uid,
|
|
39
|
+
* user: user.id,
|
|
40
|
+
* permission: "Admin",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
* <!--End PulumiCodeChooser -->
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import grafana:index/folderPermissionItem:FolderPermissionItem name "{{ folderUID }}:{{ type (role, team, or user) }}:{{ identifier }}"
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import grafana:index/folderPermissionItem:FolderPermissionItem name "{{ orgID }}:{{ folderUID }}:{{ type (role, team, or user) }}:{{ identifier }}"
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
8
55
|
class FolderPermissionItem extends pulumi.CustomResource {
|
|
9
56
|
/**
|
|
10
57
|
* Get an existing FolderPermissionItem resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"folderPermissionItem.js","sourceRoot":"","sources":["../folderPermissionItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UA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AC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,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,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAzFL,oDA0FC;AA5EG,gBAAgB;AACO,iCAAY,GAAG,yDAAyD,CAAC"}
|
package/getCloudIps.d.ts
CHANGED
|
@@ -1,17 +1,60 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as grafana from "@pulumi/grafana";
|
|
11
|
+
*
|
|
12
|
+
* const test = grafana.getCloudIps({});
|
|
13
|
+
* ```
|
|
14
|
+
* <!--End PulumiCodeChooser -->
|
|
15
|
+
*/
|
|
2
16
|
export declare function getCloudIps(opts?: pulumi.InvokeOptions): Promise<GetCloudIpsResult>;
|
|
3
17
|
/**
|
|
4
18
|
* A collection of values returned by getCloudIps.
|
|
5
19
|
*/
|
|
6
20
|
export interface GetCloudIpsResult {
|
|
21
|
+
/**
|
|
22
|
+
* Set of IP addresses that are used for hosted alerts.
|
|
23
|
+
*/
|
|
7
24
|
readonly hostedAlerts: string[];
|
|
25
|
+
/**
|
|
26
|
+
* Set of IP addresses that are used for hosted Grafana.
|
|
27
|
+
*/
|
|
8
28
|
readonly hostedGrafanas: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Set of IP addresses that are used for hosted logs.
|
|
31
|
+
*/
|
|
9
32
|
readonly hostedLogs: string[];
|
|
33
|
+
/**
|
|
34
|
+
* Set of IP addresses that are used for hosted metrics.
|
|
35
|
+
*/
|
|
10
36
|
readonly hostedMetrics: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Set of IP addresses that are used for hosted traces.
|
|
39
|
+
*/
|
|
11
40
|
readonly hostedTraces: string[];
|
|
12
41
|
/**
|
|
13
42
|
* The provider-assigned unique ID for this managed resource.
|
|
14
43
|
*/
|
|
15
44
|
readonly id: string;
|
|
16
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
|
|
48
|
+
*
|
|
49
|
+
* ## Example Usage
|
|
50
|
+
*
|
|
51
|
+
* <!--Start PulumiCodeChooser -->
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as grafana from "@pulumi/grafana";
|
|
55
|
+
*
|
|
56
|
+
* const test = grafana.getCloudIps({});
|
|
57
|
+
* ```
|
|
58
|
+
* <!--End PulumiCodeChooser -->
|
|
59
|
+
*/
|
|
17
60
|
export declare function getCloudIpsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudIpsResult>;
|
package/getCloudIps.js
CHANGED
|
@@ -5,11 +5,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCloudIpsOutput = exports.getCloudIps = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as grafana from "@pulumi/grafana";
|
|
17
|
+
*
|
|
18
|
+
* const test = grafana.getCloudIps({});
|
|
19
|
+
* ```
|
|
20
|
+
* <!--End PulumiCodeChooser -->
|
|
21
|
+
*/
|
|
8
22
|
function getCloudIps(opts) {
|
|
9
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
24
|
return pulumi.runtime.invoke("grafana:index/getCloudIps:getCloudIps", {}, opts);
|
|
11
25
|
}
|
|
12
26
|
exports.getCloudIps = getCloudIps;
|
|
27
|
+
/**
|
|
28
|
+
* Data source for retrieving sets of cloud IPs. See https://grafana.com/docs/grafana-cloud/reference/allow-list/ for more info
|
|
29
|
+
*
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* <!--Start PulumiCodeChooser -->
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as grafana from "@pulumi/grafana";
|
|
36
|
+
*
|
|
37
|
+
* const test = grafana.getCloudIps({});
|
|
38
|
+
* ```
|
|
39
|
+
* <!--End PulumiCodeChooser -->
|
|
40
|
+
*/
|
|
13
41
|
function getCloudIpsOutput(opts) {
|
|
14
42
|
return pulumi.output(getCloudIps(opts));
|
|
15
43
|
}
|
package/getCloudIps.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudIps.js","sourceRoot":"","sources":["../getCloudIps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAA2B;IAEnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;
|
|
1
|
+
{"version":3,"file":"getCloudIps.js","sourceRoot":"","sources":["../getCloudIps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,WAAW,CAAC,IAA2B;IAEnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AA+BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B;IACzD,OAAO,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3C,CAAC;AAFD,8CAEC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* <!--Start PulumiCodeChooser -->
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as grafana from "@pulumi/grafana";
|
|
9
|
+
*
|
|
10
|
+
* const test = grafana.getCloudOrganization({
|
|
11
|
+
* slug: "my-org",
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
* <!--End PulumiCodeChooser -->
|
|
15
|
+
*/
|
|
2
16
|
export declare function getCloudOrganization(args?: GetCloudOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudOrganizationResult>;
|
|
3
17
|
/**
|
|
4
18
|
* A collection of arguments for invoking getCloudOrganization.
|
|
5
19
|
*/
|
|
6
20
|
export interface GetCloudOrganizationArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of this resource.
|
|
23
|
+
*/
|
|
7
24
|
id?: string;
|
|
8
25
|
slug?: string;
|
|
9
26
|
}
|
|
@@ -12,17 +29,37 @@ export interface GetCloudOrganizationArgs {
|
|
|
12
29
|
*/
|
|
13
30
|
export interface GetCloudOrganizationResult {
|
|
14
31
|
readonly createdAt: string;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of this resource.
|
|
34
|
+
*/
|
|
15
35
|
readonly id: string;
|
|
16
36
|
readonly name: string;
|
|
17
37
|
readonly slug: string;
|
|
18
38
|
readonly updatedAt: string;
|
|
19
39
|
readonly url: string;
|
|
20
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* <!--Start PulumiCodeChooser -->
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as grafana from "@pulumi/grafana";
|
|
48
|
+
*
|
|
49
|
+
* const test = grafana.getCloudOrganization({
|
|
50
|
+
* slug: "my-org",
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
* <!--End PulumiCodeChooser -->
|
|
54
|
+
*/
|
|
21
55
|
export declare function getCloudOrganizationOutput(args?: GetCloudOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudOrganizationResult>;
|
|
22
56
|
/**
|
|
23
57
|
* A collection of arguments for invoking getCloudOrganization.
|
|
24
58
|
*/
|
|
25
59
|
export interface GetCloudOrganizationOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The ID of this resource.
|
|
62
|
+
*/
|
|
26
63
|
id?: pulumi.Input<string>;
|
|
27
64
|
slug?: pulumi.Input<string>;
|
|
28
65
|
}
|
package/getCloudOrganization.js
CHANGED
|
@@ -5,6 +5,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCloudOrganizationOutput = exports.getCloudOrganization = 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 "@pulumi/grafana";
|
|
15
|
+
*
|
|
16
|
+
* const test = grafana.getCloudOrganization({
|
|
17
|
+
* slug: "my-org",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
* <!--End PulumiCodeChooser -->
|
|
21
|
+
*/
|
|
8
22
|
function getCloudOrganization(args, opts) {
|
|
9
23
|
args = args || {};
|
|
10
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -14,6 +28,20 @@ function getCloudOrganization(args, opts) {
|
|
|
14
28
|
}, opts);
|
|
15
29
|
}
|
|
16
30
|
exports.getCloudOrganization = getCloudOrganization;
|
|
31
|
+
/**
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* <!--Start PulumiCodeChooser -->
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as grafana from "@pulumi/grafana";
|
|
38
|
+
*
|
|
39
|
+
* const test = grafana.getCloudOrganization({
|
|
40
|
+
* slug: "my-org",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
* <!--End PulumiCodeChooser -->
|
|
44
|
+
*/
|
|
17
45
|
function getCloudOrganizationOutput(args, opts) {
|
|
18
46
|
return pulumi.output(args).apply((a) => getCloudOrganization(a, opts));
|
|
19
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudOrganization.js","sourceRoot":"","sources":["../getCloudOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;
|
|
1
|
+
{"version":3,"file":"getCloudOrganization.js","sourceRoot":"","sources":["../getCloudOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AA2BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
package/getCloudStack.d.ts
CHANGED
|
@@ -1,25 +1,53 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data source for Grafana Stack
|
|
4
|
+
*/
|
|
2
5
|
export declare function getCloudStack(args: GetCloudStackArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudStackResult>;
|
|
3
6
|
/**
|
|
4
7
|
* A collection of arguments for invoking getCloudStack.
|
|
5
8
|
*/
|
|
6
9
|
export interface GetCloudStackArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance
|
|
12
|
+
* available at “https://\n\n.grafana.net".
|
|
13
|
+
*/
|
|
7
14
|
slug: string;
|
|
8
15
|
}
|
|
9
16
|
/**
|
|
10
17
|
* A collection of values returned by getCloudStack.
|
|
11
18
|
*/
|
|
12
19
|
export interface GetCloudStackResult {
|
|
20
|
+
/**
|
|
21
|
+
* Name of the Alertmanager instance configured for this stack.
|
|
22
|
+
*/
|
|
13
23
|
readonly alertmanagerName: string;
|
|
24
|
+
/**
|
|
25
|
+
* Status of the Alertmanager instance configured for this stack.
|
|
26
|
+
*/
|
|
14
27
|
readonly alertmanagerStatus: string;
|
|
28
|
+
/**
|
|
29
|
+
* Base URL of the Alertmanager instance configured for this stack.
|
|
30
|
+
*/
|
|
15
31
|
readonly alertmanagerUrl: string;
|
|
32
|
+
/**
|
|
33
|
+
* User ID of the Alertmanager instance configured for this stack.
|
|
34
|
+
*/
|
|
16
35
|
readonly alertmanagerUserId: number;
|
|
36
|
+
/**
|
|
37
|
+
* Description of stack.
|
|
38
|
+
*/
|
|
17
39
|
readonly description: string;
|
|
18
40
|
readonly graphiteName: string;
|
|
19
41
|
readonly graphiteStatus: string;
|
|
20
42
|
readonly graphiteUrl: string;
|
|
21
43
|
readonly graphiteUserId: number;
|
|
44
|
+
/**
|
|
45
|
+
* The stack id assigned to this stack by Grafana.
|
|
46
|
+
*/
|
|
22
47
|
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* A map of labels to assign to the stack. Label keys and values must match the following regexp: "^[a-zA-Z0-9/\-.]+$" and stacks cannot have more than 10 labels.
|
|
50
|
+
*/
|
|
23
51
|
readonly labels: {
|
|
24
52
|
[key: string]: string;
|
|
25
53
|
};
|
|
@@ -27,34 +55,90 @@ export interface GetCloudStackResult {
|
|
|
27
55
|
readonly logsStatus: string;
|
|
28
56
|
readonly logsUrl: string;
|
|
29
57
|
readonly logsUserId: number;
|
|
58
|
+
/**
|
|
59
|
+
* Name of stack. Conventionally matches the url of the instance (e.g. `<stack_slug>.grafana.net`).
|
|
60
|
+
*/
|
|
30
61
|
readonly name: string;
|
|
62
|
+
/**
|
|
63
|
+
* Organization id to assign to this stack.
|
|
64
|
+
*/
|
|
31
65
|
readonly orgId: number;
|
|
66
|
+
/**
|
|
67
|
+
* Organization name to assign to this stack.
|
|
68
|
+
*/
|
|
32
69
|
readonly orgName: string;
|
|
70
|
+
/**
|
|
71
|
+
* Organization slug to assign to this stack.
|
|
72
|
+
*/
|
|
33
73
|
readonly orgSlug: string;
|
|
74
|
+
/**
|
|
75
|
+
* Base URL of the OTLP instance configured for this stack. See https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/ for docs on how to use this.
|
|
76
|
+
*/
|
|
34
77
|
readonly otlpUrl: string;
|
|
35
78
|
readonly profilesName: string;
|
|
36
79
|
readonly profilesStatus: string;
|
|
37
80
|
readonly profilesUrl: string;
|
|
38
81
|
readonly profilesUserId: number;
|
|
82
|
+
/**
|
|
83
|
+
* Prometheus name for this instance.
|
|
84
|
+
*/
|
|
39
85
|
readonly prometheusName: string;
|
|
86
|
+
/**
|
|
87
|
+
* Use this URL to query hosted metrics data e.g. Prometheus data source in Grafana
|
|
88
|
+
*/
|
|
40
89
|
readonly prometheusRemoteEndpoint: string;
|
|
90
|
+
/**
|
|
91
|
+
* Use this URL to send prometheus metrics to Grafana cloud
|
|
92
|
+
*/
|
|
41
93
|
readonly prometheusRemoteWriteEndpoint: string;
|
|
94
|
+
/**
|
|
95
|
+
* Prometheus status for this instance.
|
|
96
|
+
*/
|
|
42
97
|
readonly prometheusStatus: string;
|
|
98
|
+
/**
|
|
99
|
+
* Prometheus url for this instance.
|
|
100
|
+
*/
|
|
43
101
|
readonly prometheusUrl: string;
|
|
102
|
+
/**
|
|
103
|
+
* Prometheus user ID. Used for e.g. remote_write.
|
|
104
|
+
*/
|
|
44
105
|
readonly prometheusUserId: number;
|
|
106
|
+
/**
|
|
107
|
+
* The region this stack is deployed to.
|
|
108
|
+
*/
|
|
45
109
|
readonly regionSlug: string;
|
|
110
|
+
/**
|
|
111
|
+
* Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance
|
|
112
|
+
* available at “https://\n\n.grafana.net".
|
|
113
|
+
*/
|
|
46
114
|
readonly slug: string;
|
|
115
|
+
/**
|
|
116
|
+
* Status of the stack.
|
|
117
|
+
*/
|
|
47
118
|
readonly status: string;
|
|
48
119
|
readonly tracesName: string;
|
|
49
120
|
readonly tracesStatus: string;
|
|
121
|
+
/**
|
|
122
|
+
* Base URL of the Traces instance configured for this stack. To use this in the Tempo data source in Grafana, append `/tempo` to the URL.
|
|
123
|
+
*/
|
|
50
124
|
readonly tracesUrl: string;
|
|
51
125
|
readonly tracesUserId: number;
|
|
126
|
+
/**
|
|
127
|
+
* Custom URL for the Grafana instance. Must have a CNAME setup to point to `.grafana.net` before creating the stack
|
|
128
|
+
*/
|
|
52
129
|
readonly url: string;
|
|
53
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Data source for Grafana Stack
|
|
133
|
+
*/
|
|
54
134
|
export declare function getCloudStackOutput(args: GetCloudStackOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudStackResult>;
|
|
55
135
|
/**
|
|
56
136
|
* A collection of arguments for invoking getCloudStack.
|
|
57
137
|
*/
|
|
58
138
|
export interface GetCloudStackOutputArgs {
|
|
139
|
+
/**
|
|
140
|
+
* Subdomain that the Grafana instance will be available at (i.e. setting slug to “\n\n” will make the instance
|
|
141
|
+
* available at “https://\n\n.grafana.net".
|
|
142
|
+
*/
|
|
59
143
|
slug: pulumi.Input<string>;
|
|
60
144
|
}
|
package/getCloudStack.js
CHANGED
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCloudStackOutput = exports.getCloudStack = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data source for Grafana Stack
|
|
10
|
+
*/
|
|
8
11
|
function getCloudStack(args, opts) {
|
|
9
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
13
|
return pulumi.runtime.invoke("grafana:index/getCloudStack:getCloudStack", {
|
|
@@ -12,6 +15,9 @@ function getCloudStack(args, opts) {
|
|
|
12
15
|
}, opts);
|
|
13
16
|
}
|
|
14
17
|
exports.getCloudStack = getCloudStack;
|
|
18
|
+
/**
|
|
19
|
+
* Data source for Grafana Stack
|
|
20
|
+
*/
|
|
15
21
|
function getCloudStackOutput(args, opts) {
|
|
16
22
|
return pulumi.output(args).apply((a) => getCloudStack(a, opts));
|
|
17
23
|
}
|
package/getCloudStack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudStack.js","sourceRoot":"","sources":["../getCloudStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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;
|
|
1
|
+
{"version":3,"file":"getCloudStack.js","sourceRoot":"","sources":["../getCloudStack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;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;AA8HD;;GAEG;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"}
|