changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "MachinePoolID": {
+ "description": "Machine pool ID (mpo_...).",
+ "pattern": "^mpo_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "MachinePoolSummary": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "description": {
+ "type": "string"
+ },
+ "id": {
+ "$ref": "#/$defs/MachinePoolID"
+ },
+ "management_kind": {
+ "$ref": "#/$defs/ManagementKind"
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "name",
+ "management_kind",
+ "description",
+ "provider",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "ManagementKind": {
+ "description": "Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.",
+ "enum": [
+ "tenant",
+ "cluster"
+ ],
+ "type": "string"
+ },
+ "Metadata": {
+ "additionalProperties": {
+ "maxLength": 512,
+ "type": "string"
+ },
+ "description": "Arbitrary key-value labels stored with the resource.",
+ "maxProperties": 16,
+ "propertyNames": {
+ "maxLength": 64,
+ "minLength": 1
+ },
+ "type": "object"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectMachinePoolGrant": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the grant was created."
+ },
+ "default_cwd": {
+ "description": "Working directory for this project's machines from the pool; empty uses the pool default.",
+ "type": "string"
+ },
+ "default_machine_cpu": {
+ "description": "Default vCPUs for this project's machines from the pool; null uses the pool default.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "default_machine_env_overlay": {
+ "additionalProperties": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": "Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key.",
+ "type": "object"
+ },
+ "default_machine_memory_mb": {
+ "description": "Default memory in MB for this project's machines from the pool; null uses the pool default.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "default_machine_provider_options_overlay": {
+ "additionalProperties": true,
+ "description": "Provider options layered over the pool's for this project's machines.",
+ "type": "object"
+ },
+ "default_machine_secret_env_overlay": {
+ "additionalProperties": {
+ "pattern": "^sec_[a-z2-7]{26}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": "Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key.",
+ "type": "object"
+ },
+ "delete_after_idle_minutes": {
+ "description": "Idle minutes before deleting a machine created through this grant. Zero disables deletion for this grant; null inherits the pool default.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "oneOf": [
+ {
+ "const": 0
+ },
+ {
+ "maximum": 2147483647,
+ "minimum": 5,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "description": {
+ "description": "Free-form note about the grant; empty if none was set.",
+ "type": "string"
+ },
+ "id": {
+ "$ref": "#/$defs/ProjectMachinePoolGrantID",
+ "description": "Identifies the pool grant."
+ },
+ "machine_pool_id": {
+ "$ref": "#/$defs/MachinePoolID",
+ "description": "Pool the project may create machines from."
+ },
+ "max_machine_cpu": {
+ "description": "Most vCPUs one of this project's machines can request; null uses the pool maximum.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_machine_memory_mb": {
+ "description": "Most memory in MB one of this project's machines can request; null uses the pool maximum.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_total_cpu": {
+ "description": "Most vCPUs across this project's live pool machines; null means only the pool limit applies.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_total_machines": {
+ "description": "Most live machines this project can have from the pool; null means only the pool limit applies.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "max_total_memory_mb": {
+ "description": "Most memory in MB across this project's live pool machines; null means only the pool limit applies.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "metadata": {
+ "$ref": "#/$defs/Metadata",
+ "description": "Key-value metadata attached to the grant."
+ },
+ "min_machine_cpu": {
+ "description": "Fewest vCPUs one of this project's machines can request; null uses the pool minimum.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "min_machine_memory_mb": {
+ "description": "Least memory in MB one of this project's machines can request; null uses the pool minimum.",
+ "format": "int32",
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID",
+ "description": "Organization that owns the grant."
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID",
+ "description": "Project the grant lets create machines from the pool."
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp",
+ "description": "When the grant last changed."
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "machine_pool_id",
+ "description",
+ "default_machine_cpu",
+ "default_machine_memory_mb",
+ "default_machine_env_overlay",
+ "default_machine_secret_env_overlay",
+ "default_machine_provider_options_overlay",
+ "default_cwd",
+ "max_total_machines",
+ "max_total_cpu",
+ "max_total_memory_mb",
+ "min_machine_cpu",
+ "min_machine_memory_mb",
+ "max_machine_cpu",
+ "max_machine_memory_mb",
+ "delete_after_idle_minutes",
+ "metadata",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "ProjectMachinePoolGrantID": {
+ "pattern": "^pmpg_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectMachinePoolGrantListItem": {
+ "properties": {
+ "grant": {
+ "$ref": "#/$defs/ProjectMachinePoolGrant"
+ },
+ "machine_pool": {
+ "$ref": "#/$defs/MachinePoolSummary"
+ }
+ },
+ "required": [
+ "grant",
+ "machine_pool"
+ ],
+ "type": "object"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "properties": {
+ "data": {
+ "items": {
+ "$ref": "#/$defs/ProjectMachinePoolGrantListItem"
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "data",
+ "next_cursor"
+ ],
+ "type": "object"
+}