Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
Retrieve information on a specific notification template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getNotificationTemplate({
id: "<notification-template-id>",
});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_notification_template(id="<notification-template-id>")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := prismacloud.LookupNotificationTemplate(ctx, &prismacloud.LookupNotificationTemplateArgs{
Id: "<notification-template-id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Prismacloud = Pulumi.Prismacloud;
return await Deployment.RunAsync(() =>
{
var example = Prismacloud.GetNotificationTemplate.Invoke(new()
{
Id = "<notification-template-id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.prismacloud.PrismacloudFunctions;
import com.pulumi.prismacloud.inputs.GetNotificationTemplateArgs;
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 example = PrismacloudFunctions.getNotificationTemplate(GetNotificationTemplateArgs.builder()
.id("<notification-template-id>")
.build());
}
}
variables:
example:
fn::invoke:
function: prismacloud:getNotificationTemplate
arguments:
id: <notification-template-id>
Template Config
basic_config- This field includes additional attributes that can be used to customize the notification, as defined below.open- Provide config to map theopenalert state tojira/service_nowstate and configure thejira/service_nowfields. This field includes additional attributes, as defined below.resolved- Provide config to map theresolvedalert state tojira/service_nowstate and configure thejira/service_nowfields. This field includes additional attributes, as defined below.dismissed- Provide config to map thedismissedalert state toservice_nowstate and configure theservice_nowfields. This field includes additional attributes, as defined below.snoozed- This field represents the notification status when the user has chosen to temporarily delay or “snooze” the notification. This field includes additional attributes, as defined below.
Config Params
field_name- Field name.display_name- Display name.redlock_mapping- (bool) Prisma Cloud will provide the field value for notification.required- (bool) Required.type_ahead_uri- URL used to query suggestions for field value.type- Type of field.value- Field value.alias_field- Alias field.max_length- (int) Maximum length.options- Options, as defined below.
Options
name- Field option name.key- Field option key.id- Field option ID.
Using getNotificationTemplate
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 getNotificationTemplate(args: GetNotificationTemplateArgs, opts?: InvokeOptions): Promise<GetNotificationTemplateResult>
function getNotificationTemplateOutput(args: GetNotificationTemplateOutputArgs, opts?: InvokeOptions): Output<GetNotificationTemplateResult>def get_notification_template(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNotificationTemplateResult
def get_notification_template_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNotificationTemplateResult]func LookupNotificationTemplate(ctx *Context, args *LookupNotificationTemplateArgs, opts ...InvokeOption) (*LookupNotificationTemplateResult, error)
func LookupNotificationTemplateOutput(ctx *Context, args *LookupNotificationTemplateOutputArgs, opts ...InvokeOption) LookupNotificationTemplateResultOutput> Note: This function is named LookupNotificationTemplate in the Go SDK.
public static class GetNotificationTemplate
{
public static Task<GetNotificationTemplateResult> InvokeAsync(GetNotificationTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationTemplateResult> Invoke(GetNotificationTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNotificationTemplateResult> getNotificationTemplate(GetNotificationTemplateArgs args, InvokeOptions options)
public static Output<GetNotificationTemplateResult> getNotificationTemplate(GetNotificationTemplateArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getNotificationTemplate:getNotificationTemplate
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Notification template ID.
- Id string
- Notification template ID.
- id String
- Notification template ID.
- id string
- Notification template ID.
- id str
- Notification template ID.
- id String
- Notification template ID.
getNotificationTemplate Result
The following output properties are available:
- Created
By string - User who created the notification template.
- Created
Ts double - (int) Creation Unix timestamp in milliseconds.
- Customer
Id double - (int) Prisma customer ID.
- Enabled bool
- (bool) Whether the template is enabled.
- Id string
- Integration
Id string - Integration ID.
- Integration
Name string - Integration name.
- Integration
Type string - Integration type.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Module string
- Module.
- Name string
- Name to be used for the template on the Prisma Cloud platform.
- Template
Configs List<GetNotification Template Template Config> - Template config spec, as defined below.
- Template
Type string - Type of notification template.
- Created
By string - User who created the notification template.
- Created
Ts float64 - (int) Creation Unix timestamp in milliseconds.
- Customer
Id float64 - (int) Prisma customer ID.
- Enabled bool
- (bool) Whether the template is enabled.
- Id string
- Integration
Id string - Integration ID.
- Integration
Name string - Integration name.
- Integration
Type string - Integration type.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- Module string
- Module.
- Name string
- Name to be used for the template on the Prisma Cloud platform.
- Template
Configs []GetNotification Template Template Config - Template config spec, as defined below.
- Template
Type string - Type of notification template.
- created
By String - User who created the notification template.
- created
Ts Double - (int) Creation Unix timestamp in milliseconds.
- customer
Id Double - (int) Prisma customer ID.
- enabled Boolean
- (bool) Whether the template is enabled.
- id String
- integration
Id String - Integration ID.
- integration
Name String - Integration name.
- integration
Type String - Integration type.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- module String
- Module.
- name String
- Name to be used for the template on the Prisma Cloud platform.
- template
Configs List<GetNotification Template Template Config> - Template config spec, as defined below.
- template
Type String - Type of notification template.
- created
By string - User who created the notification template.
- created
Ts number - (int) Creation Unix timestamp in milliseconds.
- customer
Id number - (int) Prisma customer ID.
- enabled boolean
- (bool) Whether the template is enabled.
- id string
- integration
Id string - Integration ID.
- integration
Name string - Integration name.
- integration
Type string - Integration type.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- module string
- Module.
- name string
- Name to be used for the template on the Prisma Cloud platform.
- template
Configs GetNotification Template Template Config[] - Template config spec, as defined below.
- template
Type string - Type of notification template.
- created_
by str - User who created the notification template.
- created_
ts float - (int) Creation Unix timestamp in milliseconds.
- customer_
id float - (int) Prisma customer ID.
- enabled bool
- (bool) Whether the template is enabled.
- id str
- integration_
id str - Integration ID.
- integration_
name str - Integration name.
- integration_
type str - Integration type.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- module str
- Module.
- name str
- Name to be used for the template on the Prisma Cloud platform.
- template_
configs Sequence[GetNotification Template Template Config] - Template config spec, as defined below.
- template_
type str - Type of notification template.
- created
By String - User who created the notification template.
- created
Ts Number - (int) Creation Unix timestamp in milliseconds.
- customer
Id Number - (int) Prisma customer ID.
- enabled Boolean
- (bool) Whether the template is enabled.
- id String
- integration
Id String - Integration ID.
- integration
Name String - Integration name.
- integration
Type String - Integration type.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
- module String
- Module.
- name String
- Name to be used for the template on the Prisma Cloud platform.
- template
Configs List<Property Map> - Template config spec, as defined below.
- template
Type String - Type of notification template.
Supporting Types
GetNotificationTemplateTemplateConfig
- Basic
Configs List<GetNotification Template Template Config Basic Config> - Dismisseds
List<Get
Notification Template Template Config Dismissed> - Opens
List<Get
Notification Template Template Config Open> - Resolveds
List<Get
Notification Template Template Config Resolved> - Snoozeds
List<Get
Notification Template Template Config Snoozed>
- basic
Configs List<GetNotification Template Template Config Basic Config> - dismisseds
List<Get
Notification Template Template Config Dismissed> - opens
List<Get
Notification Template Template Config Open> - resolveds
List<Get
Notification Template Template Config Resolved> - snoozeds
List<Get
Notification Template Template Config Snoozed>
- basic_
configs Sequence[GetNotification Template Template Config Basic Config] - dismisseds
Sequence[Get
Notification Template Template Config Dismissed] - opens
Sequence[Get
Notification Template Template Config Open] - resolveds
Sequence[Get
Notification Template Template Config Resolved] - snoozeds
Sequence[Get
Notification Template Template Config Snoozed]
GetNotificationTemplateTemplateConfigBasicConfig
- Alias
Field string - Display
Name string - Field
Name string - Max
Length double - Options
List<Get
Notification Template Template Config Basic Config Option> - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- Alias
Field string - Display
Name string - Field
Name string - Max
Length float64 - Options
[]Get
Notification Template Template Config Basic Config Option - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- alias
Field String - display
Name String - field
Name String - max
Length Double - options
List<Get
Notification Template Template Config Basic Config Option> - redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
- alias
Field string - display
Name string - field
Name string - max
Length number - options
Get
Notification Template Template Config Basic Config Option[] - redlock
Mapping boolean - required boolean
- type string
- type
Ahead stringUri - value string
- alias_
field str - display_
name str - field_
name str - max_
length float - options
Sequence[Get
Notification Template Template Config Basic Config Option] - redlock_
mapping bool - required bool
- type str
- type_
ahead_ struri - value str
- alias
Field String - display
Name String - field
Name String - max
Length Number - options List<Property Map>
- redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
GetNotificationTemplateTemplateConfigBasicConfigOption
GetNotificationTemplateTemplateConfigDismissed
- Alias
Field string - Display
Name string - Field
Name string - Max
Length double - Options
List<Get
Notification Template Template Config Dismissed Option> - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- Alias
Field string - Display
Name string - Field
Name string - Max
Length float64 - Options
[]Get
Notification Template Template Config Dismissed Option - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- alias
Field String - display
Name String - field
Name String - max
Length Double - options
List<Get
Notification Template Template Config Dismissed Option> - redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
- alias
Field string - display
Name string - field
Name string - max
Length number - options
Get
Notification Template Template Config Dismissed Option[] - redlock
Mapping boolean - required boolean
- type string
- type
Ahead stringUri - value string
- alias_
field str - display_
name str - field_
name str - max_
length float - options
Sequence[Get
Notification Template Template Config Dismissed Option] - redlock_
mapping bool - required bool
- type str
- type_
ahead_ struri - value str
- alias
Field String - display
Name String - field
Name String - max
Length Number - options List<Property Map>
- redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
GetNotificationTemplateTemplateConfigDismissedOption
GetNotificationTemplateTemplateConfigOpen
- Alias
Field string - Display
Name string - Field
Name string - Max
Length double - Options
List<Get
Notification Template Template Config Open Option> - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- Alias
Field string - Display
Name string - Field
Name string - Max
Length float64 - Options
[]Get
Notification Template Template Config Open Option - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- alias
Field String - display
Name String - field
Name String - max
Length Double - options
List<Get
Notification Template Template Config Open Option> - redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
- alias
Field string - display
Name string - field
Name string - max
Length number - options
Get
Notification Template Template Config Open Option[] - redlock
Mapping boolean - required boolean
- type string
- type
Ahead stringUri - value string
- alias_
field str - display_
name str - field_
name str - max_
length float - options
Sequence[Get
Notification Template Template Config Open Option] - redlock_
mapping bool - required bool
- type str
- type_
ahead_ struri - value str
- alias
Field String - display
Name String - field
Name String - max
Length Number - options List<Property Map>
- redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
GetNotificationTemplateTemplateConfigOpenOption
GetNotificationTemplateTemplateConfigResolved
- Alias
Field string - Display
Name string - Field
Name string - Max
Length double - Options
List<Get
Notification Template Template Config Resolved Option> - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- Alias
Field string - Display
Name string - Field
Name string - Max
Length float64 - Options
[]Get
Notification Template Template Config Resolved Option - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- alias
Field String - display
Name String - field
Name String - max
Length Double - options
List<Get
Notification Template Template Config Resolved Option> - redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
- alias
Field string - display
Name string - field
Name string - max
Length number - options
Get
Notification Template Template Config Resolved Option[] - redlock
Mapping boolean - required boolean
- type string
- type
Ahead stringUri - value string
- alias_
field str - display_
name str - field_
name str - max_
length float - options
Sequence[Get
Notification Template Template Config Resolved Option] - redlock_
mapping bool - required bool
- type str
- type_
ahead_ struri - value str
- alias
Field String - display
Name String - field
Name String - max
Length Number - options List<Property Map>
- redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
GetNotificationTemplateTemplateConfigResolvedOption
GetNotificationTemplateTemplateConfigSnoozed
- Alias
Field string - Display
Name string - Field
Name string - Max
Length double - Options
List<Get
Notification Template Template Config Snoozed Option> - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- Alias
Field string - Display
Name string - Field
Name string - Max
Length float64 - Options
[]Get
Notification Template Template Config Snoozed Option - Redlock
Mapping bool - Required bool
- Type string
- Type
Ahead stringUri - Value string
- alias
Field String - display
Name String - field
Name String - max
Length Double - options
List<Get
Notification Template Template Config Snoozed Option> - redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
- alias
Field string - display
Name string - field
Name string - max
Length number - options
Get
Notification Template Template Config Snoozed Option[] - redlock
Mapping boolean - required boolean
- type string
- type
Ahead stringUri - value string
- alias_
field str - display_
name str - field_
name str - max_
length float - options
Sequence[Get
Notification Template Template Config Snoozed Option] - redlock_
mapping bool - required bool
- type str
- type_
ahead_ struri - value str
- alias
Field String - display
Name String - field
Name String - max
Length Number - options List<Property Map>
- redlock
Mapping Boolean - required Boolean
- type String
- type
Ahead StringUri - value String
GetNotificationTemplateTemplateConfigSnoozedOption
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloudTerraform Provider.
Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
