@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
115 lines • 6.71 kB
JavaScript
;
// *** 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.SSLInspectionRules = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## Example Usage
*
* ### Action - DECRYPT
*
* ### Action - DO_NOT_DECRYPT - Bypass Rule (False)
*
* ### Action - DO_NOT_DECRYPT - Bypass Rule (True)
*
* ### Action - BLOCK
*/
class SSLInspectionRules extends pulumi.CustomResource {
/**
* Get an existing SSLInspectionRules 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 SSLInspectionRules(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of SSLInspectionRules. 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'] === SSLInspectionRules.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["actions"] = state ? state.actions : undefined;
resourceInputs["cloudApplications"] = state ? state.cloudApplications : undefined;
resourceInputs["departments"] = state ? state.departments : undefined;
resourceInputs["description"] = state ? state.description : undefined;
resourceInputs["destIpGroups"] = state ? state.destIpGroups : undefined;
resourceInputs["deviceGroups"] = state ? state.deviceGroups : undefined;
resourceInputs["deviceTrustLevels"] = state ? state.deviceTrustLevels : undefined;
resourceInputs["devices"] = state ? state.devices : undefined;
resourceInputs["groups"] = state ? state.groups : undefined;
resourceInputs["labels"] = state ? state.labels : undefined;
resourceInputs["locationGroups"] = state ? state.locationGroups : undefined;
resourceInputs["locations"] = state ? state.locations : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["order"] = state ? state.order : undefined;
resourceInputs["platforms"] = state ? state.platforms : undefined;
resourceInputs["proxyGateways"] = state ? state.proxyGateways : undefined;
resourceInputs["rank"] = state ? state.rank : undefined;
resourceInputs["roadWarriorForKerberos"] = state ? state.roadWarriorForKerberos : undefined;
resourceInputs["ruleId"] = state ? state.ruleId : undefined;
resourceInputs["sourceIpGroups"] = state ? state.sourceIpGroups : undefined;
resourceInputs["state"] = state ? state.state : undefined;
resourceInputs["timeWindows"] = state ? state.timeWindows : undefined;
resourceInputs["urlCategories"] = state ? state.urlCategories : undefined;
resourceInputs["userAgentTypes"] = state ? state.userAgentTypes : undefined;
resourceInputs["users"] = state ? state.users : undefined;
resourceInputs["workloadGroups"] = state ? state.workloadGroups : undefined;
resourceInputs["zpaAppSegments"] = state ? state.zpaAppSegments : undefined;
}
else {
const args = argsOrState;
if ((!args || args.order === undefined) && !opts.urn) {
throw new Error("Missing required property 'order'");
}
resourceInputs["actions"] = args ? args.actions : undefined;
resourceInputs["cloudApplications"] = args ? args.cloudApplications : undefined;
resourceInputs["departments"] = args ? args.departments : undefined;
resourceInputs["description"] = args ? args.description : undefined;
resourceInputs["destIpGroups"] = args ? args.destIpGroups : undefined;
resourceInputs["deviceGroups"] = args ? args.deviceGroups : undefined;
resourceInputs["deviceTrustLevels"] = args ? args.deviceTrustLevels : undefined;
resourceInputs["devices"] = args ? args.devices : undefined;
resourceInputs["groups"] = args ? args.groups : undefined;
resourceInputs["labels"] = args ? args.labels : undefined;
resourceInputs["locationGroups"] = args ? args.locationGroups : undefined;
resourceInputs["locations"] = args ? args.locations : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["order"] = args ? args.order : undefined;
resourceInputs["platforms"] = args ? args.platforms : undefined;
resourceInputs["proxyGateways"] = args ? args.proxyGateways : undefined;
resourceInputs["rank"] = args ? args.rank : undefined;
resourceInputs["roadWarriorForKerberos"] = args ? args.roadWarriorForKerberos : undefined;
resourceInputs["sourceIpGroups"] = args ? args.sourceIpGroups : undefined;
resourceInputs["state"] = args ? args.state : undefined;
resourceInputs["timeWindows"] = args ? args.timeWindows : undefined;
resourceInputs["urlCategories"] = args ? args.urlCategories : undefined;
resourceInputs["userAgentTypes"] = args ? args.userAgentTypes : undefined;
resourceInputs["users"] = args ? args.users : undefined;
resourceInputs["workloadGroups"] = args ? args.workloadGroups : undefined;
resourceInputs["zpaAppSegments"] = args ? args.zpaAppSegments : undefined;
resourceInputs["ruleId"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(SSLInspectionRules.__pulumiType, name, resourceInputs, opts);
}
}
exports.SSLInspectionRules = SSLInspectionRules;
/** @internal */
SSLInspectionRules.__pulumiType = 'zia:index/sSLInspectionRules:SSLInspectionRules';
//# sourceMappingURL=sslinspectionRules.js.map