Skip to main content

Query Network Policy Set (v2.0)

POST 

/v2.0/api/tenants/:tenant_id/networkpolicysets/query

Query all the network policy sets.

Request

Path Parameters

    tenant_id stringrequired

    The tenant ID.

Body

Query details for Network Policy Set

    clone_from string

    The existing policy from Network Policies for cloning the policy set.

    defaultrule_policyset boolean

    The default rule for the policy set.

    description

    The description of the network policy set. Max size = 256.

    id string

    The network policy set ID.

    name stringrequired

    The name of the network policy set.

    tags string[]

    A information field that can be added to identify the network policy set. Maximum 10 unique tags of length 1024 each are allowed.

Responses

Successful Operation

Schema
    count int32

    The actual count.

    deleted_count int64

    The deleted number.

    deleted_ids string[]

    The deleted IDs.

    description

    Description of the query. Max size = 256.

    id string

    The ID.

    next_query object

    Details of the next query.

    tenant_id string

    The tenant ID.

    total_count int64

    Total number.

    items NetworkPolicySetQueryFilter[]
  • Array [
  • clone_from string

    The existing policy from Network Policies for cloning the policy set.

    defaultrule_policyset boolean

    The default rule for the policy set.

    description

    The description of the network policy set. Max size = 256.

    id string

    The network policy set ID.

    name stringrequired

    The name of the network policy set.

    tags string[]

    A information field that can be added to identify the network policy set. Maximum 10 unique tags of length 1024 each are allowed.

  • ]
Loading...