UNPKG

@pulumiverse/sentry

Version:

A Pulumi package for creating and managing Sentry resources.

72 lines 2.68 kB
"use strict"; // *** 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.getSentryOrganizationIntegrationOutput = exports.getSentryOrganizationIntegration = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Sentry Organization Integration data source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sentry from "@pulumi/sentry"; * * // Retrieve a Github organization integration * const github = sentry.getSentryOrganizationIntegration({ * organization: "my-organization", * providerKey: "github", * name: "my-github-organization", * }); * // Retrieve a Slack integration * const slack = sentry.getSentryOrganizationIntegration({ * organization: "my-organization", * providerKey: "slack", * name: "Slack Workspace", * }); * ``` */ function getSentryOrganizationIntegration(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sentry:index/getSentryOrganizationIntegration:getSentryOrganizationIntegration", { "name": args.name, "organization": args.organization, "providerKey": args.providerKey, }, opts); } exports.getSentryOrganizationIntegration = getSentryOrganizationIntegration; /** * Sentry Organization Integration data source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sentry from "@pulumi/sentry"; * * // Retrieve a Github organization integration * const github = sentry.getSentryOrganizationIntegration({ * organization: "my-organization", * providerKey: "github", * name: "my-github-organization", * }); * // Retrieve a Slack integration * const slack = sentry.getSentryOrganizationIntegration({ * organization: "my-organization", * providerKey: "slack", * name: "Slack Workspace", * }); * ``` */ function getSentryOrganizationIntegrationOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sentry:index/getSentryOrganizationIntegration:getSentryOrganizationIntegration", { "name": args.name, "organization": args.organization, "providerKey": args.providerKey, }, opts); } exports.getSentryOrganizationIntegrationOutput = getSentryOrganizationIntegrationOutput; //# sourceMappingURL=getSentryOrganizationIntegration.js.map