fortios.firewall.Shapingpolicy
Explore with Pulumi AI
Configure shaping policies.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.firewall.Shapingpolicy("trname", {
classId: 0,
diffservForward: "disable",
diffservReverse: "disable",
diffservcodeForward: "000000",
diffservcodeRev: "000000",
dstaddrs: [{
name: "all",
}],
dstintfs: [{
name: "port4",
}],
fosid: 1,
internetService: "disable",
internetServiceSrc: "disable",
ipVersion: "4",
services: [{
name: "ALL",
}],
srcaddrs: [{
name: "all",
}],
status: "enable",
tos: "0x00",
tosMask: "0x00",
tosNegate: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.firewall.Shapingpolicy("trname",
class_id=0,
diffserv_forward="disable",
diffserv_reverse="disable",
diffservcode_forward="000000",
diffservcode_rev="000000",
dstaddrs=[fortios.firewall.ShapingpolicyDstaddrArgs(
name="all",
)],
dstintfs=[fortios.firewall.ShapingpolicyDstintfArgs(
name="port4",
)],
fosid=1,
internet_service="disable",
internet_service_src="disable",
ip_version="4",
services=[fortios.firewall.ShapingpolicyServiceArgs(
name="ALL",
)],
srcaddrs=[fortios.firewall.ShapingpolicySrcaddrArgs(
name="all",
)],
status="enable",
tos="0x00",
tos_mask="0x00",
tos_negate="disable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := firewall.NewShapingpolicy(ctx, "trname", &firewall.ShapingpolicyArgs{
ClassId: pulumi.Int(0),
DiffservForward: pulumi.String("disable"),
DiffservReverse: pulumi.String("disable"),
DiffservcodeForward: pulumi.String("000000"),
DiffservcodeRev: pulumi.String("000000"),
Dstaddrs: firewall.ShapingpolicyDstaddrArray{
&firewall.ShapingpolicyDstaddrArgs{
Name: pulumi.String("all"),
},
},
Dstintfs: firewall.ShapingpolicyDstintfArray{
&firewall.ShapingpolicyDstintfArgs{
Name: pulumi.String("port4"),
},
},
Fosid: pulumi.Int(1),
InternetService: pulumi.String("disable"),
InternetServiceSrc: pulumi.String("disable"),
IpVersion: pulumi.String("4"),
Services: firewall.ShapingpolicyServiceArray{
&firewall.ShapingpolicyServiceArgs{
Name: pulumi.String("ALL"),
},
},
Srcaddrs: firewall.ShapingpolicySrcaddrArray{
&firewall.ShapingpolicySrcaddrArgs{
Name: pulumi.String("all"),
},
},
Status: pulumi.String("enable"),
Tos: pulumi.String("0x00"),
TosMask: pulumi.String("0x00"),
TosNegate: pulumi.String("disable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Firewall.Shapingpolicy("trname", new()
{
ClassId = 0,
DiffservForward = "disable",
DiffservReverse = "disable",
DiffservcodeForward = "000000",
DiffservcodeRev = "000000",
Dstaddrs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyDstaddrArgs
{
Name = "all",
},
},
Dstintfs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyDstintfArgs
{
Name = "port4",
},
},
Fosid = 1,
InternetService = "disable",
InternetServiceSrc = "disable",
IpVersion = "4",
Services = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyServiceArgs
{
Name = "ALL",
},
},
Srcaddrs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicySrcaddrArgs
{
Name = "all",
},
},
Status = "enable",
Tos = "0x00",
TosMask = "0x00",
TosNegate = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.firewall.Shapingpolicy;
import com.pulumi.fortios.firewall.ShapingpolicyArgs;
import com.pulumi.fortios.firewall.inputs.ShapingpolicyDstaddrArgs;
import com.pulumi.fortios.firewall.inputs.ShapingpolicyDstintfArgs;
import com.pulumi.fortios.firewall.inputs.ShapingpolicyServiceArgs;
import com.pulumi.fortios.firewall.inputs.ShapingpolicySrcaddrArgs;
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) {
var trname = new Shapingpolicy("trname", ShapingpolicyArgs.builder()
.classId(0)
.diffservForward("disable")
.diffservReverse("disable")
.diffservcodeForward("000000")
.diffservcodeRev("000000")
.dstaddrs(ShapingpolicyDstaddrArgs.builder()
.name("all")
.build())
.dstintfs(ShapingpolicyDstintfArgs.builder()
.name("port4")
.build())
.fosid(1)
.internetService("disable")
.internetServiceSrc("disable")
.ipVersion("4")
.services(ShapingpolicyServiceArgs.builder()
.name("ALL")
.build())
.srcaddrs(ShapingpolicySrcaddrArgs.builder()
.name("all")
.build())
.status("enable")
.tos("0x00")
.tosMask("0x00")
.tosNegate("disable")
.build());
}
}
resources:
trname:
type: fortios:firewall:Shapingpolicy
properties:
classId: 0
diffservForward: disable
diffservReverse: disable
diffservcodeForward: '000000'
diffservcodeRev: '000000'
dstaddrs:
- name: all
dstintfs:
- name: port4
fosid: 1
internetService: disable
internetServiceSrc: disable
ipVersion: '4'
services:
- name: ALL
srcaddrs:
- name: all
status: enable
tos: 0x00
tosMask: 0x00
tosNegate: disable
Create Shapingpolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Shapingpolicy(name: string, args: ShapingpolicyArgs, opts?: CustomResourceOptions);
@overload
def Shapingpolicy(resource_name: str,
args: ShapingpolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Shapingpolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
dstintfs: Optional[Sequence[ShapingpolicyDstintfArgs]] = None,
srcaddrs: Optional[Sequence[ShapingpolicySrcaddrArgs]] = None,
dstaddrs: Optional[Sequence[ShapingpolicyDstaddrArgs]] = None,
traffic_shaper_reverse: Optional[str] = None,
comment: Optional[str] = None,
cos: Optional[str] = None,
cos_mask: Optional[str] = None,
diffserv_forward: Optional[str] = None,
diffserv_reverse: Optional[str] = None,
diffservcode_forward: Optional[str] = None,
diffservcode_rev: Optional[str] = None,
dstaddr6s: Optional[Sequence[ShapingpolicyDstaddr6Args]] = None,
app_categories: Optional[Sequence[ShapingpolicyAppCategoryArgs]] = None,
applications: Optional[Sequence[ShapingpolicyApplicationArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
groups: Optional[Sequence[ShapingpolicyGroupArgs]] = None,
internet_service: Optional[str] = None,
internet_service_custom_groups: Optional[Sequence[ShapingpolicyInternetServiceCustomGroupArgs]] = None,
internet_service_customs: Optional[Sequence[ShapingpolicyInternetServiceCustomArgs]] = None,
internet_service_groups: Optional[Sequence[ShapingpolicyInternetServiceGroupArgs]] = None,
internet_service_ids: Optional[Sequence[ShapingpolicyInternetServiceIdArgs]] = None,
internet_service_names: Optional[Sequence[ShapingpolicyInternetServiceNameArgs]] = None,
uuid: Optional[str] = None,
class_id: Optional[int] = None,
internet_service_src_names: Optional[Sequence[ShapingpolicyInternetServiceSrcNameArgs]] = None,
internet_service_src_groups: Optional[Sequence[ShapingpolicyInternetServiceSrcGroupArgs]] = None,
internet_service_src_ids: Optional[Sequence[ShapingpolicyInternetServiceSrcIdArgs]] = None,
internet_service_src_customs: Optional[Sequence[ShapingpolicyInternetServiceSrcCustomArgs]] = None,
ip_version: Optional[str] = None,
name: Optional[str] = None,
per_ip_shaper: Optional[str] = None,
schedule: Optional[str] = None,
services: Optional[Sequence[ShapingpolicyServiceArgs]] = None,
srcaddr6s: Optional[Sequence[ShapingpolicySrcaddr6Args]] = None,
app_groups: Optional[Sequence[ShapingpolicyAppGroupArgs]] = None,
srcintfs: Optional[Sequence[ShapingpolicySrcintfArgs]] = None,
status: Optional[str] = None,
tos: Optional[str] = None,
tos_mask: Optional[str] = None,
tos_negate: Optional[str] = None,
traffic_shaper: Optional[str] = None,
internet_service_src_custom_groups: Optional[Sequence[ShapingpolicyInternetServiceSrcCustomGroupArgs]] = None,
traffic_type: Optional[str] = None,
url_categories: Optional[Sequence[ShapingpolicyUrlCategoryArgs]] = None,
users: Optional[Sequence[ShapingpolicyUserArgs]] = None,
internet_service_src: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewShapingpolicy(ctx *Context, name string, args ShapingpolicyArgs, opts ...ResourceOption) (*Shapingpolicy, error)
public Shapingpolicy(string name, ShapingpolicyArgs args, CustomResourceOptions? opts = null)
public Shapingpolicy(String name, ShapingpolicyArgs args)
public Shapingpolicy(String name, ShapingpolicyArgs args, CustomResourceOptions options)
type: fortios:firewall:Shapingpolicy
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 ShapingpolicyArgs
- 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 ShapingpolicyArgs
- 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 ShapingpolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ShapingpolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ShapingpolicyArgs
- 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 shapingpolicyResource = new Fortios.Firewall.Shapingpolicy("shapingpolicyResource", new()
{
Dstintfs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyDstintfArgs
{
Name = "string",
},
},
Srcaddrs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicySrcaddrArgs
{
Name = "string",
},
},
Dstaddrs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyDstaddrArgs
{
Name = "string",
},
},
TrafficShaperReverse = "string",
Comment = "string",
Cos = "string",
CosMask = "string",
DiffservForward = "string",
DiffservReverse = "string",
DiffservcodeForward = "string",
DiffservcodeRev = "string",
Dstaddr6s = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyDstaddr6Args
{
Name = "string",
},
},
AppCategories = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyAppCategoryArgs
{
Id = 0,
},
},
Applications = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyApplicationArgs
{
Id = 0,
},
},
DynamicSortSubtable = "string",
Fosid = 0,
GetAllTables = "string",
Groups = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyGroupArgs
{
Name = "string",
},
},
InternetService = "string",
InternetServiceCustomGroups = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceCustomGroupArgs
{
Name = "string",
},
},
InternetServiceCustoms = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceCustomArgs
{
Name = "string",
},
},
InternetServiceGroups = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceGroupArgs
{
Name = "string",
},
},
InternetServiceIds = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceIdArgs
{
Id = 0,
},
},
InternetServiceNames = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceNameArgs
{
Name = "string",
},
},
Uuid = "string",
ClassId = 0,
InternetServiceSrcNames = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceSrcNameArgs
{
Name = "string",
},
},
InternetServiceSrcGroups = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceSrcGroupArgs
{
Name = "string",
},
},
InternetServiceSrcIds = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceSrcIdArgs
{
Id = 0,
},
},
InternetServiceSrcCustoms = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceSrcCustomArgs
{
Name = "string",
},
},
IpVersion = "string",
Name = "string",
PerIpShaper = "string",
Schedule = "string",
Services = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyServiceArgs
{
Name = "string",
},
},
Srcaddr6s = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicySrcaddr6Args
{
Name = "string",
},
},
AppGroups = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyAppGroupArgs
{
Name = "string",
},
},
Srcintfs = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicySrcintfArgs
{
Name = "string",
},
},
Status = "string",
Tos = "string",
TosMask = "string",
TosNegate = "string",
TrafficShaper = "string",
InternetServiceSrcCustomGroups = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyInternetServiceSrcCustomGroupArgs
{
Name = "string",
},
},
TrafficType = "string",
UrlCategories = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyUrlCategoryArgs
{
Id = 0,
},
},
Users = new[]
{
new Fortios.Firewall.Inputs.ShapingpolicyUserArgs
{
Name = "string",
},
},
InternetServiceSrc = "string",
Vdomparam = "string",
});
example, err := firewall.NewShapingpolicy(ctx, "shapingpolicyResource", &firewall.ShapingpolicyArgs{
Dstintfs: firewall.ShapingpolicyDstintfArray{
&firewall.ShapingpolicyDstintfArgs{
Name: pulumi.String("string"),
},
},
Srcaddrs: firewall.ShapingpolicySrcaddrArray{
&firewall.ShapingpolicySrcaddrArgs{
Name: pulumi.String("string"),
},
},
Dstaddrs: firewall.ShapingpolicyDstaddrArray{
&firewall.ShapingpolicyDstaddrArgs{
Name: pulumi.String("string"),
},
},
TrafficShaperReverse: pulumi.String("string"),
Comment: pulumi.String("string"),
Cos: pulumi.String("string"),
CosMask: pulumi.String("string"),
DiffservForward: pulumi.String("string"),
DiffservReverse: pulumi.String("string"),
DiffservcodeForward: pulumi.String("string"),
DiffservcodeRev: pulumi.String("string"),
Dstaddr6s: firewall.ShapingpolicyDstaddr6Array{
&firewall.ShapingpolicyDstaddr6Args{
Name: pulumi.String("string"),
},
},
AppCategories: firewall.ShapingpolicyAppCategoryArray{
&firewall.ShapingpolicyAppCategoryArgs{
Id: pulumi.Int(0),
},
},
Applications: firewall.ShapingpolicyApplicationArray{
&firewall.ShapingpolicyApplicationArgs{
Id: pulumi.Int(0),
},
},
DynamicSortSubtable: pulumi.String("string"),
Fosid: pulumi.Int(0),
GetAllTables: pulumi.String("string"),
Groups: firewall.ShapingpolicyGroupArray{
&firewall.ShapingpolicyGroupArgs{
Name: pulumi.String("string"),
},
},
InternetService: pulumi.String("string"),
InternetServiceCustomGroups: firewall.ShapingpolicyInternetServiceCustomGroupArray{
&firewall.ShapingpolicyInternetServiceCustomGroupArgs{
Name: pulumi.String("string"),
},
},
InternetServiceCustoms: firewall.ShapingpolicyInternetServiceCustomArray{
&firewall.ShapingpolicyInternetServiceCustomArgs{
Name: pulumi.String("string"),
},
},
InternetServiceGroups: firewall.ShapingpolicyInternetServiceGroupArray{
&firewall.ShapingpolicyInternetServiceGroupArgs{
Name: pulumi.String("string"),
},
},
InternetServiceIds: firewall.ShapingpolicyInternetServiceIdArray{
&firewall.ShapingpolicyInternetServiceIdArgs{
Id: pulumi.Int(0),
},
},
InternetServiceNames: firewall.ShapingpolicyInternetServiceNameArray{
&firewall.ShapingpolicyInternetServiceNameArgs{
Name: pulumi.String("string"),
},
},
Uuid: pulumi.String("string"),
ClassId: pulumi.Int(0),
InternetServiceSrcNames: firewall.ShapingpolicyInternetServiceSrcNameArray{
&firewall.ShapingpolicyInternetServiceSrcNameArgs{
Name: pulumi.String("string"),
},
},
InternetServiceSrcGroups: firewall.ShapingpolicyInternetServiceSrcGroupArray{
&firewall.ShapingpolicyInternetServiceSrcGroupArgs{
Name: pulumi.String("string"),
},
},
InternetServiceSrcIds: firewall.ShapingpolicyInternetServiceSrcIdArray{
&firewall.ShapingpolicyInternetServiceSrcIdArgs{
Id: pulumi.Int(0),
},
},
InternetServiceSrcCustoms: firewall.ShapingpolicyInternetServiceSrcCustomArray{
&firewall.ShapingpolicyInternetServiceSrcCustomArgs{
Name: pulumi.String("string"),
},
},
IpVersion: pulumi.String("string"),
Name: pulumi.String("string"),
PerIpShaper: pulumi.String("string"),
Schedule: pulumi.String("string"),
Services: firewall.ShapingpolicyServiceArray{
&firewall.ShapingpolicyServiceArgs{
Name: pulumi.String("string"),
},
},
Srcaddr6s: firewall.ShapingpolicySrcaddr6Array{
&firewall.ShapingpolicySrcaddr6Args{
Name: pulumi.String("string"),
},
},
AppGroups: firewall.ShapingpolicyAppGroupArray{
&firewall.ShapingpolicyAppGroupArgs{
Name: pulumi.String("string"),
},
},
Srcintfs: firewall.ShapingpolicySrcintfArray{
&firewall.ShapingpolicySrcintfArgs{
Name: pulumi.String("string"),
},
},
Status: pulumi.String("string"),
Tos: pulumi.String("string"),
TosMask: pulumi.String("string"),
TosNegate: pulumi.String("string"),
TrafficShaper: pulumi.String("string"),
InternetServiceSrcCustomGroups: firewall.ShapingpolicyInternetServiceSrcCustomGroupArray{
&firewall.ShapingpolicyInternetServiceSrcCustomGroupArgs{
Name: pulumi.String("string"),
},
},
TrafficType: pulumi.String("string"),
UrlCategories: firewall.ShapingpolicyUrlCategoryArray{
&firewall.ShapingpolicyUrlCategoryArgs{
Id: pulumi.Int(0),
},
},
Users: firewall.ShapingpolicyUserArray{
&firewall.ShapingpolicyUserArgs{
Name: pulumi.String("string"),
},
},
InternetServiceSrc: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var shapingpolicyResource = new Shapingpolicy("shapingpolicyResource", ShapingpolicyArgs.builder()
.dstintfs(ShapingpolicyDstintfArgs.builder()
.name("string")
.build())
.srcaddrs(ShapingpolicySrcaddrArgs.builder()
.name("string")
.build())
.dstaddrs(ShapingpolicyDstaddrArgs.builder()
.name("string")
.build())
.trafficShaperReverse("string")
.comment("string")
.cos("string")
.cosMask("string")
.diffservForward("string")
.diffservReverse("string")
.diffservcodeForward("string")
.diffservcodeRev("string")
.dstaddr6s(ShapingpolicyDstaddr6Args.builder()
.name("string")
.build())
.appCategories(ShapingpolicyAppCategoryArgs.builder()
.id(0)
.build())
.applications(ShapingpolicyApplicationArgs.builder()
.id(0)
.build())
.dynamicSortSubtable("string")
.fosid(0)
.getAllTables("string")
.groups(ShapingpolicyGroupArgs.builder()
.name("string")
.build())
.internetService("string")
.internetServiceCustomGroups(ShapingpolicyInternetServiceCustomGroupArgs.builder()
.name("string")
.build())
.internetServiceCustoms(ShapingpolicyInternetServiceCustomArgs.builder()
.name("string")
.build())
.internetServiceGroups(ShapingpolicyInternetServiceGroupArgs.builder()
.name("string")
.build())
.internetServiceIds(ShapingpolicyInternetServiceIdArgs.builder()
.id(0)
.build())
.internetServiceNames(ShapingpolicyInternetServiceNameArgs.builder()
.name("string")
.build())
.uuid("string")
.classId(0)
.internetServiceSrcNames(ShapingpolicyInternetServiceSrcNameArgs.builder()
.name("string")
.build())
.internetServiceSrcGroups(ShapingpolicyInternetServiceSrcGroupArgs.builder()
.name("string")
.build())
.internetServiceSrcIds(ShapingpolicyInternetServiceSrcIdArgs.builder()
.id(0)
.build())
.internetServiceSrcCustoms(ShapingpolicyInternetServiceSrcCustomArgs.builder()
.name("string")
.build())
.ipVersion("string")
.name("string")
.perIpShaper("string")
.schedule("string")
.services(ShapingpolicyServiceArgs.builder()
.name("string")
.build())
.srcaddr6s(ShapingpolicySrcaddr6Args.builder()
.name("string")
.build())
.appGroups(ShapingpolicyAppGroupArgs.builder()
.name("string")
.build())
.srcintfs(ShapingpolicySrcintfArgs.builder()
.name("string")
.build())
.status("string")
.tos("string")
.tosMask("string")
.tosNegate("string")
.trafficShaper("string")
.internetServiceSrcCustomGroups(ShapingpolicyInternetServiceSrcCustomGroupArgs.builder()
.name("string")
.build())
.trafficType("string")
.urlCategories(ShapingpolicyUrlCategoryArgs.builder()
.id(0)
.build())
.users(ShapingpolicyUserArgs.builder()
.name("string")
.build())
.internetServiceSrc("string")
.vdomparam("string")
.build());
shapingpolicy_resource = fortios.firewall.Shapingpolicy("shapingpolicyResource",
dstintfs=[{
"name": "string",
}],
srcaddrs=[{
"name": "string",
}],
dstaddrs=[{
"name": "string",
}],
traffic_shaper_reverse="string",
comment="string",
cos="string",
cos_mask="string",
diffserv_forward="string",
diffserv_reverse="string",
diffservcode_forward="string",
diffservcode_rev="string",
dstaddr6s=[{
"name": "string",
}],
app_categories=[{
"id": 0,
}],
applications=[{
"id": 0,
}],
dynamic_sort_subtable="string",
fosid=0,
get_all_tables="string",
groups=[{
"name": "string",
}],
internet_service="string",
internet_service_custom_groups=[{
"name": "string",
}],
internet_service_customs=[{
"name": "string",
}],
internet_service_groups=[{
"name": "string",
}],
internet_service_ids=[{
"id": 0,
}],
internet_service_names=[{
"name": "string",
}],
uuid="string",
class_id=0,
internet_service_src_names=[{
"name": "string",
}],
internet_service_src_groups=[{
"name": "string",
}],
internet_service_src_ids=[{
"id": 0,
}],
internet_service_src_customs=[{
"name": "string",
}],
ip_version="string",
name="string",
per_ip_shaper="string",
schedule="string",
services=[{
"name": "string",
}],
srcaddr6s=[{
"name": "string",
}],
app_groups=[{
"name": "string",
}],
srcintfs=[{
"name": "string",
}],
status="string",
tos="string",
tos_mask="string",
tos_negate="string",
traffic_shaper="string",
internet_service_src_custom_groups=[{
"name": "string",
}],
traffic_type="string",
url_categories=[{
"id": 0,
}],
users=[{
"name": "string",
}],
internet_service_src="string",
vdomparam="string")
const shapingpolicyResource = new fortios.firewall.Shapingpolicy("shapingpolicyResource", {
dstintfs: [{
name: "string",
}],
srcaddrs: [{
name: "string",
}],
dstaddrs: [{
name: "string",
}],
trafficShaperReverse: "string",
comment: "string",
cos: "string",
cosMask: "string",
diffservForward: "string",
diffservReverse: "string",
diffservcodeForward: "string",
diffservcodeRev: "string",
dstaddr6s: [{
name: "string",
}],
appCategories: [{
id: 0,
}],
applications: [{
id: 0,
}],
dynamicSortSubtable: "string",
fosid: 0,
getAllTables: "string",
groups: [{
name: "string",
}],
internetService: "string",
internetServiceCustomGroups: [{
name: "string",
}],
internetServiceCustoms: [{
name: "string",
}],
internetServiceGroups: [{
name: "string",
}],
internetServiceIds: [{
id: 0,
}],
internetServiceNames: [{
name: "string",
}],
uuid: "string",
classId: 0,
internetServiceSrcNames: [{
name: "string",
}],
internetServiceSrcGroups: [{
name: "string",
}],
internetServiceSrcIds: [{
id: 0,
}],
internetServiceSrcCustoms: [{
name: "string",
}],
ipVersion: "string",
name: "string",
perIpShaper: "string",
schedule: "string",
services: [{
name: "string",
}],
srcaddr6s: [{
name: "string",
}],
appGroups: [{
name: "string",
}],
srcintfs: [{
name: "string",
}],
status: "string",
tos: "string",
tosMask: "string",
tosNegate: "string",
trafficShaper: "string",
internetServiceSrcCustomGroups: [{
name: "string",
}],
trafficType: "string",
urlCategories: [{
id: 0,
}],
users: [{
name: "string",
}],
internetServiceSrc: "string",
vdomparam: "string",
});
type: fortios:firewall:Shapingpolicy
properties:
appCategories:
- id: 0
appGroups:
- name: string
applications:
- id: 0
classId: 0
comment: string
cos: string
cosMask: string
diffservForward: string
diffservReverse: string
diffservcodeForward: string
diffservcodeRev: string
dstaddr6s:
- name: string
dstaddrs:
- name: string
dstintfs:
- name: string
dynamicSortSubtable: string
fosid: 0
getAllTables: string
groups:
- name: string
internetService: string
internetServiceCustomGroups:
- name: string
internetServiceCustoms:
- name: string
internetServiceGroups:
- name: string
internetServiceIds:
- id: 0
internetServiceNames:
- name: string
internetServiceSrc: string
internetServiceSrcCustomGroups:
- name: string
internetServiceSrcCustoms:
- name: string
internetServiceSrcGroups:
- name: string
internetServiceSrcIds:
- id: 0
internetServiceSrcNames:
- name: string
ipVersion: string
name: string
perIpShaper: string
schedule: string
services:
- name: string
srcaddr6s:
- name: string
srcaddrs:
- name: string
srcintfs:
- name: string
status: string
tos: string
tosMask: string
tosNegate: string
trafficShaper: string
trafficShaperReverse: string
trafficType: string
urlCategories:
- id: 0
users:
- name: string
uuid: string
vdomparam: string
Shapingpolicy 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 Shapingpolicy resource accepts the following input properties:
- Dstintfs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Dstintf> - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Srcaddr> - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - App
Categories List<Pulumiverse.Fortios. Firewall. Inputs. Shapingpolicy App Category> - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - App
Groups List<Pulumiverse.Fortios. Firewall. Inputs. Shapingpolicy App Group> - One or more application group names. The structure of
app_group
block is documented below. - Applications
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Application> - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - Class
Id int - Traffic class ID.
- Comment string
- Comments.
- Cos string
- VLAN CoS bit pattern.
- Cos
Mask string - VLAN CoS evaluated bits.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dstaddr6s
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Dstaddr6> - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Dstaddr> - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Fosid int
- Shaping policy ID.
- 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.
- Groups
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Group> - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Custom Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Customs Fortios. Firewall. Inputs. Shapingpolicy Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service List<Pulumiverse.Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service List<Pulumiverse.Ids Fortios. Firewall. Inputs. Shapingpolicy Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service List<Pulumiverse.Names Fortios. Firewall. Inputs. Shapingpolicy Internet Service Name> - Internet Service ID. The structure of
internet_service_name
block is documented below. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Src Custom Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Src Customs Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service List<Pulumiverse.Src Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service List<Pulumiverse.Src Ids Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service List<Pulumiverse.Src Names Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Ip
Version string - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - Name string
- Shaping policy name.
- Per
Ip stringShaper - Per-IP traffic shaper to apply with this policy.
- Schedule string
- Schedule name.
- Services
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Service> - Service and service group names. The structure of
service
block is documented below. - Srcaddr6s
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Srcaddr6> - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - Srcintfs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Srcintf> - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - Status string
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - Tos string
- ToS (Type of Service) value used for comparison.
- Tos
Mask string - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- Tos
Negate string - Enable negated TOS match. Valid values:
enable
,disable
. - Traffic
Shaper string - Traffic shaper to apply to traffic forwarded by the firewall policy.
- Traffic
Shaper stringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- Traffic
Type string - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - Url
Categories List<Pulumiverse.Fortios. Firewall. Inputs. Shapingpolicy Url Category> - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - Users
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy User> - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- Dstintfs
[]Shapingpolicy
Dstintf Args - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - Srcaddrs
[]Shapingpolicy
Srcaddr Args - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - App
Categories []ShapingpolicyApp Category Args - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - App
Groups []ShapingpolicyApp Group Args - One or more application group names. The structure of
app_group
block is documented below. - Applications
[]Shapingpolicy
Application Args - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - Class
Id int - Traffic class ID.
- Comment string
- Comments.
- Cos string
- VLAN CoS bit pattern.
- Cos
Mask string - VLAN CoS evaluated bits.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dstaddr6s
[]Shapingpolicy
Dstaddr6Args - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - Dstaddrs
[]Shapingpolicy
Dstaddr Args - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Fosid int
- Shaping policy ID.
- 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.
- Groups
[]Shapingpolicy
Group Args - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service []ShapingpolicyCustom Groups Internet Service Custom Group Args - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service []ShapingpolicyCustoms Internet Service Custom Args - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service []ShapingpolicyGroups Internet Service Group Args - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service []ShapingpolicyIds Internet Service Id Args - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service []ShapingpolicyNames Internet Service Name Args - Internet Service ID. The structure of
internet_service_name
block is documented below. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service []ShapingpolicySrc Custom Groups Internet Service Src Custom Group Args - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service []ShapingpolicySrc Customs Internet Service Src Custom Args - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service []ShapingpolicySrc Groups Internet Service Src Group Args - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service []ShapingpolicySrc Ids Internet Service Src Id Args - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service []ShapingpolicySrc Names Internet Service Src Name Args - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Ip
Version string - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - Name string
- Shaping policy name.
- Per
Ip stringShaper - Per-IP traffic shaper to apply with this policy.
- Schedule string
- Schedule name.
- Services
[]Shapingpolicy
Service Args - Service and service group names. The structure of
service
block is documented below. - Srcaddr6s
[]Shapingpolicy
Srcaddr6Args - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - Srcintfs
[]Shapingpolicy
Srcintf Args - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - Status string
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - Tos string
- ToS (Type of Service) value used for comparison.
- Tos
Mask string - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- Tos
Negate string - Enable negated TOS match. Valid values:
enable
,disable
. - Traffic
Shaper string - Traffic shaper to apply to traffic forwarded by the firewall policy.
- Traffic
Shaper stringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- Traffic
Type string - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - Url
Categories []ShapingpolicyUrl Category Args - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - Users
[]Shapingpolicy
User Args - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- dstintfs
List<Shapingpolicy
Dstintf> - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - srcaddrs
List<Shapingpolicy
Srcaddr> - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - app
Categories List<ShapingpolicyApp Category> - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app
Groups List<ShapingpolicyApp Group> - One or more application group names. The structure of
app_group
block is documented below. - applications
List<Shapingpolicy
Application> - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class
Id Integer - Traffic class ID.
- comment String
- Comments.
- cos String
- VLAN CoS bit pattern.
- cos
Mask String - VLAN CoS evaluated bits.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s
List<Shapingpolicy
Dstaddr6> - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs
List<Shapingpolicy
Dstaddr> - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid Integer
- Shaping policy ID.
- 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.
- groups
List<Shapingpolicy
Group> - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<ShapingpolicyCustom Groups Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<ShapingpolicyCustoms Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<ShapingpolicyGroups Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<ShapingpolicyIds Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<ShapingpolicyNames Internet Service Name> - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<ShapingpolicySrc Custom Groups Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<ShapingpolicySrc Customs Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<ShapingpolicySrc Groups Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<ShapingpolicySrc Ids Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<ShapingpolicySrc Names Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip
Version String - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name String
- Shaping policy name.
- per
Ip StringShaper - Per-IP traffic shaper to apply with this policy.
- schedule String
- Schedule name.
- services
List<Shapingpolicy
Service> - Service and service group names. The structure of
service
block is documented below. - srcaddr6s
List<Shapingpolicy
Srcaddr6> - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcintfs
List<Shapingpolicy
Srcintf> - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status String
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos String
- ToS (Type of Service) value used for comparison.
- tos
Mask String - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos
Negate String - Enable negated TOS match. Valid values:
enable
,disable
. - traffic
Shaper String - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic
Shaper StringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic
Type String - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url
Categories List<ShapingpolicyUrl Category> - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users
List<Shapingpolicy
User> - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- dstintfs
Shapingpolicy
Dstintf[] - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - srcaddrs
Shapingpolicy
Srcaddr[] - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - app
Categories ShapingpolicyApp Category[] - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app
Groups ShapingpolicyApp Group[] - One or more application group names. The structure of
app_group
block is documented below. - applications
Shapingpolicy
Application[] - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class
Id number - Traffic class ID.
- comment string
- Comments.
- cos string
- VLAN CoS bit pattern.
- cos
Mask string - VLAN CoS evaluated bits.
- diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward string - Change packet's DiffServ to this value.
- diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s
Shapingpolicy
Dstaddr6[] - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs
Shapingpolicy
Dstaddr[] - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid number
- Shaping policy ID.
- 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.
- groups
Shapingpolicy
Group[] - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service ShapingpolicyCustom Groups Internet Service Custom Group[] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service ShapingpolicyCustoms Internet Service Custom[] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service ShapingpolicyGroups Internet Service Group[] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service ShapingpolicyIds Internet Service Id[] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service ShapingpolicyNames Internet Service Name[] - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service ShapingpolicySrc Custom Groups Internet Service Src Custom Group[] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service ShapingpolicySrc Customs Internet Service Src Custom[] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service ShapingpolicySrc Groups Internet Service Src Group[] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service ShapingpolicySrc Ids Internet Service Src Id[] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service ShapingpolicySrc Names Internet Service Src Name[] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip
Version string - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name string
- Shaping policy name.
- per
Ip stringShaper - Per-IP traffic shaper to apply with this policy.
- schedule string
- Schedule name.
- services
Shapingpolicy
Service[] - Service and service group names. The structure of
service
block is documented below. - srcaddr6s
Shapingpolicy
Srcaddr6[] - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcintfs
Shapingpolicy
Srcintf[] - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status string
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos string
- ToS (Type of Service) value used for comparison.
- tos
Mask string - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos
Negate string - Enable negated TOS match. Valid values:
enable
,disable
. - traffic
Shaper string - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic
Shaper stringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic
Type string - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url
Categories ShapingpolicyUrl Category[] - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users
Shapingpolicy
User[] - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- dstintfs
Sequence[Shapingpolicy
Dstintf Args] - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - srcaddrs
Sequence[Shapingpolicy
Srcaddr Args] - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - app_
categories Sequence[ShapingpolicyApp Category Args] - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app_
groups Sequence[ShapingpolicyApp Group Args] - One or more application group names. The structure of
app_group
block is documented below. - applications
Sequence[Shapingpolicy
Application Args] - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class_
id int - Traffic class ID.
- comment str
- Comments.
- cos str
- VLAN CoS bit pattern.
- cos_
mask str - VLAN CoS evaluated bits.
- diffserv_
forward str - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv_
reverse str - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode_
forward str - Change packet's DiffServ to this value.
- diffservcode_
rev str - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s
Sequence[Shapingpolicy
Dstaddr6Args] - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs
Sequence[Shapingpolicy
Dstaddr Args] - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid int
- Shaping policy ID.
- 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.
- groups
Sequence[Shapingpolicy
Group Args] - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet_
service str - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Shapingpolicycustom_ groups Internet Service Custom Group Args] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet_
service_ Sequence[Shapingpolicycustoms Internet Service Custom Args] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet_
service_ Sequence[Shapingpolicygroups Internet Service Group Args] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet_
service_ Sequence[Shapingpolicyids Internet Service Id Args] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet_
service_ Sequence[Shapingpolicynames Internet Service Name Args] - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet_
service_ strsrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Shapingpolicysrc_ custom_ groups Internet Service Src Custom Group Args] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ customs Internet Service Src Custom Args] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ groups Internet Service Src Group Args] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ ids Internet Service Src Id Args] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ names Internet Service Src Name Args] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip_
version str - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name str
- Shaping policy name.
- per_
ip_ strshaper - Per-IP traffic shaper to apply with this policy.
- schedule str
- Schedule name.
- services
Sequence[Shapingpolicy
Service Args] - Service and service group names. The structure of
service
block is documented below. - srcaddr6s
Sequence[Shapingpolicy
Srcaddr6Args] - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcintfs
Sequence[Shapingpolicy
Srcintf Args] - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status str
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos str
- ToS (Type of Service) value used for comparison.
- tos_
mask str - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos_
negate str - Enable negated TOS match. Valid values:
enable
,disable
. - traffic_
shaper str - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic_
shaper_ strreverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic_
type str - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url_
categories Sequence[ShapingpolicyUrl Category Args] - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users
Sequence[Shapingpolicy
User Args] - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- dstintfs List<Property Map>
- One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - srcaddrs List<Property Map>
- IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - app
Categories List<Property Map> - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app
Groups List<Property Map> - One or more application group names. The structure of
app_group
block is documented below. - applications List<Property Map>
- IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class
Id Number - Traffic class ID.
- comment String
- Comments.
- cos String
- VLAN CoS bit pattern.
- cos
Mask String - VLAN CoS evaluated bits.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s List<Property Map>
- IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs List<Property Map>
- IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid Number
- Shaping policy ID.
- 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.
- groups List<Property Map>
- Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Custom Groups - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<Property Map>Customs - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<Property Map>Groups - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<Property Map>Ids - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<Property Map>Names - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Src Custom Groups - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<Property Map>Src Customs - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<Property Map>Src Groups - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<Property Map>Src Ids - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<Property Map>Src Names - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip
Version String - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name String
- Shaping policy name.
- per
Ip StringShaper - Per-IP traffic shaper to apply with this policy.
- schedule String
- Schedule name.
- services List<Property Map>
- Service and service group names. The structure of
service
block is documented below. - srcaddr6s List<Property Map>
- IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcintfs List<Property Map>
- One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status String
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos String
- ToS (Type of Service) value used for comparison.
- tos
Mask String - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos
Negate String - Enable negated TOS match. Valid values:
enable
,disable
. - traffic
Shaper String - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic
Shaper StringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic
Type String - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url
Categories List<Property Map> - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users List<Property Map>
- Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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 Shapingpolicy 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 Shapingpolicy Resource
Get an existing Shapingpolicy 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?: ShapingpolicyState, opts?: CustomResourceOptions): Shapingpolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_categories: Optional[Sequence[ShapingpolicyAppCategoryArgs]] = None,
app_groups: Optional[Sequence[ShapingpolicyAppGroupArgs]] = None,
applications: Optional[Sequence[ShapingpolicyApplicationArgs]] = None,
class_id: Optional[int] = None,
comment: Optional[str] = None,
cos: Optional[str] = None,
cos_mask: Optional[str] = None,
diffserv_forward: Optional[str] = None,
diffserv_reverse: Optional[str] = None,
diffservcode_forward: Optional[str] = None,
diffservcode_rev: Optional[str] = None,
dstaddr6s: Optional[Sequence[ShapingpolicyDstaddr6Args]] = None,
dstaddrs: Optional[Sequence[ShapingpolicyDstaddrArgs]] = None,
dstintfs: Optional[Sequence[ShapingpolicyDstintfArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
groups: Optional[Sequence[ShapingpolicyGroupArgs]] = None,
internet_service: Optional[str] = None,
internet_service_custom_groups: Optional[Sequence[ShapingpolicyInternetServiceCustomGroupArgs]] = None,
internet_service_customs: Optional[Sequence[ShapingpolicyInternetServiceCustomArgs]] = None,
internet_service_groups: Optional[Sequence[ShapingpolicyInternetServiceGroupArgs]] = None,
internet_service_ids: Optional[Sequence[ShapingpolicyInternetServiceIdArgs]] = None,
internet_service_names: Optional[Sequence[ShapingpolicyInternetServiceNameArgs]] = None,
internet_service_src: Optional[str] = None,
internet_service_src_custom_groups: Optional[Sequence[ShapingpolicyInternetServiceSrcCustomGroupArgs]] = None,
internet_service_src_customs: Optional[Sequence[ShapingpolicyInternetServiceSrcCustomArgs]] = None,
internet_service_src_groups: Optional[Sequence[ShapingpolicyInternetServiceSrcGroupArgs]] = None,
internet_service_src_ids: Optional[Sequence[ShapingpolicyInternetServiceSrcIdArgs]] = None,
internet_service_src_names: Optional[Sequence[ShapingpolicyInternetServiceSrcNameArgs]] = None,
ip_version: Optional[str] = None,
name: Optional[str] = None,
per_ip_shaper: Optional[str] = None,
schedule: Optional[str] = None,
services: Optional[Sequence[ShapingpolicyServiceArgs]] = None,
srcaddr6s: Optional[Sequence[ShapingpolicySrcaddr6Args]] = None,
srcaddrs: Optional[Sequence[ShapingpolicySrcaddrArgs]] = None,
srcintfs: Optional[Sequence[ShapingpolicySrcintfArgs]] = None,
status: Optional[str] = None,
tos: Optional[str] = None,
tos_mask: Optional[str] = None,
tos_negate: Optional[str] = None,
traffic_shaper: Optional[str] = None,
traffic_shaper_reverse: Optional[str] = None,
traffic_type: Optional[str] = None,
url_categories: Optional[Sequence[ShapingpolicyUrlCategoryArgs]] = None,
users: Optional[Sequence[ShapingpolicyUserArgs]] = None,
uuid: Optional[str] = None,
vdomparam: Optional[str] = None) -> Shapingpolicy
func GetShapingpolicy(ctx *Context, name string, id IDInput, state *ShapingpolicyState, opts ...ResourceOption) (*Shapingpolicy, error)
public static Shapingpolicy Get(string name, Input<string> id, ShapingpolicyState? state, CustomResourceOptions? opts = null)
public static Shapingpolicy get(String name, Output<String> id, ShapingpolicyState 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.
- App
Categories List<Pulumiverse.Fortios. Firewall. Inputs. Shapingpolicy App Category> - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - App
Groups List<Pulumiverse.Fortios. Firewall. Inputs. Shapingpolicy App Group> - One or more application group names. The structure of
app_group
block is documented below. - Applications
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Application> - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - Class
Id int - Traffic class ID.
- Comment string
- Comments.
- Cos string
- VLAN CoS bit pattern.
- Cos
Mask string - VLAN CoS evaluated bits.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dstaddr6s
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Dstaddr6> - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Dstaddr> - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - Dstintfs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Dstintf> - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Fosid int
- Shaping policy ID.
- 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.
- Groups
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Group> - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Custom Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Customs Fortios. Firewall. Inputs. Shapingpolicy Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service List<Pulumiverse.Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service List<Pulumiverse.Ids Fortios. Firewall. Inputs. Shapingpolicy Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service List<Pulumiverse.Names Fortios. Firewall. Inputs. Shapingpolicy Internet Service Name> - Internet Service ID. The structure of
internet_service_name
block is documented below. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service List<Pulumiverse.Src Custom Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service List<Pulumiverse.Src Customs Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service List<Pulumiverse.Src Groups Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service List<Pulumiverse.Src Ids Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service List<Pulumiverse.Src Names Fortios. Firewall. Inputs. Shapingpolicy Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Ip
Version string - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - Name string
- Shaping policy name.
- Per
Ip stringShaper - Per-IP traffic shaper to apply with this policy.
- Schedule string
- Schedule name.
- Services
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Service> - Service and service group names. The structure of
service
block is documented below. - Srcaddr6s
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Srcaddr6> - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Srcaddr> - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - Srcintfs
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy Srcintf> - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - Status string
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - Tos string
- ToS (Type of Service) value used for comparison.
- Tos
Mask string - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- Tos
Negate string - Enable negated TOS match. Valid values:
enable
,disable
. - Traffic
Shaper string - Traffic shaper to apply to traffic forwarded by the firewall policy.
- Traffic
Shaper stringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- Traffic
Type string - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - Url
Categories List<Pulumiverse.Fortios. Firewall. Inputs. Shapingpolicy Url Category> - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - Users
List<Pulumiverse.
Fortios. Firewall. Inputs. Shapingpolicy User> - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- App
Categories []ShapingpolicyApp Category Args - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - App
Groups []ShapingpolicyApp Group Args - One or more application group names. The structure of
app_group
block is documented below. - Applications
[]Shapingpolicy
Application Args - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - Class
Id int - Traffic class ID.
- Comment string
- Comments.
- Cos string
- VLAN CoS bit pattern.
- Cos
Mask string - VLAN CoS evaluated bits.
- Diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - Diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - Diffservcode
Forward string - Change packet's DiffServ to this value.
- Diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- Dstaddr6s
[]Shapingpolicy
Dstaddr6Args - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - Dstaddrs
[]Shapingpolicy
Dstaddr Args - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - Dstintfs
[]Shapingpolicy
Dstintf Args - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Fosid int
- Shaping policy ID.
- 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.
- Groups
[]Shapingpolicy
Group Args - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - Internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - Internet
Service []ShapingpolicyCustom Groups Internet Service Custom Group Args - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - Internet
Service []ShapingpolicyCustoms Internet Service Custom Args - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - Internet
Service []ShapingpolicyGroups Internet Service Group Args - Internet Service group name. The structure of
internet_service_group
block is documented below. - Internet
Service []ShapingpolicyIds Internet Service Id Args - Internet Service ID. The structure of
internet_service_id
block is documented below. - Internet
Service []ShapingpolicyNames Internet Service Name Args - Internet Service ID. The structure of
internet_service_name
block is documented below. - Internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - Internet
Service []ShapingpolicySrc Custom Groups Internet Service Src Custom Group Args - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - Internet
Service []ShapingpolicySrc Customs Internet Service Src Custom Args - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - Internet
Service []ShapingpolicySrc Groups Internet Service Src Group Args - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - Internet
Service []ShapingpolicySrc Ids Internet Service Src Id Args - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - Internet
Service []ShapingpolicySrc Names Internet Service Src Name Args - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - Ip
Version string - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - Name string
- Shaping policy name.
- Per
Ip stringShaper - Per-IP traffic shaper to apply with this policy.
- Schedule string
- Schedule name.
- Services
[]Shapingpolicy
Service Args - Service and service group names. The structure of
service
block is documented below. - Srcaddr6s
[]Shapingpolicy
Srcaddr6Args - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - Srcaddrs
[]Shapingpolicy
Srcaddr Args - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - Srcintfs
[]Shapingpolicy
Srcintf Args - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - Status string
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - Tos string
- ToS (Type of Service) value used for comparison.
- Tos
Mask string - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- Tos
Negate string - Enable negated TOS match. Valid values:
enable
,disable
. - Traffic
Shaper string - Traffic shaper to apply to traffic forwarded by the firewall policy.
- Traffic
Shaper stringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- Traffic
Type string - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - Url
Categories []ShapingpolicyUrl Category Args - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - Users
[]Shapingpolicy
User Args - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- app
Categories List<ShapingpolicyApp Category> - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app
Groups List<ShapingpolicyApp Group> - One or more application group names. The structure of
app_group
block is documented below. - applications
List<Shapingpolicy
Application> - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class
Id Integer - Traffic class ID.
- comment String
- Comments.
- cos String
- VLAN CoS bit pattern.
- cos
Mask String - VLAN CoS evaluated bits.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s
List<Shapingpolicy
Dstaddr6> - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs
List<Shapingpolicy
Dstaddr> - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dstintfs
List<Shapingpolicy
Dstintf> - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid Integer
- Shaping policy ID.
- 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.
- groups
List<Shapingpolicy
Group> - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<ShapingpolicyCustom Groups Internet Service Custom Group> - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<ShapingpolicyCustoms Internet Service Custom> - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<ShapingpolicyGroups Internet Service Group> - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<ShapingpolicyIds Internet Service Id> - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<ShapingpolicyNames Internet Service Name> - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<ShapingpolicySrc Custom Groups Internet Service Src Custom Group> - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<ShapingpolicySrc Customs Internet Service Src Custom> - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<ShapingpolicySrc Groups Internet Service Src Group> - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<ShapingpolicySrc Ids Internet Service Src Id> - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<ShapingpolicySrc Names Internet Service Src Name> - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip
Version String - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name String
- Shaping policy name.
- per
Ip StringShaper - Per-IP traffic shaper to apply with this policy.
- schedule String
- Schedule name.
- services
List<Shapingpolicy
Service> - Service and service group names. The structure of
service
block is documented below. - srcaddr6s
List<Shapingpolicy
Srcaddr6> - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcaddrs
List<Shapingpolicy
Srcaddr> - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - srcintfs
List<Shapingpolicy
Srcintf> - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status String
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos String
- ToS (Type of Service) value used for comparison.
- tos
Mask String - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos
Negate String - Enable negated TOS match. Valid values:
enable
,disable
. - traffic
Shaper String - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic
Shaper StringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic
Type String - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url
Categories List<ShapingpolicyUrl Category> - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users
List<Shapingpolicy
User> - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- app
Categories ShapingpolicyApp Category[] - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app
Groups ShapingpolicyApp Group[] - One or more application group names. The structure of
app_group
block is documented below. - applications
Shapingpolicy
Application[] - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class
Id number - Traffic class ID.
- comment string
- Comments.
- cos string
- VLAN CoS bit pattern.
- cos
Mask string - VLAN CoS evaluated bits.
- diffserv
Forward string - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse string - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward string - Change packet's DiffServ to this value.
- diffservcode
Rev string - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s
Shapingpolicy
Dstaddr6[] - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs
Shapingpolicy
Dstaddr[] - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dstintfs
Shapingpolicy
Dstintf[] - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid number
- Shaping policy ID.
- 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.
- groups
Shapingpolicy
Group[] - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet
Service string - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service ShapingpolicyCustom Groups Internet Service Custom Group[] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service ShapingpolicyCustoms Internet Service Custom[] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service ShapingpolicyGroups Internet Service Group[] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service ShapingpolicyIds Internet Service Id[] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service ShapingpolicyNames Internet Service Name[] - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet
Service stringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service ShapingpolicySrc Custom Groups Internet Service Src Custom Group[] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service ShapingpolicySrc Customs Internet Service Src Custom[] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service ShapingpolicySrc Groups Internet Service Src Group[] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service ShapingpolicySrc Ids Internet Service Src Id[] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service ShapingpolicySrc Names Internet Service Src Name[] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip
Version string - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name string
- Shaping policy name.
- per
Ip stringShaper - Per-IP traffic shaper to apply with this policy.
- schedule string
- Schedule name.
- services
Shapingpolicy
Service[] - Service and service group names. The structure of
service
block is documented below. - srcaddr6s
Shapingpolicy
Srcaddr6[] - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcaddrs
Shapingpolicy
Srcaddr[] - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - srcintfs
Shapingpolicy
Srcintf[] - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status string
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos string
- ToS (Type of Service) value used for comparison.
- tos
Mask string - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos
Negate string - Enable negated TOS match. Valid values:
enable
,disable
. - traffic
Shaper string - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic
Shaper stringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic
Type string - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url
Categories ShapingpolicyUrl Category[] - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users
Shapingpolicy
User[] - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- app_
categories Sequence[ShapingpolicyApp Category Args] - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app_
groups Sequence[ShapingpolicyApp Group Args] - One or more application group names. The structure of
app_group
block is documented below. - applications
Sequence[Shapingpolicy
Application Args] - IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class_
id int - Traffic class ID.
- comment str
- Comments.
- cos str
- VLAN CoS bit pattern.
- cos_
mask str - VLAN CoS evaluated bits.
- diffserv_
forward str - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv_
reverse str - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode_
forward str - Change packet's DiffServ to this value.
- diffservcode_
rev str - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s
Sequence[Shapingpolicy
Dstaddr6Args] - IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs
Sequence[Shapingpolicy
Dstaddr Args] - IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dstintfs
Sequence[Shapingpolicy
Dstintf Args] - One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid int
- Shaping policy ID.
- 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.
- groups
Sequence[Shapingpolicy
Group Args] - Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet_
service str - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Shapingpolicycustom_ groups Internet Service Custom Group Args] - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet_
service_ Sequence[Shapingpolicycustoms Internet Service Custom Args] - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet_
service_ Sequence[Shapingpolicygroups Internet Service Group Args] - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet_
service_ Sequence[Shapingpolicyids Internet Service Id Args] - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet_
service_ Sequence[Shapingpolicynames Internet Service Name Args] - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet_
service_ strsrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet_
service_ Sequence[Shapingpolicysrc_ custom_ groups Internet Service Src Custom Group Args] - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ customs Internet Service Src Custom Args] - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ groups Internet Service Src Group Args] - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ ids Internet Service Src Id Args] - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet_
service_ Sequence[Shapingpolicysrc_ names Internet Service Src Name Args] - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip_
version str - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name str
- Shaping policy name.
- per_
ip_ strshaper - Per-IP traffic shaper to apply with this policy.
- schedule str
- Schedule name.
- services
Sequence[Shapingpolicy
Service Args] - Service and service group names. The structure of
service
block is documented below. - srcaddr6s
Sequence[Shapingpolicy
Srcaddr6Args] - IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcaddrs
Sequence[Shapingpolicy
Srcaddr Args] - IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - srcintfs
Sequence[Shapingpolicy
Srcintf Args] - One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status str
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos str
- ToS (Type of Service) value used for comparison.
- tos_
mask str - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos_
negate str - Enable negated TOS match. Valid values:
enable
,disable
. - traffic_
shaper str - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic_
shaper_ strreverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic_
type str - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url_
categories Sequence[ShapingpolicyUrl Category Args] - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users
Sequence[Shapingpolicy
User Args] - Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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.
- app
Categories List<Property Map> - IDs of one or more application categories that this shaper applies application control traffic shaping to. The structure of
app_category
block is documented below. - app
Groups List<Property Map> - One or more application group names. The structure of
app_group
block is documented below. - applications List<Property Map>
- IDs of one or more applications that this shaper applies application control traffic shaping to. The structure of
application
block is documented below. - class
Id Number - Traffic class ID.
- comment String
- Comments.
- cos String
- VLAN CoS bit pattern.
- cos
Mask String - VLAN CoS evaluated bits.
- diffserv
Forward String - Enable to change packet's DiffServ values to the specified diffservcode-forward value. Valid values:
enable
,disable
. - diffserv
Reverse String - Enable to change packet's reverse (reply) DiffServ values to the specified diffservcode-rev value. Valid values:
enable
,disable
. - diffservcode
Forward String - Change packet's DiffServ to this value.
- diffservcode
Rev String - Change packet's reverse (reply) DiffServ to this value.
- dstaddr6s List<Property Map>
- IPv6 destination address and address group names. The structure of
dstaddr6
block is documented below. - dstaddrs List<Property Map>
- IPv4 destination address and address group names. The structure of
dstaddr
block is documented below. - dstintfs List<Property Map>
- One or more outgoing (egress) interfaces. The structure of
dstintf
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid Number
- Shaping policy ID.
- 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.
- groups List<Property Map>
- Apply this traffic shaping policy to user groups that have authenticated with the FortiGate. The structure of
groups
block is documented below. - internet
Service String - Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Custom Groups - Custom Internet Service group name. The structure of
internet_service_custom_group
block is documented below. - internet
Service List<Property Map>Customs - Custom Internet Service name. The structure of
internet_service_custom
block is documented below. - internet
Service List<Property Map>Groups - Internet Service group name. The structure of
internet_service_group
block is documented below. - internet
Service List<Property Map>Ids - Internet Service ID. The structure of
internet_service_id
block is documented below. - internet
Service List<Property Map>Names - Internet Service ID. The structure of
internet_service_name
block is documented below. - internet
Service StringSrc - Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used. Valid values:
enable
,disable
. - internet
Service List<Property Map>Src Custom Groups - Custom Internet Service source group name. The structure of
internet_service_src_custom_group
block is documented below. - internet
Service List<Property Map>Src Customs - Custom Internet Service source name. The structure of
internet_service_src_custom
block is documented below. - internet
Service List<Property Map>Src Groups - Internet Service source group name. The structure of
internet_service_src_group
block is documented below. - internet
Service List<Property Map>Src Ids - Internet Service source ID. The structure of
internet_service_src_id
block is documented below. - internet
Service List<Property Map>Src Names - Internet Service source name. The structure of
internet_service_src_name
block is documented below. - ip
Version String - Apply this traffic shaping policy to IPv4 or IPv6 traffic. Valid values:
4
,6
. - name String
- Shaping policy name.
- per
Ip StringShaper - Per-IP traffic shaper to apply with this policy.
- schedule String
- Schedule name.
- services List<Property Map>
- Service and service group names. The structure of
service
block is documented below. - srcaddr6s List<Property Map>
- IPv6 source address and address group names. The structure of
srcaddr6
block is documented below. - srcaddrs List<Property Map>
- IPv4 source address and address group names. The structure of
srcaddr
block is documented below. - srcintfs List<Property Map>
- One or more incoming (ingress) interfaces. The structure of
srcintf
block is documented below. - status String
- Enable/disable this traffic shaping policy. Valid values:
enable
,disable
. - tos String
- ToS (Type of Service) value used for comparison.
- tos
Mask String - Non-zero bit positions are used for comparison while zero bit positions are ignored.
- tos
Negate String - Enable negated TOS match. Valid values:
enable
,disable
. - traffic
Shaper String - Traffic shaper to apply to traffic forwarded by the firewall policy.
- traffic
Shaper StringReverse - Traffic shaper to apply to response traffic received by the firewall policy.
- traffic
Type String - Traffic type. Valid values:
forwarding
,local-in
,local-out
. - url
Categories List<Property Map> - IDs of one or more FortiGuard Web Filtering categories that this shaper applies traffic shaping to. The structure of
url_category
block is documented below. - users List<Property Map>
- Apply this traffic shaping policy to individual users that have authenticated with the FortiGate. The structure of
users
block is documented below. - uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- 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
ShapingpolicyAppCategory, ShapingpolicyAppCategoryArgs
- Id int
- Category IDs.
- Id int
- Category IDs.
- id Integer
- Category IDs.
- id number
- Category IDs.
- id int
- Category IDs.
- id Number
- Category IDs.
ShapingpolicyAppGroup, ShapingpolicyAppGroupArgs
- Name string
- Application group name.
- Name string
- Application group name.
- name String
- Application group name.
- name string
- Application group name.
- name str
- Application group name.
- name String
- Application group name.
ShapingpolicyApplication, ShapingpolicyApplicationArgs
- Id int
- Application IDs.
- Id int
- Application IDs.
- id Integer
- Application IDs.
- id number
- Application IDs.
- id int
- Application IDs.
- id Number
- Application IDs.
ShapingpolicyDstaddr, ShapingpolicyDstaddrArgs
- Name string
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
ShapingpolicyDstaddr6, ShapingpolicyDstaddr6Args
- Name string
- Shaping policy name.
- Name string
- Shaping policy name.
- name String
- Shaping policy name.
- name string
- Shaping policy name.
- name str
- Shaping policy name.
- name String
- Shaping policy name.
ShapingpolicyDstintf, ShapingpolicyDstintfArgs
- Name string
- Interface name.
- Name string
- Interface name.
- name String
- Interface name.
- name string
- Interface name.
- name str
- Interface name.
- name String
- Interface name.
ShapingpolicyGroup, ShapingpolicyGroupArgs
- Name string
- Group name.
- Name string
- Group name.
- name String
- Group name.
- name string
- Group name.
- name str
- Group name.
- name String
- Group name.
ShapingpolicyInternetServiceCustom, ShapingpolicyInternetServiceCustomArgs
- Name string
- Custom Internet Service name.
- Name string
- Custom Internet Service name.
- name String
- Custom Internet Service name.
- name string
- Custom Internet Service name.
- name str
- Custom Internet Service name.
- name String
- Custom Internet Service name.
ShapingpolicyInternetServiceCustomGroup, ShapingpolicyInternetServiceCustomGroupArgs
- Name string
- Custom Internet Service group name.
- Name string
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
- name string
- Custom Internet Service group name.
- name str
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
ShapingpolicyInternetServiceGroup, ShapingpolicyInternetServiceGroupArgs
- Name string
- Internet Service group name.
- Name string
- Internet Service group name.
- name String
- Internet Service group name.
- name string
- Internet Service group name.
- name str
- Internet Service group name.
- name String
- Internet Service group name.
ShapingpolicyInternetServiceId, ShapingpolicyInternetServiceIdArgs
- Id int
- Internet Service ID.
- Id int
- Internet Service ID.
- id Integer
- Internet Service ID.
- id number
- Internet Service ID.
- id int
- Internet Service ID.
- id Number
- Internet Service ID.
ShapingpolicyInternetServiceName, ShapingpolicyInternetServiceNameArgs
- Name string
- Internet Service name.
- Name string
- Internet Service name.
- name String
- Internet Service name.
- name string
- Internet Service name.
- name str
- Internet Service name.
- name String
- Internet Service name.
ShapingpolicyInternetServiceSrcCustom, ShapingpolicyInternetServiceSrcCustomArgs
- Name string
- Custom Internet Service name.
- Name string
- Custom Internet Service name.
- name String
- Custom Internet Service name.
- name string
- Custom Internet Service name.
- name str
- Custom Internet Service name.
- name String
- Custom Internet Service name.
ShapingpolicyInternetServiceSrcCustomGroup, ShapingpolicyInternetServiceSrcCustomGroupArgs
- Name string
- Custom Internet Service group name.
- Name string
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
- name string
- Custom Internet Service group name.
- name str
- Custom Internet Service group name.
- name String
- Custom Internet Service group name.
ShapingpolicyInternetServiceSrcGroup, ShapingpolicyInternetServiceSrcGroupArgs
- Name string
- Internet Service group name.
- Name string
- Internet Service group name.
- name String
- Internet Service group name.
- name string
- Internet Service group name.
- name str
- Internet Service group name.
- name String
- Internet Service group name.
ShapingpolicyInternetServiceSrcId, ShapingpolicyInternetServiceSrcIdArgs
- Id int
- Internet Service ID.
- Id int
- Internet Service ID.
- id Integer
- Internet Service ID.
- id number
- Internet Service ID.
- id int
- Internet Service ID.
- id Number
- Internet Service ID.
ShapingpolicyInternetServiceSrcName, ShapingpolicyInternetServiceSrcNameArgs
- Name string
- Internet Service name.
- Name string
- Internet Service name.
- name String
- Internet Service name.
- name string
- Internet Service name.
- name str
- Internet Service name.
- name String
- Internet Service name.
ShapingpolicyService, ShapingpolicyServiceArgs
- Name string
- Service name.
- Name string
- Service name.
- name String
- Service name.
- name string
- Service name.
- name str
- Service name.
- name String
- Service name.
ShapingpolicySrcaddr, ShapingpolicySrcaddrArgs
- Name string
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
ShapingpolicySrcaddr6, ShapingpolicySrcaddr6Args
- Name string
- Shaping policy name.
- Name string
- Shaping policy name.
- name String
- Shaping policy name.
- name string
- Shaping policy name.
- name str
- Shaping policy name.
- name String
- Shaping policy name.
ShapingpolicySrcintf, ShapingpolicySrcintfArgs
- Name string
- Interface name.
- Name string
- Interface name.
- name String
- Interface name.
- name string
- Interface name.
- name str
- Interface name.
- name String
- Interface name.
ShapingpolicyUrlCategory, ShapingpolicyUrlCategoryArgs
- Id int
- URL category ID.
- Id int
- URL category ID.
- id Integer
- URL category ID.
- id number
- URL category ID.
- id int
- URL category ID.
- id Number
- URL category ID.
ShapingpolicyUser, ShapingpolicyUserArgs
- Name string
- User name.
- Name string
- User name.
- name String
- User name.
- name string
- User name.
- name str
- User name.
- name String
- User name.
Import
Firewall ShapingPolicy can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/shapingpolicy:Shapingpolicy labelname {{fosid}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/shapingpolicy:Shapingpolicy labelname {{fosid}}
$ 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.