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

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    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",
    });
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.get_dataprofile(name="My Data Profile")
    
    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
    	})
    }
    
    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",
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: prismacloud:getDataprofile
          arguments:
            name: My Data Profile
    

    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>
    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]
    func LookupDataprofile(ctx *Context, args *LookupDataprofileArgs, opts ...InvokeOption) (*LookupDataprofileResult, error)
    func LookupDataprofileOutput(ctx *Context, args *LookupDataprofileOutputArgs, opts ...InvokeOption) LookupDataprofileResultOutput

    > 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)
    }
    public static CompletableFuture<GetDataprofileResult> getDataprofile(GetDataprofileArgs args, InvokeOptions options)
    public static Output<GetDataprofileResult> getDataprofile(GetDataprofileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: prismacloud:index/getDataprofile:getDataprofile
      arguments:
        # arguments dictionary

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

    GetDataprofileDataPatternsRule1DataPatternRule

    ConfidenceLevel string
    Confidence level.
    DetectionTechnique string
    Detection technique.
    MatchType string
    Match type.
    Name string
    Profile Name.
    OccurrenceCount double
    Occurrence count.
    OccurrenceHigh double
    High occurrence value.
    OccurrenceLow double
    Low occurrence value.
    OccurrenceOperatorType string
    Occurrence operator type.
    PatternId string
    Pattern ID.
    SupportedConfidenceLevels List<string>
    List of supported confidence levels.
    ConfidenceLevel string
    Confidence level.
    DetectionTechnique string
    Detection technique.
    MatchType string
    Match type.
    Name string
    Profile Name.
    OccurrenceCount float64
    Occurrence count.
    OccurrenceHigh float64
    High occurrence value.
    OccurrenceLow float64
    Low occurrence value.
    OccurrenceOperatorType string
    Occurrence operator type.
    PatternId string
    Pattern ID.
    SupportedConfidenceLevels []string
    List of supported confidence levels.
    confidenceLevel String
    Confidence level.
    detectionTechnique String
    Detection technique.
    matchType String
    Match type.
    name String
    Profile Name.
    occurrenceCount Double
    Occurrence count.
    occurrenceHigh Double
    High occurrence value.
    occurrenceLow Double
    Low occurrence value.
    occurrenceOperatorType String
    Occurrence operator type.
    patternId String
    Pattern ID.
    supportedConfidenceLevels List<String>
    List of supported confidence levels.
    confidenceLevel string
    Confidence level.
    detectionTechnique string
    Detection technique.
    matchType string
    Match type.
    name string
    Profile Name.
    occurrenceCount number
    Occurrence count.
    occurrenceHigh number
    High occurrence value.
    occurrenceLow number
    Low occurrence value.
    occurrenceOperatorType string
    Occurrence operator type.
    patternId string
    Pattern ID.
    supportedConfidenceLevels string[]
    List of supported confidence levels.
    confidence_level str
    Confidence level.
    detection_technique str
    Detection technique.
    match_type str
    Match type.
    name str
    Profile Name.
    occurrence_count float
    Occurrence count.
    occurrence_high float
    High occurrence value.
    occurrence_low float
    Low occurrence value.
    occurrence_operator_type str
    Occurrence operator type.
    pattern_id str
    Pattern ID.
    supported_confidence_levels Sequence[str]
    List of supported confidence levels.
    confidenceLevel String
    Confidence level.
    detectionTechnique String
    Detection technique.
    matchType String
    Match type.
    name String
    Profile Name.
    occurrenceCount Number
    Occurrence count.
    occurrenceHigh Number
    High occurrence value.
    occurrenceLow Number
    Low occurrence value.
    occurrenceOperatorType String
    Occurrence operator type.
    patternId String
    Pattern ID.
    supportedConfidenceLevels 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.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks