prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getNotificationTemplates
Explore with Pulumi AI
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
Retrieve a list of notification templates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getNotificationTemplates({});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_notification_templates()
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.GetNotificationTemplates(ctx, &prismacloud.GetNotificationTemplatesArgs{}, 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.GetNotificationTemplates.Invoke();
});
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.GetNotificationTemplatesArgs;
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.getNotificationTemplates();
}
}
variables:
example:
fn::invoke:
function: prismacloud:getNotificationTemplates
arguments: {}
Using getNotificationTemplates
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 getNotificationTemplates(args: GetNotificationTemplatesArgs, opts?: InvokeOptions): Promise<GetNotificationTemplatesResult>
function getNotificationTemplatesOutput(args: GetNotificationTemplatesOutputArgs, opts?: InvokeOptions): Output<GetNotificationTemplatesResult>
def get_notification_templates(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNotificationTemplatesResult
def get_notification_templates_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNotificationTemplatesResult]
func GetNotificationTemplates(ctx *Context, args *GetNotificationTemplatesArgs, opts ...InvokeOption) (*GetNotificationTemplatesResult, error)
func GetNotificationTemplatesOutput(ctx *Context, args *GetNotificationTemplatesOutputArgs, opts ...InvokeOption) GetNotificationTemplatesResultOutput
> Note: This function is named GetNotificationTemplates
in the Go SDK.
public static class GetNotificationTemplates
{
public static Task<GetNotificationTemplatesResult> InvokeAsync(GetNotificationTemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetNotificationTemplatesResult> Invoke(GetNotificationTemplatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNotificationTemplatesResult> getNotificationTemplates(GetNotificationTemplatesArgs args, InvokeOptions options)
public static Output<GetNotificationTemplatesResult> getNotificationTemplates(GetNotificationTemplatesArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getNotificationTemplates:getNotificationTemplates
arguments:
# arguments dictionary
The 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.
getNotificationTemplates Result
The following output properties are available:
- Id string
- Notification template id.
- Listings
List<Get
Notification Templates Listing> - List of notification templates returned, as defined below.
- Total double
- (int) Total number of notification templates.
- Id string
- Notification template id.
- Listings
[]Get
Notification Templates Listing - List of notification templates returned, as defined below.
- Total float64
- (int) Total number of notification templates.
- id String
- Notification template id.
- listings
List<Get
Notification Templates Listing> - List of notification templates returned, as defined below.
- total Double
- (int) Total number of notification templates.
- id string
- Notification template id.
- listings
Get
Notification Templates Listing[] - List of notification templates returned, as defined below.
- total number
- (int) Total number of notification templates.
- id str
- Notification template id.
- listings
Sequence[Get
Notification Templates Listing] - List of notification templates returned, as defined below.
- total float
- (int) Total number of notification templates.
- id String
- Notification template id.
- listings List<Property Map>
- List of notification templates returned, as defined below.
- total Number
- (int) Total number of notification templates.
Supporting Types
GetNotificationTemplatesListing
- 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
- Notification template id.
- 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
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
- Notification template id.
- 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
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
- Notification template id.
- 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
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
- Notification template id.
- 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
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
- Notification template id.
- 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_
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
- Notification template id.
- 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
Type String - Type of notification template.
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloud
Terraform Provider.
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks