1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getInspectionProfile
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

zpa.getInspectionProfile

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zpa_inspection_profile data source to get information about an inspection profile in the Zscaler Private Access cloud. This resource can then be referenced in an inspection custom control resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const this = zpa.getInspectionProfile({
        name: "Example",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    this = zpa.get_inspection_profile(name="Example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zpa.LookupInspectionProfile(ctx, &zpa.LookupInspectionProfileArgs{
    			Name: pulumi.StringRef("Example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zpa = Pulumi.Zpa;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Zpa.GetInspectionProfile.Invoke(new()
        {
            Name = "Example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zpa.ZpaFunctions;
    import com.pulumi.zpa.inputs.GetInspectionProfileArgs;
    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 this = ZpaFunctions.getInspectionProfile(GetInspectionProfileArgs.builder()
                .name("Example")
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: zpa:getInspectionProfile
          Arguments:
            name: Example
    

    Using getInspectionProfile

    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 getInspectionProfile(args: GetInspectionProfileArgs, opts?: InvokeOptions): Promise<GetInspectionProfileResult>
    function getInspectionProfileOutput(args: GetInspectionProfileOutputArgs, opts?: InvokeOptions): Output<GetInspectionProfileResult>
    def get_inspection_profile(id: Optional[str] = None,
                               name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetInspectionProfileResult
    def get_inspection_profile_output(id: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetInspectionProfileResult]
    func LookupInspectionProfile(ctx *Context, args *LookupInspectionProfileArgs, opts ...InvokeOption) (*LookupInspectionProfileResult, error)
    func LookupInspectionProfileOutput(ctx *Context, args *LookupInspectionProfileOutputArgs, opts ...InvokeOption) LookupInspectionProfileResultOutput

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

    public static class GetInspectionProfile 
    {
        public static Task<GetInspectionProfileResult> InvokeAsync(GetInspectionProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetInspectionProfileResult> Invoke(GetInspectionProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInspectionProfileResult> getInspectionProfile(GetInspectionProfileArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zpa:index/getInspectionProfile:getInspectionProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.
    id string
    name string
    • (String) This field defines the name of the inspection profile.
    id str
    name str
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.

    getInspectionProfile Result

    The following output properties are available:

    Supporting Types

    GetInspectionProfileControlsInfo

    ControlType string
    Count string
    ControlType string
    Count string
    controlType String
    count String
    controlType string
    count string
    controlType String
    count String

    GetInspectionProfileCustomControl

    action String
    actionValue String
    associatedInspectionProfileNames List<Property Map>
    controlNumber String
    controlRuleJson String
    creationTime String
    defaultAction String
    defaultActionValue String
    description String
    id String
    modifiedBy String
    modifiedTime String
    name String
    • (String) This field defines the name of the inspection profile.
    paranoiaLevel String
    rules List<Property Map>
    severity String
    type String
    version String

    GetInspectionProfileCustomControlAssociatedInspectionProfileName

    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.
    id string
    name string
    • (String) This field defines the name of the inspection profile.
    id str
    name str
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.

    GetInspectionProfileCustomControlRule

    GetInspectionProfileCustomControlRuleCondition

    Lhs string
    Op string
    Rhs string
    Lhs string
    Op string
    Rhs string
    lhs String
    op String
    rhs String
    lhs string
    op string
    rhs string
    lhs str
    op str
    rhs str
    lhs String
    op String
    rhs String

    GetInspectionProfilePredefinedControl

    action String
    actionValue String
    associatedInspectionProfileNames List<Property Map>
    attachment String
    controlGroup String
    controlNumber String
    controlType String
    creationTime String
    defaultAction String
    defaultActionValue String
    description String
    id String
    modifiedBy String
    modifiedTime String
    name String
    • (String) This field defines the name of the inspection profile.
    paranoiaLevel String
    severity String
    version String

    GetInspectionProfilePredefinedControlAssociatedInspectionProfileName

    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.
    id string
    name string
    • (String) This field defines the name of the inspection profile.
    id str
    name str
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.

    GetInspectionProfileWebSocketControl

    action String
    actionValue String
    associatedInspectionProfileNames List<Property Map>
    attachment String
    controlGroup String
    controlNumber String
    controlType String
    creationTime String
    defaultAction String
    defaultActionValue String
    description String
    id String
    modifiedBy String
    modifiedTime String
    name String
    • (String) This field defines the name of the inspection profile.
    paranoiaLevel String
    protocolType String
    severity String
    version String

    GetInspectionProfileWebSocketControlAssociatedInspectionProfileName

    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    Id string
    Name string
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.
    id string
    name string
    • (String) This field defines the name of the inspection profile.
    id str
    name str
    • (String) This field defines the name of the inspection profile.
    id String
    name String
    • (String) This field defines the name of the inspection profile.

    Package Details

    Repository
    zpa zscaler/pulumi-zpa
    License
    MIT
    Notes
    This Pulumi package is based on the zpa Terraform Provider.
    zpa logo
    Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler