EnvironmentSegmentationObject

EnvironmentSegmentationObject
Environment Segmentation Object

Extends SegmentationObject to represent an environment object.

Notes:

  • num_applications reflects the count of child application objects under this environment.
  • environment_alerts (read-only) lists active alerts for this environment.
AllOf
This class requires all of the following:
JSON Example
{
    "_create_user": "string",
    "_create_time": 0,
    "_last_modified_user": "string",
    "_last_modified_time": 0,
    "_revision": 0,
    "_resource_type": "string",
    "_system_owned": false,
    "id": "env-001",
    "display_name": "US_NewYork_Production",
    "description": "string",
    "site_ids": [
        "string"
    ],
    "segmentation_type": "ENVIRONMENT",
    "hierarchy": [
        {
            "scope": "Region",
            "value": "US",
            "level": 0
        },
        {
            "scope": "Zone",
            "value": "NewYork",
            "level": 1
        },
        {
            "scope": "Environment",
            "value": "Production",
            "level": 2
        }
    ],
    "realization_groups": [
        {
            "display_name": "US_NewYork_Production",
            "site_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
            "realization_id": "d5e6f7a8-b9c0-1234-5678-901234defabc",
            "status": "SUCCESS",
            "policy_path": "/infra/domains/default/groups/env-001",
            "tags": [
                {
                    "scope": "Region",
                    "tag": "US"
                },
                {
                    "scope": "Zone",
                    "tag": "NewYork"
                },
                {
                    "scope": "Environment",
                    "tag": "Production"
                }
            ]
        }
    ],
    "status": "SUCCESS",
    "num_applications": 5,
    "environment_alerts": []
}