UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

539 lines 38.8 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.Policy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Configure IPv4 policies. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const trname = new fortios.firewall.Policy("trname", { * action: "accept", * dstaddrs: [{ * name: "all", * }], * dstintfs: [{ * name: "port4", * }], * logtraffic: "utm", * policyid: 1, * schedule: "always", * services: [{ * name: "HTTP", * }], * srcaddrs: [{ * name: "all", * }], * srcintfs: [{ * name: "port3", * }], * wanopt: "disable", * wanoptDetection: "active", * wanoptPassiveOpt: "default", * wccp: "disable", * webcache: "disable", * webcacheHttps: "disable", * wsso: "enable", * }); * const myrule = new fortios.firewall.Policy("myrule", { * action: "accept", * antiReplay: "enable", * authPath: "disable", * autoAsicOffload: "enable", * avProfile: "wifi-default", * dstintfs: [{ * name: "port1", * }], * inspectionMode: "flow", * internetService: "enable", * internetServiceNames: [ * { * name: "Amazon-AWS", * }, * { * name: "GitHub-GitHub", * }, * ], * ipsSensor: "protect_email_server", * logtraffic: "utm", * policyid: 2, * schedule: "always", * srcaddrs: [{ * name: "FABRIC_DEVICE", * }], * srcintfs: [{ * name: "port2", * }], * sslSshProfile: "certificate-inspection", * status: "enable", * utmStatus: "enable", * }); * ``` * * ## Import * * Firewall Policy can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:firewall/policy:Policy labelname {{policyid}} * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:firewall/policy:Policy labelname {{policyid}} * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ class Policy extends pulumi.CustomResource { /** * Get an existing Policy 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 Policy(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of Policy. 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'] === Policy.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["action"] = state ? state.action : undefined; resourceInputs["antiReplay"] = state ? state.antiReplay : undefined; resourceInputs["appCategories"] = state ? state.appCategories : undefined; resourceInputs["appGroups"] = state ? state.appGroups : undefined; resourceInputs["applicationList"] = state ? state.applicationList : undefined; resourceInputs["applications"] = state ? state.applications : undefined; resourceInputs["authCert"] = state ? state.authCert : undefined; resourceInputs["authPath"] = state ? state.authPath : undefined; resourceInputs["authRedirectAddr"] = state ? state.authRedirectAddr : undefined; resourceInputs["autoAsicOffload"] = state ? state.autoAsicOffload : undefined; resourceInputs["avProfile"] = state ? state.avProfile : undefined; resourceInputs["blockNotification"] = state ? state.blockNotification : undefined; resourceInputs["captivePortalExempt"] = state ? state.captivePortalExempt : undefined; resourceInputs["capturePacket"] = state ? state.capturePacket : undefined; resourceInputs["casbProfile"] = state ? state.casbProfile : undefined; resourceInputs["cifsProfile"] = state ? state.cifsProfile : undefined; resourceInputs["comments"] = state ? state.comments : undefined; resourceInputs["customLogFields"] = state ? state.customLogFields : undefined; resourceInputs["decryptedTrafficMirror"] = state ? state.decryptedTrafficMirror : undefined; resourceInputs["delayTcpNpuSession"] = state ? state.delayTcpNpuSession : undefined; resourceInputs["devices"] = state ? state.devices : undefined; resourceInputs["diameterFilterProfile"] = state ? state.diameterFilterProfile : undefined; resourceInputs["diffservCopy"] = state ? state.diffservCopy : undefined; resourceInputs["diffservForward"] = state ? state.diffservForward : undefined; resourceInputs["diffservReverse"] = state ? state.diffservReverse : undefined; resourceInputs["diffservcodeForward"] = state ? state.diffservcodeForward : undefined; resourceInputs["diffservcodeRev"] = state ? state.diffservcodeRev : undefined; resourceInputs["disclaimer"] = state ? state.disclaimer : undefined; resourceInputs["dlpProfile"] = state ? state.dlpProfile : undefined; resourceInputs["dlpSensor"] = state ? state.dlpSensor : undefined; resourceInputs["dnsfilterProfile"] = state ? state.dnsfilterProfile : undefined; resourceInputs["dsri"] = state ? state.dsri : undefined; resourceInputs["dstaddr6Negate"] = state ? state.dstaddr6Negate : undefined; resourceInputs["dstaddr6s"] = state ? state.dstaddr6s : undefined; resourceInputs["dstaddrNegate"] = state ? state.dstaddrNegate : undefined; resourceInputs["dstaddrs"] = state ? state.dstaddrs : undefined; resourceInputs["dstintfs"] = state ? state.dstintfs : undefined; resourceInputs["dynamicShaping"] = state ? state.dynamicShaping : undefined; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["emailCollect"] = state ? state.emailCollect : undefined; resourceInputs["emailfilterProfile"] = state ? state.emailfilterProfile : undefined; resourceInputs["fec"] = state ? state.fec : undefined; resourceInputs["fileFilterProfile"] = state ? state.fileFilterProfile : undefined; resourceInputs["firewallSessionDirty"] = state ? state.firewallSessionDirty : undefined; resourceInputs["fixedport"] = state ? state.fixedport : undefined; resourceInputs["fsso"] = state ? state.fsso : undefined; resourceInputs["fssoAgentForNtlm"] = state ? state.fssoAgentForNtlm : undefined; resourceInputs["fssoGroups"] = state ? state.fssoGroups : undefined; resourceInputs["geoipAnycast"] = state ? state.geoipAnycast : undefined; resourceInputs["geoipMatch"] = state ? state.geoipMatch : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["globalLabel"] = state ? state.globalLabel : undefined; resourceInputs["groups"] = state ? state.groups : undefined; resourceInputs["httpPolicyRedirect"] = state ? state.httpPolicyRedirect : undefined; resourceInputs["icapProfile"] = state ? state.icapProfile : undefined; resourceInputs["identityBasedRoute"] = state ? state.identityBasedRoute : undefined; resourceInputs["inbound"] = state ? state.inbound : undefined; resourceInputs["inspectionMode"] = state ? state.inspectionMode : undefined; resourceInputs["internetService"] = state ? state.internetService : undefined; resourceInputs["internetService6"] = state ? state.internetService6 : undefined; resourceInputs["internetService6CustomGroups"] = state ? state.internetService6CustomGroups : undefined; resourceInputs["internetService6Customs"] = state ? state.internetService6Customs : undefined; resourceInputs["internetService6Groups"] = state ? state.internetService6Groups : undefined; resourceInputs["internetService6Names"] = state ? state.internetService6Names : undefined; resourceInputs["internetService6Negate"] = state ? state.internetService6Negate : undefined; resourceInputs["internetService6Src"] = state ? state.internetService6Src : undefined; resourceInputs["internetService6SrcCustomGroups"] = state ? state.internetService6SrcCustomGroups : undefined; resourceInputs["internetService6SrcCustoms"] = state ? state.internetService6SrcCustoms : undefined; resourceInputs["internetService6SrcGroups"] = state ? state.internetService6SrcGroups : undefined; resourceInputs["internetService6SrcNames"] = state ? state.internetService6SrcNames : undefined; resourceInputs["internetService6SrcNegate"] = state ? state.internetService6SrcNegate : undefined; resourceInputs["internetServiceCustomGroups"] = state ? state.internetServiceCustomGroups : undefined; resourceInputs["internetServiceCustoms"] = state ? state.internetServiceCustoms : undefined; resourceInputs["internetServiceGroups"] = state ? state.internetServiceGroups : undefined; resourceInputs["internetServiceIds"] = state ? state.internetServiceIds : undefined; resourceInputs["internetServiceNames"] = state ? state.internetServiceNames : undefined; resourceInputs["internetServiceNegate"] = state ? state.internetServiceNegate : undefined; resourceInputs["internetServiceSrc"] = state ? state.internetServiceSrc : undefined; resourceInputs["internetServiceSrcCustomGroups"] = state ? state.internetServiceSrcCustomGroups : undefined; resourceInputs["internetServiceSrcCustoms"] = state ? state.internetServiceSrcCustoms : undefined; resourceInputs["internetServiceSrcGroups"] = state ? state.internetServiceSrcGroups : undefined; resourceInputs["internetServiceSrcIds"] = state ? state.internetServiceSrcIds : undefined; resourceInputs["internetServiceSrcNames"] = state ? state.internetServiceSrcNames : undefined; resourceInputs["internetServiceSrcNegate"] = state ? state.internetServiceSrcNegate : undefined; resourceInputs["ippool"] = state ? state.ippool : undefined; resourceInputs["ipsSensor"] = state ? state.ipsSensor : undefined; resourceInputs["ipsVoipFilter"] = state ? state.ipsVoipFilter : undefined; resourceInputs["label"] = state ? state.label : undefined; resourceInputs["learningMode"] = state ? state.learningMode : undefined; resourceInputs["logtraffic"] = state ? state.logtraffic : undefined; resourceInputs["logtrafficStart"] = state ? state.logtrafficStart : undefined; resourceInputs["matchVip"] = state ? state.matchVip : undefined; resourceInputs["matchVipOnly"] = state ? state.matchVipOnly : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["nat"] = state ? state.nat : undefined; resourceInputs["nat46"] = state ? state.nat46 : undefined; resourceInputs["nat64"] = state ? state.nat64 : undefined; resourceInputs["natinbound"] = state ? state.natinbound : undefined; resourceInputs["natip"] = state ? state.natip : undefined; resourceInputs["natoutbound"] = state ? state.natoutbound : undefined; resourceInputs["networkServiceDynamics"] = state ? state.networkServiceDynamics : undefined; resourceInputs["networkServiceSrcDynamics"] = state ? state.networkServiceSrcDynamics : undefined; resourceInputs["npAcceleration"] = state ? state.npAcceleration : undefined; resourceInputs["ntlm"] = state ? state.ntlm : undefined; resourceInputs["ntlmEnabledBrowsers"] = state ? state.ntlmEnabledBrowsers : undefined; resourceInputs["ntlmGuest"] = state ? state.ntlmGuest : undefined; resourceInputs["outbound"] = state ? state.outbound : undefined; resourceInputs["passiveWanHealthMeasurement"] = state ? state.passiveWanHealthMeasurement : undefined; resourceInputs["pcpInbound"] = state ? state.pcpInbound : undefined; resourceInputs["pcpOutbound"] = state ? state.pcpOutbound : undefined; resourceInputs["pcpPoolnames"] = state ? state.pcpPoolnames : undefined; resourceInputs["perIpShaper"] = state ? state.perIpShaper : undefined; resourceInputs["permitAnyHost"] = state ? state.permitAnyHost : undefined; resourceInputs["permitStunHost"] = state ? state.permitStunHost : undefined; resourceInputs["policyExpiry"] = state ? state.policyExpiry : undefined; resourceInputs["policyExpiryDate"] = state ? state.policyExpiryDate : undefined; resourceInputs["policyExpiryDateUtc"] = state ? state.policyExpiryDateUtc : undefined; resourceInputs["policyid"] = state ? state.policyid : undefined; resourceInputs["poolname6s"] = state ? state.poolname6s : undefined; resourceInputs["poolnames"] = state ? state.poolnames : undefined; resourceInputs["portPreserve"] = state ? state.portPreserve : undefined; resourceInputs["profileGroup"] = state ? state.profileGroup : undefined; resourceInputs["profileProtocolOptions"] = state ? state.profileProtocolOptions : undefined; resourceInputs["profileType"] = state ? state.profileType : undefined; resourceInputs["radiusMacAuthBypass"] = state ? state.radiusMacAuthBypass : undefined; resourceInputs["redirectUrl"] = state ? state.redirectUrl : undefined; resourceInputs["replacemsgOverrideGroup"] = state ? state.replacemsgOverrideGroup : undefined; resourceInputs["reputationDirection"] = state ? state.reputationDirection : undefined; resourceInputs["reputationDirection6"] = state ? state.reputationDirection6 : undefined; resourceInputs["reputationMinimum"] = state ? state.reputationMinimum : undefined; resourceInputs["reputationMinimum6"] = state ? state.reputationMinimum6 : undefined; resourceInputs["rsso"] = state ? state.rsso : undefined; resourceInputs["rtpAddrs"] = state ? state.rtpAddrs : undefined; resourceInputs["rtpNat"] = state ? state.rtpNat : undefined; resourceInputs["scanBotnetConnections"] = state ? state.scanBotnetConnections : undefined; resourceInputs["schedule"] = state ? state.schedule : undefined; resourceInputs["scheduleTimeout"] = state ? state.scheduleTimeout : undefined; resourceInputs["sctpFilterProfile"] = state ? state.sctpFilterProfile : undefined; resourceInputs["sendDenyPacket"] = state ? state.sendDenyPacket : undefined; resourceInputs["serviceNegate"] = state ? state.serviceNegate : undefined; resourceInputs["services"] = state ? state.services : undefined; resourceInputs["sessionTtl"] = state ? state.sessionTtl : undefined; resourceInputs["sgtCheck"] = state ? state.sgtCheck : undefined; resourceInputs["sgts"] = state ? state.sgts : undefined; resourceInputs["spamfilterProfile"] = state ? state.spamfilterProfile : undefined; resourceInputs["srcVendorMacs"] = state ? state.srcVendorMacs : undefined; resourceInputs["srcaddr6Negate"] = state ? state.srcaddr6Negate : undefined; resourceInputs["srcaddr6s"] = state ? state.srcaddr6s : undefined; resourceInputs["srcaddrNegate"] = state ? state.srcaddrNegate : undefined; resourceInputs["srcaddrs"] = state ? state.srcaddrs : undefined; resourceInputs["srcintfs"] = state ? state.srcintfs : undefined; resourceInputs["sshFilterProfile"] = state ? state.sshFilterProfile : undefined; resourceInputs["sshPolicyRedirect"] = state ? state.sshPolicyRedirect : undefined; resourceInputs["sslMirror"] = state ? state.sslMirror : undefined; resourceInputs["sslMirrorIntfs"] = state ? state.sslMirrorIntfs : undefined; resourceInputs["sslSshProfile"] = state ? state.sslSshProfile : undefined; resourceInputs["status"] = state ? state.status : undefined; resourceInputs["tcpMssReceiver"] = state ? state.tcpMssReceiver : undefined; resourceInputs["tcpMssSender"] = state ? state.tcpMssSender : undefined; resourceInputs["tcpSessionWithoutSyn"] = state ? state.tcpSessionWithoutSyn : undefined; resourceInputs["timeoutSendRst"] = state ? state.timeoutSendRst : undefined; resourceInputs["tos"] = state ? state.tos : undefined; resourceInputs["tosMask"] = state ? state.tosMask : undefined; resourceInputs["tosNegate"] = state ? state.tosNegate : undefined; resourceInputs["trafficShaper"] = state ? state.trafficShaper : undefined; resourceInputs["trafficShaperReverse"] = state ? state.trafficShaperReverse : undefined; resourceInputs["urlCategories"] = state ? state.urlCategories : undefined; resourceInputs["users"] = state ? state.users : undefined; resourceInputs["utmStatus"] = state ? state.utmStatus : undefined; resourceInputs["uuid"] = state ? state.uuid : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; resourceInputs["videofilterProfile"] = state ? state.videofilterProfile : undefined; resourceInputs["virtualPatchProfile"] = state ? state.virtualPatchProfile : undefined; resourceInputs["vlanCosFwd"] = state ? state.vlanCosFwd : undefined; resourceInputs["vlanCosRev"] = state ? state.vlanCosRev : undefined; resourceInputs["vlanFilter"] = state ? state.vlanFilter : undefined; resourceInputs["voipProfile"] = state ? state.voipProfile : undefined; resourceInputs["vpntunnel"] = state ? state.vpntunnel : undefined; resourceInputs["wafProfile"] = state ? state.wafProfile : undefined; resourceInputs["wanopt"] = state ? state.wanopt : undefined; resourceInputs["wanoptDetection"] = state ? state.wanoptDetection : undefined; resourceInputs["wanoptPassiveOpt"] = state ? state.wanoptPassiveOpt : undefined; resourceInputs["wanoptPeer"] = state ? state.wanoptPeer : undefined; resourceInputs["wanoptProfile"] = state ? state.wanoptProfile : undefined; resourceInputs["wccp"] = state ? state.wccp : undefined; resourceInputs["webcache"] = state ? state.webcache : undefined; resourceInputs["webcacheHttps"] = state ? state.webcacheHttps : undefined; resourceInputs["webfilterProfile"] = state ? state.webfilterProfile : undefined; resourceInputs["webproxyForwardServer"] = state ? state.webproxyForwardServer : undefined; resourceInputs["webproxyProfile"] = state ? state.webproxyProfile : undefined; resourceInputs["wsso"] = state ? state.wsso : undefined; resourceInputs["ztnaDeviceOwnership"] = state ? state.ztnaDeviceOwnership : undefined; resourceInputs["ztnaEmsTagSecondaries"] = state ? state.ztnaEmsTagSecondaries : undefined; resourceInputs["ztnaEmsTags"] = state ? state.ztnaEmsTags : undefined; resourceInputs["ztnaGeoTags"] = state ? state.ztnaGeoTags : undefined; resourceInputs["ztnaPolicyRedirect"] = state ? state.ztnaPolicyRedirect : undefined; resourceInputs["ztnaStatus"] = state ? state.ztnaStatus : undefined; resourceInputs["ztnaTagsMatchLogic"] = state ? state.ztnaTagsMatchLogic : undefined; } else { const args = argsOrState; if ((!args || args.dstintfs === undefined) && !opts.urn) { throw new Error("Missing required property 'dstintfs'"); } if ((!args || args.srcintfs === undefined) && !opts.urn) { throw new Error("Missing required property 'srcintfs'"); } resourceInputs["action"] = args ? args.action : undefined; resourceInputs["antiReplay"] = args ? args.antiReplay : undefined; resourceInputs["appCategories"] = args ? args.appCategories : undefined; resourceInputs["appGroups"] = args ? args.appGroups : undefined; resourceInputs["applicationList"] = args ? args.applicationList : undefined; resourceInputs["applications"] = args ? args.applications : undefined; resourceInputs["authCert"] = args ? args.authCert : undefined; resourceInputs["authPath"] = args ? args.authPath : undefined; resourceInputs["authRedirectAddr"] = args ? args.authRedirectAddr : undefined; resourceInputs["autoAsicOffload"] = args ? args.autoAsicOffload : undefined; resourceInputs["avProfile"] = args ? args.avProfile : undefined; resourceInputs["blockNotification"] = args ? args.blockNotification : undefined; resourceInputs["captivePortalExempt"] = args ? args.captivePortalExempt : undefined; resourceInputs["capturePacket"] = args ? args.capturePacket : undefined; resourceInputs["casbProfile"] = args ? args.casbProfile : undefined; resourceInputs["cifsProfile"] = args ? args.cifsProfile : undefined; resourceInputs["comments"] = args ? args.comments : undefined; resourceInputs["customLogFields"] = args ? args.customLogFields : undefined; resourceInputs["decryptedTrafficMirror"] = args ? args.decryptedTrafficMirror : undefined; resourceInputs["delayTcpNpuSession"] = args ? args.delayTcpNpuSession : undefined; resourceInputs["devices"] = args ? args.devices : undefined; resourceInputs["diameterFilterProfile"] = args ? args.diameterFilterProfile : undefined; resourceInputs["diffservCopy"] = args ? args.diffservCopy : undefined; resourceInputs["diffservForward"] = args ? args.diffservForward : undefined; resourceInputs["diffservReverse"] = args ? args.diffservReverse : undefined; resourceInputs["diffservcodeForward"] = args ? args.diffservcodeForward : undefined; resourceInputs["diffservcodeRev"] = args ? args.diffservcodeRev : undefined; resourceInputs["disclaimer"] = args ? args.disclaimer : undefined; resourceInputs["dlpProfile"] = args ? args.dlpProfile : undefined; resourceInputs["dlpSensor"] = args ? args.dlpSensor : undefined; resourceInputs["dnsfilterProfile"] = args ? args.dnsfilterProfile : undefined; resourceInputs["dsri"] = args ? args.dsri : undefined; resourceInputs["dstaddr6Negate"] = args ? args.dstaddr6Negate : undefined; resourceInputs["dstaddr6s"] = args ? args.dstaddr6s : undefined; resourceInputs["dstaddrNegate"] = args ? args.dstaddrNegate : undefined; resourceInputs["dstaddrs"] = args ? args.dstaddrs : undefined; resourceInputs["dstintfs"] = args ? args.dstintfs : undefined; resourceInputs["dynamicShaping"] = args ? args.dynamicShaping : undefined; resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["emailCollect"] = args ? args.emailCollect : undefined; resourceInputs["emailfilterProfile"] = args ? args.emailfilterProfile : undefined; resourceInputs["fec"] = args ? args.fec : undefined; resourceInputs["fileFilterProfile"] = args ? args.fileFilterProfile : undefined; resourceInputs["firewallSessionDirty"] = args ? args.firewallSessionDirty : undefined; resourceInputs["fixedport"] = args ? args.fixedport : undefined; resourceInputs["fsso"] = args ? args.fsso : undefined; resourceInputs["fssoAgentForNtlm"] = args ? args.fssoAgentForNtlm : undefined; resourceInputs["fssoGroups"] = args ? args.fssoGroups : undefined; resourceInputs["geoipAnycast"] = args ? args.geoipAnycast : undefined; resourceInputs["geoipMatch"] = args ? args.geoipMatch : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["globalLabel"] = args ? args.globalLabel : undefined; resourceInputs["groups"] = args ? args.groups : undefined; resourceInputs["httpPolicyRedirect"] = args ? args.httpPolicyRedirect : undefined; resourceInputs["icapProfile"] = args ? args.icapProfile : undefined; resourceInputs["identityBasedRoute"] = args ? args.identityBasedRoute : undefined; resourceInputs["inbound"] = args ? args.inbound : undefined; resourceInputs["inspectionMode"] = args ? args.inspectionMode : undefined; resourceInputs["internetService"] = args ? args.internetService : undefined; resourceInputs["internetService6"] = args ? args.internetService6 : undefined; resourceInputs["internetService6CustomGroups"] = args ? args.internetService6CustomGroups : undefined; resourceInputs["internetService6Customs"] = args ? args.internetService6Customs : undefined; resourceInputs["internetService6Groups"] = args ? args.internetService6Groups : undefined; resourceInputs["internetService6Names"] = args ? args.internetService6Names : undefined; resourceInputs["internetService6Negate"] = args ? args.internetService6Negate : undefined; resourceInputs["internetService6Src"] = args ? args.internetService6Src : undefined; resourceInputs["internetService6SrcCustomGroups"] = args ? args.internetService6SrcCustomGroups : undefined; resourceInputs["internetService6SrcCustoms"] = args ? args.internetService6SrcCustoms : undefined; resourceInputs["internetService6SrcGroups"] = args ? args.internetService6SrcGroups : undefined; resourceInputs["internetService6SrcNames"] = args ? args.internetService6SrcNames : undefined; resourceInputs["internetService6SrcNegate"] = args ? args.internetService6SrcNegate : undefined; resourceInputs["internetServiceCustomGroups"] = args ? args.internetServiceCustomGroups : undefined; resourceInputs["internetServiceCustoms"] = args ? args.internetServiceCustoms : undefined; resourceInputs["internetServiceGroups"] = args ? args.internetServiceGroups : undefined; resourceInputs["internetServiceIds"] = args ? args.internetServiceIds : undefined; resourceInputs["internetServiceNames"] = args ? args.internetServiceNames : undefined; resourceInputs["internetServiceNegate"] = args ? args.internetServiceNegate : undefined; resourceInputs["internetServiceSrc"] = args ? args.internetServiceSrc : undefined; resourceInputs["internetServiceSrcCustomGroups"] = args ? args.internetServiceSrcCustomGroups : undefined; resourceInputs["internetServiceSrcCustoms"] = args ? args.internetServiceSrcCustoms : undefined; resourceInputs["internetServiceSrcGroups"] = args ? args.internetServiceSrcGroups : undefined; resourceInputs["internetServiceSrcIds"] = args ? args.internetServiceSrcIds : undefined; resourceInputs["internetServiceSrcNames"] = args ? args.internetServiceSrcNames : undefined; resourceInputs["internetServiceSrcNegate"] = args ? args.internetServiceSrcNegate : undefined; resourceInputs["ippool"] = args ? args.ippool : undefined; resourceInputs["ipsSensor"] = args ? args.ipsSensor : undefined; resourceInputs["ipsVoipFilter"] = args ? args.ipsVoipFilter : undefined; resourceInputs["label"] = args ? args.label : undefined; resourceInputs["learningMode"] = args ? args.learningMode : undefined; resourceInputs["logtraffic"] = args ? args.logtraffic : undefined; resourceInputs["logtrafficStart"] = args ? args.logtrafficStart : undefined; resourceInputs["matchVip"] = args ? args.matchVip : undefined; resourceInputs["matchVipOnly"] = args ? args.matchVipOnly : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["nat"] = args ? args.nat : undefined; resourceInputs["nat46"] = args ? args.nat46 : undefined; resourceInputs["nat64"] = args ? args.nat64 : undefined; resourceInputs["natinbound"] = args ? args.natinbound : undefined; resourceInputs["natip"] = args ? args.natip : undefined; resourceInputs["natoutbound"] = args ? args.natoutbound : undefined; resourceInputs["networkServiceDynamics"] = args ? args.networkServiceDynamics : undefined; resourceInputs["networkServiceSrcDynamics"] = args ? args.networkServiceSrcDynamics : undefined; resourceInputs["npAcceleration"] = args ? args.npAcceleration : undefined; resourceInputs["ntlm"] = args ? args.ntlm : undefined; resourceInputs["ntlmEnabledBrowsers"] = args ? args.ntlmEnabledBrowsers : undefined; resourceInputs["ntlmGuest"] = args ? args.ntlmGuest : undefined; resourceInputs["outbound"] = args ? args.outbound : undefined; resourceInputs["passiveWanHealthMeasurement"] = args ? args.passiveWanHealthMeasurement : undefined; resourceInputs["pcpInbound"] = args ? args.pcpInbound : undefined; resourceInputs["pcpOutbound"] = args ? args.pcpOutbound : undefined; resourceInputs["pcpPoolnames"] = args ? args.pcpPoolnames : undefined; resourceInputs["perIpShaper"] = args ? args.perIpShaper : undefined; resourceInputs["permitAnyHost"] = args ? args.permitAnyHost : undefined; resourceInputs["permitStunHost"] = args ? args.permitStunHost : undefined; resourceInputs["policyExpiry"] = args ? args.policyExpiry : undefined; resourceInputs["policyExpiryDate"] = args ? args.policyExpiryDate : undefined; resourceInputs["policyExpiryDateUtc"] = args ? args.policyExpiryDateUtc : undefined; resourceInputs["policyid"] = args ? args.policyid : undefined; resourceInputs["poolname6s"] = args ? args.poolname6s : undefined; resourceInputs["poolnames"] = args ? args.poolnames : undefined; resourceInputs["portPreserve"] = args ? args.portPreserve : undefined; resourceInputs["profileGroup"] = args ? args.profileGroup : undefined; resourceInputs["profileProtocolOptions"] = args ? args.profileProtocolOptions : undefined; resourceInputs["profileType"] = args ? args.profileType : undefined; resourceInputs["radiusMacAuthBypass"] = args ? args.radiusMacAuthBypass : undefined; resourceInputs["redirectUrl"] = args ? args.redirectUrl : undefined; resourceInputs["replacemsgOverrideGroup"] = args ? args.replacemsgOverrideGroup : undefined; resourceInputs["reputationDirection"] = args ? args.reputationDirection : undefined; resourceInputs["reputationDirection6"] = args ? args.reputationDirection6 : undefined; resourceInputs["reputationMinimum"] = args ? args.reputationMinimum : undefined; resourceInputs["reputationMinimum6"] = args ? args.reputationMinimum6 : undefined; resourceInputs["rsso"] = args ? args.rsso : undefined; resourceInputs["rtpAddrs"] = args ? args.rtpAddrs : undefined; resourceInputs["rtpNat"] = args ? args.rtpNat : undefined; resourceInputs["scanBotnetConnections"] = args ? args.scanBotnetConnections : undefined; resourceInputs["schedule"] = args ? args.schedule : undefined; resourceInputs["scheduleTimeout"] = args ? args.scheduleTimeout : undefined; resourceInputs["sctpFilterProfile"] = args ? args.sctpFilterProfile : undefined; resourceInputs["sendDenyPacket"] = args ? args.sendDenyPacket : undefined; resourceInputs["serviceNegate"] = args ? args.serviceNegate : undefined; resourceInputs["services"] = args ? args.services : undefined; resourceInputs["sessionTtl"] = args ? args.sessionTtl : undefined; resourceInputs["sgtCheck"] = args ? args.sgtCheck : undefined; resourceInputs["sgts"] = args ? args.sgts : undefined; resourceInputs["spamfilterProfile"] = args ? args.spamfilterProfile : undefined; resourceInputs["srcVendorMacs"] = args ? args.srcVendorMacs : undefined; resourceInputs["srcaddr6Negate"] = args ? args.srcaddr6Negate : undefined; resourceInputs["srcaddr6s"] = args ? args.srcaddr6s : undefined; resourceInputs["srcaddrNegate"] = args ? args.srcaddrNegate : undefined; resourceInputs["srcaddrs"] = args ? args.srcaddrs : undefined; resourceInputs["srcintfs"] = args ? args.srcintfs : undefined; resourceInputs["sshFilterProfile"] = args ? args.sshFilterProfile : undefined; resourceInputs["sshPolicyRedirect"] = args ? args.sshPolicyRedirect : undefined; resourceInputs["sslMirror"] = args ? args.sslMirror : undefined; resourceInputs["sslMirrorIntfs"] = args ? args.sslMirrorIntfs : undefined; resourceInputs["sslSshProfile"] = args ? args.sslSshProfile : undefined; resourceInputs["status"] = args ? args.status : undefined; resourceInputs["tcpMssReceiver"] = args ? args.tcpMssReceiver : undefined; resourceInputs["tcpMssSender"] = args ? args.tcpMssSender : undefined; resourceInputs["tcpSessionWithoutSyn"] = args ? args.tcpSessionWithoutSyn : undefined; resourceInputs["timeoutSendRst"] = args ? args.timeoutSendRst : undefined; resourceInputs["tos"] = args ? args.tos : undefined; resourceInputs["tosMask"] = args ? args.tosMask : undefined; resourceInputs["tosNegate"] = args ? args.tosNegate : undefined; resourceInputs["trafficShaper"] = args ? args.trafficShaper : undefined; resourceInputs["trafficShaperReverse"] = args ? args.trafficShaperReverse : undefined; resourceInputs["urlCategories"] = args ? args.urlCategories : undefined; resourceInputs["users"] = args ? args.users : undefined; resourceInputs["utmStatus"] = args ? args.utmStatus : undefined; resourceInputs["uuid"] = args ? args.uuid : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; resourceInputs["videofilterProfile"] = args ? args.videofilterProfile : undefined; resourceInputs["virtualPatchProfile"] = args ? args.virtualPatchProfile : undefined; resourceInputs["vlanCosFwd"] = args ? args.vlanCosFwd : undefined; resourceInputs["vlanCosRev"] = args ? args.vlanCosRev : undefined; resourceInputs["vlanFilter"] = args ? args.vlanFilter : undefined; resourceInputs["voipProfile"] = args ? args.voipProfile : undefined; resourceInputs["vpntunnel"] = args ? args.vpntunnel : undefined; resourceInputs["wafProfile"] = args ? args.wafProfile : undefined; resourceInputs["wanopt"] = args ? args.wanopt : undefined; resourceInputs["wanoptDetection"] = args ? args.wanoptDetection : undefined; resourceInputs["wanoptPassiveOpt"] = args ? args.wanoptPassiveOpt : undefined; resourceInputs["wanoptPeer"] = args ? args.wanoptPeer : undefined; resourceInputs["wanoptProfile"] = args ? args.wanoptProfile : undefined; resourceInputs["wccp"] = args ? args.wccp : undefined; resourceInputs["webcache"] = args ? args.webcache : undefined; resourceInputs["webcacheHttps"] = args ? args.webcacheHttps : undefined; resourceInputs["webfilterProfile"] = args ? args.webfilterProfile : undefined; resourceInputs["webproxyForwardServer"] = args ? args.webproxyForwardServer : undefined; resourceInputs["webproxyProfile"] = args ? args.webproxyProfile : undefined; resourceInputs["wsso"] = args ? args.wsso : undefined; resourceInputs["ztnaDeviceOwnership"] = args ? args.ztnaDeviceOwnership : undefined; resourceInputs["ztnaEmsTagSecondaries"] = args ? args.ztnaEmsTagSecondaries : undefined; resourceInputs["ztnaEmsTags"] = args ? args.ztnaEmsTags : undefined; resourceInputs["ztnaGeoTags"] = args ? args.ztnaGeoTags : undefined; resourceInputs["ztnaPolicyRedirect"] = args ? args.ztnaPolicyRedirect : undefined; resourceInputs["ztnaStatus"] = args ? args.ztnaStatus : undefined; resourceInputs["ztnaTagsMatchLogic"] = args ? args.ztnaTagsMatchLogic : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Policy.__pulumiType, name, resourceInputs, opts); } } exports.Policy = Policy; /** @internal */ Policy.__pulumiType = 'fortios:firewall/policy:Policy'; //# sourceMappingURL=policy.js.map