@pulumi/wavefront
Version:
A Pulumi package for creating and managing wavefront cloud resources.
44 lines • 1.71 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDefaultUserGroupOutput = exports.getDefaultUserGroup = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get the Group ID of the `Everyone` group in Wavefront.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the default user group "Everyone"
* const everyoneGroup = wavefront.getDefaultUserGroup({});
* ```
*/
function getDefaultUserGroup(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("wavefront:index/getDefaultUserGroup:getDefaultUserGroup", {}, opts);
}
exports.getDefaultUserGroup = getDefaultUserGroup;
/**
* Use this data source to get the Group ID of the `Everyone` group in Wavefront.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the default user group "Everyone"
* const everyoneGroup = wavefront.getDefaultUserGroup({});
* ```
*/
function getDefaultUserGroupOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("wavefront:index/getDefaultUserGroup:getDefaultUserGroup", {}, opts);
}
exports.getDefaultUserGroupOutput = getDefaultUserGroupOutput;
//# sourceMappingURL=getDefaultUserGroup.js.map