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 data pattern.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getDatapattern({
name: "My Data Pattern",
});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_datapattern(name="My Data Pattern")
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.LookupDatapattern(ctx, &prismacloud.LookupDatapatternArgs{
Name: pulumi.StringRef("My Data Pattern"),
}, 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.GetDatapattern.Invoke(new()
{
Name = "My Data Pattern",
});
});
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.GetDatapatternArgs;
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.getDatapattern(GetDatapatternArgs.builder()
.name("My Data Pattern")
.build());
}
}
variables:
example:
fn::invoke:
function: prismacloud:getDatapattern
arguments:
name: My Data Pattern
Using getDatapattern
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 getDatapattern(args: GetDatapatternArgs, opts?: InvokeOptions): Promise<GetDatapatternResult>
function getDatapatternOutput(args: GetDatapatternOutputArgs, opts?: InvokeOptions): Output<GetDatapatternResult>def get_datapattern(id: Optional[str] = None,
name: Optional[str] = None,
pattern_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatapatternResult
def get_datapattern_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
pattern_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatapatternResult]func LookupDatapattern(ctx *Context, args *LookupDatapatternArgs, opts ...InvokeOption) (*LookupDatapatternResult, error)
func LookupDatapatternOutput(ctx *Context, args *LookupDatapatternOutputArgs, opts ...InvokeOption) LookupDatapatternResultOutput> Note: This function is named LookupDatapattern in the Go SDK.
public static class GetDatapattern
{
public static Task<GetDatapatternResult> InvokeAsync(GetDatapatternArgs args, InvokeOptions? opts = null)
public static Output<GetDatapatternResult> Invoke(GetDatapatternInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatapatternResult> getDatapattern(GetDatapatternArgs args, InvokeOptions options)
public static Output<GetDatapatternResult> getDatapattern(GetDatapatternArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getDatapattern:getDatapattern
arguments:
# arguments dictionaryThe following arguments are supported:
- id str
- name str
- Pattern name.
- pattern_
id str - Pattern ID.
getDatapattern Result
The following output properties are available:
- Created
By string - Created by.
- Description string
- Pattern description.
- Detection
Technique string - Detection technique.
- Entity string
- Entity value.
- Grammar string
- Grammar value.
- Id string
- Is
Editable bool - (bool) Is editable.
- Mode string
- Pattern mode (predefined or custom).
- Name string
- Parent
Id string - Parent ID for cloned data pattern.
- Pattern
Id string - Proximity
Keywords List<string> - List of proximity keywords.
- Regexes
List<Get
Datapattern Regex> - List of regexes, as defined below.
- Root
Type string - Root type (predefined or custom) for cloned data pattern.
- S3Path string
- S3 Path to the grammar.
- Updated
At double - (int) Last updated at.
- Updated
By string - Updated by.
- Created
By string - Created by.
- Description string
- Pattern description.
- Detection
Technique string - Detection technique.
- Entity string
- Entity value.
- Grammar string
- Grammar value.
- Id string
- Is
Editable bool - (bool) Is editable.
- Mode string
- Pattern mode (predefined or custom).
- Name string
- Parent
Id string - Parent ID for cloned data pattern.
- Pattern
Id string - Proximity
Keywords []string - List of proximity keywords.
- Regexes
[]Get
Datapattern Regex - List of regexes, as defined below.
- Root
Type string - Root type (predefined or custom) for cloned data pattern.
- S3Path string
- S3 Path to the grammar.
- Updated
At float64 - (int) Last updated at.
- Updated
By string - Updated by.
- created
By String - Created by.
- description String
- Pattern description.
- detection
Technique String - Detection technique.
- entity String
- Entity value.
- grammar String
- Grammar value.
- id String
- is
Editable Boolean - (bool) Is editable.
- mode String
- Pattern mode (predefined or custom).
- name String
- parent
Id String - Parent ID for cloned data pattern.
- pattern
Id String - proximity
Keywords List<String> - List of proximity keywords.
- regexes
List<Get
Datapattern Regex> - List of regexes, as defined below.
- root
Type String - Root type (predefined or custom) for cloned data pattern.
- s3Path String
- S3 Path to the grammar.
- updated
At Double - (int) Last updated at.
- updated
By String - Updated by.
- created
By string - Created by.
- description string
- Pattern description.
- detection
Technique string - Detection technique.
- entity string
- Entity value.
- grammar string
- Grammar value.
- id string
- is
Editable boolean - (bool) Is editable.
- mode string
- Pattern mode (predefined or custom).
- name string
- parent
Id string - Parent ID for cloned data pattern.
- pattern
Id string - proximity
Keywords string[] - List of proximity keywords.
- regexes
Get
Datapattern Regex[] - List of regexes, as defined below.
- root
Type string - Root type (predefined or custom) for cloned data pattern.
- s3Path string
- S3 Path to the grammar.
- updated
At number - (int) Last updated at.
- updated
By string - Updated by.
- created_
by str - Created by.
- description str
- Pattern description.
- detection_
technique str - Detection technique.
- entity str
- Entity value.
- grammar str
- Grammar value.
- id str
- is_
editable bool - (bool) Is editable.
- mode str
- Pattern mode (predefined or custom).
- name str
- parent_
id str - Parent ID for cloned data pattern.
- pattern_
id str - proximity_
keywords Sequence[str] - List of proximity keywords.
- regexes
Sequence[Get
Datapattern Regex] - List of regexes, as defined below.
- root_
type str - Root type (predefined or custom) for cloned data pattern.
- s3_
path str - S3 Path to the grammar.
- updated_
at float - (int) Last updated at.
- updated_
by str - Updated by.
- created
By String - Created by.
- description String
- Pattern description.
- detection
Technique String - Detection technique.
- entity String
- Entity value.
- grammar String
- Grammar value.
- id String
- is
Editable Boolean - (bool) Is editable.
- mode String
- Pattern mode (predefined or custom).
- name String
- parent
Id String - Parent ID for cloned data pattern.
- pattern
Id String - proximity
Keywords List<String> - List of proximity keywords.
- regexes List<Property Map>
- List of regexes, as defined below.
- root
Type String - Root type (predefined or custom) for cloned data pattern.
- s3Path String
- S3 Path to the grammar.
- updated
At Number - (int) Last updated at.
- updated
By String - Updated by.
Supporting Types
GetDatapatternRegex
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
