Rootly

v0.1.16 published on Friday, Dec 2, 2022 by Rootly

getIncidentRole

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(created_at: Optional[Mapping[str, Any]] = None,
                      name: Optional[str] = None,
                      slug: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIncidentRoleResult
def get_incident_role_output(created_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      slug: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: rootly:index/getIncidentRole:getIncidentRole
  arguments:
    # arguments dictionary

The following arguments are supported:

CreatedAt Dictionary<string, object>
Name string
Slug string
CreatedAt map[string]interface{}
Name string
Slug string
createdAt Map<String,Object>
name String
slug String
createdAt {[key: string]: any}
name string
slug string
created_at Mapping[str, Any]
name str
slug str
createdAt Map<Any>
name String
slug String

getIncidentRole Result

The following output properties are available:

Id string
Name string
Slug string
CreatedAt Dictionary<string, object>
Id string
Name string
Slug string
CreatedAt map[string]interface{}
id String
name String
slug String
createdAt Map<String,Object>
id string
name string
slug string
createdAt {[key: string]: any}
id str
name str
slug str
created_at Mapping[str, Any]
id String
name String
slug String
createdAt Map<Any>

Package Details

Repository
https://github.com/rootlyhq/pulumi-rootly
License
Apache-2.0
Notes

This Pulumi package is based on the rootly Terraform Provider.