1. Packages
  2. Rootly
  3. API Docs
  4. RetrospectiveProcess
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.RetrospectiveProcess

Explore with Pulumi AI

Create RetrospectiveProcess Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new RetrospectiveProcess(name: string, args: RetrospectiveProcessArgs, opts?: CustomResourceOptions);
@overload
def RetrospectiveProcess(resource_name: str,
                         args: RetrospectiveProcessArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def RetrospectiveProcess(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         retrospective_process_matching_criteria: Optional[RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs] = None,
                         copy_from: Optional[str] = None,
                         description: Optional[str] = None,
                         is_default: Optional[bool] = None,
                         name: Optional[str] = None)
func NewRetrospectiveProcess(ctx *Context, name string, args RetrospectiveProcessArgs, opts ...ResourceOption) (*RetrospectiveProcess, error)
public RetrospectiveProcess(string name, RetrospectiveProcessArgs args, CustomResourceOptions? opts = null)
public RetrospectiveProcess(String name, RetrospectiveProcessArgs args)
public RetrospectiveProcess(String name, RetrospectiveProcessArgs args, CustomResourceOptions options)
type: rootly:RetrospectiveProcess
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var retrospectiveProcessResource = new Rootly.RetrospectiveProcess("retrospectiveProcessResource", new()
{
    RetrospectiveProcessMatchingCriteria = new Rootly.Inputs.RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
    {
        GroupIds = new[]
        {
            "string",
        },
        IncidentTypeIds = new[]
        {
            "string",
        },
        SeverityIds = new[]
        {
            "string",
        },
    },
    CopyFrom = "string",
    Description = "string",
    IsDefault = false,
    Name = "string",
});
Copy
example, err := rootly.NewRetrospectiveProcess(ctx, "retrospectiveProcessResource", &rootly.RetrospectiveProcessArgs{
	RetrospectiveProcessMatchingCriteria: &rootly.RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs{
		GroupIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		IncidentTypeIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		SeverityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	CopyFrom:    pulumi.String("string"),
	Description: pulumi.String("string"),
	IsDefault:   pulumi.Bool(false),
	Name:        pulumi.String("string"),
})
Copy
var retrospectiveProcessResource = new RetrospectiveProcess("retrospectiveProcessResource", RetrospectiveProcessArgs.builder()
    .retrospectiveProcessMatchingCriteria(RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs.builder()
        .groupIds("string")
        .incidentTypeIds("string")
        .severityIds("string")
        .build())
    .copyFrom("string")
    .description("string")
    .isDefault(false)
    .name("string")
    .build());
Copy
retrospective_process_resource = rootly.RetrospectiveProcess("retrospectiveProcessResource",
    retrospective_process_matching_criteria={
        "group_ids": ["string"],
        "incident_type_ids": ["string"],
        "severity_ids": ["string"],
    },
    copy_from="string",
    description="string",
    is_default=False,
    name="string")
Copy
const retrospectiveProcessResource = new rootly.RetrospectiveProcess("retrospectiveProcessResource", {
    retrospectiveProcessMatchingCriteria: {
        groupIds: ["string"],
        incidentTypeIds: ["string"],
        severityIds: ["string"],
    },
    copyFrom: "string",
    description: "string",
    isDefault: false,
    name: "string",
});
Copy
type: rootly:RetrospectiveProcess
properties:
    copyFrom: string
    description: string
    isDefault: false
    name: string
    retrospectiveProcessMatchingCriteria:
        groupIds:
            - string
        incidentTypeIds:
            - string
        severityIds:
            - string
Copy

RetrospectiveProcess Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The RetrospectiveProcess resource accepts the following input properties:

RetrospectiveProcessMatchingCriteria This property is required. RetrospectiveProcessRetrospectiveProcessMatchingCriteria
CopyFrom Changes to this property will trigger replacement. string
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
Description string
The description of the retrospective process
IsDefault bool
Is the retrospective process default?. Value must be one of true or false
Name string
The name of the retrospective process
RetrospectiveProcessMatchingCriteria This property is required. RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
CopyFrom Changes to this property will trigger replacement. string
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
Description string
The description of the retrospective process
IsDefault bool
Is the retrospective process default?. Value must be one of true or false
Name string
The name of the retrospective process
retrospectiveProcessMatchingCriteria This property is required. RetrospectiveProcessRetrospectiveProcessMatchingCriteria
copyFrom Changes to this property will trigger replacement. String
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description String
The description of the retrospective process
isDefault Boolean
Is the retrospective process default?. Value must be one of true or false
name String
The name of the retrospective process
retrospectiveProcessMatchingCriteria This property is required. RetrospectiveProcessRetrospectiveProcessMatchingCriteria
copyFrom Changes to this property will trigger replacement. string
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description string
The description of the retrospective process
isDefault boolean
Is the retrospective process default?. Value must be one of true or false
name string
The name of the retrospective process
retrospective_process_matching_criteria This property is required. RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
copy_from Changes to this property will trigger replacement. str
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description str
The description of the retrospective process
is_default bool
Is the retrospective process default?. Value must be one of true or false
name str
The name of the retrospective process
retrospectiveProcessMatchingCriteria This property is required. Property Map
copyFrom Changes to this property will trigger replacement. String
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description String
The description of the retrospective process
isDefault Boolean
Is the retrospective process default?. Value must be one of true or false
name String
The name of the retrospective process

Outputs

All input properties are implicitly available as output properties. Additionally, the RetrospectiveProcess 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 Existing RetrospectiveProcess Resource

Get an existing RetrospectiveProcess 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?: RetrospectiveProcessState, opts?: CustomResourceOptions): RetrospectiveProcess
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        copy_from: Optional[str] = None,
        description: Optional[str] = None,
        is_default: Optional[bool] = None,
        name: Optional[str] = None,
        retrospective_process_matching_criteria: Optional[RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs] = None) -> RetrospectiveProcess
