@pulumi/signalfx
Version:
A Pulumi package for creating and managing SignalFx resources.
178 lines • 6.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Handles management of Splunk Observability Cloud teams.
*
* You can configure [team notification policies](https://docs.splunk.com/observability/en/admin/user-management/teams/team-notifications.html) using this resource and the various `notifications_*` properties.
*
* > **NOTE** When managing teams, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator).
*
* ## Example
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as signalfx from "@pulumi/signalfx";
*
* const myteam0 = new signalfx.Team("myteam0", {
* name: "Best Team Ever",
* description: "Super great team no jerks definitely",
* members: [
* "userid1",
* "userid2",
* ],
* notificationsCriticals: ["PagerDuty,credentialId"],
* notificationsInfos: ["Email,notify@example.com"],
* });
* ```
*/
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<pulumi.ID>, 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;
/**
* Description of the team.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* List of user IDs to include in the team.
*/
readonly members: pulumi.Output<string[] | undefined>;
/**
* Name of the team.
*/
readonly name: pulumi.Output<string>;
/**
* Where to send notifications for critical alerts
*/
readonly notificationsCriticals: pulumi.Output<string[] | undefined>;
/**
* Where to send notifications for default alerts
*/
readonly notificationsDefaults: pulumi.Output<string[] | undefined>;
/**
* Where to send notifications for info alerts
*/
readonly notificationsInfos: pulumi.Output<string[] | undefined>;
/**
* Where to send notifications for major alerts
*/
readonly notificationsMajors: pulumi.Output<string[] | undefined>;
/**
* Where to send notifications for minor alerts
*/
readonly notificationsMinors: pulumi.Output<string[] | undefined>;
/**
* Where to send notifications for warning alerts
*/
readonly notificationsWarnings: pulumi.Output<string[] | undefined>;
/**
* The URL of the team.
*/
readonly url: pulumi.Output<string>;
/**
* 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 {
/**
* Description of the team.
*/
description?: pulumi.Input<string | undefined>;
/**
* List of user IDs to include in the team.
*/
members?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Name of the team.
*/
name?: pulumi.Input<string | undefined>;
/**
* Where to send notifications for critical alerts
*/
notificationsCriticals?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for default alerts
*/
notificationsDefaults?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for info alerts
*/
notificationsInfos?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for major alerts
*/
notificationsMajors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for minor alerts
*/
notificationsMinors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for warning alerts
*/
notificationsWarnings?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* The URL of the team.
*/
url?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a Team resource.
*/
export interface TeamArgs {
/**
* Description of the team.
*/
description?: pulumi.Input<string | undefined>;
/**
* List of user IDs to include in the team.
*/
members?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Name of the team.
*/
name?: pulumi.Input<string | undefined>;
/**
* Where to send notifications for critical alerts
*/
notificationsCriticals?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for default alerts
*/
notificationsDefaults?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for info alerts
*/
notificationsInfos?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for major alerts
*/
notificationsMajors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for minor alerts
*/
notificationsMinors?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Where to send notifications for warning alerts
*/
notificationsWarnings?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=team.d.ts.map