Scaleway · Schema

scaleway.instance.v1.PlacementGroup

AICloud ComputingContainersDatabaseEuropean CloudInfrastructureKubernetesServerlessStorage

Properties

Name Type Description
id string Placement group unique ID.
name string Placement group name.
organization string Placement group Organization ID.
project string Placement group Project ID.
tags array Placement group tags.
policy_mode string Select the failure mode when the placement cannot be respected, either optional or enforced.
policy_type string Select the behavior of the placement group, either low_latency (group) or max_availability (spread).
policy_respected boolean True if the policy is respected, false otherwise. In the server endpoints the value is always false as it is deprecated. In the placement group endpoints the value is correct.
zone string Zone in which the placement group is located.
View JSON Schema on GitHub

JSON Schema

scaleway-scalewayinstancev1placementgroup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/scaleway.instance.v1.PlacementGroup",
  "title": "scaleway.instance.v1.PlacementGroup",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Placement group unique ID."
    },
    "name": {
      "type": "string",
      "description": "Placement group name."
    },
    "organization": {
      "type": "string",
      "description": "Placement group Organization ID."
    },
    "project": {
      "type": "string",
      "description": "Placement group Project ID."
    },
    "tags": {
      "type": "array",
      "description": "Placement group tags.",
      "items": {
        "type": "string"
      }
    },
    "policy_mode": {
      "type": "string",
      "description": "Select the failure mode when the placement cannot be respected, either optional or enforced.",
      "enum": [
        "optional",
        "enforced"
      ],
      "default": "optional"
    },
    "policy_type": {
      "type": "string",
      "description": "Select the behavior of the placement group, either low_latency (group) or max_availability (spread).",
      "enum": [
        "max_availability",
        "low_latency"
      ],
      "default": "max_availability"
    },
    "policy_respected": {
      "type": "boolean",
      "description": "True if the policy is respected, false otherwise.\nIn the server endpoints the value is always false as it is deprecated.\nIn the placement group endpoints the value is correct."
    },
    "zone": {
      "type": "string",
      "description": "Zone in which the placement group is located."
    }
  },
  "x-properties-order": [
    "id",
    "name",
    "organization",
    "project",
    "tags",
    "policy_mode",
    "policy_type",
    "policy_respected",
    "zone"
  ]
}