Grafana v0.16.1 published on Saturday, Mar 15, 2025 by pulumiverse
grafana.onCall.getOutgoingWebhook
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
const exampleOutgoingWebhook = grafana.onCall.getOutgoingWebhook({
    name: "example_outgoing_webhook",
});
import pulumi
import pulumi_grafana as grafana
example_outgoing_webhook = grafana.onCall.get_outgoing_webhook(name="example_outgoing_webhook")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/oncall"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oncall.GetOutgoingWebhook(ctx, &oncall.GetOutgoingWebhookArgs{
			Name: "example_outgoing_webhook",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
return await Deployment.RunAsync(() => 
{
    var exampleOutgoingWebhook = Grafana.OnCall.GetOutgoingWebhook.Invoke(new()
    {
        Name = "example_outgoing_webhook",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.onCall.OnCallFunctions;
import com.pulumi.grafana.onCall.inputs.GetOutgoingWebhookArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var exampleOutgoingWebhook = OnCallFunctions.getOutgoingWebhook(GetOutgoingWebhookArgs.builder()
            .name("example_outgoing_webhook")
            .build());
    }
}
variables:
  exampleOutgoingWebhook:
    fn::invoke:
      function: grafana:onCall:getOutgoingWebhook
      arguments:
        name: example_outgoing_webhook
Using getOutgoingWebhook
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 getOutgoingWebhook(args: GetOutgoingWebhookArgs, opts?: InvokeOptions): Promise<GetOutgoingWebhookResult>
function getOutgoingWebhookOutput(args: GetOutgoingWebhookOutputArgs, opts?: InvokeOptions): Output<GetOutgoingWebhookResult>def get_outgoing_webhook(name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetOutgoingWebhookResult
def get_outgoing_webhook_output(name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetOutgoingWebhookResult]func GetOutgoingWebhook(ctx *Context, args *GetOutgoingWebhookArgs, opts ...InvokeOption) (*GetOutgoingWebhookResult, error)
func GetOutgoingWebhookOutput(ctx *Context, args *GetOutgoingWebhookOutputArgs, opts ...InvokeOption) GetOutgoingWebhookResultOutput> Note: This function is named GetOutgoingWebhook in the Go SDK.
public static class GetOutgoingWebhook 
{
    public static Task<GetOutgoingWebhookResult> InvokeAsync(GetOutgoingWebhookArgs args, InvokeOptions? opts = null)
    public static Output<GetOutgoingWebhookResult> Invoke(GetOutgoingWebhookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOutgoingWebhookResult> getOutgoingWebhook(GetOutgoingWebhookArgs args, InvokeOptions options)
public static Output<GetOutgoingWebhookResult> getOutgoingWebhook(GetOutgoingWebhookArgs args, InvokeOptions options)
fn::invoke:
  function: grafana:onCall/getOutgoingWebhook:getOutgoingWebhook
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The outgoing webhook name.
- Name string
- The outgoing webhook name.
- name String
- The outgoing webhook name.
- name string
- The outgoing webhook name.
- name str
- The outgoing webhook name.
- name String
- The outgoing webhook name.
getOutgoingWebhook Result
The following output properties are available:
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the grafanaTerraform Provider.
