rootly.getIncidentRoles
Explore with Pulumi AI
Using getIncidentRoles
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 getIncidentRoles(args: GetIncidentRolesArgs, opts?: InvokeOptions): Promise<GetIncidentRolesResult>
function getIncidentRolesOutput(args: GetIncidentRolesOutputArgs, opts?: InvokeOptions): Output<GetIncidentRolesResult>
def get_incident_roles(enabled: Optional[bool] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIncidentRolesResult
def get_incident_roles_output(enabled: Optional[pulumi.Input[bool]] = None,
name: Optional[pulumi.Input[str]] = None,
slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIncidentRolesResult]
func GetIncidentRoles(ctx *Context, args *GetIncidentRolesArgs, opts ...InvokeOption) (*GetIncidentRolesResult, error)
func GetIncidentRolesOutput(ctx *Context, args *GetIncidentRolesOutputArgs, opts ...InvokeOption) GetIncidentRolesResultOutput
> Note: This function is named GetIncidentRoles
in the Go SDK.
public static class GetIncidentRoles
{
public static Task<GetIncidentRolesResult> InvokeAsync(GetIncidentRolesArgs args, InvokeOptions? opts = null)
public static Output<GetIncidentRolesResult> Invoke(GetIncidentRolesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIncidentRolesResult> getIncidentRoles(GetIncidentRolesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rootly:index/getIncidentRoles:getIncidentRoles
arguments:
# arguments dictionary
The following arguments are supported:
getIncidentRoles Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Incident
Roles List<GetIncident Roles Incident Role> - Enabled bool
- Name string
- Slug string
- Id string
The provider-assigned unique ID for this managed resource.
- Incident
Roles []GetIncident Roles Incident Role - Enabled bool
- Name string
- Slug string
- id String
The provider-assigned unique ID for this managed resource.
- incident
Roles List<GetIncident Roles Incident Role> - enabled Boolean
- name String
- slug String
- id string
The provider-assigned unique ID for this managed resource.
- incident
Roles GetIncident Roles Incident Role[] - enabled boolean
- name string
- slug string
- id str
The provider-assigned unique ID for this managed resource.
- incident_
roles Sequence[GetIncident Roles Incident Role] - enabled bool
- name str
- slug str
- id String
The provider-assigned unique ID for this managed resource.
- incident
Roles List<Property Map> - enabled Boolean
- name String
- slug String
Supporting Types
GetIncidentRolesIncidentRole
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rootly
Terraform Provider.