1. Packages
  2. Rootly
  3. API Docs
  4. getCauses
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

rootly.getCauses

Explore with Pulumi AI

rootly logo
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

    Using getCauses

    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 getCauses(args: GetCausesArgs, opts?: InvokeOptions): Promise<GetCausesResult>
    function getCausesOutput(args: GetCausesOutputArgs, opts?: InvokeOptions): Output<GetCausesResult>
    def get_causes(name: Optional[str] = None,
                   slug: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetCausesResult
    def get_causes_output(name: Optional[pulumi.Input[str]] = None,
                   slug: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetCausesResult]
    func GetCauses(ctx *Context, args *GetCausesArgs, opts ...InvokeOption) (*GetCausesResult, error)
    func GetCausesOutput(ctx *Context, args *GetCausesOutputArgs, opts ...InvokeOption) GetCausesResultOutput

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

    public static class GetCauses 
    {
        public static Task<GetCausesResult> InvokeAsync(GetCausesArgs args, InvokeOptions? opts = null)
        public static Output<GetCausesResult> Invoke(GetCausesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCausesResult> getCauses(GetCausesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getCauses:getCauses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Slug string
    Name string
    Slug string
    name String
    slug String
    name string
    slug string
    name str
    slug str
    name String
    slug String

    getCauses Result

    The following output properties are available:

    Causes List<GetCausesCause>
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Slug string
    Causes []GetCausesCause
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Slug string
    causes List<GetCausesCause>
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    slug String
    causes GetCausesCause[]
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    slug string
    causes Sequence[GetCausesCause]
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    slug str
    causes List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    slug String

    Supporting Types

    GetCausesCause

    Description string
    Id string
    Name string
    Slug string
    Description string
    Id string
    Name string
    Slug string
    description String
    id String
    name String
    slug String
    description string
    id string
    name string
    slug string
    description str
    id str
    name str
    slug str
    description String
    id String
    name String
    slug String

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly