import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.Team can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/team:Team primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class Team extends pulumi.CustomResource { /** * Get an existing Team 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, state?: TeamState, opts?: pulumi.CustomResourceOptions): Team; /** * Returns true if the given object is an instance of Team. 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 Team; /** * The user ids of the admins of this team. These users must also be present in userIds attribute. */ readonly adminIds: pulumi.Output; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast alerts to */ readonly alertBroadcastChannel: pulumi.Output; /** * Enable alerts to be broadcasted to a specific channel. Value must be one of true or false */ readonly alertBroadcastEnabled: pulumi.Output; /** * The alert urgency id of the team */ readonly alertUrgencyId: pulumi.Output; /** * Auto add members to incident channel when team is attached. Value must be one of true or false */ readonly autoAddMembersWhenAttached: pulumi.Output; /** * The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name */ readonly backstageId: pulumi.Output; /** * The hex color of the team */ readonly color: pulumi.Output; /** * The Cortex group id associated to this team */ readonly cortexId: pulumi.Output; /** * The description of the team */ readonly description: pulumi.Output; /** * The external id associated to this team */ readonly externalId: pulumi.Output; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast incidents to */ readonly incidentBroadcastChannel: pulumi.Output; /** * Enable incidents to be broadcasted to a specific channel. Value must be one of true or false */ readonly incidentBroadcastEnabled: pulumi.Output; /** * The name of the team */ readonly name: pulumi.Output; /** * Emails to attach to the team */ readonly notifyEmails: pulumi.Output; /** * The Opsgenie group id associated to this team */ readonly opsgenieId: pulumi.Output; /** * The PagerDuty group id associated to this team */ readonly pagerdutyId: pulumi.Output; /** * The PagerDuty service id associated to this team */ readonly pagerdutyServiceId: pulumi.Output; /** * The PagerTree group id associated to this team */ readonly pagertreeId: pulumi.Output; /** * Position of the team */ readonly position: pulumi.Output; /** * Array of property values for this team. */ readonly properties: pulumi.Output; /** * The Service Now CI sys id associated to this team */ readonly serviceNowCiSysId: pulumi.Output; /** * Slack Aliases associated with this team */ readonly slackAliases: pulumi.Output; /** * Slack Channels associated with this team */ readonly slackChannels: pulumi.Output; /** * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ readonly slug: pulumi.Output; /** * The user ids of the members of this team. */ readonly userIds: pulumi.Output; /** * The VictorOps group id associated to this team */ readonly victorOpsId: pulumi.Output; /** * Create a Team 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?: TeamArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Team resources. */ export interface TeamState { /** * The user ids of the admins of this team. These users must also be present in userIds attribute. */ adminIds?: pulumi.Input[] | undefined>; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast alerts to */ alertBroadcastChannel?: pulumi.Input; /** * Enable alerts to be broadcasted to a specific channel. Value must be one of true or false */ alertBroadcastEnabled?: pulumi.Input; /** * The alert urgency id of the team */ alertUrgencyId?: pulumi.Input; /** * Auto add members to incident channel when team is attached. Value must be one of true or false */ autoAddMembersWhenAttached?: pulumi.Input; /** * The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name */ backstageId?: pulumi.Input; /** * The hex color of the team */ color?: pulumi.Input; /** * The Cortex group id associated to this team */ cortexId?: pulumi.Input; /** * The description of the team */ description?: pulumi.Input; /** * The external id associated to this team */ externalId?: pulumi.Input; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast incidents to */ incidentBroadcastChannel?: pulumi.Input; /** * Enable incidents to be broadcasted to a specific channel. Value must be one of true or false */ incidentBroadcastEnabled?: pulumi.Input; /** * The name of the team */ name?: pulumi.Input; /** * Emails to attach to the team */ notifyEmails?: pulumi.Input[] | undefined>; /** * The Opsgenie group id associated to this team */ opsgenieId?: pulumi.Input; /** * The PagerDuty group id associated to this team */ pagerdutyId?: pulumi.Input; /** * The PagerDuty service id associated to this team */ pagerdutyServiceId?: pulumi.Input; /** * The PagerTree group id associated to this team */ pagertreeId?: pulumi.Input; /** * Position of the team */ position?: pulumi.Input; /** * Array of property values for this team. */ properties?: pulumi.Input[] | undefined>; /** * The Service Now CI sys id associated to this team */ serviceNowCiSysId?: pulumi.Input; /** * Slack Aliases associated with this team */ slackAliases?: pulumi.Input[] | undefined>; /** * Slack Channels associated with this team */ slackChannels?: pulumi.Input[] | undefined>; /** * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; /** * The user ids of the members of this team. */ userIds?: pulumi.Input[] | undefined>; /** * The VictorOps group id associated to this team */ victorOpsId?: pulumi.Input; } /** * The set of arguments for constructing a Team resource. */ export interface TeamArgs { /** * The user ids of the admins of this team. These users must also be present in userIds attribute. */ adminIds?: pulumi.Input[] | undefined>; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast alerts to */ alertBroadcastChannel?: pulumi.Input; /** * Enable alerts to be broadcasted to a specific channel. Value must be one of true or false */ alertBroadcastEnabled?: pulumi.Input; /** * The alert urgency id of the team */ alertUrgencyId?: pulumi.Input; /** * Auto add members to incident channel when team is attached. Value must be one of true or false */ autoAddMembersWhenAttached?: pulumi.Input; /** * The Backstage entity id associated to this team. eg: :namespace/:kind/:entity_name */ backstageId?: pulumi.Input; /** * The hex color of the team */ color?: pulumi.Input; /** * The Cortex group id associated to this team */ cortexId?: pulumi.Input; /** * The description of the team */ description?: pulumi.Input; /** * The external id associated to this team */ externalId?: pulumi.Input; /** * Map must contain two fields, `id` and `name`. Slack channel to broadcast incidents to */ incidentBroadcastChannel?: pulumi.Input; /** * Enable incidents to be broadcasted to a specific channel. Value must be one of true or false */ incidentBroadcastEnabled?: pulumi.Input; /** * The name of the team */ name?: pulumi.Input; /** * Emails to attach to the team */ notifyEmails?: pulumi.Input[] | undefined>; /** * The Opsgenie group id associated to this team */ opsgenieId?: pulumi.Input; /** * The PagerDuty group id associated to this team */ pagerdutyId?: pulumi.Input; /** * The PagerDuty service id associated to this team */ pagerdutyServiceId?: pulumi.Input; /** * The PagerTree group id associated to this team */ pagertreeId?: pulumi.Input; /** * Position of the team */ position?: pulumi.Input; /** * Array of property values for this team. */ properties?: pulumi.Input[] | undefined>; /** * The Service Now CI sys id associated to this team */ serviceNowCiSysId?: pulumi.Input; /** * Slack Aliases associated with this team */ slackAliases?: pulumi.Input[] | undefined>; /** * Slack Channels associated with this team */ slackChannels?: pulumi.Input[] | undefined>; /** * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; /** * The user ids of the members of this team. */ userIds?: pulumi.Input[] | undefined>; /** * The VictorOps group id associated to this team */ victorOpsId?: pulumi.Input; } //# sourceMappingURL=team.d.ts.map