Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleNotificationPolicyWebhooksList = cloudflare.getNotificationPolicyWebhooksList({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_notification_policy_webhooks_list = cloudflare.get_notification_policy_webhooks_list(account_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupNotificationPolicyWebhooksList(ctx, &cloudflare.LookupNotificationPolicyWebhooksListArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleNotificationPolicyWebhooksList = Cloudflare.GetNotificationPolicyWebhooksList.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetNotificationPolicyWebhooksListArgs;
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 exampleNotificationPolicyWebhooksList = CloudflareFunctions.getNotificationPolicyWebhooksList(GetNotificationPolicyWebhooksListArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleNotificationPolicyWebhooksList:
fn::invoke:
function: cloudflare:getNotificationPolicyWebhooksList
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
Using getNotificationPolicyWebhooksList
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 getNotificationPolicyWebhooksList(args: GetNotificationPolicyWebhooksListArgs, opts?: InvokeOptions): Promise<GetNotificationPolicyWebhooksListResult>
function getNotificationPolicyWebhooksListOutput(args: GetNotificationPolicyWebhooksListOutputArgs, opts?: InvokeOptions): Output<GetNotificationPolicyWebhooksListResult>def get_notification_policy_webhooks_list(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetNotificationPolicyWebhooksListResult
def get_notification_policy_webhooks_list_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNotificationPolicyWebhooksListResult]func LookupNotificationPolicyWebhooksList(ctx *Context, args *LookupNotificationPolicyWebhooksListArgs, opts ...InvokeOption) (*LookupNotificationPolicyWebhooksListResult, error)
func LookupNotificationPolicyWebhooksListOutput(ctx *Context, args *LookupNotificationPolicyWebhooksListOutputArgs, opts ...InvokeOption) LookupNotificationPolicyWebhooksListResultOutput> Note: This function is named LookupNotificationPolicyWebhooksList in the Go SDK.
public static class GetNotificationPolicyWebhooksList
{
public static Task<GetNotificationPolicyWebhooksListResult> InvokeAsync(GetNotificationPolicyWebhooksListArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationPolicyWebhooksListResult> Invoke(GetNotificationPolicyWebhooksListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNotificationPolicyWebhooksListResult> getNotificationPolicyWebhooksList(GetNotificationPolicyWebhooksListArgs args, InvokeOptions options)
public static Output<GetNotificationPolicyWebhooksListResult> getNotificationPolicyWebhooksList(GetNotificationPolicyWebhooksListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getNotificationPolicyWebhooksList:getNotificationPolicyWebhooksList
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - The account id
- max_
items int - Max items to fetch, default: 1000
getNotificationPolicyWebhooksList Result
The following output properties are available:
- Account
Id string - The account id
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Notification Policy Webhooks List Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - The account id
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Notification Policy Webhooks List Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - The account id
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Notification Policy Webhooks List Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - The account id
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Notification Policy Webhooks List Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - The account id
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Notification Policy Webhooks List Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - The account id
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetNotificationPolicyWebhooksListResult
- Created
At string - Timestamp of when the webhook destination was created.
- Id string
- The unique identifier of a webhook
- Last
Failure string - Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
- Last
Success string - Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
- Name string
- The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
- Secret string
- Optional secret that will be passed in the
cf-webhook-authheader when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body. - Type string
- Type of webhook endpoint. Available values: "datadog", "discord", "feishu", "gchat", "generic", "opsgenie", "slack", "splunk".
- Url string
- The POST endpoint to call when dispatching a notification.
- Created
At string - Timestamp of when the webhook destination was created.
- Id string
- The unique identifier of a webhook
- Last
Failure string - Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
- Last
Success string - Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
- Name string
- The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
- Secret string
- Optional secret that will be passed in the
cf-webhook-authheader when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body. - Type string
- Type of webhook endpoint. Available values: "datadog", "discord", "feishu", "gchat", "generic", "opsgenie", "slack", "splunk".
- Url string
- The POST endpoint to call when dispatching a notification.
- created
At String - Timestamp of when the webhook destination was created.
- id String
- The unique identifier of a webhook
- last
Failure String - Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
- last
Success String - Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
- name String
- The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
- secret String
- Optional secret that will be passed in the
cf-webhook-authheader when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body. - type String
- Type of webhook endpoint. Available values: "datadog", "discord", "feishu", "gchat", "generic", "opsgenie", "slack", "splunk".
- url String
- The POST endpoint to call when dispatching a notification.
- created
At string - Timestamp of when the webhook destination was created.
- id string
- The unique identifier of a webhook
- last
Failure string - Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
- last
Success string - Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
- name string
- The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
- secret string
- Optional secret that will be passed in the
cf-webhook-authheader when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body. - type string
- Type of webhook endpoint. Available values: "datadog", "discord", "feishu", "gchat", "generic", "opsgenie", "slack", "splunk".
- url string
- The POST endpoint to call when dispatching a notification.
- created_
at str - Timestamp of when the webhook destination was created.
- id str
- The unique identifier of a webhook
- last_
failure str - Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
- last_
success str - Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
- name str
- The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
- secret str
- Optional secret that will be passed in the
cf-webhook-authheader when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body. - type str
- Type of webhook endpoint. Available values: "datadog", "discord", "feishu", "gchat", "generic", "opsgenie", "slack", "splunk".
- url str
- The POST endpoint to call when dispatching a notification.
- created
At String - Timestamp of when the webhook destination was created.
- id String
- The unique identifier of a webhook
- last
Failure String - Timestamp of the last time an attempt to dispatch a notification to this webhook failed.
- last
Success String - Timestamp of the last time Cloudflare was able to successfully dispatch a notification using this webhook.
- name String
- The name of the webhook destination. This will be included in the request body when you receive a webhook notification.
- secret String
- Optional secret that will be passed in the
cf-webhook-authheader when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body. - type String
- Type of webhook endpoint. Available values: "datadog", "discord", "feishu", "gchat", "generic", "opsgenie", "slack", "splunk".
- url String
- The POST endpoint to call when dispatching a notification.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
