linode · Schema

PlacementGroup

Properties

Name Type Description
id integer The unique ID of this placement group.
label string The label for this placement group.
region string The region for this placement group.
placement_group_type string The placement group type.
placement_group_policy string The placement group enforcement policy.
is_compliant boolean Whether all members satisfy the placement policy.
members array The members of this placement group.
View JSON Schema on GitHub

JSON Schema

linode-placementgroup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PlacementGroup",
  "title": "PlacementGroup",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique ID of this placement group."
    },
    "label": {
      "type": "string",
      "description": "The label for this placement group."
    },
    "region": {
      "type": "string",
      "description": "The region for this placement group."
    },
    "placement_group_type": {
      "type": "string",
      "enum": [
        "anti_affinity:local"
      ],
      "description": "The placement group type."
    },
    "placement_group_policy": {
      "type": "string",
      "enum": [
        "strict",
        "flexible"
      ],
      "description": "The placement group enforcement policy."
    },
    "is_compliant": {
      "type": "boolean",
      "description": "Whether all members satisfy the placement policy."
    },
    "members": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "linode_id": {
            "type": "integer",
            "description": "The Linode ID."
          },
          "is_compliant": {
            "type": "boolean",
            "description": "Whether this member satisfies the policy."
          }
        }
      },
      "description": "The members of this placement group."
    }
  }
}