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