SecurityGroup

SecurityGroup
SecurityGroup
AllOf
This class requires all of the following:
JSON Example
{
    "guid": "string",
    "created_at": "string",
    "updated_at": "string",
    "name": "string",
    "globally_enabled": {
        "running": false,
        "staging": false
    },
    "rules": [
        {
            "protocol": "string",
            "destination": "string",
            "ports": "string",
            "type": 0,
            "code": 0,
            "description": "string"
        }
    ],
    "running_spaces": {
        "data": [
            {
                "guid": "string"
            }
        ]
    },
    "staging_spaces": {
        "data": [
            {
                "guid": "string"
            }
        ]
    },
    "links": {
        "self": {
            "href": "string",
            "method": "string"
        },
        "running_spaces": {
            "href": "string",
            "method": "string"
        },
        "staging_spaces": {
            "href": "string",
            "method": "string"
        }
    },
    "metadata": {
        "labels": {
            "labels": "string"
        },
        "annotations": {
            "annotations": "string"
        }
    }
}