@pulumiverse/sentry
Version:
A Pulumi package for creating and managing Sentry resources.
56 lines • 1.73 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.getSentryTeamOutput = exports.getSentryTeam = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Sentry Team data source.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sentry from "@pulumi/sentry";
*
* // Retrieve a team
* const default = sentry.getSentryTeam({
* organization: "my-organization",
* slug: "my-team",
* });
* ```
*/
function getSentryTeam(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("sentry:index/getSentryTeam:getSentryTeam", {
"organization": args.organization,
"slug": args.slug,
}, opts);
}
exports.getSentryTeam = getSentryTeam;
/**
* Sentry Team data source.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sentry from "@pulumi/sentry";
*
* // Retrieve a team
* const default = sentry.getSentryTeam({
* organization: "my-organization",
* slug: "my-team",
* });
* ```
*/
function getSentryTeamOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("sentry:index/getSentryTeam:getSentryTeam", {
"organization": args.organization,
"slug": args.slug,
}, opts);
}
exports.getSentryTeamOutput = getSentryTeamOutput;
//# sourceMappingURL=getSentryTeam.js.map