incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io
incident.getIncidentRole
Explore with Pulumi AI
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io
This data source provides information about an incident role.
Using getIncidentRole
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getIncidentRole(args: GetIncidentRoleArgs, opts?: InvokeOptions): Promise<GetIncidentRoleResult>
function getIncidentRoleOutput(args: GetIncidentRoleOutputArgs, opts?: InvokeOptions): Output<GetIncidentRoleResult>
def get_incident_role(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIncidentRoleResult
def get_incident_role_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIncidentRoleResult]
func LookupIncidentRole(ctx *Context, args *LookupIncidentRoleArgs, opts ...InvokeOption) (*LookupIncidentRoleResult, error)
func LookupIncidentRoleOutput(ctx *Context, args *LookupIncidentRoleOutputArgs, opts ...InvokeOption) LookupIncidentRoleResultOutput
> Note: This function is named LookupIncidentRole
in the Go SDK.
public static class GetIncidentRole
{
public static Task<GetIncidentRoleResult> InvokeAsync(GetIncidentRoleArgs args, InvokeOptions? opts = null)
public static Output<GetIncidentRoleResult> Invoke(GetIncidentRoleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIncidentRoleResult> getIncidentRole(GetIncidentRoleArgs args, InvokeOptions options)
public static Output<GetIncidentRoleResult> getIncidentRole(GetIncidentRoleArgs args, InvokeOptions options)
fn::invoke:
function: incident:index/getIncidentRole:getIncidentRole
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Unique identifier for the role
- Id string
- Unique identifier for the role
- id String
- Unique identifier for the role
- id string
- Unique identifier for the role
- id str
- Unique identifier for the role
- id String
- Unique identifier for the role
getIncidentRole Result
The following output properties are available:
- Description string
- Describes the purpose of the role
- Id string
- Unique identifier for the role
- Instructions string
- Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
- Name string
- Human readable name of the incident role
- Shortform string
- Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
- Description string
- Describes the purpose of the role
- Id string
- Unique identifier for the role
- Instructions string
- Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
- Name string
- Human readable name of the incident role
- Shortform string
- Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
- description String
- Describes the purpose of the role
- id String
- Unique identifier for the role
- instructions String
- Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
- name String
- Human readable name of the incident role
- shortform String
- Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
- description string
- Describes the purpose of the role
- id string
- Unique identifier for the role
- instructions string
- Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
- name string
- Human readable name of the incident role
- shortform string
- Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
- description str
- Describes the purpose of the role
- id str
- Unique identifier for the role
- instructions str
- Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
- name str
- Human readable name of the incident role
- shortform str
- Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
- description String
- Describes the purpose of the role
- id String
- Unique identifier for the role
- instructions String
- Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role.
- name String
- Human readable name of the incident role
- shortform String
- Short human readable name for Slack. Note that this will be empty for the 'reporter' role.
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incident
Terraform Provider.
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io