Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.WorkflowGroup
Explore with Pulumi AI
Create WorkflowGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowGroup(name: string, args?: WorkflowGroupArgs, opts?: CustomResourceOptions);
@overload
def WorkflowGroup(resource_name: str,
args: Optional[WorkflowGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
expanded: Optional[bool] = None,
icon: Optional[str] = None,
kind: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None,
slug: Optional[str] = None)
func NewWorkflowGroup(ctx *Context, name string, args *WorkflowGroupArgs, opts ...ResourceOption) (*WorkflowGroup, error)
public WorkflowGroup(string name, WorkflowGroupArgs? args = null, CustomResourceOptions? opts = null)
public WorkflowGroup(String name, WorkflowGroupArgs args)
public WorkflowGroup(String name, WorkflowGroupArgs args, CustomResourceOptions options)
type: rootly:WorkflowGroup
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 WorkflowGroupArgs
- 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 WorkflowGroupArgs
- 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 WorkflowGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowGroupArgs
- 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 workflowGroupResource = new Rootly.WorkflowGroup("workflowGroupResource", new()
{
Description = "string",
Expanded = false,
Icon = "string",
Kind = "string",
Name = "string",
Position = 0,
Slug = "string",
});
example, err := rootly.NewWorkflowGroup(ctx, "workflowGroupResource", &rootly.WorkflowGroupArgs{
Description: pulumi.String("string"),
Expanded: pulumi.Bool(false),
Icon: pulumi.String("string"),
Kind: pulumi.String("string"),
Name: pulumi.String("string"),
Position: pulumi.Int(0),
Slug: pulumi.String("string"),
})
var workflowGroupResource = new WorkflowGroup("workflowGroupResource", WorkflowGroupArgs.builder()
.description("string")
.expanded(false)
.icon("string")
.kind("string")
.name("string")
.position(0)
.slug("string")
.build());
workflow_group_resource = rootly.WorkflowGroup("workflowGroupResource",
description="string",
expanded=False,
icon="string",
kind="string",
name="string",
position=0,
slug="string")
const workflowGroupResource = new rootly.WorkflowGroup("workflowGroupResource", {
description: "string",
expanded: false,
icon: "string",
kind: "string",
name: "string",
position: 0,
slug: "string",
});
type: rootly:WorkflowGroup
properties:
description: string
expanded: false
icon: string
kind: string
name: string
position: 0
slug: string
WorkflowGroup 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 WorkflowGroup resource accepts the following input properties:
- Description string
- A description of the workflow group.
- Expanded bool
- Whether the group is expanded or collapsed.. Value must be one of true or false
- Icon string
- An emoji icon displayed next to the workflow group.
- Kind string
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - Name string
- The name of the workflow group.
- Position int
- The position of the workflow group
- Slug string
- The slug of the workflow group.
- Description string
- A description of the workflow group.
- Expanded bool
- Whether the group is expanded or collapsed.. Value must be one of true or false
- Icon string
- An emoji icon displayed next to the workflow group.
- Kind string
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - Name string
- The name of the workflow group.
- Position int
- The position of the workflow group
- Slug string
- The slug of the workflow group.
- description String
- A description of the workflow group.
- expanded Boolean
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon String
- An emoji icon displayed next to the workflow group.
- kind String
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name String
- The name of the workflow group.
- position Integer
- The position of the workflow group
- slug String
- The slug of the workflow group.
- description string
- A description of the workflow group.
- expanded boolean
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon string
- An emoji icon displayed next to the workflow group.
- kind string
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name string
- The name of the workflow group.
- position number
- The position of the workflow group
- slug string
- The slug of the workflow group.
- description str
- A description of the workflow group.
- expanded bool
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon str
- An emoji icon displayed next to the workflow group.
- kind str
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name str
- The name of the workflow group.
- position int
- The position of the workflow group
- slug str
- The slug of the workflow group.
- description String
- A description of the workflow group.
- expanded Boolean
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon String
- An emoji icon displayed next to the workflow group.
- kind String
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name String
- The name of the workflow group.
- position Number
- The position of the workflow group
- slug String
- The slug of the workflow group.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowGroup 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 WorkflowGroup Resource
Get an existing WorkflowGroup 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?: WorkflowGroupState, opts?: CustomResourceOptions): WorkflowGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
expanded: Optional[bool] = None,
icon: Optional[str] = None,
kind: Optional[str] = None,
name: Optional[str] = None,
position: Optional[int] = None,
slug: Optional[str] = None) -> WorkflowGroup
func GetWorkflowGroup(ctx *Context, name string, id IDInput, state *WorkflowGroupState, opts ...ResourceOption) (*WorkflowGroup, error)
public static WorkflowGroup Get(string name, Input<string> id, WorkflowGroupState? state, CustomResourceOptions? opts = null)
public static WorkflowGroup get(String name, Output<String> id, WorkflowGroupState 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
- A description of the workflow group.
- Expanded bool
- Whether the group is expanded or collapsed.. Value must be one of true or false
- Icon string
- An emoji icon displayed next to the workflow group.
- Kind string
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - Name string
- The name of the workflow group.
- Position int
- The position of the workflow group
- Slug string
- The slug of the workflow group.
- Description string
- A description of the workflow group.
- Expanded bool
- Whether the group is expanded or collapsed.. Value must be one of true or false
- Icon string
- An emoji icon displayed next to the workflow group.
- Kind string
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - Name string
- The name of the workflow group.
- Position int
- The position of the workflow group
- Slug string
- The slug of the workflow group.
- description String
- A description of the workflow group.
- expanded Boolean
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon String
- An emoji icon displayed next to the workflow group.
- kind String
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name String
- The name of the workflow group.
- position Integer
- The position of the workflow group
- slug String
- The slug of the workflow group.
- description string
- A description of the workflow group.
- expanded boolean
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon string
- An emoji icon displayed next to the workflow group.
- kind string
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name string
- The name of the workflow group.
- position number
- The position of the workflow group
- slug string
- The slug of the workflow group.
- description str
- A description of the workflow group.
- expanded bool
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon str
- An emoji icon displayed next to the workflow group.
- kind str
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name str
- The name of the workflow group.
- position int
- The position of the workflow group
- slug str
- The slug of the workflow group.
- description String
- A description of the workflow group.
- expanded Boolean
- Whether the group is expanded or collapsed.. Value must be one of true or false
- icon String
- An emoji icon displayed next to the workflow group.
- kind String
- The kind of the workflow group. Value must be one of
simple
,incident
,post_mortem
,action_item
,pulse
,alert
. - name String
- The name of the workflow group.
- position Number
- The position of the workflow group
- slug String
- The slug of the workflow group.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.