Viewing docs for Grafana v2.21.0
published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
Viewing docs for Grafana v2.21.0
published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumiverse/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/v2/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 LookupOutgoingWebhook(ctx *Context, args *LookupOutgoingWebhookArgs, opts ...InvokeOption) (*LookupOutgoingWebhookResult, error)
func LookupOutgoingWebhookOutput(ctx *Context, args *LookupOutgoingWebhookOutputArgs, opts ...InvokeOption) LookupOutgoingWebhookResultOutput> Note: This function is named LookupOutgoingWebhook 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.
Viewing docs for Grafana v2.21.0
published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
