@pulumiverse/sentry
Version:
A Pulumi package for creating and managing Sentry resources.
108 lines (107 loc) • 3.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Sentry Organization resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sentry from "@pulumiverse/sentry";
*
* // Create an organization
* const _default = new sentry.SentryOrganization("default", {
* name: "My Organization",
* slug: "my-organization",
* agreeTerms: true,
* });
* ```
*
* ## Import
*
* import using the organization slug from the URL:
*
* https://sentry.io/organizations/[org-slug]/issues/
*
* ```sh
* $ pulumi import sentry:index/sentryOrganization:SentryOrganization default org-slug
* ```
*/
export declare class SentryOrganization extends pulumi.CustomResource {
/**
* Get an existing SentryOrganization resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SentryOrganizationState, opts?: pulumi.CustomResourceOptions): SentryOrganization;
/**
* Returns true if the given object is an instance of SentryOrganization. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is SentryOrganization;
/**
* You agree to the applicable terms of service and privacy policy.
*/
readonly agreeTerms: pulumi.Output<boolean>;
/**
* The internal ID for this organization.
*/
readonly internalId: pulumi.Output<string>;
/**
* The human readable name for the organization.
*/
readonly name: pulumi.Output<string>;
/**
* The unique URL slug for this organization.
*/
readonly slug: pulumi.Output<string>;
/**
* Create a SentryOrganization resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: SentryOrganizationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SentryOrganization resources.
*/
export interface SentryOrganizationState {
/**
* You agree to the applicable terms of service and privacy policy.
*/
agreeTerms?: pulumi.Input<boolean>;
/**
* The internal ID for this organization.
*/
internalId?: pulumi.Input<string>;
/**
* The human readable name for the organization.
*/
name?: pulumi.Input<string>;
/**
* The unique URL slug for this organization.
*/
slug?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SentryOrganization resource.
*/
export interface SentryOrganizationArgs {
/**
* You agree to the applicable terms of service and privacy policy.
*/
agreeTerms: pulumi.Input<boolean>;
/**
* The human readable name for the organization.
*/
name?: pulumi.Input<string>;
/**
* The unique URL slug for this organization.
*/
slug?: pulumi.Input<string>;
}