Get Policy Rules (v3.1)
GET/sdwan/v3.1/api/policysets/:policy_set_id/policyrules
List all the policy rules of a tenant.
Request
Path Parameters
The policy set ID.
Responses
- 200
Successful Operation
- application/json
- Schema
Schema
- MOD1
- MOD2
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
Total number.
items PolicyRuleQueryFilter[]
The app definition IDs that have applied policy rules. The number of applications for a policy rule is limited to 256.
The description of the policy rule. Max size = 256.
The policy rule ID.
The name of the policy rule. Max size = 128.
The network context applied to the policy rule. Network context segments network traffic for the purpose of applying different policy rules for the same application.
paths_allowed PathsAllowedrequired
The paths allowed for the application.
active_paths WANPath[]required
The configured active path for the rule.
The label to identify the path.
Possible values: [vpn
, direct
, servicelink
]
The path type.
backup_paths WANPath[]
The configured backup path for the rule.
The label to identify the path.
Possible values: [vpn
, direct
, servicelink
]
The path type.
l3_failure_paths WANPath[]
The configured l3 failure path for the rule.
The label to identify the path.
Possible values: [vpn
, direct
, servicelink
]
The path type.
Policy Set Id
The priority number.
service_context ServiceContext[]
Information on the service context.
The configured active service label ID.
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The configured active service label type.
The configured backup service label ID.
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The configured backup service label type.
Possible values: [ALLOWED_TRANSIT
, REQUIRED_TRANSIT
]
The type of service context.
The actual count.
The ID.
items PolicyRule[]
The app definition ID that have applied policy rules. The number of applications for a policy rule is limited to 256.
The app definition name.
The default policy rule.
The policy rule description. Max size = 256.
Lists if the policy rule is disabled.
Reason the policy rule is disabled.
The policy rule ID.
Lists if the policy rule is inactive.
Reason the policy rule is inactive.
The LAN network IDs.
The name of the policy rule. Max size = 128.
The network context applied to the policy rule. Network context segments network traffic for the purpose of applying different policy rules for the same application.
paths_allowed PathsAllowedrequired
The paths allowed for the application.
active_paths WANPath[]required
The configured active path for the rule.
The label to identify the path.
Possible values: [vpn
, direct
, servicelink
]
The path type.
backup_paths WANPath[]
The configured backup path for the rule.
The label to identify the path.
Possible values: [vpn
, direct
, servicelink
]
The path type.
l3_failure_paths WANPath[]
The configured l3 failure path for the rule.
The label to identify the path.
Possible values: [vpn
, direct
, servicelink
]
The path type.
Policy Set Id
The priority number.
The region of the site.
service_context ServiceContext[]
Information on the service context.
The configured active service label ID.
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The configured active service label type.
The configured backup service label ID.
Possible values: [CG_TRANSIT
, NON_CG_TRANSIT
, SASE
]
The configured backup service label type.
Possible values: [ALLOWED_TRANSIT
, REQUIRED_TRANSIT
]
The type of service context.
site_paths_allowed SiteWanPath[]
The paths allowed for a site.
Wn Name
Possible values: [DIRECT_PUBLIC_WAN
, DIRECT_PRIVATE_WAN
, VPN_ON_PUBLIC_WAN
, VPN_ON_PRIVATE_WAN
]
Wp Type