rootly.RetrospectiveStep
Explore with Pulumi AI
Create RetrospectiveStep Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RetrospectiveStep(name: string, args: RetrospectiveStepArgs, opts?: CustomResourceOptions);
@overload
def RetrospectiveStep(resource_name: str,
args: RetrospectiveStepArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RetrospectiveStep(resource_name: str,
opts: Optional[ResourceOptions] = None,
title: Optional[str] = None,
description: Optional[str] = None,
due_after_days: Optional[int] = None,
incident_role_id: Optional[str] = None,
position: Optional[int] = None,
retrospective_process_id: Optional[str] = None,
skippable: Optional[bool] = None,
slug: Optional[str] = None)
func NewRetrospectiveStep(ctx *Context, name string, args RetrospectiveStepArgs, opts ...ResourceOption) (*RetrospectiveStep, error)
public RetrospectiveStep(string name, RetrospectiveStepArgs args, CustomResourceOptions? opts = null)
public RetrospectiveStep(String name, RetrospectiveStepArgs args)
public RetrospectiveStep(String name, RetrospectiveStepArgs args, CustomResourceOptions options)
type: rootly:RetrospectiveStep
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RetrospectiveStepArgs
- 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 RetrospectiveStepArgs
- 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 RetrospectiveStepArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RetrospectiveStepArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RetrospectiveStepArgs
- 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 retrospectiveStepResource = new Rootly.RetrospectiveStep("retrospectiveStepResource", new()
{
Title = "string",
Description = "string",
DueAfterDays = 0,
IncidentRoleId = "string",
Position = 0,
RetrospectiveProcessId = "string",
Skippable = false,
Slug = "string",
});
example, err := rootly.NewRetrospectiveStep(ctx, "retrospectiveStepResource", &rootly.RetrospectiveStepArgs{
Title: pulumi.String("string"),
Description: pulumi.String("string"),
DueAfterDays: pulumi.Int(0),
IncidentRoleId: pulumi.String("string"),
Position: pulumi.Int(0),
RetrospectiveProcessId: pulumi.String("string"),
Skippable: pulumi.Bool(false),
Slug: pulumi.String("string"),
})
var retrospectiveStepResource = new RetrospectiveStep("retrospectiveStepResource", RetrospectiveStepArgs.builder()
.title("string")
.description("string")
.dueAfterDays(0)
.incidentRoleId("string")
.position(0)
.retrospectiveProcessId("string")
.skippable(false)
.slug("string")
.build());
retrospective_step_resource = rootly.RetrospectiveStep("retrospectiveStepResource",
title="string",
description="string",
due_after_days=0,
incident_role_id="string",
position=0,
retrospective_process_id="string",
skippable=False,
slug="string")
const retrospectiveStepResource = new rootly.RetrospectiveStep("retrospectiveStepResource", {
title: "string",
description: "string",
dueAfterDays: 0,
incidentRoleId: "string",
position: 0,
retrospectiveProcessId: "string",
skippable: false,
slug: "string",
});
type: rootly:RetrospectiveStep
properties:
description: string
dueAfterDays: 0
incidentRoleId: string
position: 0
retrospectiveProcessId: string
skippable: false
slug: string
title: string
RetrospectiveStep 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 RetrospectiveStep resource accepts the following input properties:
- Title string
- The name of the step
- Description string
- The description of the step
- Due
After intDays - Due date in days
- Incident
Role stringId - Users assigned to the selected incident role will be the default owners for this step
- Position int
- Position of the step
- Retrospective
Process stringId - Skippable bool
- Is the step skippable?. Value must be one of true or false
- Slug string
- The slug of the step
- Title string
- The name of the step
- Description string
- The description of the step
- Due
After intDays - Due date in days
- Incident
Role stringId - Users assigned to the selected incident role will be the default owners for this step
- Position int
- Position of the step
- Retrospective
Process stringId - Skippable bool
- Is the step skippable?. Value must be one of true or false
- Slug string
- The slug of the step
- title String
- The name of the step
- description String
- The description of the step
- due
After IntegerDays - Due date in days
- incident
Role StringId - Users assigned to the selected incident role will be the default owners for this step
- position Integer
- Position of the step
- retrospective
Process StringId - skippable Boolean
- Is the step skippable?. Value must be one of true or false
- slug String
- The slug of the step
- title string
- The name of the step
- description string
- The description of the step
- due
After numberDays - Due date in days
- incident
Role stringId - Users assigned to the selected incident role will be the default owners for this step
- position number
- Position of the step
- retrospective
Process stringId - skippable boolean
- Is the step skippable?. Value must be one of true or false
- slug string
- The slug of the step
- title str
- The name of the step
- description str
- The description of the step
- due_
after_ intdays - Due date in days
- incident_
role_ strid - Users assigned to the selected incident role will be the default owners for this step
- position int
- Position of the step
- retrospective_
process_ strid - skippable bool
- Is the step skippable?. Value must be one of true or false
- slug str
- The slug of the step
- title String
- The name of the step
- description String
- The description of the step
- due
After NumberDays - Due date in days
- incident
Role StringId - Users assigned to the selected incident role will be the default owners for this step
- position Number
- Position of the step
- retrospective
Process StringId - skippable Boolean
- Is the step skippable?. Value must be one of true or false
- slug String
- The slug of the step
Outputs
All input properties are implicitly available as output properties. Additionally, the RetrospectiveStep 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 RetrospectiveStep Resource
Get an existing RetrospectiveStep 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?: RetrospectiveStepState, opts?: CustomResourceOptions): RetrospectiveStep
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
due_after_days: Optional[int] = None,
incident_role_id: Optional[str] = None,
position: Optional[int] = None,
retrospective_process_id: Optional[str] = None,
skippable: Optional[bool] = None,
slug: Optional[str] = None,
title: Optional[str] = None) -> RetrospectiveStep
func GetRetrospectiveStep(ctx *Context, name string, id IDInput, state *RetrospectiveStepState, opts ...ResourceOption) (*RetrospectiveStep, error)
public static RetrospectiveStep Get(string name, Input<string> id, RetrospectiveStepState? state, CustomResourceOptions? opts = null)
public static RetrospectiveStep get(String name, Output<String> id, RetrospectiveStepState 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.
- Description string
- The description of the step
- Due
After intDays - Due date in days
- Incident
Role stringId - Users assigned to the selected incident role will be the default owners for this step
- Position int
- Position of the step
- Retrospective
Process stringId - Skippable bool
- Is the step skippable?. Value must be one of true or false
- Slug string
- The slug of the step
- Title string
- The name of the step
- Description string
- The description of the step
- Due
After intDays - Due date in days
- Incident
Role stringId - Users assigned to the selected incident role will be the default owners for this step
- Position int
- Position of the step
- Retrospective
Process stringId - Skippable bool
- Is the step skippable?. Value must be one of true or false
- Slug string
- The slug of the step
- Title string
- The name of the step
- description String
- The description of the step
- due
After IntegerDays - Due date in days
- incident
Role StringId - Users assigned to the selected incident role will be the default owners for this step
- position Integer
- Position of the step
- retrospective
Process StringId - skippable Boolean
- Is the step skippable?. Value must be one of true or false
- slug String
- The slug of the step
- title String
- The name of the step
- description string
- The description of the step
- due
After numberDays - Due date in days
- incident
Role stringId - Users assigned to the selected incident role will be the default owners for this step
- position number
- Position of the step
- retrospective
Process stringId - skippable boolean
- Is the step skippable?. Value must be one of true or false
- slug string
- The slug of the step
- title string
- The name of the step
- description str
- The description of the step
- due_
after_ intdays - Due date in days
- incident_
role_ strid - Users assigned to the selected incident role will be the default owners for this step
- position int
- Position of the step
- retrospective_
process_ strid - skippable bool
- Is the step skippable?. Value must be one of true or false
- slug str
- The slug of the step
- title str
- The name of the step
- description String
- The description of the step
- due
After NumberDays - Due date in days
- incident
Role StringId - Users assigned to the selected incident role will be the default owners for this step
- position Number
- Position of the step
- retrospective
Process StringId - skippable Boolean
- Is the step skippable?. Value must be one of true or false
- slug String
- The slug of the step
- title String
- The name of the step
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.