Rootly

Community
Package contributed by a community member
v0.0.3 published on Tuesday, May 31, 2022 by Rootly

Cause

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

Example Usage

using Pulumi;
using Rootly = Pulumi.Rootly;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = new Rootly.Cause("foo", new Rootly.CauseArgs
        {
        });
    }

}
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
	})
}

Coming soon!

import pulumi
import pulumi_rootly as rootly

foo = rootly.Cause("foo")
import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";

const foo = new rootly.Cause("foo", {});

Coming soon!

Create a Cause Resource

new Cause(name: string, args?: CauseArgs, opts?: CustomResourceOptions);
@overload
def Cause(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          description: Optional[str] = None,
          name: Optional[str] = None)
@overload
def Cause(resource_name: str,
          args: Optional[CauseArgs] = None,
          opts: Optional[ResourceOptions] = None)
func NewCause(ctx *Context, name string, args *CauseArgs, opts ...ResourceOption) (*Cause, error)
public Cause(string name, CauseArgs? args = null, CustomResourceOptions? opts = null)
public Cause(String name, CauseArgs args)
public Cause(String name, CauseArgs args, CustomResourceOptions options)
type: rootly:Cause
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CauseArgs
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 CauseArgs
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 CauseArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CauseArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CauseArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Cause 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 Cause resource accepts the following input properties:

Description string

The description of the cause

Name string

The name of the cause

Description string

The description of the cause

Name string

The name of the cause

description String

The description of the cause

name String

The name of the cause

description string

The description of the cause

name string

The name of the cause

description str

The description of the cause

name str

The name of the cause

description String

The description of the cause

name String

The name of the cause

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing Cause Resource

Get an existing Cause 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?: CauseState, opts?: CustomResourceOptions): Cause
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        name: Optional[str] = None) -> Cause
func GetCause(ctx *Context, name string, id IDInput, state *CauseState, opts ...ResourceOption) (*Cause, error)
public static Cause Get(string name, Input<string> id, CauseState? state, CustomResourceOptions? opts = null)
public static Cause get(String name, Output<String> id, CauseState 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

The description of the cause

Name string

The name of the cause

Description string

The description of the cause

Name string

The name of the cause

description String

The description of the cause

name String

The name of the cause

description string

The description of the cause

name string

The name of the cause

description str

The description of the cause

name str

The name of the cause

description String

The description of the cause

name String

The name of the cause

Import

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

Package Details

Repository
https://github.com/rootlyhq/pulumi-rootly
License
Apache-2.0
Notes

This Pulumi package is based on the rootly Terraform Provider.