Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getInspectionProfile
Explore with Pulumi AI
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:
getInspectionProfile Result
The following output properties are available:
- Common
Global Dictionary<string, string>Override Actions Config - Controls
Infos List<Zscaler.Zpa. Outputs. Get Inspection Profile Controls Info> - Creation
Time string - Custom
Controls List<Zscaler.Zpa. Outputs. Get Inspection Profile Custom Control> - Description string
- Global
Control List<string>Actions - Id string
- Incarnation
Number string - Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Predefined
Controls List<Zscaler.Zpa. Outputs. Get Inspection Profile Predefined Control> - Predefined
Controls stringVersion - Web
Socket List<Zscaler.Controls Zpa. Outputs. Get Inspection Profile Web Socket Control>
- Common
Global map[string]stringOverride Actions Config - Controls
Infos []GetInspection Profile Controls Info - Creation
Time string - Custom
Controls []GetInspection Profile Custom Control - Description string
- Global
Control []stringActions - Id string
- Incarnation
Number string - Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Predefined
Controls []GetInspection Profile Predefined Control - Predefined
Controls stringVersion - Web
Socket []GetControls Inspection Profile Web Socket Control
- common
Global Map<String,String>Override Actions Config - controls
Infos List<GetInspection Profile Controls Info> - creation
Time String - custom
Controls List<GetInspection Profile Custom Control> - description String
- global
Control List<String>Actions - id String
- incarnation
Number String - modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - predefined
Controls List<GetInspection Profile Predefined Control> - predefined
Controls StringVersion - web
Socket List<GetControls Inspection Profile Web Socket Control>
- common
Global {[key: string]: string}Override Actions Config - controls
Infos GetInspection Profile Controls Info[] - creation
Time string - custom
Controls GetInspection Profile Custom Control[] - description string
- global
Control string[]Actions - id string
- incarnation
Number string - modified
By string - modified
Time string - name string
- (String) This field defines the name of the inspection profile.
- paranoia
Level string - predefined
Controls GetInspection Profile Predefined Control[] - predefined
Controls stringVersion - web
Socket GetControls Inspection Profile Web Socket Control[]
- common_
global_ Mapping[str, str]override_ actions_ config - controls_
infos Sequence[GetInspection Profile Controls Info] - creation_
time str - custom_
controls Sequence[GetInspection Profile Custom Control] - description str
- global_
control_ Sequence[str]actions - id str
- incarnation_
number str - modified_
by str - modified_
time str - name str
- (String) This field defines the name of the inspection profile.
- paranoia_
level str - predefined_
controls Sequence[GetInspection Profile Predefined Control] - predefined_
controls_ strversion - web_
socket_ Sequence[Getcontrols Inspection Profile Web Socket Control]
- common
Global Map<String>Override Actions Config - controls
Infos List<Property Map> - creation
Time String - custom
Controls List<Property Map> - description String
- global
Control List<String>Actions - id String
- incarnation
Number String - modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - predefined
Controls List<Property Map> - predefined
Controls StringVersion - web
Socket List<Property Map>Controls
Supporting Types
GetInspectionProfileControlsInfo
- Control
Type string - Count string
- Control
Type string - Count string
- control
Type String - count String
- control
Type string - count string
- control_
type str - count str
- control
Type String - count String
GetInspectionProfileCustomControl
- Action string
- Action
Value string - Associated
Inspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection Profile Custom Control Associated Inspection Profile Name> - Control
Number string - Control
Rule stringJson - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Rules
List<Zscaler.
Zpa. Inputs. Get Inspection Profile Custom Control Rule> - Severity string
- Type string
- Version string
- Action string
- Action
Value string - Associated
Inspection []GetProfile Names Inspection Profile Custom Control Associated Inspection Profile Name - Control
Number string - Control
Rule stringJson - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Rules
[]Get
Inspection Profile Custom Control Rule - Severity string
- Type string
- Version string
- action String
- action
Value String - associated
Inspection List<GetProfile Names Inspection Profile Custom Control Associated Inspection Profile Name> - control
Number String - control
Rule StringJson - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - rules
List<Get
Inspection Profile Custom Control Rule> - severity String
- type String
- version String
- action string
- action
Value string - associated
Inspection GetProfile Names Inspection Profile Custom Control Associated Inspection Profile Name[] - control
Number string - control
Rule stringJson - creation
Time string - default
Action string - default
Action stringValue - description string
- id string
- modified
By string - modified
Time string - name string
- (String) This field defines the name of the inspection profile.
- paranoia
Level string - rules
Get
Inspection Profile Custom Control Rule[] - severity string
- type string
- version string
- action str
- action_
value str - associated_
inspection_ Sequence[Getprofile_ names Inspection Profile Custom Control Associated Inspection Profile Name] - control_
number str - control_
rule_ strjson - creation_
time str - default_
action str - default_
action_ strvalue - description str
- id str
- modified_
by str - modified_
time str - name str
- (String) This field defines the name of the inspection profile.
- paranoia_
level str - rules
Sequence[Get
Inspection Profile Custom Control Rule] - severity str
- type str
- version str
- action String
- action
Value String - associated
Inspection List<Property Map>Profile Names - control
Number String - control
Rule StringJson - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - rules List<Property Map>
- severity String
- type String
- version String
GetInspectionProfileCustomControlAssociatedInspectionProfileName
GetInspectionProfileCustomControlRule
- conditions List<Property Map>
- names String
- type String
GetInspectionProfileCustomControlRuleCondition
GetInspectionProfilePredefinedControl
- Action string
- Action
Value string - Associated
Inspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection Profile Predefined Control Associated Inspection Profile Name> - Attachment string
- Control
Group string - Control
Number string - Control
Type string - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Severity string
- Version string
- Action string
- Action
Value string - Associated
Inspection []GetProfile Names Inspection Profile Predefined Control Associated Inspection Profile Name - Attachment string
- Control
Group string - Control
Number string - Control
Type string - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Severity string
- Version string
- action String
- action
Value String - associated
Inspection List<GetProfile Names Inspection Profile Predefined Control Associated Inspection Profile Name> - attachment String
- control
Group String - control
Number String - control
Type String - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - severity String
- version String
- action string
- action
Value string - associated
Inspection GetProfile Names Inspection Profile Predefined Control Associated Inspection Profile Name[] - attachment string
- control
Group string - control
Number string - control
Type string - creation
Time string - default
Action string - default
Action stringValue - description string
- id string
- modified
By string - modified
Time string - name string
- (String) This field defines the name of the inspection profile.
- paranoia
Level string - severity string
- version string
- action str
- action_
value str - associated_
inspection_ Sequence[Getprofile_ names Inspection Profile Predefined Control Associated Inspection Profile Name] - attachment str
- control_
group str - control_
number str - control_
type str - creation_
time str - default_
action str - default_
action_ strvalue - description str
- id str
- modified_
by str - modified_
time str - name str
- (String) This field defines the name of the inspection profile.
- paranoia_
level str - severity str
- version str
- action String
- action
Value String - associated
Inspection List<Property Map>Profile Names - attachment String
- control
Group String - control
Number String - control
Type String - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - severity String
- version String
GetInspectionProfilePredefinedControlAssociatedInspectionProfileName
GetInspectionProfileWebSocketControl
- Action string
- Action
Value string - Associated
Inspection List<Zscaler.Profile Names Zpa. Inputs. Get Inspection Profile Web Socket Control Associated Inspection Profile Name> - Attachment string
- Control
Group string - Control
Number string - Control
Type string - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Protocol
Type string - Severity string
- Version string
- Action string
- Action
Value string - Associated
Inspection []GetProfile Names Inspection Profile Web Socket Control Associated Inspection Profile Name - Attachment string
- Control
Group string - Control
Number string - Control
Type string - Creation
Time string - Default
Action string - Default
Action stringValue - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- (String) This field defines the name of the inspection profile.
- Paranoia
Level string - Protocol
Type string - Severity string
- Version string
- action String
- action
Value String - associated
Inspection List<GetProfile Names Inspection Profile Web Socket Control Associated Inspection Profile Name> - attachment String
- control
Group String - control
Number String - control
Type String - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - protocol
Type String - severity String
- version String
- action string
- action
Value string - associated
Inspection GetProfile Names Inspection Profile Web Socket Control Associated Inspection Profile Name[] - attachment string
- control
Group string - control
Number string - control
Type string - creation
Time string - default
Action string - default
Action stringValue - description string
- id string
- modified
By string - modified
Time string - name string
- (String) This field defines the name of the inspection profile.
- paranoia
Level string - protocol
Type string - severity string
- version string
- action str
- action_
value str - associated_
inspection_ Sequence[Getprofile_ names Inspection Profile Web Socket Control Associated Inspection Profile Name] - attachment str
- control_
group str - control_
number str - control_
type str - creation_
time str - default_
action str - default_
action_ strvalue - description str
- id str
- modified_
by str - modified_
time str - name str
- (String) This field defines the name of the inspection profile.
- paranoia_
level str - protocol_
type str - severity str
- version str
- action String
- action
Value String - associated
Inspection List<Property Map>Profile Names - attachment String
- control
Group String - control
Number String - control
Type String - creation
Time String - default
Action String - default
Action StringValue - description String
- id String
- modified
By String - modified
Time String - name String
- (String) This field defines the name of the inspection profile.
- paranoia
Level String - protocol
Type String - severity String
- version String
GetInspectionProfileWebSocketControlAssociatedInspectionProfileName
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.