fortios.system.Npu
Explore with Pulumi AI
Configure NPU attributes. Applies to FortiOS Version 7.0.4
.
Create Npu Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Npu(name: string, args?: NpuArgs, opts?: CustomResourceOptions);
@overload
def Npu(resource_name: str,
args: Optional[NpuArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Npu(resource_name: str,
opts: Optional[ResourceOptions] = None,
capwap_offload: Optional[str] = None,
dedicated_management_affinity: Optional[str] = None,
dedicated_management_cpu: Optional[str] = None,
fastpath: Optional[str] = None,
get_all_tables: Optional[str] = None,
ipsec_dec_subengine_mask: Optional[str] = None,
ipsec_enc_subengine_mask: Optional[str] = None,
ipsec_inbound_cache: Optional[str] = None,
ipsec_mtu_override: Optional[str] = None,
ipsec_over_vlink: Optional[str] = None,
mcast_session_accounting: Optional[str] = None,
np6_cps_optimization_mode: Optional[str] = None,
priority_protocol: Optional[NpuPriorityProtocolArgs] = None,
rdp_offload: Optional[str] = None,
session_denied_offload: Optional[str] = None,
sse_backpressure: Optional[str] = None,
strip_clear_text_padding: Optional[str] = None,
strip_esp_padding: Optional[str] = None,
sw_np_bandwidth: Optional[str] = None,
uesp_offload: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewNpu(ctx *Context, name string, args *NpuArgs, opts ...ResourceOption) (*Npu, error)
public Npu(string name, NpuArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:system:Npu
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NpuArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NpuArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NpuArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NpuArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NpuArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var npuResource = new Fortios.System.Npu("npuResource", new()
{
CapwapOffload = "string",
DedicatedManagementAffinity = "string",
DedicatedManagementCpu = "string",
Fastpath = "string",
GetAllTables = "string",
IpsecDecSubengineMask = "string",
IpsecEncSubengineMask = "string",
IpsecInboundCache = "string",
IpsecMtuOverride = "string",
IpsecOverVlink = "string",
McastSessionAccounting = "string",
Np6CpsOptimizationMode = "string",
PriorityProtocol = new Fortios.System.Inputs.NpuPriorityProtocolArgs
{
Bfd = "string",
Bgp = "string",
Slbc = "string",
},
RdpOffload = "string",
SessionDeniedOffload = "string",
SseBackpressure = "string",
StripClearTextPadding = "string",
StripEspPadding = "string",
SwNpBandwidth = "string",
UespOffload = "string",
Vdomparam = "string",
});
example, err := system.NewNpu(ctx, "npuResource", &system.NpuArgs{
CapwapOffload: pulumi.String("string"),
DedicatedManagementAffinity: pulumi.String("string"),
DedicatedManagementCpu: pulumi.String("string"),
Fastpath: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
IpsecDecSubengineMask: pulumi.String("string"),
IpsecEncSubengineMask: pulumi.String("string"),
IpsecInboundCache: pulumi.String("string"),
IpsecMtuOverride: pulumi.String("string"),
IpsecOverVlink: pulumi.String("string"),
McastSessionAccounting: pulumi.String("string"),
Np6CpsOptimizationMode: pulumi.String("string"),
PriorityProtocol: &system.NpuPriorityProtocolArgs{
Bfd: pulumi.String("string"),
Bgp: pulumi.String("string"),
Slbc: pulumi.String("string"),
},
RdpOffload: pulumi.String("string"),
SessionDeniedOffload: pulumi.String("string"),
SseBackpressure: pulumi.String("string"),
StripClearTextPadding: pulumi.String("string"),
StripEspPadding: pulumi.String("string"),
SwNpBandwidth: pulumi.String("string"),
UespOffload: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var npuResource = new Npu("npuResource", NpuArgs.builder()
.capwapOffload("string")
.dedicatedManagementAffinity("string")
.dedicatedManagementCpu("string")
.fastpath("string")
.getAllTables("string")
.ipsecDecSubengineMask("string")
.ipsecEncSubengineMask("string")
.ipsecInboundCache("string")
.ipsecMtuOverride("string")
.ipsecOverVlink("string")
.mcastSessionAccounting("string")
.np6CpsOptimizationMode("string")
.priorityProtocol(NpuPriorityProtocolArgs.builder()
.bfd("string")
.bgp("string")
.slbc("string")
.build())
.rdpOffload("string")
.sessionDeniedOffload("string")
.sseBackpressure("string")
.stripClearTextPadding("string")
.stripEspPadding("string")
.swNpBandwidth("string")
.uespOffload("string")
.vdomparam("string")
.build());
npu_resource = fortios.system.Npu("npuResource",
capwap_offload="string",
dedicated_management_affinity="string",
dedicated_management_cpu="string",
fastpath="string",
get_all_tables="string",
ipsec_dec_subengine_mask="string",
ipsec_enc_subengine_mask="string",
ipsec_inbound_cache="string",
ipsec_mtu_override="string",
ipsec_over_vlink="string",
mcast_session_accounting="string",
np6_cps_optimization_mode="string",
priority_protocol={
"bfd": "string",
"bgp": "string",
"slbc": "string",
},
rdp_offload="string",
session_denied_offload="string",
sse_backpressure="string",
strip_clear_text_padding="string",
strip_esp_padding="string",
sw_np_bandwidth="string",
uesp_offload="string",
vdomparam="string")
const npuResource = new fortios.system.Npu("npuResource", {
capwapOffload: "string",
dedicatedManagementAffinity: "string",
dedicatedManagementCpu: "string",
fastpath: "string",
getAllTables: "string",
ipsecDecSubengineMask: "string",
ipsecEncSubengineMask: "string",
ipsecInboundCache: "string",
ipsecMtuOverride: "string",
ipsecOverVlink: "string",
mcastSessionAccounting: "string",
np6CpsOptimizationMode: "string",
priorityProtocol: {
bfd: "string",
bgp: "string",
slbc: "string",
},
rdpOffload: "string",
sessionDeniedOffload: "string",
sseBackpressure: "string",
stripClearTextPadding: "string",
stripEspPadding: "string",
swNpBandwidth: "string",
uespOffload: "string",
vdomparam: "string",
});
type: fortios:system:Npu
properties:
capwapOffload: string
dedicatedManagementAffinity: string
dedicatedManagementCpu: string
fastpath: string
getAllTables: string
ipsecDecSubengineMask: string
ipsecEncSubengineMask: string
ipsecInboundCache: string
ipsecMtuOverride: string
ipsecOverVlink: string
mcastSessionAccounting: string
np6CpsOptimizationMode: string
priorityProtocol:
bfd: string
bgp: string
slbc: string
rdpOffload: string
sessionDeniedOffload: string
sseBackpressure: string
stripClearTextPadding: string
stripEspPadding: string
swNpBandwidth: string
uespOffload: string
vdomparam: string
Npu Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Npu resource accepts the following input properties:
- Capwap
Offload string - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - Dedicated
Management stringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- Dedicated
Management stringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - Fastpath string
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ipsec
Dec stringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Enc stringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Inbound stringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - Ipsec
Mtu stringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - Ipsec
Over stringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - Mcast
Session stringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - Np6Cps
Optimization stringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - Priority
Protocol Pulumiverse.Fortios. System. Inputs. Npu Priority Protocol - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - Rdp
Offload string - Enable/disable rdp offload. Valid values:
enable
,disable
. - Session
Denied stringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - Sse
Backpressure string - Enable/disable sse backpressure. Valid values:
enable
,disable
. - Strip
Clear stringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - Strip
Esp stringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - Sw
Np stringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - Uesp
Offload string - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Capwap
Offload string - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - Dedicated
Management stringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- Dedicated
Management stringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - Fastpath string
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ipsec
Dec stringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Enc stringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Inbound stringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - Ipsec
Mtu stringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - Ipsec
Over stringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - Mcast
Session stringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - Np6Cps
Optimization stringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - Priority
Protocol NpuPriority Protocol Args - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - Rdp
Offload string - Enable/disable rdp offload. Valid values:
enable
,disable
. - Session
Denied stringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - Sse
Backpressure string - Enable/disable sse backpressure. Valid values:
enable
,disable
. - Strip
Clear stringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - Strip
Esp stringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - Sw
Np stringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - Uesp
Offload string - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap
Offload String - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated
Management StringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated
Management StringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath String
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec
Dec StringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Enc StringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Inbound StringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec
Mtu StringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec
Over StringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast
Session StringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6Cps
Optimization StringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority
Protocol NpuPriority Protocol - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp
Offload String - Enable/disable rdp offload. Valid values:
enable
,disable
. - session
Denied StringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse
Backpressure String - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip
Clear StringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip
Esp StringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw
Np StringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp
Offload String - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap
Offload string - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated
Management stringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated
Management stringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath string
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec
Dec stringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Enc stringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Inbound stringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec
Mtu stringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec
Over stringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast
Session stringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6Cps
Optimization stringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority
Protocol NpuPriority Protocol - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp
Offload string - Enable/disable rdp offload. Valid values:
enable
,disable
. - session
Denied stringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse
Backpressure string - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip
Clear stringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip
Esp stringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw
Np stringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp
Offload string - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap_
offload str - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated_
management_ straffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated_
management_ strcpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath str
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec_
dec_ strsubengine_ mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec_
enc_ strsubengine_ mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec_
inbound_ strcache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec_
mtu_ stroverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec_
over_ strvlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast_
session_ straccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6_
cps_ stroptimization_ mode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority_
protocol NpuPriority Protocol Args - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp_
offload str - Enable/disable rdp offload. Valid values:
enable
,disable
. - session_
denied_ stroffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse_
backpressure str - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip_
clear_ strtext_ padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip_
esp_ strpadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw_
np_ strbandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp_
offload str - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap
Offload String - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated
Management StringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated
Management StringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath String
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec
Dec StringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Enc StringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Inbound StringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec
Mtu StringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec
Over StringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast
Session StringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6Cps
Optimization StringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority
Protocol Property Map - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp
Offload String - Enable/disable rdp offload. Valid values:
enable
,disable
. - session
Denied StringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse
Backpressure String - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip
Clear StringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip
Esp StringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw
Np StringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp
Offload String - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Npu resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Npu Resource
Get an existing Npu resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NpuState, opts?: CustomResourceOptions): Npu
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capwap_offload: Optional[str] = None,
dedicated_management_affinity: Optional[str] = None,
dedicated_management_cpu: Optional[str] = None,
fastpath: Optional[str] = None,
get_all_tables: Optional[str] = None,
ipsec_dec_subengine_mask: Optional[str] = None,
ipsec_enc_subengine_mask: Optional[str] = None,
ipsec_inbound_cache: Optional[str] = None,
ipsec_mtu_override: Optional[str] = None,
ipsec_over_vlink: Optional[str] = None,
mcast_session_accounting: Optional[str] = None,
np6_cps_optimization_mode: Optional[str] = None,
priority_protocol: Optional[NpuPriorityProtocolArgs] = None,
rdp_offload: Optional[str] = None,
session_denied_offload: Optional[str] = None,
sse_backpressure: Optional[str] = None,
strip_clear_text_padding: Optional[str] = None,
strip_esp_padding: Optional[str] = None,
sw_np_bandwidth: Optional[str] = None,
uesp_offload: Optional[str] = None,
vdomparam: Optional[str] = None) -> Npu
func GetNpu(ctx *Context, name string, id IDInput, state *NpuState, opts ...ResourceOption) (*Npu, error)
public static Npu Get(string name, Input<string> id, NpuState? state, CustomResourceOptions? opts = null)
public static Npu get(String name, Output<String> id, NpuState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Capwap
Offload string - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - Dedicated
Management stringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- Dedicated
Management stringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - Fastpath string
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ipsec
Dec stringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Enc stringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Inbound stringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - Ipsec
Mtu stringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - Ipsec
Over stringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - Mcast
Session stringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - Np6Cps
Optimization stringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - Priority
Protocol Pulumiverse.Fortios. System. Inputs. Npu Priority Protocol - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - Rdp
Offload string - Enable/disable rdp offload. Valid values:
enable
,disable
. - Session
Denied stringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - Sse
Backpressure string - Enable/disable sse backpressure. Valid values:
enable
,disable
. - Strip
Clear stringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - Strip
Esp stringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - Sw
Np stringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - Uesp
Offload string - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Capwap
Offload string - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - Dedicated
Management stringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- Dedicated
Management stringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - Fastpath string
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ipsec
Dec stringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Enc stringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- Ipsec
Inbound stringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - Ipsec
Mtu stringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - Ipsec
Over stringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - Mcast
Session stringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - Np6Cps
Optimization stringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - Priority
Protocol NpuPriority Protocol Args - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - Rdp
Offload string - Enable/disable rdp offload. Valid values:
enable
,disable
. - Session
Denied stringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - Sse
Backpressure string - Enable/disable sse backpressure. Valid values:
enable
,disable
. - Strip
Clear stringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - Strip
Esp stringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - Sw
Np stringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - Uesp
Offload string - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap
Offload String - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated
Management StringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated
Management StringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath String
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec
Dec StringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Enc StringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Inbound StringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec
Mtu StringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec
Over StringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast
Session StringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6Cps
Optimization StringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority
Protocol NpuPriority Protocol - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp
Offload String - Enable/disable rdp offload. Valid values:
enable
,disable
. - session
Denied StringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse
Backpressure String - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip
Clear StringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip
Esp StringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw
Np StringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp
Offload String - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap
Offload string - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated
Management stringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated
Management stringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath string
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec
Dec stringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Enc stringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Inbound stringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec
Mtu stringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec
Over stringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast
Session stringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6Cps
Optimization stringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority
Protocol NpuPriority Protocol - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp
Offload string - Enable/disable rdp offload. Valid values:
enable
,disable
. - session
Denied stringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse
Backpressure string - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip
Clear stringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip
Esp stringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw
Np stringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp
Offload string - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap_
offload str - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated_
management_ straffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated_
management_ strcpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath str
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec_
dec_ strsubengine_ mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec_
enc_ strsubengine_ mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec_
inbound_ strcache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec_
mtu_ stroverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec_
over_ strvlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast_
session_ straccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6_
cps_ stroptimization_ mode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority_
protocol NpuPriority Protocol Args - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp_
offload str - Enable/disable rdp offload. Valid values:
enable
,disable
. - session_
denied_ stroffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse_
backpressure str - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip_
clear_ strtext_ padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip_
esp_ strpadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw_
np_ strbandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp_
offload str - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- capwap
Offload String - Enable/disable offloading managed FortiAP and FortiLink CAPWAP sessions. Valid values:
enable
,disable
. - dedicated
Management StringAffinity - Affinity setting for management deamons (hexadecimal value up to 256 bits in the format of xxxxxxxxxxxxxxxx).
- dedicated
Management StringCpu - Enable to dedicate one CPU for GUI and CLI connections when NPs are busy. Valid values:
enable
,disable
. - fastpath String
- Enable/disable NP6 offloading (also called fast path). Valid values:
disable
,enable
. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipsec
Dec StringSubengine Mask - IPsec decryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Enc StringSubengine Mask - IPsec encryption subengine mask (0x1 - 0xff, default 0xff).
- ipsec
Inbound StringCache - Enable/disable IPsec inbound cache for anti-replay. Valid values:
enable
,disable
. - ipsec
Mtu StringOverride - Enable/disable NP6 IPsec MTU override. Valid values:
disable
,enable
. - ipsec
Over StringVlink - Enable/disable IPSEC over vlink. Valid values:
enable
,disable
. - mcast
Session StringAccounting - Enable/disable traffic accounting for each multicast session through TAE counter. Valid values:
tpe-based
,session-based
,disable
. - np6Cps
Optimization StringMode - Enable/disable NP6 connection per second (CPS) optimization mode. Valid values:
enable
,disable
. - priority
Protocol Property Map - Configure NPU priority protocol. The structure of
priority_protocol
block is documented below. - rdp
Offload String - Enable/disable rdp offload. Valid values:
enable
,disable
. - session
Denied StringOffload - Enable/disable offloading of denied sessions. Requires ses-denied-traffic to be set. Valid values:
disable
,enable
. - sse
Backpressure String - Enable/disable sse backpressure. Valid values:
enable
,disable
. - strip
Clear StringText Padding - Enable/disable stripping clear text padding. Valid values:
enable
,disable
. - strip
Esp StringPadding - Enable/disable stripping ESP padding. Valid values:
enable
,disable
. - sw
Np StringBandwidth - Bandwidth from switch to NP. Valid values:
0G
,2G
,4G
,5G
,6G
. - uesp
Offload String - Enable/disable UDP-encapsulated ESP offload (default = disable). Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
NpuPriorityProtocol, NpuPriorityProtocolArgs
Import
System Npu can be imported using any of these accepted formats:
$ pulumi import fortios:system/npu:Npu labelname SystemNpu
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/npu:Npu labelname SystemNpu
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.