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 string
- The unique name of the resource.
- args RetrospectiveProcessArgs
- 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 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 string
- The unique name of the resource.
- args RetrospectiveProcessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RetrospectiveProcessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
retrospective_process_resource = rootly.RetrospectiveProcess("retrospectiveProcessResource",
retrospective_process_matching_criteria=rootly.RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs(
group_ids=["string"],
incident_type_ids=["string"],
severity_ids=["string"],
),
copy_from="string",
description="string",
is_default=False,
name="string")
const retrospectiveProcessResource = new rootly.RetrospectiveProcess("retrospectiveProcessResource", {
retrospectiveProcessMatchingCriteria: {
groupIds: ["string"],
incidentTypeIds: ["string"],
severityIds: ["string"],
},
copyFrom: "string",
description: "string",
isDefault: false,
name: "string",
});
type: rootly:RetrospectiveProcess
properties:
copyFrom: string
description: string
isDefault: false
name: string
retrospectiveProcessMatchingCriteria:
groupIds:
- string
incidentTypeIds:
- string
severityIds:
- string
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
The RetrospectiveProcess resource accepts the following input properties:
- Retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria - Copy
From 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
- Is
Default bool - Is the retrospective process default?. Value must be one of true or false
- Name string
- The name of the retrospective process
- Retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria Args - Copy
From 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
- Is
Default bool - Is the retrospective process default?. Value must be one of true or false
- Name string
- The name of the retrospective process
- retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria - copy
From 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
- is
Default Boolean - Is the retrospective process default?. Value must be one of true or false
- name String
- The name of the retrospective process
- retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria - copy
From 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
- is
Default boolean - Is the retrospective process default?. Value must be one of true or false
- name string
- The name of the retrospective process
- retrospective_
process_ Retrospectivematching_ criteria Process Retrospective Process Matching Criteria Args - copy_
from 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 Property MapMatching Criteria - copy
From 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
- is
Default 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)
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.
- Copy
From 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
- Is
Default bool - Is the retrospective process default?. Value must be one of true or false
- Name string
- The name of the retrospective process
- Retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria
- Copy
From 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
- Is
Default bool - Is the retrospective process default?. Value must be one of true or false
- Name string
- The name of the retrospective process
- Retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria Args
- copy
From 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
- is
Default Boolean - Is the retrospective process default?. Value must be one of true or false
- name String
- The name of the retrospective process
- retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria
- copy
From 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
- is
Default boolean - Is the retrospective process default?. Value must be one of true or false
- name string
- The name of the retrospective process
- retrospective
Process RetrospectiveMatching Criteria Process Retrospective Process Matching Criteria
- copy_
from 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_ Retrospectivematching_ criteria Process Retrospective Process Matching Criteria Args
- copy
From 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
- is
Default Boolean - Is the retrospective process default?. Value must be one of true or false
- name String
- The name of the retrospective process
- retrospective
Process Property MapMatching Criteria
Supporting Types
RetrospectiveProcessRetrospectiveProcessMatchingCriteria, RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
- Group
Ids List<string> - Teams for process matching criteria.
- Incident
Type List<string>Ids - Incident types for process matching criteria.
- Severity
Ids List<string> - Severities for process matching criteria.
- Group
Ids []string - Teams for process matching criteria.
- Incident
Type []stringIds - Incident types for process matching criteria.
- Severity
Ids []string - Severities for process matching criteria.
- group
Ids List<String> - Teams for process matching criteria.
- incident
Type List<String>Ids - Incident types for process matching criteria.
- severity
Ids List<String> - Severities for process matching criteria.
- group
Ids string[] - Teams for process matching criteria.
- incident
Type string[]Ids - Incident types for process matching criteria.
- severity
Ids string[] - Severities for process matching criteria.
- group_
ids Sequence[str] - Teams for process matching criteria.
- incident_
type_ Sequence[str]ids - Incident types for process matching criteria.
- severity_
ids Sequence[str] - Severities for process matching criteria.
- group
Ids List<String> - Teams for process matching criteria.
- incident
Type List<String>Ids - Incident types for process matching criteria.
- severity
Ids 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.