@pulumiverse/sentry
Version:
A Pulumi package for creating and managing Sentry resources.
109 lines (108 loc) • 3.25 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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",
* });
* ```
*/
export declare function getSentryOrganizationIntegration(args: GetSentryOrganizationIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetSentryOrganizationIntegrationResult>;
/**
* A collection of arguments for invoking getSentryOrganizationIntegration.
*/
export interface GetSentryOrganizationIntegrationArgs {
/**
* The name of the organization integration.
*/
name: string;
/**
* The slug of the organization the integration belongs to.
*/
organization: string;
/**
* The key of the organization integration provider.
*/
providerKey: string;
}
/**
* A collection of values returned by getSentryOrganizationIntegration.
*/
export interface GetSentryOrganizationIntegrationResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The internal ID for this organization integration.
*/
readonly internalId: string;
/**
* The name of the organization integration.
*/
readonly name: string;
/**
* The slug of the organization the integration belongs to.
*/
readonly organization: string;
/**
* The key of the organization integration provider.
*/
readonly providerKey: string;
}
/**
* 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",
* });
* ```
*/
export declare function getSentryOrganizationIntegrationOutput(args: GetSentryOrganizationIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSentryOrganizationIntegrationResult>;
/**
* A collection of arguments for invoking getSentryOrganizationIntegration.
*/
export interface GetSentryOrganizationIntegrationOutputArgs {
/**
* The name of the organization integration.
*/
name: pulumi.Input<string>;
/**
* The slug of the organization the integration belongs to.
*/
organization: pulumi.Input<string>;
/**
* The key of the organization integration provider.
*/
providerKey: pulumi.Input<string>;
}