rootly logo
Rootly v0.1.19, Jan 28 23

rootly.getCause

Using getCause

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 getCause(args: GetCauseArgs, opts?: InvokeOptions): Promise<GetCauseResult>
function getCauseOutput(args: GetCauseOutputArgs, opts?: InvokeOptions): Output<GetCauseResult>
def get_cause(created_at: Optional[Mapping[str, Any]] = None,
              name: Optional[str] = None,
              slug: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetCauseResult
def get_cause_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[GetCauseResult]
func LookupCause(ctx *Context, args *LookupCauseArgs, opts ...InvokeOption) (*LookupCauseResult, error)
func LookupCauseOutput(ctx *Context, args *LookupCauseOutputArgs, opts ...InvokeOption) LookupCauseResultOutput

> Note: This function is named LookupCause in the Go SDK.

public static class GetCause 
{
    public static Task<GetCauseResult> InvokeAsync(GetCauseArgs args, InvokeOptions? opts = null)
    public static Output<GetCauseResult> Invoke(GetCauseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCauseResult> getCause(GetCauseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: rootly:index/getCause:getCause
  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

getCause 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
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes

This Pulumi package is based on the rootly Terraform Provider.