NSX-T Data Center REST API
ContainerNetworkPolicy (schema)
Container Network Policy
Network policy applied to container.
Name | Description | Type | Notes |
---|---|---|---|
_last_sync_time | Timestamp of last modification | EpochMsTimestamp | Readonly Sortable |
_links | References related to this resource The server will populate this field when returing the resource. Ignored on PUT and POST. |
array of ResourceLink | Readonly |
_schema | Schema for this resource | string | Readonly |
_self | Link to this resource | SelfResourceLink | Readonly |
container_cluster_id | Identifier of the container cluster Identifier of the container cluster this network policy belongs to. |
string | |
container_project_id | Identifier of the project Identifier of the project which this network policy belongs to. |
string | |
description | Description of this resource | string | Maximum length: 1024 Sortable |
display_name | Identifier to use when displaying entity in logs or GUI Defaults to ID if not set |
string | Maximum length: 255 Sortable |
external_id | External identifier of the container network policy Identifier of the container network policy. |
string | Required |
network_errors | Network errors List of network errors related to container network policy. |
array of NetworkError | |
network_status | Network status of container network policy Network status of container network policy. |
string | Enum: HEALTHY, UNHEALTHY |
origin_properties | Origin properties Array of additional specific properties of container network policy in key-value format. |
array of KeyValuePair | |
policy_type | Type Type e.g. Network Policy, ASG. |
string | Enum: NETWORK_POLICY, ASG, ACNP, ANP |
resource_type | Must be set to the value ContainerNetworkPolicy | string | Required |
scope | List of scopes for discovered resource Specifies list of scope of discovered resource. e.g. if VHC path is associated with principal identity, who owns the discovered resource, then scope id will be VHC path and scope type will be VHC. |
array of DiscoveredResourceScope | |
spec | Container network policy specification Container network policy specification. |
string | |
tags | Opaque identifiers meaningful to the API user | array of Tag | Maximum items: 30 |