Network zones API - GET all network zones

Lists all existing network zones.

The request produces an application/json payload.

GET

  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/networkZones

Authentication

To execute this request, you need the Read network zones (networkZones.read) permission assigned to your API token. To learn how to obtain and use it, see Authentication.

Parameters

The request doesn't provide any configurable parameters.

Response

Response codes

CodeTypeDescription
200NetworkZoneList

Success

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The NetworkZoneList object

A list of network zones.

ElementTypeDescription
networkZonesNetworkZone[]

A list of network zones.

The NetworkZone object

Configuration of a network zone.

ElementTypeDescription
alternativeZonesstring[]

A list of alternative network zones.

descriptionstring

A short description of the network zone.

fallbackModestring

The fallback mode of the network zone.

  • ANY_ACTIVE_GATE
  • NONE
  • ONLY_DEFAULT_ZONE
idstring

The ID of the network zone.

numOfConfiguredActiveGatesinteger

The number of ActiveGates in the network zone.

numOfConfiguredOneAgentsinteger

The number of OneAgents that are configured to use the network zone as primary.

numOfOneAgentsFromOtherZonesinteger

The number of OneAgents from other network zones that are using ActiveGates in the network zone.

This is a fraction of numOfOneAgentsUsing.

One possible reason for switching to another zone is that a firewall is preventing a OneAgent from connecting to any ActiveGate in the preferred network zone.

numOfOneAgentsUsinginteger

The number of OneAgents that are using ActiveGates in the network zone.

overridesGlobalboolean

Indicates if a global network zone is overridden (managed only).

scopestring

Specifies the scope of the network zone (managed only).

Response body JSON model

{
"networkZones": [
{
"alternativeZones": [
"string"
],
"description": "string",
"fallbackMode": "ANY_ACTIVE_GATE",
"id": "string",
"numOfConfiguredActiveGates": 1,
"numOfConfiguredOneAgents": 1,
"numOfOneAgentsFromOtherZones": 1,
"numOfOneAgentsUsing": 1,
"overridesGlobal": true,
"scope": "string"
}
]
}