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

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    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:

    RetrospectiveProcessMatchingCriteria RetrospectiveProcessRetrospectiveProcessMatchingCriteria
    CopyFrom 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 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 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 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 RetrospectiveProcessRetrospectiveProcessMatchingCriteriaArgs
    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
    retrospectiveProcessMatchingCriteria Property Map
    copyFrom 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)
    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:
    CopyFrom 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 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 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 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 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 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.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly