1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. getDataprofile
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.getDataprofile

Explore with Pulumi AI

Retrieve information on a specific data profile.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";

const example = prismacloud.getDataprofile({
    name: "My Data Profile",
});
Copy
import pulumi
import pulumi_prismacloud as prismacloud

example = prismacloud.get_dataprofile(name="My Data Profile")
Copy
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.LookupDataprofile(ctx, &prismacloud.LookupDataprofileArgs{
			Name: pulumi.StringRef("My Data Profile"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Prismacloud = Pulumi.Prismacloud;

return await Deployment.RunAsync(() => 
{
    var example = Prismacloud.GetDataprofile.Invoke(new()
    {
        Name = "My Data Profile",
    });

});
Copy
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.GetDataprofileArgs;
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.getDataprofile(GetDataprofileArgs.builder()
            .name("My Data Profile")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: prismacloud:getDataprofile
      arguments:
        name: My Data Profile
Copy

Using getDataprofile

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 getDataprofile(args: GetDataprofileArgs, opts?: InvokeOptions): Promise<GetDataprofileResult>
function getDataprofileOutput(args: GetDataprofileOutputArgs, opts?: InvokeOptions): Output<GetDataprofileResult>
Copy
def get_dataprofile(id: Optional[str] = None,
                    name: Optional[str] = None,
                    profile_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDataprofileResult
def get_dataprofile_output(id: Optional[pulumi.Input[str]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    profile_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetDataprofileResult]
Copy
func LookupDataprofile(ctx *Context, args *LookupDataprofileArgs, opts ...InvokeOption) (*LookupDataprofileResult, error)
func LookupDataprofileOutput(ctx *Context, args *LookupDataprofileOutputArgs, opts ...InvokeOption) LookupDataprofileResultOutput
Copy

> Note: This function is named LookupDataprofile in the Go SDK.

public static class GetDataprofile 
{
    public static Task<GetDataprofileResult> InvokeAsync(GetDataprofileArgs args, InvokeOptions? opts = null)
    public static Output<GetDataprofileResult> Invoke(GetDataprofileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDataprofileResult> getDataprofile(GetDataprofileArgs args, InvokeOptions options)
public static Output<GetDataprofileResult> getDataprofile(GetDataprofileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: prismacloud:index/getDataprofile:getDataprofile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Profile Name.
ProfileId string
Profile ID.
Id string
Name string
Profile Name.
ProfileId string
Profile ID.
id String
name String
Profile Name.
profileId String
Profile ID.
id string
name string
Profile Name.
profileId string
Profile ID.
id str
name str
Profile Name.
profile_id str
Profile ID.
id String
name String
Profile Name.
profileId String
Profile ID.

getDataprofile Result

The following output properties are available:

CreatedAt string
Created at (unix time).
CreatedBy string
Created by.
DataPatternsRule1s List<GetDataprofileDataPatternsRule1>
Model for DataProfile Rules, as defined below.
Description string
Profile description.
Id string
Name string
Pattern name.
ProfileId string
ProfileStatus string
Profile status (active or disabled).
ProfileType string
Profile type (custom or system).
Status string
Status (hidden or non_hidden).
TenantId string
Tenant ID.
Types string
Type (basic or advance).
UpdatedAt string
Updated at (unix time).
UpdatedBy string
Updated by.
CreatedAt string
Created at (unix time).
CreatedBy string
Created by.
DataPatternsRule1s []GetDataprofileDataPatternsRule1
Model for DataProfile Rules, as defined below.
Description string
Profile description.
Id string
Name string
Pattern name.
ProfileId string
ProfileStatus string
Profile status (active or disabled).
ProfileType string
Profile type (custom or system).
Status string
Status (hidden or non_hidden).
TenantId string
Tenant ID.
Types string
Type (basic or advance).
UpdatedAt string
Updated at (unix time).
UpdatedBy string
Updated by.
createdAt String
Created at (unix time).
createdBy String
Created by.
dataPatternsRule1s List<GetDataprofileDataPatternsRule1>
Model for DataProfile Rules, as defined below.
description String
Profile description.
id String
name String
Pattern name.
profileId String
profileStatus String
Profile status (active or disabled).
profileType String
Profile type (custom or system).
status String
Status (hidden or non_hidden).
tenantId String
Tenant ID.
types String
Type (basic or advance).
updatedAt String
Updated at (unix time).
updatedBy String
Updated by.
createdAt string
Created at (unix time).
createdBy string
Created by.
dataPatternsRule1s GetDataprofileDataPatternsRule1[]
Model for DataProfile Rules, as defined below.
description string
Profile description.
id string
name string
Pattern name.
profileId string
profileStatus string
Profile status (active or disabled).
profileType string
Profile type (custom or system).
status string
Status (hidden or non_hidden).
tenantId string
Tenant ID.
types string
Type (basic or advance).
updatedAt string
Updated at (unix time).
updatedBy string
Updated by.
created_at str
Created at (unix time).
created_by str
Created by.
data_patterns_rule1s Sequence[GetDataprofileDataPatternsRule1]
Model for DataProfile Rules, as defined below.
description str
Profile description.
id str
name str
Pattern name.
profile_id str
profile_status str
Profile status (active or disabled).
profile_type str
Profile type (custom or system).
status str
Status (hidden or non_hidden).
tenant_id str
Tenant ID.
types str
Type (basic or advance).
updated_at str
Updated at (unix time).
updated_by str
Updated by.
createdAt String
Created at (unix time).
createdBy String
Created by.
dataPatternsRule1s List<Property Map>
Model for DataProfile Rules, as defined below.
description String
Profile description.
id String
name String
Pattern name.
profileId String
profileStatus String
Profile status (active or disabled).
profileType String
Profile type (custom or system).
status String
Status (hidden or non_hidden).
tenantId String
Tenant ID.
types String
Type (basic or advance).
updatedAt String
Updated at (unix time).
updatedBy String
Updated by.

Supporting Types

GetDataprofileDataPatternsRule1

DataPatternRules This property is required. List<GetDataprofileDataPatternsRule1DataPatternRule>
List of DataPattern Rules. Each item has data-pattern information, as defined below.
OperatorType This property is required. string
Pattern operator type.
DataPatternRules This property is required. []GetDataprofileDataPatternsRule1DataPatternRule
List of DataPattern Rules. Each item has data-pattern information, as defined below.
OperatorType This property is required. string
Pattern operator type.
dataPatternRules This property is required. List<GetDataprofileDataPatternsRule1DataPatternRule>
List of DataPattern Rules. Each item has data-pattern information, as defined below.
operatorType This property is required. String
Pattern operator type.
dataPatternRules This property is required. GetDataprofileDataPatternsRule1DataPatternRule[]
List of DataPattern Rules. Each item has data-pattern information, as defined below.
operatorType This property is required. string
Pattern operator type.
data_pattern_rules This property is required. Sequence[GetDataprofileDataPatternsRule1DataPatternRule]
List of DataPattern Rules. Each item has data-pattern information, as defined below.
operator_type This property is required. str
Pattern operator type.
dataPatternRules This property is required. List<Property Map>
List of DataPattern Rules. Each item has data-pattern information, as defined below.
operatorType This property is required. String
Pattern operator type.

GetDataprofileDataPatternsRule1DataPatternRule

ConfidenceLevel This property is required. string
Confidence level.
DetectionTechnique This property is required. string
Detection technique.
MatchType This property is required. string
Match type.
Name This property is required. string
Profile Name.
OccurrenceCount This property is required. double
Occurrence count.
OccurrenceHigh This property is required. double
High occurrence value.
OccurrenceLow This property is required. double
Low occurrence value.
OccurrenceOperatorType This property is required. string
Occurrence operator type.
PatternId This property is required. string
Pattern ID.
SupportedConfidenceLevels This property is required. List<string>
List of supported confidence levels.
ConfidenceLevel This property is required. string
Confidence level.
DetectionTechnique This property is required. string
Detection technique.
MatchType This property is required. string
Match type.
Name This property is required. string
Profile Name.
OccurrenceCount This property is required. float64
Occurrence count.
OccurrenceHigh This property is required. float64
High occurrence value.
OccurrenceLow This property is required. float64
Low occurrence value.
OccurrenceOperatorType This property is required. string
Occurrence operator type.
PatternId This property is required. string
Pattern ID.
SupportedConfidenceLevels This property is required. []string
List of supported confidence levels.
confidenceLevel This property is required. String
Confidence level.
detectionTechnique This property is required. String
Detection technique.
matchType This property is required. String
Match type.
name This property is required. String
Profile Name.
occurrenceCount This property is required. Double
Occurrence count.
occurrenceHigh This property is required. Double
High occurrence value.
occurrenceLow This property is required. Double
Low occurrence value.
occurrenceOperatorType This property is required. String
Occurrence operator type.
patternId This property is required. String
Pattern ID.
supportedConfidenceLevels This property is required. List<String>
List of supported confidence levels.
confidenceLevel This property is required. string
Confidence level.
detectionTechnique This property is required. string
Detection technique.
matchType This property is required. string
Match type.
name This property is required. string
Profile Name.
occurrenceCount This property is required. number
Occurrence count.
occurrenceHigh This property is required. number
High occurrence value.
occurrenceLow This property is required. number
Low occurrence value.
occurrenceOperatorType This property is required. string
Occurrence operator type.
patternId This property is required. string
Pattern ID.
supportedConfidenceLevels This property is required. string[]
List of supported confidence levels.
confidence_level This property is required. str
Confidence level.
detection_technique This property is required. str
Detection technique.
match_type This property is required. str
Match type.
name This property is required. str
Profile Name.
occurrence_count This property is required. float
Occurrence count.
occurrence_high This property is required. float
High occurrence value.
occurrence_low This property is required. float
Low occurrence value.
occurrence_operator_type This property is required. str
Occurrence operator type.
pattern_id This property is required. str
Pattern ID.
supported_confidence_levels This property is required. Sequence[str]
List of supported confidence levels.
confidenceLevel This property is required. String
Confidence level.
detectionTechnique This property is required. String
Detection technique.
matchType This property is required. String
Match type.
name This property is required. String
Profile Name.
occurrenceCount This property is required. Number
Occurrence count.
occurrenceHigh This property is required. Number
High occurrence value.
occurrenceLow This property is required. Number
Low occurrence value.
occurrenceOperatorType This property is required. String
Occurrence operator type.
patternId This property is required. String
Pattern ID.
supportedConfidenceLevels This property is required. List<String>
List of supported confidence levels.

Package Details

Repository
prismacloud paloaltonetworks/terraform-provider-prismacloud
License
Notes
This Pulumi package is based on the prismacloud Terraform Provider.