Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.IncidentRoleTask
Explore with Pulumi AI
Create IncidentRoleTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IncidentRoleTask(name: string, args: IncidentRoleTaskArgs, opts?: CustomResourceOptions);
@overload
def IncidentRoleTask(resource_name: str,
args: IncidentRoleTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IncidentRoleTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
task: Optional[str] = None,
description: Optional[str] = None,
incident_role_id: Optional[str] = None,
priority: Optional[str] = None)
func NewIncidentRoleTask(ctx *Context, name string, args IncidentRoleTaskArgs, opts ...ResourceOption) (*IncidentRoleTask, error)
public IncidentRoleTask(string name, IncidentRoleTaskArgs args, CustomResourceOptions? opts = null)
public IncidentRoleTask(String name, IncidentRoleTaskArgs args)
public IncidentRoleTask(String name, IncidentRoleTaskArgs args, CustomResourceOptions options)
type: rootly:IncidentRoleTask
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 IncidentRoleTaskArgs
- 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 IncidentRoleTaskArgs
- 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 IncidentRoleTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IncidentRoleTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IncidentRoleTaskArgs
- 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 incidentRoleTaskResource = new Rootly.IncidentRoleTask("incidentRoleTaskResource", new()
{
Task = "string",
Description = "string",
IncidentRoleId = "string",
Priority = "string",
});
example, err := rootly.NewIncidentRoleTask(ctx, "incidentRoleTaskResource", &rootly.IncidentRoleTaskArgs{
Task: pulumi.String("string"),
Description: pulumi.String("string"),
IncidentRoleId: pulumi.String("string"),
Priority: pulumi.String("string"),
})
var incidentRoleTaskResource = new IncidentRoleTask("incidentRoleTaskResource", IncidentRoleTaskArgs.builder()
.task("string")
.description("string")
.incidentRoleId("string")
.priority("string")
.build());
incident_role_task_resource = rootly.IncidentRoleTask("incidentRoleTaskResource",
task="string",
description="string",
incident_role_id="string",
priority="string")
const incidentRoleTaskResource = new rootly.IncidentRoleTask("incidentRoleTaskResource", {
task: "string",
description: "string",
incidentRoleId: "string",
priority: "string",
});
type: rootly:IncidentRoleTask
properties:
description: string
incidentRoleId: string
priority: string
task: string
IncidentRoleTask 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 IncidentRoleTask resource accepts the following input properties:
- Task string
- The task of the incident task
- Description string
- The description of incident task
- Incident
Role stringId - Priority string
- The priority of the incident task. Value must be one of
high
,medium
,low
.
- Task string
- The task of the incident task
- Description string
- The description of incident task
- Incident
Role stringId - Priority string
- The priority of the incident task. Value must be one of
high
,medium
,low
.
- task String
- The task of the incident task
- description String
- The description of incident task
- incident
Role StringId - priority String
- The priority of the incident task. Value must be one of
high
,medium
,low
.
- task string
- The task of the incident task
- description string
- The description of incident task
- incident
Role stringId - priority string
- The priority of the incident task. Value must be one of
high
,medium
,low
.
- task str
- The task of the incident task
- description str
- The description of incident task
- incident_
role_ strid - priority str
- The priority of the incident task. Value must be one of
high
,medium
,low
.
- task String
- The task of the incident task
- description String
- The description of incident task
- incident
Role StringId - priority String
- The priority of the incident task. Value must be one of
high
,medium
,low
.
Outputs
All input properties are implicitly available as output properties. Additionally, the IncidentRoleTask 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 IncidentRoleTask Resource
Get an existing IncidentRoleTask 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?: IncidentRoleTaskState, opts?: CustomResourceOptions): IncidentRoleTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
incident_role_id: Optional[str] = None,
priority: Optional[str] = None,
task: Optional[str] = None) -> IncidentRoleTask
func GetIncidentRoleTask(ctx *Context, name string, id IDInput, state *IncidentRoleTaskState, opts ...ResourceOption) (*IncidentRoleTask, error)
public static IncidentRoleTask Get(string name, Input<string> id, IncidentRoleTaskState? state, CustomResourceOptions? opts = null)
public static IncidentRoleTask get(String name, Output<String> id, IncidentRoleTaskState 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 incident task
- Incident
Role stringId - Priority string
- The priority of the incident task. Value must be one of
high
,medium
,low
. - Task string
- The task of the incident task
- Description string
- The description of incident task
- Incident
Role stringId - Priority string
- The priority of the incident task. Value must be one of
high
,medium
,low
. - Task string
- The task of the incident task
- description String
- The description of incident task
- incident
Role StringId - priority String
- The priority of the incident task. Value must be one of
high
,medium
,low
. - task String
- The task of the incident task
- description string
- The description of incident task
- incident
Role stringId - priority string
- The priority of the incident task. Value must be one of
high
,medium
,low
. - task string
- The task of the incident task
- description str
- The description of incident task
- incident_
role_ strid - priority str
- The priority of the incident task. Value must be one of
high
,medium
,low
. - task str
- The task of the incident task
- description String
- The description of incident task
- incident
Role StringId - priority String
- The priority of the incident task. Value must be one of
high
,medium
,low
. - task String
- The task of the incident task
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.