@pulumi/wavefront 1.2.0-alpha.1663005863 → 1.2.0-alpha.1669657115
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/alert.d.ts +12 -0
- package/alert.js +24 -22
- package/alert.js.map +1 -1
- package/alertTarget.d.ts +2 -1
- package/alertTarget.js +22 -22
- package/alertTarget.js.map +1 -1
- package/cloudIntegrationAppDynamics.js +25 -23
- package/cloudIntegrationAppDynamics.js.map +1 -1
- package/cloudIntegrationAwsExternalId.js +12 -12
- package/cloudIntegrationAwsExternalId.js.map +1 -1
- package/cloudIntegrationAzure.js +25 -23
- package/cloudIntegrationAzure.js.map +1 -1
- package/cloudIntegrationAzureActivityLog.js +25 -23
- package/cloudIntegrationAzureActivityLog.js.map +1 -1
- package/cloudIntegrationCloudTrail.js +22 -22
- package/cloudIntegrationCloudTrail.js.map +1 -1
- package/cloudIntegrationCloudWatch.js +22 -22
- package/cloudIntegrationCloudWatch.js.map +1 -1
- package/cloudIntegrationEc2.js +22 -22
- package/cloudIntegrationEc2.js.map +1 -1
- package/cloudIntegrationGcp.js +25 -23
- package/cloudIntegrationGcp.js.map +1 -1
- package/cloudIntegrationGcpBilling.js +26 -24
- package/cloudIntegrationGcpBilling.js.map +1 -1
- package/cloudIntegrationNewRelic.d.ts +2 -1
- package/cloudIntegrationNewRelic.js +25 -23
- package/cloudIntegrationNewRelic.js.map +1 -1
- package/dashboard.d.ts +2 -1
- package/dashboard.js +22 -22
- package/dashboard.js.map +1 -1
- package/dashboardJson.d.ts +2 -0
- package/dashboardJson.js +19 -17
- package/dashboardJson.js.map +1 -1
- package/derivedMetric.js +22 -22
- package/derivedMetric.js.map +1 -1
- package/event.d.ts +120 -0
- package/event.js +87 -0
- package/event.js.map +1 -0
- package/externalLink.js +22 -22
- package/externalLink.js.map +1 -1
- package/getAlert.d.ts +145 -0
- package/getAlert.js +38 -0
- package/getAlert.js.map +1 -0
- package/getAlerts.d.ts +61 -0
- package/getAlerts.js +40 -0
- package/getAlerts.js.map +1 -0
- package/getDashboard.d.ts +112 -0
- package/getDashboard.js +37 -0
- package/getDashboard.js.map +1 -0
- package/getDashboards.d.ts +61 -0
- package/getDashboards.js +40 -0
- package/getDashboards.js.map +1 -0
- package/getDerivedMetric.d.ts +133 -0
- package/getDerivedMetric.js +37 -0
- package/getDerivedMetric.js.map +1 -0
- package/getDerivedMetrics.d.ts +61 -0
- package/getDerivedMetrics.js +40 -0
- package/getDerivedMetrics.js.map +1 -0
- package/getEvent.d.ts +78 -0
- package/getEvent.js +37 -0
- package/getEvent.js.map +1 -0
- package/getEvents.d.ts +87 -0
- package/getEvents.js +43 -0
- package/getEvents.js.map +1 -0
- package/getExternalLink.d.ts +94 -0
- package/getExternalLink.js +37 -0
- package/getExternalLink.js.map +1 -0
- package/getExternalLinks.d.ts +61 -0
- package/getExternalLinks.js +40 -0
- package/getExternalLinks.js.map +1 -0
- package/getMaintenanceWindow.d.ts +119 -0
- package/getMaintenanceWindow.js +37 -0
- package/getMaintenanceWindow.js.map +1 -0
- package/getMaintenanceWindowAll.d.ts +30 -0
- package/getMaintenanceWindowAll.js +24 -0
- package/getMaintenanceWindowAll.js.map +1 -0
- package/getMetricsPolicy.d.ts +16 -0
- package/getMetricsPolicy.js +16 -0
- package/getMetricsPolicy.js.map +1 -0
- package/getRole.d.ts +57 -0
- package/getRole.js +37 -0
- package/getRole.js.map +1 -0
- package/getRoles.d.ts +61 -0
- package/getRoles.js +40 -0
- package/getRoles.js.map +1 -0
- package/getUser.d.ts +60 -0
- package/getUser.js +37 -0
- package/getUser.js.map +1 -0
- package/getUserGroup.d.ts +61 -0
- package/getUserGroup.js +37 -0
- package/getUserGroup.js.map +1 -0
- package/getUserGroups.d.ts +61 -0
- package/getUserGroups.js +40 -0
- package/getUserGroups.js.map +1 -0
- package/getUsers.d.ts +29 -0
- package/getUsers.js +29 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +132 -25
- package/index.js +138 -92
- package/index.js.map +1 -1
- package/ingestionPolicy.d.ts +3 -0
- package/ingestionPolicy.js +24 -19
- package/ingestionPolicy.js.map +1 -1
- package/maintenanceWindow.js +22 -22
- package/maintenanceWindow.js.map +1 -1
- package/metricsPolicy.d.ts +83 -0
- package/metricsPolicy.js +73 -0
- package/metricsPolicy.js.map +1 -0
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/role.js +20 -20
- package/role.js.map +1 -1
- package/serviceAccount.js +22 -22
- package/serviceAccount.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +49 -1
- package/types/output.d.ts +1157 -1
- package/user.js +22 -22
- package/user.js.map +1 -1
- package/userGroup.js +19 -19
- package/userGroup.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/cloudIntegrationTesla.d.ts +0 -150
- package/cloudIntegrationTesla.js +0 -94
- package/cloudIntegrationTesla.js.map +0 -1
package/getRole.d.ts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information about a Wavefront role by its ID.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
10
|
+
*
|
|
11
|
+
* // Get the information about the role.
|
|
12
|
+
* const example = pulumi.output(wavefront.getRole({
|
|
13
|
+
* id: "role-id",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getRole.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetRoleArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID associated with the role data to be fetched.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getRole.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetRoleResult {
|
|
31
|
+
/**
|
|
32
|
+
* Human-readable description of the role.
|
|
33
|
+
*/
|
|
34
|
+
readonly description: string;
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the role in Wavefront.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the role in Wavefront.
|
|
41
|
+
*/
|
|
42
|
+
readonly name: string;
|
|
43
|
+
/**
|
|
44
|
+
* The list of permissions associated with role.
|
|
45
|
+
*/
|
|
46
|
+
readonly permissions: string[];
|
|
47
|
+
}
|
|
48
|
+
export declare function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getRole.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetRoleOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* The ID associated with the role data to be fetched.
|
|
55
|
+
*/
|
|
56
|
+
id: pulumi.Input<string>;
|
|
57
|
+
}
|
package/getRole.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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.getRoleOutput = exports.getRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about a Wavefront role by its ID.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the information about the role.
|
|
18
|
+
* const example = pulumi.output(wavefront.getRole({
|
|
19
|
+
* id: "role-id",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getRole(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("wavefront:index/getRole:getRole", {
|
|
29
|
+
"id": args.id,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getRole = getRole;
|
|
33
|
+
function getRoleOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getRole(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getRoleOutput = getRoleOutput;
|
|
37
|
+
//# sourceMappingURL=getRole.js.map
|
package/getRole.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAkCD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/getRoles.d.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get all Roles in Wavefront.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
11
|
+
*
|
|
12
|
+
* // Get all Roles
|
|
13
|
+
* const roles = pulumi.output(wavefront.getRoles({
|
|
14
|
+
* limit: 10,
|
|
15
|
+
* offset: 0,
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getRoles(args?: GetRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetRolesResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getRoles.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetRolesArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
26
|
+
*/
|
|
27
|
+
limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
30
|
+
*/
|
|
31
|
+
offset?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getRoles.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetRolesResult {
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly limit?: number;
|
|
42
|
+
readonly offset?: number;
|
|
43
|
+
/**
|
|
44
|
+
* List of Wavefront Roles.
|
|
45
|
+
*/
|
|
46
|
+
readonly roles: outputs.GetRolesRole[];
|
|
47
|
+
}
|
|
48
|
+
export declare function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRolesResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getRoles.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetRolesOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
55
|
+
*/
|
|
56
|
+
limit?: pulumi.Input<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
59
|
+
*/
|
|
60
|
+
offset?: pulumi.Input<number>;
|
|
61
|
+
}
|
package/getRoles.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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.getRolesOutput = exports.getRoles = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get all Roles in Wavefront.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get all Roles
|
|
18
|
+
* const roles = pulumi.output(wavefront.getRoles({
|
|
19
|
+
* limit: 10,
|
|
20
|
+
* offset: 0,
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getRoles(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("wavefront:index/getRoles:getRoles", {
|
|
31
|
+
"limit": args.limit,
|
|
32
|
+
"offset": args.offset,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getRoles = getRoles;
|
|
36
|
+
function getRolesOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getRoles(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getRolesOutput = getRolesOutput;
|
|
40
|
+
//# sourceMappingURL=getRoles.js.map
|
package/getRoles.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRoles.js","sourceRoot":"","sources":["../getRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AAgCD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/getUser.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information for a given user by email from Wavefront.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
10
|
+
*
|
|
11
|
+
* // Get the info for user "example.user@example.com"
|
|
12
|
+
* const example = pulumi.output(wavefront.getUser({
|
|
13
|
+
* email: "example.user@example.com",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getUser.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetUserArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The email associated with the user data to be fetched.
|
|
24
|
+
*/
|
|
25
|
+
email: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getUser.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetUserResult {
|
|
31
|
+
readonly customer: string;
|
|
32
|
+
readonly email: string;
|
|
33
|
+
/**
|
|
34
|
+
* The provider-assigned unique ID for this managed resource.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
/**
|
|
38
|
+
* When the user last logged in to Wavefront.
|
|
39
|
+
*/
|
|
40
|
+
readonly lastSuccessfulLogin: number;
|
|
41
|
+
/**
|
|
42
|
+
* List of permissions granted to a user.
|
|
43
|
+
*/
|
|
44
|
+
readonly permissions: string[];
|
|
45
|
+
/**
|
|
46
|
+
* List of User Group Ids the user is a member of.
|
|
47
|
+
* * `customer`- The customer the user is associated with.
|
|
48
|
+
*/
|
|
49
|
+
readonly userGroupIds: string[];
|
|
50
|
+
}
|
|
51
|
+
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
52
|
+
/**
|
|
53
|
+
* A collection of arguments for invoking getUser.
|
|
54
|
+
*/
|
|
55
|
+
export interface GetUserOutputArgs {
|
|
56
|
+
/**
|
|
57
|
+
* The email associated with the user data to be fetched.
|
|
58
|
+
*/
|
|
59
|
+
email: pulumi.Input<string>;
|
|
60
|
+
}
|
package/getUser.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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.getUserOutput = exports.getUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information for a given user by email from Wavefront.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the info for user "example.user@example.com"
|
|
18
|
+
* const example = pulumi.output(wavefront.getUser({
|
|
19
|
+
* email: "example.user@example.com",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getUser(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("wavefront:index/getUser:getUser", {
|
|
29
|
+
"email": args.email,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getUser = getUser;
|
|
33
|
+
function getUserOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getUser(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getUserOutput = getUserOutput;
|
|
37
|
+
//# sourceMappingURL=getUser.js.map
|
package/getUser.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAqCD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get information about a Wavefront user group by its ID.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
10
|
+
*
|
|
11
|
+
* // Get the information about the user group.
|
|
12
|
+
* const example = pulumi.output(wavefront.getUserGroup({
|
|
13
|
+
* id: "user-group-id",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getUserGroup(args: GetUserGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getUserGroup.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetUserGroupArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The ID associated with the user group data to be fetched.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getUserGroup.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetUserGroupResult {
|
|
31
|
+
/**
|
|
32
|
+
* Human-readable description of the group.
|
|
33
|
+
*/
|
|
34
|
+
readonly description: string;
|
|
35
|
+
/**
|
|
36
|
+
* The ID of the group in Wavefront.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the group in Wavefront.
|
|
41
|
+
*/
|
|
42
|
+
readonly name: string;
|
|
43
|
+
/**
|
|
44
|
+
* The list of roles associated with the group.
|
|
45
|
+
*/
|
|
46
|
+
readonly roles: string[];
|
|
47
|
+
/**
|
|
48
|
+
* The list of users assigned to the group.
|
|
49
|
+
*/
|
|
50
|
+
readonly users: string[];
|
|
51
|
+
}
|
|
52
|
+
export declare function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserGroupResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getUserGroup.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetUserGroupOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* The ID associated with the user group data to be fetched.
|
|
59
|
+
*/
|
|
60
|
+
id: pulumi.Input<string>;
|
|
61
|
+
}
|
package/getUserGroup.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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.getUserGroupOutput = exports.getUserGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get information about a Wavefront user group by its ID.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get the information about the user group.
|
|
18
|
+
* const example = pulumi.output(wavefront.getUserGroup({
|
|
19
|
+
* id: "user-group-id",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getUserGroup(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("wavefront:index/getUserGroup:getUserGroup", {
|
|
29
|
+
"id": args.id,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getUserGroup = getUserGroup;
|
|
33
|
+
function getUserGroupOutput(args, opts) {
|
|
34
|
+
return pulumi.output(args).apply(a => getUserGroup(a, opts));
|
|
35
|
+
}
|
|
36
|
+
exports.getUserGroupOutput = getUserGroupOutput;
|
|
37
|
+
//# sourceMappingURL=getUserGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserGroup.js","sourceRoot":"","sources":["../getUserGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAsCD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get all User Groups in Wavefront.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
11
|
+
*
|
|
12
|
+
* // Get all user groups
|
|
13
|
+
* const groups = pulumi.output(wavefront.getUserGroups({
|
|
14
|
+
* limit: 10,
|
|
15
|
+
* offset: 0,
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getUserGroups(args?: GetUserGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupsResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getUserGroups.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetUserGroupsArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
26
|
+
*/
|
|
27
|
+
limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
30
|
+
*/
|
|
31
|
+
offset?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getUserGroups.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetUserGroupsResult {
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly limit?: number;
|
|
42
|
+
readonly offset?: number;
|
|
43
|
+
/**
|
|
44
|
+
* List of user groups.
|
|
45
|
+
*/
|
|
46
|
+
readonly userGroups: outputs.GetUserGroupsUserGroup[];
|
|
47
|
+
}
|
|
48
|
+
export declare function getUserGroupsOutput(args?: GetUserGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserGroupsResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getUserGroups.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetUserGroupsOutputArgs {
|
|
53
|
+
/**
|
|
54
|
+
* Limit is the maximum number of results to be returned. Defaults to 100.
|
|
55
|
+
*/
|
|
56
|
+
limit?: pulumi.Input<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Offset is the offset from the first result to be returned. Defaults to 0.
|
|
59
|
+
*/
|
|
60
|
+
offset?: pulumi.Input<number>;
|
|
61
|
+
}
|
package/getUserGroups.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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.getUserGroupsOutput = exports.getUserGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get all User Groups in Wavefront.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get all user groups
|
|
18
|
+
* const groups = pulumi.output(wavefront.getUserGroups({
|
|
19
|
+
* limit: 10,
|
|
20
|
+
* offset: 0,
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getUserGroups(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("wavefront:index/getUserGroups:getUserGroups", {
|
|
31
|
+
"limit": args.limit,
|
|
32
|
+
"offset": args.offset,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getUserGroups = getUserGroups;
|
|
36
|
+
function getUserGroupsOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getUserGroups(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getUserGroupsOutput = getUserGroupsOutput;
|
|
40
|
+
//# sourceMappingURL=getUserGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUserGroups.js","sourceRoot":"","sources":["../getUserGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AAgCD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/getUsers.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to get all users in Wavefront.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
11
|
+
*
|
|
12
|
+
* // Get all users
|
|
13
|
+
* const users = pulumi.output(wavefront.getUsers());
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getUsers(opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of values returned by getUsers.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetUsersResult {
|
|
21
|
+
/**
|
|
22
|
+
* The provider-assigned unique ID for this managed resource.
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
/**
|
|
26
|
+
* List of all users in Wavefront.
|
|
27
|
+
*/
|
|
28
|
+
readonly users: outputs.GetUsersUser[];
|
|
29
|
+
}
|
package/getUsers.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
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.getUsers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get all users in Wavefront.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as wavefront from "@pulumi/wavefront";
|
|
16
|
+
*
|
|
17
|
+
* // Get all users
|
|
18
|
+
* const users = pulumi.output(wavefront.getUsers());
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getUsers(opts) {
|
|
22
|
+
if (!opts) {
|
|
23
|
+
opts = {};
|
|
24
|
+
}
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
return pulumi.runtime.invoke("wavefront:index/getUsers:getUsers", {}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getUsers = getUsers;
|
|
29
|
+
//# sourceMappingURL=getUsers.js.map
|
package/getUsers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAChD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE,EACjE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC"}
|