signalfx logo
SignalFx v5.7.0, Jan 18 23

signalfx.Team

Handles management of SignalFx teams.

You can configure team notification policies using this resource and the various notifications_* properties.

NOTE When managing teams use a session token for an administrator to authenticate the SignalFx provider. See Operations that require a session token for an administrator.

Example Usage

using System.Collections.Generic;
using Pulumi;
using SignalFx = Pulumi.SignalFx;

return await Deployment.RunAsync(() => 
{
    var myteam0 = new SignalFx.Team("myteam0", new()
    {
        Description = "Super great team no jerks definitely",
        Members = new[]
        {
            "userid1",
            "userid2",
        },
        NotificationsCriticals = new[]
        {
            "PagerDuty,credentialId",
        },
        NotificationsInfos = new[]
        {
            "Email,notify@example.com",
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-signalfx/sdk/v5/go/signalfx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := signalfx.NewTeam(ctx, "myteam0", &signalfx.TeamArgs{
			Description: pulumi.String("Super great team no jerks definitely"),
			Members: pulumi.StringArray{
				pulumi.String("userid1"),
				pulumi.String("userid2"),
			},
			NotificationsCriticals: pulumi.StringArray{
				pulumi.String("PagerDuty,credentialId"),
			},
			NotificationsInfos: pulumi.StringArray{
				pulumi.String("Email,notify@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.signalfx.Team;
import com.pulumi.signalfx.TeamArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var myteam0 = new Team("myteam0", TeamArgs.builder()        
            .description("Super great team no jerks definitely")
            .members(            
                "userid1",
                "userid2")
            .notificationsCriticals("PagerDuty,credentialId")
            .notificationsInfos("Email,notify@example.com")
            .build());

    }
}
import pulumi
import pulumi_signalfx as signalfx

myteam0 = signalfx.Team("myteam0",
    description="Super great team no jerks definitely",
    members=[
        "userid1",
        "userid2",
    ],
    notifications_criticals=["PagerDuty,credentialId"],
    notifications_infos=["Email,notify@example.com"])
import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const myteam0 = new signalfx.Team("myteam0", {
    description: "Super great team no jerks definitely",
    members: [
        "userid1",
        "userid2",
    ],
    notificationsCriticals: ["PagerDuty,credentialId"],
    notificationsInfos: ["Email,notify@example.com"],
});
resources:
  myteam0:
    type: signalfx:Team
    properties:
      description: Super great team no jerks definitely
      members:
        - userid1
        - userid2
      notificationsCriticals:
        - PagerDuty,credentialId
      notificationsInfos:
        - Email,notify@example.com

Create Team Resource

new Team(name: string, args?: TeamArgs, opts?: CustomResourceOptions);
@overload
def Team(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         description: Optional[str] = None,
         members: Optional[Sequence[str]] = None,
         name: Optional[str] = None,
         notifications_criticals: Optional[Sequence[str]] = None,
         notifications_defaults: Optional[Sequence[str]] = None,
         notifications_infos: Optional[Sequence[str]] = None,
         notifications_majors: Optional[Sequence[str]] = None,
         notifications_minors: Optional[Sequence[str]] = None,
         notifications_warnings: Optional[Sequence[str]] = None)
@overload
def Team(resource_name: str,
         args: Optional[TeamArgs] = None,
         opts: Optional[ResourceOptions] = None)
func NewTeam(ctx *Context, name string, args *TeamArgs, opts ...ResourceOption) (*Team, error)
public Team(string name, TeamArgs? args = null, CustomResourceOptions? opts = null)
public Team(String name, TeamArgs args)
public Team(String name, TeamArgs args, CustomResourceOptions options)
type: signalfx:Team
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TeamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TeamArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TeamArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TeamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TeamArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Team Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Team resource accepts the following input properties:

Description string

Description of the team.

Members List<string>

List of user IDs to include in the team.

Name string

Name of the team.

NotificationsCriticals List<string>

Where to send notifications for critical alerts

NotificationsDefaults List<string>

Where to send notifications for default alerts

NotificationsInfos List<string>

Where to send notifications for info alerts

NotificationsMajors List<string>

Where to send notifications for major alerts

NotificationsMinors List<string>

Where to send notifications for minor alerts

NotificationsWarnings List<string>

Where to send notifications for warning alerts

Description string

Description of the team.

Members []string

List of user IDs to include in the team.

Name string

Name of the team.

NotificationsCriticals []string

Where to send notifications for critical alerts

NotificationsDefaults []string

Where to send notifications for default alerts

NotificationsInfos []string

Where to send notifications for info alerts

NotificationsMajors []string

Where to send notifications for major alerts

NotificationsMinors []string

Where to send notifications for minor alerts

NotificationsWarnings []string

Where to send notifications for warning alerts

description String

Description of the team.

members List<String>

List of user IDs to include in the team.

name String

Name of the team.

notificationsCriticals List<String>

Where to send notifications for critical alerts

notificationsDefaults List<String>

Where to send notifications for default alerts

notificationsInfos List<String>

Where to send notifications for info alerts

notificationsMajors List<String>

Where to send notifications for major alerts

notificationsMinors List<String>

Where to send notifications for minor alerts

notificationsWarnings List<String>

Where to send notifications for warning alerts

description string

Description of the team.

members string[]

List of user IDs to include in the team.

name string

Name of the team.

notificationsCriticals string[]

Where to send notifications for critical alerts

notificationsDefaults string[]

Where to send notifications for default alerts

notificationsInfos string[]

Where to send notifications for info alerts

notificationsMajors string[]

Where to send notifications for major alerts

notificationsMinors string[]

Where to send notifications for minor alerts

notificationsWarnings string[]

Where to send notifications for warning alerts

description str

Description of the team.

members Sequence[str]

List of user IDs to include in the team.

name str

Name of the team.

notifications_criticals Sequence[str]

Where to send notifications for critical alerts

notifications_defaults Sequence[str]

Where to send notifications for default alerts

notifications_infos Sequence[str]

Where to send notifications for info alerts

notifications_majors Sequence[str]

Where to send notifications for major alerts

notifications_minors Sequence[str]

Where to send notifications for minor alerts

notifications_warnings Sequence[str]

Where to send notifications for warning alerts

description String

Description of the team.

members List<String>

List of user IDs to include in the team.

name String

Name of the team.

notificationsCriticals List<String>

Where to send notifications for critical alerts

notificationsDefaults List<String>

Where to send notifications for default alerts

notificationsInfos List<String>

Where to send notifications for info alerts

notificationsMajors List<String>

Where to send notifications for major alerts

notificationsMinors List<String>

Where to send notifications for minor alerts

notificationsWarnings List<String>

Where to send notifications for warning alerts

Outputs

All input properties are implicitly available as output properties. Additionally, the Team resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Url string

The URL of the team.

Id string

The provider-assigned unique ID for this managed resource.

Url string

The URL of the team.

id String

The provider-assigned unique ID for this managed resource.

url String

The URL of the team.

id string

The provider-assigned unique ID for this managed resource.

url string

The URL of the team.

id str

The provider-assigned unique ID for this managed resource.

url str

The URL of the team.

id String

The provider-assigned unique ID for this managed resource.

url String

The URL of the team.

Look up Existing Team Resource

Get an existing Team resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TeamState, opts?: CustomResourceOptions): Team
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        members: Optional[Sequence[str]] = None,
        name: Optional[str] = None,
        notifications_criticals: Optional[Sequence[str]] = None,
        notifications_defaults: Optional[Sequence[str]] = None,
        notifications_infos: Optional[Sequence[str]] = None,
        notifications_majors: Optional[Sequence[str]] = None,
        notifications_minors: Optional[Sequence[str]] = None,
        notifications_warnings: Optional[Sequence[str]] = None,
        url: Optional[str] = None) -> Team
func GetTeam(ctx *Context, name string, id IDInput, state *TeamState, opts ...ResourceOption) (*Team, error)
public static Team Get(string name, Input<string> id, TeamState? state, CustomResourceOptions? opts = null)
public static Team get(String name, Output<String> id, TeamState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string

Description of the team.

Members List<string>

List of user IDs to include in the team.

Name string

Name of the team.

NotificationsCriticals List<string>

Where to send notifications for critical alerts

NotificationsDefaults List<string>

Where to send notifications for default alerts

NotificationsInfos List<string>

Where to send notifications for info alerts

NotificationsMajors List<string>

Where to send notifications for major alerts

NotificationsMinors List<string>

Where to send notifications for minor alerts

NotificationsWarnings List<string>

Where to send notifications for warning alerts

Url string

The URL of the team.

Description string

Description of the team.

Members []string

List of user IDs to include in the team.

Name string

Name of the team.

NotificationsCriticals []string

Where to send notifications for critical alerts

NotificationsDefaults []string

Where to send notifications for default alerts

NotificationsInfos []string

Where to send notifications for info alerts

NotificationsMajors []string

Where to send notifications for major alerts

NotificationsMinors []string

Where to send notifications for minor alerts

NotificationsWarnings []string

Where to send notifications for warning alerts

Url string

The URL of the team.

description String

Description of the team.

members List<String>

List of user IDs to include in the team.

name String

Name of the team.

notificationsCriticals List<String>

Where to send notifications for critical alerts

notificationsDefaults List<String>

Where to send notifications for default alerts

notificationsInfos List<String>

Where to send notifications for info alerts

notificationsMajors List<String>

Where to send notifications for major alerts

notificationsMinors List<String>

Where to send notifications for minor alerts

notificationsWarnings List<String>

Where to send notifications for warning alerts

url String

The URL of the team.

description string

Description of the team.

members string[]

List of user IDs to include in the team.

name string

Name of the team.

notificationsCriticals string[]

Where to send notifications for critical alerts

notificationsDefaults string[]

Where to send notifications for default alerts

notificationsInfos string[]

Where to send notifications for info alerts

notificationsMajors string[]

Where to send notifications for major alerts

notificationsMinors string[]

Where to send notifications for minor alerts

notificationsWarnings string[]

Where to send notifications for warning alerts

url string

The URL of the team.

description str

Description of the team.

members Sequence[str]

List of user IDs to include in the team.

name str

Name of the team.

notifications_criticals Sequence[str]

Where to send notifications for critical alerts

notifications_defaults Sequence[str]

Where to send notifications for default alerts

notifications_infos Sequence[str]

Where to send notifications for info alerts

notifications_majors Sequence[str]

Where to send notifications for major alerts

notifications_minors Sequence[str]

Where to send notifications for minor alerts

notifications_warnings Sequence[str]

Where to send notifications for warning alerts

url str

The URL of the team.

description String

Description of the team.

members List<String>

List of user IDs to include in the team.

name String

Name of the team.

notificationsCriticals List<String>

Where to send notifications for critical alerts

notificationsDefaults List<String>

Where to send notifications for default alerts

notificationsInfos List<String>

Where to send notifications for info alerts

notificationsMajors List<String>

Where to send notifications for major alerts

notificationsMinors List<String>

Where to send notifications for minor alerts

notificationsWarnings List<String>

Where to send notifications for warning alerts

url String

The URL of the team.

Package Details

Repository
SignalFx pulumi/pulumi-signalfx
License
Apache-2.0
Notes

This Pulumi package is based on the signalfx Terraform Provider.