func GetRetrospectiveProcess(ctx *Context, name string, id IDInput, state *RetrospectiveProcessState, opts ...ResourceOption) (*RetrospectiveProcess, error)
public static RetrospectiveProcess Get(string name, Input<string> id, RetrospectiveProcessState? state, CustomResourceOptions? opts = null)
public static RetrospectiveProcess get(String name, Output<String> id, RetrospectiveProcessState state, CustomResourceOptions options)
resources:  _:    type: rootly:RetrospectiveProcess    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CopyFrom Changes to this property will trigger replacement. string
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
Description string
The description of the retrospective process
IsDefault bool
Is the retrospective process default?. Value must be one of true or false
Name string
The name of the retrospective process
RetrospectiveProcessMatchingCriteria RetrospectiveProcessRetrospectiveProcessMatchingCriteria
CopyFrom Changes to this property will trigger replacement. string
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
Description string
The description of the retrospective process
IsDefault bool
Is the retrospective process default?. Value must be one of true or false
Name string
The name of the retrospective process
RetrospectiveProcessMatchingCriteria RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
copyFrom Changes to this property will trigger replacement. String
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description String
The description of the retrospective process
isDefault Boolean
Is the retrospective process default?. Value must be one of true or false
name String
The name of the retrospective process
retrospectiveProcessMatchingCriteria RetrospectiveProcessRetrospectiveProcessMatchingCriteria
copyFrom Changes to this property will trigger replacement. string
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description string
The description of the retrospective process
isDefault boolean
Is the retrospective process default?. Value must be one of true or false
name string
The name of the retrospective process
retrospectiveProcessMatchingCriteria RetrospectiveProcessRetrospectiveProcessMatchingCriteria
copy_from Changes to this property will trigger replacement. str
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description str
The description of the retrospective process
is_default bool
Is the retrospective process default?. Value must be one of true or false
name str
The name of the retrospective process
retrospective_process_matching_criteria RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
copyFrom Changes to this property will trigger replacement. String
Retrospective process ID from which retrospective steps have to be copied. To use starter template for retrospective steps provide value: 'starter_template'
description String
The description of the retrospective process
isDefault Boolean
Is the retrospective process default?. Value must be one of true or false
name String
The name of the retrospective process
retrospectiveProcessMatchingCriteria Property Map

Supporting Types

RetrospectiveProcessRetrospectiveProcessMatchingCriteria
, RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs

GroupIds List<string>
Teams for process matching criteria.
IncidentTypeIds List<string>
Incident types for process matching criteria.
SeverityIds List<string>
Severities for process matching criteria.
GroupIds []string
Teams for process matching criteria.
IncidentTypeIds []string
Incident types for process matching criteria.
SeverityIds []string
Severities for process matching criteria.
groupIds List<String>
Teams for process matching criteria.
incidentTypeIds List<String>
Incident types for process matching criteria.
severityIds List<String>
Severities for process matching criteria.
groupIds string[]
Teams for process matching criteria.
incidentTypeIds string[]
Incident types for process matching criteria.
severityIds string[]
Severities for process matching criteria.
group_ids Sequence[str]
Teams for process matching criteria.
incident_type_ids Sequence[str]
Incident types for process matching criteria.
severity_ids Sequence[str]
Severities for process matching criteria.
groupIds List<String>
Teams for process matching criteria.
incidentTypeIds List<String>
Incident types for process matching criteria.
severityIds List<String>
Severities for process matching criteria.

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.