UNPKG

@bdzscaler/pulumi-zpa

Version:

A Pulumi package for creating and managing Zscaler Private Access (ZPA) cloud resources.

89 lines 5.53 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.InspectionProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [Official documentation](https://help.zscaler.com/zpa/about-browser-protection-profiles) * * [API documentation](https://help.zscaler.com/zpa/configuring-appprotection-profiles-using-api) * * The **zpa_inspection_profile** resource creates an inspection profile in the Zscaler Private Access cloud. This resource can then be referenced in an inspection custom control resource. * * **NOTE** There are several ways to set up the Inspection Profile due to its complex data structure * * ## Example Usage */ class InspectionProfile extends pulumi.CustomResource { /** * Get an existing InspectionProfile resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name, id, state, opts) { return new InspectionProfile(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of InspectionProfile. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === InspectionProfile.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["apiProfile"] = state ? state.apiProfile : undefined; resourceInputs["associateAllControls"] = state ? state.associateAllControls : undefined; resourceInputs["commonGlobalOverrideActionsConfig"] = state ? state.commonGlobalOverrideActionsConfig : undefined; resourceInputs["controlsInfos"] = state ? state.controlsInfos : undefined; resourceInputs["customControls"] = state ? state.customControls : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["globalControlActions"] = state ? state.globalControlActions : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["overrideAction"] = state ? state.overrideAction : undefined; resourceInputs["paranoiaLevel"] = state ? state.paranoiaLevel : undefined; resourceInputs["predefinedApiControls"] = state ? state.predefinedApiControls : undefined; resourceInputs["predefinedControls"] = state ? state.predefinedControls : undefined; resourceInputs["predefinedControlsVersion"] = state ? state.predefinedControlsVersion : undefined; resourceInputs["threatLabzControls"] = state ? state.threatLabzControls : undefined; resourceInputs["websocketControls"] = state ? state.websocketControls : undefined; resourceInputs["zsDefinedControlChoice"] = state ? state.zsDefinedControlChoice : undefined; } else { const args = argsOrState; resourceInputs["apiProfile"] = args ? args.apiProfile : undefined; resourceInputs["associateAllControls"] = args ? args.associateAllControls : undefined; resourceInputs["commonGlobalOverrideActionsConfig"] = args ? args.commonGlobalOverrideActionsConfig : undefined; resourceInputs["controlsInfos"] = args ? args.controlsInfos : undefined; resourceInputs["customControls"] = args ? args.customControls : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["globalControlActions"] = args ? args.globalControlActions : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["overrideAction"] = args ? args.overrideAction : undefined; resourceInputs["paranoiaLevel"] = args ? args.paranoiaLevel : undefined; resourceInputs["predefinedApiControls"] = args ? args.predefinedApiControls : undefined; resourceInputs["predefinedControls"] = args ? args.predefinedControls : undefined; resourceInputs["predefinedControlsVersion"] = args ? args.predefinedControlsVersion : undefined; resourceInputs["threatLabzControls"] = args ? args.threatLabzControls : undefined; resourceInputs["websocketControls"] = args ? args.websocketControls : undefined; resourceInputs["zsDefinedControlChoice"] = args ? args.zsDefinedControlChoice : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(InspectionProfile.__pulumiType, name, resourceInputs, opts); } } exports.InspectionProfile = InspectionProfile; /** @internal */ InspectionProfile.__pulumiType = 'zpa:index/inspectionProfile:InspectionProfile'; //# sourceMappingURL=inspectionProfile.js.map