OrgToken

Manage SignalFx org tokens.

Example Usage

using Pulumi;
using SignalFx = Pulumi.SignalFx;

class MyStack : Stack
{
    public MyStack()
    {
        var myteamkey0 = new SignalFx.OrgToken("myteamkey0", new SignalFx.OrgTokenArgs
        {
            Description = "My team's rad key",
            HostOrUsageLimits = new SignalFx.Inputs.OrgTokenHostOrUsageLimitsArgs
            {
                ContainerLimit = 200,
                ContainerNotificationThreshold = 180,
                CustomMetricsLimit = 1000,
                CustomMetricsNotificationThreshold = 900,
                HighResMetricsLimit = 1000,
                HighResMetricsNotificationThreshold = 900,
                HostLimit = 100,
                HostNotificationThreshold = 90,
            },
            Notifications = 
            {
                "Email,foo-alerts@bar.com",
            },
        });
    }

}

Coming soon!

import pulumi
import pulumi_signalfx as signalfx

myteamkey0 = signalfx.OrgToken("myteamkey0",
    description="My team's rad key",
    host_or_usage_limits={
        "containerLimit": 200,
        "containerNotificationThreshold": 180,
        "customMetricsLimit": 1000,
        "customMetricsNotificationThreshold": 900,
        "highResMetricsLimit": 1000,
        "highResMetricsNotificationThreshold": 900,
        "hostLimit": 100,
        "hostNotificationThreshold": 90,
    },
    notifications=["Email,foo-alerts@bar.com"])
import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const myteamkey0 = new signalfx.OrgToken("myteamkey0", {
    description: "My team's rad key",
    hostOrUsageLimits: {
        containerLimit: 200,
        containerNotificationThreshold: 180,
        customMetricsLimit: 1000,
        customMetricsNotificationThreshold: 900,
        highResMetricsLimit: 1000,
        highResMetricsNotificationThreshold: 900,
        hostLimit: 100,
        hostNotificationThreshold: 90,
    },
    notifications: ["Email,foo-alerts@bar.com"],
});

Create a OrgToken Resource

