1. Packages
  2. Rootly
  3. API Docs
  4. getIncidentRoles
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getIncidentRoles

Explore with Pulumi AI

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

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>
Copy
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]
Copy
func GetIncidentRoles(ctx *Context, args *GetIncidentRolesArgs, opts ...InvokeOption) (*GetIncidentRolesResult, error)
func GetIncidentRolesOutput(ctx *Context, args *GetIncidentRolesOutputArgs, opts ...InvokeOption) GetIncidentRolesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIncidentRolesResult> getIncidentRoles(GetIncidentRolesArgs args, InvokeOptions options)
public static Output<GetIncidentRolesResult> getIncidentRoles(GetIncidentRolesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: rootly:index/getIncidentRoles:getIncidentRoles
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Enabled bool
Name string
Slug string
Enabled bool
Name string
Slug string
enabled Boolean
name String
slug String
enabled boolean
name string
slug string
enabled bool
name str
slug str
enabled Boolean
name String
slug String

getIncidentRoles Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
IncidentRoles List<GetIncidentRolesIncidentRole>
Enabled bool
Name string
Slug string
Id string
The provider-assigned unique ID for this managed resource.
IncidentRoles []GetIncidentRolesIncidentRole
Enabled bool
Name string
Slug string
id String
The provider-assigned unique ID for this managed resource.
incidentRoles List<GetIncidentRolesIncidentRole>
enabled Boolean
name String
slug String
id string
The provider-assigned unique ID for this managed resource.
incidentRoles GetIncidentRolesIncidentRole[]
enabled boolean
name string
slug string
id str
The provider-assigned unique ID for this managed resource.
incident_roles Sequence[GetIncidentRolesIncidentRole]
enabled bool
name str
slug str
id String
The provider-assigned unique ID for this managed resource.
incidentRoles List<Property Map>
enabled Boolean
name String
slug String

Supporting Types

GetIncidentRolesIncidentRole

Description This property is required. string
Enabled This property is required. bool
Id This property is required. string
Name This property is required. string
Slug This property is required. string
Summary This property is required. string
Description This property is required. string
Enabled This property is required. bool
Id This property is required. string
Name This property is required. string
Slug This property is required. string
Summary This property is required. string
description This property is required. String
enabled This property is required. Boolean
id This property is required. String
name This property is required. String
slug This property is required. String
summary This property is required. String
description This property is required. string
enabled This property is required. boolean
id This property is required. string
name This property is required. string
slug This property is required. string
summary This property is required. string
description This property is required. str
enabled This property is required. bool
id This property is required. str
name This property is required. str
slug This property is required. str
summary This property is required. str
description This property is required. String
enabled This property is required. Boolean
id This property is required. String
name This property is required. String
slug This property is required. String
summary This property is required. String

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly