linode · Schema

PlacementGroupRequest

Properties

Name Type Description
label string The label for the placement group.
region string The region for the placement group.
placement_group_type string The placement group type.
placement_group_policy string The enforcement policy.
View JSON Schema on GitHub

JSON Schema

linode-placementgrouprequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PlacementGroupRequest",
  "title": "PlacementGroupRequest",
  "type": "object",
  "required": [
    "label",
    "region",
    "placement_group_type",
    "placement_group_policy"
  ],
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "The label for the placement group."
    },
    "region": {
      "type": "string",
      "description": "The region for the 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 enforcement policy."
    }
  }
}