Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly
rootly.getWebhooksEndpoint
Explore with Pulumi AI
Example Usage
using Pulumi;
using Rootly = Pulumi.Rootly;
class MyStack : Stack
{
public MyStack()
{
var my_webhook_endpoint = Output.Create(Rootly.GetWebhooksEndpoint.InvokeAsync(new Rootly.GetWebhooksEndpointArgs
{
Slug = "my-webhookd-endpoint",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rootly.LookupWebhooksEndpoint(ctx, &GetWebhooksEndpointArgs{
Slug: pulumi.StringRef("my-webhookd-endpoint"),
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_rootly as rootly
my_webhook_endpoint = rootly.get_webhooks_endpoint(slug="my-webhookd-endpoint")
import * as pulumi from "@pulumi/pulumi";
import * as rootly from "@pulumi/rootly";
const my_webhook_endpoint = pulumi.output(rootly.getWebhooksEndpoint({
slug: "my-webhookd-endpoint",
}));
Coming soon!
Using getWebhooksEndpoint
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 getWebhooksEndpoint(args: GetWebhooksEndpointArgs, opts?: InvokeOptions): Promise<GetWebhooksEndpointResult>
function getWebhooksEndpointOutput(args: GetWebhooksEndpointOutputArgs, opts?: InvokeOptions): Output<GetWebhooksEndpointResult>
def get_webhooks_endpoint(name: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWebhooksEndpointResult
def get_webhooks_endpoint_output(name: Optional[pulumi.Input[str]] = None,
slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWebhooksEndpointResult]
func LookupWebhooksEndpoint(ctx *Context, args *LookupWebhooksEndpointArgs, opts ...InvokeOption) (*LookupWebhooksEndpointResult, error)
func LookupWebhooksEndpointOutput(ctx *Context, args *LookupWebhooksEndpointOutputArgs, opts ...InvokeOption) LookupWebhooksEndpointResultOutput
> Note: This function is named LookupWebhooksEndpoint
in the Go SDK.
public static class GetWebhooksEndpoint
{
public static Task<GetWebhooksEndpointResult> InvokeAsync(GetWebhooksEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetWebhooksEndpointResult> Invoke(GetWebhooksEndpointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWebhooksEndpointResult> getWebhooksEndpoint(GetWebhooksEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rootly:index/getWebhooksEndpoint:getWebhooksEndpoint
arguments:
# arguments dictionary
The following arguments are supported:
getWebhooksEndpoint Result
The following output properties are available:
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rootly
Terraform Provider.