def OrgToken(resource_name, opts=None, description=None, disabled=None, dpm_limits=None, host_or_usage_limits=None, name=None, notifications=None, __props__=None);
func NewOrgToken(ctx *Context, name string, args *OrgTokenArgs, opts ...ResourceOption) (*OrgToken, error)
public OrgToken(string name, OrgTokenArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args OrgTokenArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args OrgTokenArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OrgTokenArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

OrgToken Resource Properties

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

Inputs

The OrgToken resource accepts the following input properties:

Description string

Description of the token.

Disabled bool

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

DpmLimits Pulumi.SignalFx.Inputs.OrgTokenDpmLimitsArgs

Specify DPM-based limits for this token.

HostOrUsageLimits Pulumi.SignalFx.Inputs.OrgTokenHostOrUsageLimitsArgs

Specify Usage-based limits for this token.

Name string

Name of the token.

Notifications List<string>

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

Description string

Description of the token.

Disabled bool

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

DpmLimits OrgTokenDpmLimits

Specify DPM-based limits for this token.

HostOrUsageLimits OrgTokenHostOrUsageLimits

Specify Usage-based limits for this token.

Name string

Name of the token.

Notifications []string

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

description string

Description of the token.

disabled boolean

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

dpmLimits OrgTokenDpmLimits

Specify DPM-based limits for this token.

hostOrUsageLimits OrgTokenHostOrUsageLimits

Specify Usage-based limits for this token.

name string

Name of the token.

notifications string[]

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

description str

Description of the token.

disabled bool

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

dpm_limits Dict[OrgTokenDpmLimits]

Specify DPM-based limits for this token.

host_or_usage_limits Dict[OrgTokenHostOrUsageLimits]

Specify Usage-based limits for this token.

name str

Name of the token.

notifications List[str]

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Secret string

The secret token created by the API. You cannot set this value.

Id string
The provider-assigned unique ID for this managed resource.
Secret string

The secret token created by the API. You cannot set this value.

id string
The provider-assigned unique ID for this managed resource.
secret string

The secret token created by the API. You cannot set this value.

id str
The provider-assigned unique ID for this managed resource.
secret str

The secret token created by the API. You cannot set this value.

Look up an Existing OrgToken Resource

Get an existing OrgToken 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?: OrgTokenState, opts?: CustomResourceOptions): OrgToken
static get(resource_name, id, opts=None, description=None, disabled=None, dpm_limits=None, host_or_usage_limits=None, name=None, notifications=None, secret=None, __props__=None);
func GetOrgToken(ctx *Context, name string, id IDInput, state *OrgTokenState, opts ...ResourceOption) (*OrgToken, error)
public static OrgToken Get(string name, Input<string> id, OrgTokenState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Description string

Description of the token.

Disabled bool

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

DpmLimits Pulumi.SignalFx.Inputs.OrgTokenDpmLimitsArgs

Specify DPM-based limits for this token.

HostOrUsageLimits Pulumi.SignalFx.Inputs.OrgTokenHostOrUsageLimitsArgs

Specify Usage-based limits for this token.

Name string

Name of the token.

Notifications List<string>

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

Secret string

The secret token created by the API. You cannot set this value.

Description string

Description of the token.

Disabled bool

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

DpmLimits OrgTokenDpmLimits

Specify DPM-based limits for this token.

HostOrUsageLimits OrgTokenHostOrUsageLimits

Specify Usage-based limits for this token.

Name string

Name of the token.

Notifications []string

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

Secret string

The secret token created by the API. You cannot set this value.

description string

Description of the token.

disabled boolean

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

dpmLimits OrgTokenDpmLimits

Specify DPM-based limits for this token.

hostOrUsageLimits OrgTokenHostOrUsageLimits

Specify Usage-based limits for this token.

name string

Name of the token.

notifications string[]

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

secret string

The secret token created by the API. You cannot set this value.

description str

Description of the token.

disabled bool

Flag that controls enabling the token. If set to true, the token is disabled, and you can’t use it for authentication. Defaults to false.

dpm_limits Dict[OrgTokenDpmLimits]

Specify DPM-based limits for this token.

host_or_usage_limits Dict[OrgTokenHostOrUsageLimits]

Specify Usage-based limits for this token.

name str

Name of the token.

notifications List[str]

Where to send notifications about this token’s limits. Please consult the Notification Format laid out in detectors.

secret str

The secret token created by the API. You cannot set this value.

Supporting Types

OrgTokenDpmLimits

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DpmLimit int

The datapoints per minute (dpm) limit for this token. If you exceed this limit, SignalFx sends out an alert.

DpmNotificationThreshold int

DPM level at which SignalFx sends the notification for this token. If you don’t specify a notification, SignalFx sends the generic notification.

DpmLimit int

The datapoints per minute (dpm) limit for this token. If you exceed this limit, SignalFx sends out an alert.

DpmNotificationThreshold int

DPM level at which SignalFx sends the notification for this token. If you don’t specify a notification, SignalFx sends the generic notification.

dpmLimit number

The datapoints per minute (dpm) limit for this token. If you exceed this limit, SignalFx sends out an alert.

dpmNotificationThreshold number

DPM level at which SignalFx sends the notification for this token. If you don’t specify a notification, SignalFx sends the generic notification.

dpmLimit float

The datapoints per minute (dpm) limit for this token. If you exceed this limit, SignalFx sends out an alert.

dpmNotificationThreshold float

DPM level at which SignalFx sends the notification for this token. If you don’t specify a notification, SignalFx sends the generic notification.

OrgTokenHostOrUsageLimits

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

ContainerLimit int

Max number of Docker containers that can use this token

ContainerNotificationThreshold int

Notification threshold for Docker containers

CustomMetricsLimit int

Max number of custom metrics that can be sent with this token

CustomMetricsNotificationThreshold int

Notification threshold for custom metrics

HighResMetricsLimit int

Max number of hi-res metrics that can be sent with this toke

HighResMetricsNotificationThreshold int

Notification threshold for hi-res metrics

HostLimit int

Max number of hosts that can use this token

HostNotificationThreshold int

Notification threshold for hosts

ContainerLimit int

Max number of Docker containers that can use this token

ContainerNotificationThreshold int

Notification threshold for Docker containers

CustomMetricsLimit int

Max number of custom metrics that can be sent with this token

CustomMetricsNotificationThreshold int

Notification threshold for custom metrics

HighResMetricsLimit int

Max number of hi-res metrics that can be sent with this toke

HighResMetricsNotificationThreshold int

Notification threshold for hi-res metrics

HostLimit int

Max number of hosts that can use this token

HostNotificationThreshold int

Notification threshold for hosts

containerLimit number

Max number of Docker containers that can use this token

containerNotificationThreshold number

Notification threshold for Docker containers

customMetricsLimit number

Max number of custom metrics that can be sent with this token

customMetricsNotificationThreshold number

Notification threshold for custom metrics

highResMetricsLimit number

Max number of hi-res metrics that can be sent with this toke

highResMetricsNotificationThreshold number

Notification threshold for hi-res metrics

hostLimit number

Max number of hosts that can use this token

hostNotificationThreshold number

Notification threshold for hosts

containerLimit float

Max number of Docker containers that can use this token

containerNotificationThreshold float

Notification threshold for Docker containers

customMetricsLimit float

Max number of custom metrics that can be sent with this token

customMetricsNotificationThreshold float

Notification threshold for custom metrics

highResMetricsLimit float

Max number of hi-res metrics that can be sent with this toke

highResMetricsNotificationThreshold float

Notification threshold for hi-res metrics

hostLimit float

Max number of hosts that can use this token

hostNotificationThreshold float

Notification threshold for hosts

Package Details

Repository
https://github.com/pulumi/pulumi-signalfx
License
Apache-2.0
Notes
This Pulumi package is based on the signalfx Terraform Provider.