v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Network Policy

Create network policy

Create a new network policy.

post/network-policies

Request body

namestring required

The network policy name

descriptionstring

The network policy description

type'NETWORK_ACCESS_AND_SWITCHING' | 'BRANCH_ROUTING' | 'WIRELESS_ACCESS' | 'SWITCHING' | 'NETWORK_ACCESS_AND_SWITCHING_AND_BR' | 'NETWORK_ACCESS_AND_BRANCH_ROUTING' | 'SWITCHING_AND_BRANCH_ROUTING' required

The network policy type

Response

Created

idinteger required

The unique identifier

create_timestring date-time required

The create time in UTC (ISO 8601 format)

update_timestring date-time required

The last update time in UTC (ISO 8601 format)

org_idinteger

The organization identifier, valid when enabling HIQ feature

namestring required

The network policy name

descriptionstring

The network policy description

predefinedboolean required

Whether it is a predefined network policy

type'NetworkAccessAndSwitching' | 'BranchRouting' | 'WirelessAccess' | 'Switching' | 'NetworkAccessAndSwitchingAndBR' | 'NetworkAccessAndBranchRouting' | 'SwitchingAndBranchRouting' required

The network policy type.