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

rootly.RetrospectiveConfiguration

Explore with Pulumi AI

Create RetrospectiveConfiguration Resource

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

Constructor syntax

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

@overload
def RetrospectiveConfiguration(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               group_ids: Optional[Sequence[str]] = None,
                               incident_type_ids: Optional[Sequence[str]] = None,
                               kind: Optional[str] = None,
                               severity_ids: Optional[Sequence[str]] = None)
func NewRetrospectiveConfiguration(ctx *Context, name string, args *RetrospectiveConfigurationArgs, opts ...ResourceOption) (*RetrospectiveConfiguration, error)
public RetrospectiveConfiguration(string name, RetrospectiveConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public RetrospectiveConfiguration(String name, RetrospectiveConfigurationArgs args)
public RetrospectiveConfiguration(String name, RetrospectiveConfigurationArgs args, CustomResourceOptions options)
type: rootly:RetrospectiveConfiguration
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 RetrospectiveConfigurationArgs
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 RetrospectiveConfigurationArgs
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 RetrospectiveConfigurationArgs
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 RetrospectiveConfigurationArgs
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. RetrospectiveConfigurationArgs
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 retrospectiveConfigurationResource = new Rootly.RetrospectiveConfiguration("retrospectiveConfigurationResource", new()
{
    GroupIds = new[]
    {
        "string",
    },
    IncidentTypeIds = new[]
    {
        "string",
    },
    Kind = "string",
    SeverityIds = new[]
    {
        "string",
    },
});
Copy
example, err := rootly.NewRetrospectiveConfiguration(ctx, "retrospectiveConfigurationResource", &rootly.RetrospectiveConfigurationArgs{
	GroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	IncidentTypeIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	Kind: pulumi.String("string"),
	SeverityIds: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var retrospectiveConfigurationResource = new RetrospectiveConfiguration("retrospectiveConfigurationResource", RetrospectiveConfigurationArgs.builder()
    .groupIds("string")
    .incidentTypeIds("string")
    .kind("string")
    .severityIds("string")
    .build());
Copy
retrospective_configuration_resource = rootly.RetrospectiveConfiguration("retrospectiveConfigurationResource",
    group_ids=["string"],
    incident_type_ids=["string"],
    kind="string",
    severity_ids=["string"])
Copy
const retrospectiveConfigurationResource = new rootly.RetrospectiveConfiguration("retrospectiveConfigurationResource", {
    groupIds: ["string"],
    incidentTypeIds: ["string"],
    kind: "string",
    severityIds: ["string"],
});
Copy
type: rootly:RetrospectiveConfiguration
properties:
    groupIds:
        - string
    incidentTypeIds:
        - string
    kind: string
    severityIds:
        - string
Copy

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

GroupIds List<string>
Teams associated with the retrospective configuration.
IncidentTypeIds List<string>
Incident types associated with the retrospective configuration.
Kind Changes to this property will trigger replacement. string
The kind of the retrospective configuration.
SeverityIds List<string>
Severities associated with the retrospective configuration.
GroupIds []string
Teams associated with the retrospective configuration.
IncidentTypeIds []string
Incident types associated with the retrospective configuration.
Kind Changes to this property will trigger replacement. string
The kind of the retrospective configuration.
SeverityIds []string
Severities associated with the retrospective configuration.
groupIds List<String>
Teams associated with the retrospective configuration.
incidentTypeIds List<String>
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. String
The kind of the retrospective configuration.
severityIds List<String>
Severities associated with the retrospective configuration.
groupIds string[]
Teams associated with the retrospective configuration.
incidentTypeIds string[]
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. string
The kind of the retrospective configuration.
severityIds string[]
Severities associated with the retrospective configuration.
group_ids Sequence[str]
Teams associated with the retrospective configuration.
incident_type_ids Sequence[str]
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. str
The kind of the retrospective configuration.
severity_ids Sequence[str]
Severities associated with the retrospective configuration.
groupIds List<String>
Teams associated with the retrospective configuration.
incidentTypeIds List<String>
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. String
The kind of the retrospective configuration.
severityIds List<String>
Severities associated with the retrospective configuration.

Outputs

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

Get an existing RetrospectiveConfiguration 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?: RetrospectiveConfigurationState, opts?: CustomResourceOptions): RetrospectiveConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        group_ids: Optional[Sequence[str]] = None,
        incident_type_ids: Optional[Sequence[str]] = None,
        kind: Optional[str] = None,
        severity_ids: Optional[Sequence[str]] = None) -> RetrospectiveConfiguration
func GetRetrospectiveConfiguration(ctx *Context, name string, id IDInput, state *RetrospectiveConfigurationState, opts ...ResourceOption) (*RetrospectiveConfiguration, error)
public static RetrospectiveConfiguration Get(string name, Input<string> id, RetrospectiveConfigurationState? state, CustomResourceOptions? opts = null)
public static RetrospectiveConfiguration get(String name, Output<String> id, RetrospectiveConfigurationState state, CustomResourceOptions options)
resources:  _:    type: rootly:RetrospectiveConfiguration    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:
GroupIds List<string>
Teams associated with the retrospective configuration.
IncidentTypeIds List<string>
Incident types associated with the retrospective configuration.
Kind Changes to this property will trigger replacement. string
The kind of the retrospective configuration.
SeverityIds List<string>
Severities associated with the retrospective configuration.
GroupIds []string
Teams associated with the retrospective configuration.
IncidentTypeIds []string
Incident types associated with the retrospective configuration.
Kind Changes to this property will trigger replacement. string
The kind of the retrospective configuration.
SeverityIds []string
Severities associated with the retrospective configuration.
groupIds List<String>
Teams associated with the retrospective configuration.
incidentTypeIds List<String>
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. String
The kind of the retrospective configuration.
severityIds List<String>
Severities associated with the retrospective configuration.
groupIds string[]
Teams associated with the retrospective configuration.
incidentTypeIds string[]
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. string
The kind of the retrospective configuration.
severityIds string[]
Severities associated with the retrospective configuration.
group_ids Sequence[str]
Teams associated with the retrospective configuration.
incident_type_ids Sequence[str]
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. str
The kind of the retrospective configuration.
severity_ids Sequence[str]
Severities associated with the retrospective configuration.
groupIds List<String>
Teams associated with the retrospective configuration.
incidentTypeIds List<String>
Incident types associated with the retrospective configuration.
kind Changes to this property will trigger replacement. String
The kind of the retrospective configuration.
severityIds List<String>
Severities associated with the retrospective configuration.

Package Details

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