rootly

package
v0.0.0-...-8d8afcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Rootly cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Cause

type Cause struct {
	pulumi.CustomResourceState

	// The description of the cause
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the cause
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages incident causes (e.g Bug, Load, Human Error, 3rd party Outage, Configuration Change).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewCause(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/cause:Cause foo 11111111-2222-3333-4444-555555555555

```

func GetCause

func GetCause(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CauseState, opts ...pulumi.ResourceOption) (*Cause, error)

GetCause gets an existing Cause resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCause

func NewCause(ctx *pulumi.Context,
	name string, args *CauseArgs, opts ...pulumi.ResourceOption) (*Cause, error)

NewCause registers a new resource with the given unique name, arguments, and options.

func (*Cause) ElementType

func (*Cause) ElementType() reflect.Type

func (*Cause) ToCauseOutput

func (i *Cause) ToCauseOutput() CauseOutput

func (*Cause) ToCauseOutputWithContext

func (i *Cause) ToCauseOutputWithContext(ctx context.Context) CauseOutput

type CauseArgs

type CauseArgs struct {
	// The description of the cause
	Description pulumi.StringPtrInput
	// The name of the cause
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Cause resource.

func (CauseArgs) ElementType

func (CauseArgs) ElementType() reflect.Type

type CauseArray

type CauseArray []CauseInput

func (CauseArray) ElementType

func (CauseArray) ElementType() reflect.Type

func (CauseArray) ToCauseArrayOutput

func (i CauseArray) ToCauseArrayOutput() CauseArrayOutput

func (CauseArray) ToCauseArrayOutputWithContext

func (i CauseArray) ToCauseArrayOutputWithContext(ctx context.Context) CauseArrayOutput

type CauseArrayInput

type CauseArrayInput interface {
	pulumi.Input

	ToCauseArrayOutput() CauseArrayOutput
	ToCauseArrayOutputWithContext(context.Context) CauseArrayOutput
}

CauseArrayInput is an input type that accepts CauseArray and CauseArrayOutput values. You can construct a concrete instance of `CauseArrayInput` via:

CauseArray{ CauseArgs{...} }

type CauseArrayOutput

type CauseArrayOutput struct{ *pulumi.OutputState }

func (CauseArrayOutput) ElementType

func (CauseArrayOutput) ElementType() reflect.Type

func (CauseArrayOutput) Index

func (CauseArrayOutput) ToCauseArrayOutput

func (o CauseArrayOutput) ToCauseArrayOutput() CauseArrayOutput

func (CauseArrayOutput) ToCauseArrayOutputWithContext

func (o CauseArrayOutput) ToCauseArrayOutputWithContext(ctx context.Context) CauseArrayOutput

type CauseInput

type CauseInput interface {
	pulumi.Input

	ToCauseOutput() CauseOutput
	ToCauseOutputWithContext(ctx context.Context) CauseOutput
}

type CauseMap

type CauseMap map[string]CauseInput

func (CauseMap) ElementType

func (CauseMap) ElementType() reflect.Type

func (CauseMap) ToCauseMapOutput

func (i CauseMap) ToCauseMapOutput() CauseMapOutput

func (CauseMap) ToCauseMapOutputWithContext

func (i CauseMap) ToCauseMapOutputWithContext(ctx context.Context) CauseMapOutput

type CauseMapInput

type CauseMapInput interface {
	pulumi.Input

	ToCauseMapOutput() CauseMapOutput
	ToCauseMapOutputWithContext(context.Context) CauseMapOutput
}

CauseMapInput is an input type that accepts CauseMap and CauseMapOutput values. You can construct a concrete instance of `CauseMapInput` via:

CauseMap{ "key": CauseArgs{...} }

type CauseMapOutput

type CauseMapOutput struct{ *pulumi.OutputState }

func (CauseMapOutput) ElementType

func (CauseMapOutput) ElementType() reflect.Type

func (CauseMapOutput) MapIndex

func (CauseMapOutput) ToCauseMapOutput

func (o CauseMapOutput) ToCauseMapOutput() CauseMapOutput

func (CauseMapOutput) ToCauseMapOutputWithContext

func (o CauseMapOutput) ToCauseMapOutputWithContext(ctx context.Context) CauseMapOutput

type CauseOutput

type CauseOutput struct{ *pulumi.OutputState }

func (CauseOutput) ElementType

func (CauseOutput) ElementType() reflect.Type

func (CauseOutput) ToCauseOutput

func (o CauseOutput) ToCauseOutput() CauseOutput

func (CauseOutput) ToCauseOutputWithContext

func (o CauseOutput) ToCauseOutputWithContext(ctx context.Context) CauseOutput

type CauseState

type CauseState struct {
	// The description of the cause
	Description pulumi.StringPtrInput
	// The name of the cause
	Name pulumi.StringPtrInput
}

func (CauseState) ElementType

func (CauseState) ElementType() reflect.Type

type Functionality

type Functionality struct {
	pulumi.CustomResourceState

	// The color of the severity
	Color pulumi.StringPtrOutput `pulumi:"color"`
	// The description of the functionality
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the functionality
	Name pulumi.StringOutput `pulumi:"name"`
	// The slug of the severity
	Slug pulumi.StringOutput `pulumi:"slug"`
}

Manages functionalities (e.g Logging In, Search, Adds items to Cart).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewFunctionality(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/functionality:Functionality foo 11111111-2222-3333-4444-555555555555

```

func GetFunctionality

func GetFunctionality(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FunctionalityState, opts ...pulumi.ResourceOption) (*Functionality, error)

GetFunctionality gets an existing Functionality resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFunctionality

func NewFunctionality(ctx *pulumi.Context,
	name string, args *FunctionalityArgs, opts ...pulumi.ResourceOption) (*Functionality, error)

NewFunctionality registers a new resource with the given unique name, arguments, and options.

func (*Functionality) ElementType

func (*Functionality) ElementType() reflect.Type

func (*Functionality) ToFunctionalityOutput

func (i *Functionality) ToFunctionalityOutput() FunctionalityOutput

func (*Functionality) ToFunctionalityOutputWithContext

func (i *Functionality) ToFunctionalityOutputWithContext(ctx context.Context) FunctionalityOutput

type FunctionalityArgs

type FunctionalityArgs struct {
	// The color of the severity
	Color pulumi.StringPtrInput
	// The description of the functionality
	Description pulumi.StringPtrInput
	// The name of the functionality
	Name pulumi.StringPtrInput
	// The slug of the severity
	Slug pulumi.StringPtrInput
}

The set of arguments for constructing a Functionality resource.

func (FunctionalityArgs) ElementType

func (FunctionalityArgs) ElementType() reflect.Type

type FunctionalityArray

type FunctionalityArray []FunctionalityInput

func (FunctionalityArray) ElementType

func (FunctionalityArray) ElementType() reflect.Type

func (FunctionalityArray) ToFunctionalityArrayOutput

func (i FunctionalityArray) ToFunctionalityArrayOutput() FunctionalityArrayOutput

func (FunctionalityArray) ToFunctionalityArrayOutputWithContext

func (i FunctionalityArray) ToFunctionalityArrayOutputWithContext(ctx context.Context) FunctionalityArrayOutput

type FunctionalityArrayInput

type FunctionalityArrayInput interface {
	pulumi.Input

	ToFunctionalityArrayOutput() FunctionalityArrayOutput
	ToFunctionalityArrayOutputWithContext(context.Context) FunctionalityArrayOutput
}

FunctionalityArrayInput is an input type that accepts FunctionalityArray and FunctionalityArrayOutput values. You can construct a concrete instance of `FunctionalityArrayInput` via:

FunctionalityArray{ FunctionalityArgs{...} }

type FunctionalityArrayOutput

type FunctionalityArrayOutput struct{ *pulumi.OutputState }

func (FunctionalityArrayOutput) ElementType

func (FunctionalityArrayOutput) ElementType() reflect.Type

func (FunctionalityArrayOutput) Index

func (FunctionalityArrayOutput) ToFunctionalityArrayOutput

func (o FunctionalityArrayOutput) ToFunctionalityArrayOutput() FunctionalityArrayOutput

func (FunctionalityArrayOutput) ToFunctionalityArrayOutputWithContext

func (o FunctionalityArrayOutput) ToFunctionalityArrayOutputWithContext(ctx context.Context) FunctionalityArrayOutput

type FunctionalityInput

type FunctionalityInput interface {
	pulumi.Input

	ToFunctionalityOutput() FunctionalityOutput
	ToFunctionalityOutputWithContext(ctx context.Context) FunctionalityOutput
}

type FunctionalityMap

type FunctionalityMap map[string]FunctionalityInput

func (FunctionalityMap) ElementType

func (FunctionalityMap) ElementType() reflect.Type

func (FunctionalityMap) ToFunctionalityMapOutput

func (i FunctionalityMap) ToFunctionalityMapOutput() FunctionalityMapOutput

func (FunctionalityMap) ToFunctionalityMapOutputWithContext

func (i FunctionalityMap) ToFunctionalityMapOutputWithContext(ctx context.Context) FunctionalityMapOutput

type FunctionalityMapInput

type FunctionalityMapInput interface {
	pulumi.Input

	ToFunctionalityMapOutput() FunctionalityMapOutput
	ToFunctionalityMapOutputWithContext(context.Context) FunctionalityMapOutput
}

FunctionalityMapInput is an input type that accepts FunctionalityMap and FunctionalityMapOutput values. You can construct a concrete instance of `FunctionalityMapInput` via:

FunctionalityMap{ "key": FunctionalityArgs{...} }

type FunctionalityMapOutput

type FunctionalityMapOutput struct{ *pulumi.OutputState }

func (FunctionalityMapOutput) ElementType

func (FunctionalityMapOutput) ElementType() reflect.Type

func (FunctionalityMapOutput) MapIndex

func (FunctionalityMapOutput) ToFunctionalityMapOutput

func (o FunctionalityMapOutput) ToFunctionalityMapOutput() FunctionalityMapOutput

func (FunctionalityMapOutput) ToFunctionalityMapOutputWithContext

func (o FunctionalityMapOutput) ToFunctionalityMapOutputWithContext(ctx context.Context) FunctionalityMapOutput

type FunctionalityOutput

type FunctionalityOutput struct{ *pulumi.OutputState }

func (FunctionalityOutput) ElementType

func (FunctionalityOutput) ElementType() reflect.Type

func (FunctionalityOutput) ToFunctionalityOutput

func (o FunctionalityOutput) ToFunctionalityOutput() FunctionalityOutput

func (FunctionalityOutput) ToFunctionalityOutputWithContext

func (o FunctionalityOutput) ToFunctionalityOutputWithContext(ctx context.Context) FunctionalityOutput

type FunctionalityState

type FunctionalityState struct {
	// The color of the severity
	Color pulumi.StringPtrInput
	// The description of the functionality
	Description pulumi.StringPtrInput
	// The name of the functionality
	Name pulumi.StringPtrInput
	// The slug of the severity
	Slug pulumi.StringPtrInput
}

func (FunctionalityState) ElementType

func (FunctionalityState) ElementType() reflect.Type

type IncidentRole

type IncidentRole struct {
	pulumi.CustomResourceState

	// The description of the incident role
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the incident role is enabled or not
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The name of the incident role
	Name pulumi.StringOutput `pulumi:"name"`
	// The summary of the incident role
	Summary pulumi.StringPtrOutput `pulumi:"summary"`
}

Manages Incident Roles (e.g Commander, Ops Lead, Communication).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewIncidentRole(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/incidentRole:IncidentRole foo 11111111-2222-3333-4444-555555555555

```

func GetIncidentRole

func GetIncidentRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IncidentRoleState, opts ...pulumi.ResourceOption) (*IncidentRole, error)

GetIncidentRole gets an existing IncidentRole resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIncidentRole

func NewIncidentRole(ctx *pulumi.Context,
	name string, args *IncidentRoleArgs, opts ...pulumi.ResourceOption) (*IncidentRole, error)

NewIncidentRole registers a new resource with the given unique name, arguments, and options.

func (*IncidentRole) ElementType

func (*IncidentRole) ElementType() reflect.Type

func (*IncidentRole) ToIncidentRoleOutput

func (i *IncidentRole) ToIncidentRoleOutput() IncidentRoleOutput

func (*IncidentRole) ToIncidentRoleOutputWithContext

func (i *IncidentRole) ToIncidentRoleOutputWithContext(ctx context.Context) IncidentRoleOutput

type IncidentRoleArgs

type IncidentRoleArgs struct {
	// The description of the incident role
	Description pulumi.StringPtrInput
	// Whether the incident role is enabled or not
	Enabled pulumi.BoolPtrInput
	// The name of the incident role
	Name pulumi.StringPtrInput
	// The summary of the incident role
	Summary pulumi.StringPtrInput
}

The set of arguments for constructing a IncidentRole resource.

func (IncidentRoleArgs) ElementType

func (IncidentRoleArgs) ElementType() reflect.Type

type IncidentRoleArray

type IncidentRoleArray []IncidentRoleInput

func (IncidentRoleArray) ElementType

func (IncidentRoleArray) ElementType() reflect.Type

func (IncidentRoleArray) ToIncidentRoleArrayOutput

func (i IncidentRoleArray) ToIncidentRoleArrayOutput() IncidentRoleArrayOutput

func (IncidentRoleArray) ToIncidentRoleArrayOutputWithContext

func (i IncidentRoleArray) ToIncidentRoleArrayOutputWithContext(ctx context.Context) IncidentRoleArrayOutput

type IncidentRoleArrayInput

type IncidentRoleArrayInput interface {
	pulumi.Input

	ToIncidentRoleArrayOutput() IncidentRoleArrayOutput
	ToIncidentRoleArrayOutputWithContext(context.Context) IncidentRoleArrayOutput
}

IncidentRoleArrayInput is an input type that accepts IncidentRoleArray and IncidentRoleArrayOutput values. You can construct a concrete instance of `IncidentRoleArrayInput` via:

IncidentRoleArray{ IncidentRoleArgs{...} }

type IncidentRoleArrayOutput

type IncidentRoleArrayOutput struct{ *pulumi.OutputState }

func (IncidentRoleArrayOutput) ElementType

func (IncidentRoleArrayOutput) ElementType() reflect.Type

func (IncidentRoleArrayOutput) Index

func (IncidentRoleArrayOutput) ToIncidentRoleArrayOutput

func (o IncidentRoleArrayOutput) ToIncidentRoleArrayOutput() IncidentRoleArrayOutput

func (IncidentRoleArrayOutput) ToIncidentRoleArrayOutputWithContext

func (o IncidentRoleArrayOutput) ToIncidentRoleArrayOutputWithContext(ctx context.Context) IncidentRoleArrayOutput

type IncidentRoleInput

type IncidentRoleInput interface {
	pulumi.Input

	ToIncidentRoleOutput() IncidentRoleOutput
	ToIncidentRoleOutputWithContext(ctx context.Context) IncidentRoleOutput
}

type IncidentRoleMap

type IncidentRoleMap map[string]IncidentRoleInput

func (IncidentRoleMap) ElementType

func (IncidentRoleMap) ElementType() reflect.Type

func (IncidentRoleMap) ToIncidentRoleMapOutput

func (i IncidentRoleMap) ToIncidentRoleMapOutput() IncidentRoleMapOutput

func (IncidentRoleMap) ToIncidentRoleMapOutputWithContext

func (i IncidentRoleMap) ToIncidentRoleMapOutputWithContext(ctx context.Context) IncidentRoleMapOutput

type IncidentRoleMapInput

type IncidentRoleMapInput interface {
	pulumi.Input

	ToIncidentRoleMapOutput() IncidentRoleMapOutput
	ToIncidentRoleMapOutputWithContext(context.Context) IncidentRoleMapOutput
}

IncidentRoleMapInput is an input type that accepts IncidentRoleMap and IncidentRoleMapOutput values. You can construct a concrete instance of `IncidentRoleMapInput` via:

IncidentRoleMap{ "key": IncidentRoleArgs{...} }

type IncidentRoleMapOutput

type IncidentRoleMapOutput struct{ *pulumi.OutputState }

func (IncidentRoleMapOutput) ElementType

func (IncidentRoleMapOutput) ElementType() reflect.Type

func (IncidentRoleMapOutput) MapIndex

func (IncidentRoleMapOutput) ToIncidentRoleMapOutput

func (o IncidentRoleMapOutput) ToIncidentRoleMapOutput() IncidentRoleMapOutput

func (IncidentRoleMapOutput) ToIncidentRoleMapOutputWithContext

func (o IncidentRoleMapOutput) ToIncidentRoleMapOutputWithContext(ctx context.Context) IncidentRoleMapOutput

type IncidentRoleOutput

type IncidentRoleOutput struct{ *pulumi.OutputState }

func (IncidentRoleOutput) ElementType

func (IncidentRoleOutput) ElementType() reflect.Type

func (IncidentRoleOutput) ToIncidentRoleOutput

func (o IncidentRoleOutput) ToIncidentRoleOutput() IncidentRoleOutput

func (IncidentRoleOutput) ToIncidentRoleOutputWithContext

func (o IncidentRoleOutput) ToIncidentRoleOutputWithContext(ctx context.Context) IncidentRoleOutput

type IncidentRoleState

type IncidentRoleState struct {
	// The description of the incident role
	Description pulumi.StringPtrInput
	// Whether the incident role is enabled or not
	Enabled pulumi.BoolPtrInput
	// The name of the incident role
	Name pulumi.StringPtrInput
	// The summary of the incident role
	Summary pulumi.StringPtrInput
}

func (IncidentRoleState) ElementType

func (IncidentRoleState) ElementType() reflect.Type

type IncidentType

type IncidentType struct {
	pulumi.CustomResourceState

	// The cikir of the incident type
	Color pulumi.StringPtrOutput `pulumi:"color"`
	// The description of the incident type
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the incident type
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages incident types (e.g Cloud, Customer Facing, Security, Training).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewIncidentType(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/incidentType:IncidentType foo 11111111-2222-3333-4444-555555555555

```

func GetIncidentType

func GetIncidentType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IncidentTypeState, opts ...pulumi.ResourceOption) (*IncidentType, error)

GetIncidentType gets an existing IncidentType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIncidentType

func NewIncidentType(ctx *pulumi.Context,
	name string, args *IncidentTypeArgs, opts ...pulumi.ResourceOption) (*IncidentType, error)

NewIncidentType registers a new resource with the given unique name, arguments, and options.

func (*IncidentType) ElementType

func (*IncidentType) ElementType() reflect.Type

func (*IncidentType) ToIncidentTypeOutput

func (i *IncidentType) ToIncidentTypeOutput() IncidentTypeOutput

func (*IncidentType) ToIncidentTypeOutputWithContext

func (i *IncidentType) ToIncidentTypeOutputWithContext(ctx context.Context) IncidentTypeOutput

type IncidentTypeArgs

type IncidentTypeArgs struct {
	// The cikir of the incident type
	Color pulumi.StringPtrInput
	// The description of the incident type
	Description pulumi.StringPtrInput
	// The name of the incident type
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a IncidentType resource.

func (IncidentTypeArgs) ElementType

func (IncidentTypeArgs) ElementType() reflect.Type

type IncidentTypeArray

type IncidentTypeArray []IncidentTypeInput

func (IncidentTypeArray) ElementType

func (IncidentTypeArray) ElementType() reflect.Type

func (IncidentTypeArray) ToIncidentTypeArrayOutput

func (i IncidentTypeArray) ToIncidentTypeArrayOutput() IncidentTypeArrayOutput

func (IncidentTypeArray) ToIncidentTypeArrayOutputWithContext

func (i IncidentTypeArray) ToIncidentTypeArrayOutputWithContext(ctx context.Context) IncidentTypeArrayOutput

type IncidentTypeArrayInput

type IncidentTypeArrayInput interface {
	pulumi.Input

	ToIncidentTypeArrayOutput() IncidentTypeArrayOutput
	ToIncidentTypeArrayOutputWithContext(context.Context) IncidentTypeArrayOutput
}

IncidentTypeArrayInput is an input type that accepts IncidentTypeArray and IncidentTypeArrayOutput values. You can construct a concrete instance of `IncidentTypeArrayInput` via:

IncidentTypeArray{ IncidentTypeArgs{...} }

type IncidentTypeArrayOutput

type IncidentTypeArrayOutput struct{ *pulumi.OutputState }

func (IncidentTypeArrayOutput) ElementType

func (IncidentTypeArrayOutput) ElementType() reflect.Type

func (IncidentTypeArrayOutput) Index

func (IncidentTypeArrayOutput) ToIncidentTypeArrayOutput

func (o IncidentTypeArrayOutput) ToIncidentTypeArrayOutput() IncidentTypeArrayOutput

func (IncidentTypeArrayOutput) ToIncidentTypeArrayOutputWithContext

func (o IncidentTypeArrayOutput) ToIncidentTypeArrayOutputWithContext(ctx context.Context) IncidentTypeArrayOutput

type IncidentTypeInput

type IncidentTypeInput interface {
	pulumi.Input

	ToIncidentTypeOutput() IncidentTypeOutput
	ToIncidentTypeOutputWithContext(ctx context.Context) IncidentTypeOutput
}

type IncidentTypeMap

type IncidentTypeMap map[string]IncidentTypeInput

func (IncidentTypeMap) ElementType

func (IncidentTypeMap) ElementType() reflect.Type

func (IncidentTypeMap) ToIncidentTypeMapOutput

func (i IncidentTypeMap) ToIncidentTypeMapOutput() IncidentTypeMapOutput

func (IncidentTypeMap) ToIncidentTypeMapOutputWithContext

func (i IncidentTypeMap) ToIncidentTypeMapOutputWithContext(ctx context.Context) IncidentTypeMapOutput

type IncidentTypeMapInput

type IncidentTypeMapInput interface {
	pulumi.Input

	ToIncidentTypeMapOutput() IncidentTypeMapOutput
	ToIncidentTypeMapOutputWithContext(context.Context) IncidentTypeMapOutput
}

IncidentTypeMapInput is an input type that accepts IncidentTypeMap and IncidentTypeMapOutput values. You can construct a concrete instance of `IncidentTypeMapInput` via:

IncidentTypeMap{ "key": IncidentTypeArgs{...} }

type IncidentTypeMapOutput

type IncidentTypeMapOutput struct{ *pulumi.OutputState }

func (IncidentTypeMapOutput) ElementType

func (IncidentTypeMapOutput) ElementType() reflect.Type

func (IncidentTypeMapOutput) MapIndex

func (IncidentTypeMapOutput) ToIncidentTypeMapOutput

func (o IncidentTypeMapOutput) ToIncidentTypeMapOutput() IncidentTypeMapOutput

func (IncidentTypeMapOutput) ToIncidentTypeMapOutputWithContext

func (o IncidentTypeMapOutput) ToIncidentTypeMapOutputWithContext(ctx context.Context) IncidentTypeMapOutput

type IncidentTypeOutput

type IncidentTypeOutput struct{ *pulumi.OutputState }

func (IncidentTypeOutput) ElementType

func (IncidentTypeOutput) ElementType() reflect.Type

func (IncidentTypeOutput) ToIncidentTypeOutput

func (o IncidentTypeOutput) ToIncidentTypeOutput() IncidentTypeOutput

func (IncidentTypeOutput) ToIncidentTypeOutputWithContext

func (o IncidentTypeOutput) ToIncidentTypeOutputWithContext(ctx context.Context) IncidentTypeOutput

type IncidentTypeState

type IncidentTypeState struct {
	// The cikir of the incident type
	Color pulumi.StringPtrInput
	// The description of the incident type
	Description pulumi.StringPtrInput
	// The name of the incident type
	Name pulumi.StringPtrInput
}

func (IncidentTypeState) ElementType

func (IncidentTypeState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The Rootly API host. Defaults to https://api.rootly.com
	ApiHost pulumi.StringPtrOutput `pulumi:"apiHost"`
	// The Rootly API Token. Generate it from your account at https://rootly.com/account
	ApiToken pulumi.StringPtrOutput `pulumi:"apiToken"`
}

The provider type for the rootly package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The Rootly API host. Defaults to https://api.rootly.com
	ApiHost pulumi.StringPtrInput
	// The Rootly API Token. Generate it from your account at https://rootly.com/account
	ApiToken pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type Service

type Service struct {
	pulumi.CustomResourceState

	// The color chosen for the service
	Color pulumi.StringPtrOutput `pulumi:"color"`
	// For internal use only
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the service
	Name pulumi.StringOutput `pulumi:"name"`
	// This will be displayed on your status pages to explain to your customer the use of this service.
	PublicDescription pulumi.StringPtrOutput `pulumi:"publicDescription"`
	// The slug of the service
	Slug pulumi.StringOutput `pulumi:"slug"`
}

Manages Services (e.g elasticsearch-prod, redis-preprod, customer-postgresql-prod).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewService(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/service:Service foo 11111111-2222-3333-4444-555555555555

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// The color chosen for the service
	Color pulumi.StringPtrInput
	// For internal use only
	Description pulumi.StringPtrInput
	// The name of the service
	Name pulumi.StringPtrInput
	// This will be displayed on your status pages to explain to your customer the use of this service.
	PublicDescription pulumi.StringPtrInput
	// The slug of the service
	Slug pulumi.StringPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceState

type ServiceState struct {
	// The color chosen for the service
	Color pulumi.StringPtrInput
	// For internal use only
	Description pulumi.StringPtrInput
	// The name of the service
	Name pulumi.StringPtrInput
	// This will be displayed on your status pages to explain to your customer the use of this service.
	PublicDescription pulumi.StringPtrInput
	// The slug of the service
	Slug pulumi.StringPtrInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type Severity

type Severity struct {
	pulumi.CustomResourceState

	// The color of the severity
	Color pulumi.StringPtrOutput `pulumi:"color"`
	// The description of the severity
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the severity
	Name pulumi.StringOutput `pulumi:"name"`
	// The description of the severity
	Severity pulumi.StringPtrOutput `pulumi:"severity"`
	// The slug of the severity
	Slug pulumi.StringOutput `pulumi:"slug"`
}

Manages Severities (e.g SEV0, SEV1, SEV2, SEV3).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewSeverity(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/severity:Severity foo 11111111-2222-3333-4444-555555555555

```

func GetSeverity

func GetSeverity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SeverityState, opts ...pulumi.ResourceOption) (*Severity, error)

GetSeverity gets an existing Severity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSeverity

func NewSeverity(ctx *pulumi.Context,
	name string, args *SeverityArgs, opts ...pulumi.ResourceOption) (*Severity, error)

NewSeverity registers a new resource with the given unique name, arguments, and options.

func (*Severity) ElementType

func (*Severity) ElementType() reflect.Type

func (*Severity) ToSeverityOutput

func (i *Severity) ToSeverityOutput() SeverityOutput

func (*Severity) ToSeverityOutputWithContext

func (i *Severity) ToSeverityOutputWithContext(ctx context.Context) SeverityOutput

type SeverityArgs

type SeverityArgs struct {
	// The color of the severity
	Color pulumi.StringPtrInput
	// The description of the severity
	Description pulumi.StringPtrInput
	// The name of the severity
	Name pulumi.StringPtrInput
	// The description of the severity
	Severity pulumi.StringPtrInput
	// The slug of the severity
	Slug pulumi.StringPtrInput
}

The set of arguments for constructing a Severity resource.

func (SeverityArgs) ElementType

func (SeverityArgs) ElementType() reflect.Type

type SeverityArray

type SeverityArray []SeverityInput

func (SeverityArray) ElementType

func (SeverityArray) ElementType() reflect.Type

func (SeverityArray) ToSeverityArrayOutput

func (i SeverityArray) ToSeverityArrayOutput() SeverityArrayOutput

func (SeverityArray) ToSeverityArrayOutputWithContext

func (i SeverityArray) ToSeverityArrayOutputWithContext(ctx context.Context) SeverityArrayOutput

type SeverityArrayInput

type SeverityArrayInput interface {
	pulumi.Input

	ToSeverityArrayOutput() SeverityArrayOutput
	ToSeverityArrayOutputWithContext(context.Context) SeverityArrayOutput
}

SeverityArrayInput is an input type that accepts SeverityArray and SeverityArrayOutput values. You can construct a concrete instance of `SeverityArrayInput` via:

SeverityArray{ SeverityArgs{...} }

type SeverityArrayOutput

type SeverityArrayOutput struct{ *pulumi.OutputState }

func (SeverityArrayOutput) ElementType

func (SeverityArrayOutput) ElementType() reflect.Type

func (SeverityArrayOutput) Index

func (SeverityArrayOutput) ToSeverityArrayOutput

func (o SeverityArrayOutput) ToSeverityArrayOutput() SeverityArrayOutput

func (SeverityArrayOutput) ToSeverityArrayOutputWithContext

func (o SeverityArrayOutput) ToSeverityArrayOutputWithContext(ctx context.Context) SeverityArrayOutput

type SeverityInput

type SeverityInput interface {
	pulumi.Input

	ToSeverityOutput() SeverityOutput
	ToSeverityOutputWithContext(ctx context.Context) SeverityOutput
}

type SeverityMap

type SeverityMap map[string]SeverityInput

func (SeverityMap) ElementType

func (SeverityMap) ElementType() reflect.Type

func (SeverityMap) ToSeverityMapOutput

func (i SeverityMap) ToSeverityMapOutput() SeverityMapOutput

func (SeverityMap) ToSeverityMapOutputWithContext

func (i SeverityMap) ToSeverityMapOutputWithContext(ctx context.Context) SeverityMapOutput

type SeverityMapInput

type SeverityMapInput interface {
	pulumi.Input

	ToSeverityMapOutput() SeverityMapOutput
	ToSeverityMapOutputWithContext(context.Context) SeverityMapOutput
}

SeverityMapInput is an input type that accepts SeverityMap and SeverityMapOutput values. You can construct a concrete instance of `SeverityMapInput` via:

SeverityMap{ "key": SeverityArgs{...} }

type SeverityMapOutput

type SeverityMapOutput struct{ *pulumi.OutputState }

func (SeverityMapOutput) ElementType

func (SeverityMapOutput) ElementType() reflect.Type

func (SeverityMapOutput) MapIndex

func (SeverityMapOutput) ToSeverityMapOutput

func (o SeverityMapOutput) ToSeverityMapOutput() SeverityMapOutput

func (SeverityMapOutput) ToSeverityMapOutputWithContext

func (o SeverityMapOutput) ToSeverityMapOutputWithContext(ctx context.Context) SeverityMapOutput

type SeverityOutput

type SeverityOutput struct{ *pulumi.OutputState }

func (SeverityOutput) ElementType

func (SeverityOutput) ElementType() reflect.Type

func (SeverityOutput) ToSeverityOutput

func (o SeverityOutput) ToSeverityOutput() SeverityOutput

func (SeverityOutput) ToSeverityOutputWithContext

func (o SeverityOutput) ToSeverityOutputWithContext(ctx context.Context) SeverityOutput

type SeverityState

type SeverityState struct {
	// The color of the severity
	Color pulumi.StringPtrInput
	// The description of the severity
	Description pulumi.StringPtrInput
	// The name of the severity
	Name pulumi.StringPtrInput
	// The description of the severity
	Severity pulumi.StringPtrInput
	// The slug of the severity
	Slug pulumi.StringPtrInput
}

func (SeverityState) ElementType

func (SeverityState) ElementType() reflect.Type

type Team

type Team struct {
	pulumi.CustomResourceState

	// The color chosen for the team
	Color pulumi.StringPtrOutput `pulumi:"color"`
	// The description of the team
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the team
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages Teams (e.g Infrastructure, Security, Search).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rootly.NewTeam(ctx, "foo", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import rootly:index/team:Team foo 11111111-2222-3333-4444-555555555555

```

func GetTeam

func GetTeam(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)

GetTeam gets an existing Team resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTeam

func NewTeam(ctx *pulumi.Context,
	name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)

NewTeam registers a new resource with the given unique name, arguments, and options.

func (*Team) ElementType

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamArgs

type TeamArgs struct {
	// The color chosen for the team
	Color pulumi.StringPtrInput
	// The description of the team
	Description pulumi.StringPtrInput
	// The name of the team
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput

type TeamArrayInput interface {
	pulumi.Input

	ToTeamArrayOutput() TeamArrayOutput
	ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput
}

TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:

TeamArray{ TeamArgs{...} }

type TeamArrayOutput

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index

func (TeamArrayOutput) ToTeamArrayOutput

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamMap

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput

type TeamMapInput interface {
	pulumi.Input

	ToTeamMapOutput() TeamMapOutput
	ToTeamMapOutputWithContext(context.Context) TeamMapOutput
}

TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:

TeamMap{ "key": TeamArgs{...} }

type TeamMapOutput

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex

func (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamOutput

type TeamOutput struct{ *pulumi.OutputState }

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) ToTeamOutput

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamState

type TeamState struct {
	// The color chosen for the team
	Color pulumi.StringPtrInput
	// The description of the team
	Description pulumi.StringPtrInput
	// The name of the team
	Name pulumi.StringPtrInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL