Network policy applied to container.


Required Property Name Type Description
optional _last_sync_time integer

Timestamp of last modification

optional _links array of ResourceLink

The server will populate this field when returing the resource. Ignored on PUT and POST.

optional _schema string

Schema for this resource

optional _self SelfResourceLink

Link to this resource

optional container_cluster_id string

Identifier of the container cluster this network policy belongs to.

optional container_project_id string

Identifier of the project which this network policy belongs to.

optional description string

Description of this resource

optional display_name string

Defaults to ID if not set

optional external_id string

Identifier of the container network policy.

optional origin_properties array of KeyValuePair

Array of additional specific properties of container network policy in key-value format.

optional policy_type string

Type e.g. Network Policy, ASG.

optional resource_type string

The type of this resource.

optional spec string

Container network policy specification.

optional tags array of Tag

Opaque identifiers meaningful to the API user

JSON Example

    "_last_sync_time": 0,
    "_links": [
            "action": "string",
            "href": "string",
            "rel": "string"
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    "container_cluster_id": "string",
    "container_project_id": "string",
    "description": "string",
    "display_name": "string",
    "external_id": "string",
    "origin_properties": [
            "key": "string",
            "value": "string"
    "policy_type": "string",
    "resource_type": "string",
    "spec": "string",
    "tags": [
            "scope": "string",
            "tag": "string"

Was this page helpful?