GET

承認

x-api-key
string
header
必須

パスパラメータ

pool_id
string
必須

レスポンス

Success.

type
string
必須

Always machine_pool.

Allowed value: "machine_pool"
id
string
必須

Machine pool ID (mpo_...), or env_... for a cloud environment's own pool, which shares the environment's ID.

Pattern: ^(mpo|env)_[a-z2-7]{26}$
org_id
string
必須
Pattern: ^org_[a-z2-7]{26}$
name
string
必須

Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.

Required string length: 1 - 64
management_kind
enum<string>
必須

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.

利用可能なオプション:
tenant,
cluster
description
string
必須
provider
string
必須
default_machine_cpu
integer<int32> | null
必須
必須範囲: 1 <= x <= 2147483647
default_machine_memory_mb
integer<int32> | null
必須
必須範囲: 1 <= x <= 2147483647
default_machine_env
object
必須

Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.

default_machine_secret_env
object
必須

Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.

default_machine_provider_options
object
必須
default_cwd
string
必須
provider_config
object
必須
runtime_protection_enabled
boolean
必須

When true, BMA removes a machine of this pool whose provider instance is still up once its daemon has gone inactive.

max_total_machines
integer<int32>
必須

Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.

必須範囲: 0 <= x <= 2147483647
max_total_cpu
integer<int32> | null
必須

Deprecated, not enforced: organization and project in-use machine CPU quotas govern capacity.

必須範囲: 0 <= x <= 2147483647
max_total_memory_mb
integer<int32> | null
必須

Deprecated, not enforced: organization and project in-use machine memory quotas govern capacity.

必須範囲: 0 <= x <= 2147483647
min_machine_cpu
integer<int32> | null
必須
必須範囲: 0 <= x <= 2147483647
min_machine_memory_mb
integer<int32> | null
必須
必須範囲: 0 <= x <= 2147483647
max_machine_cpu
integer<int32> | null
必須
必須範囲: 1 <= x <= 2147483647
max_machine_memory_mb
integer<int32> | null
必須
必須範囲: 1 <= x <= 2147483647
delete_after_idle_minutes
integer<int32> | null
必須

Minutes a machine of this pool may sit idle before it is deleted; null when the pool sets no default.

必須範囲: 5 <= x <= 2147483647
pause_after_idle_minutes
integer<int32> | null
必須

Idle minutes before pausing a machine from this pool, or null when the pool does not pause idle machines.

必須範囲: 5 <= x <= 2147483647
archive_after_paused_days
integer<int32> | null
必須

Days a machine stays paused before it is archived, or null when the pool does not archive.

必須範囲: 1 <= x <= 3650
delete_after_paused_days
integer<int32> | null
必須

Days a machine stays paused before it is deleted, counted from when it paused, or null when the pool keeps paused machines.

必須範囲: 1 <= x <= 3650
metadata
object
必須

Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters.

created_at
string<date-time>
必須
updated_at
string<date-time>
必須
provider_auth_secret_id
string

The organization's vault credential the pool's provider authenticates with, an opaque ID (a migrated one keeps its legacy sec_ ID); absent when the pool uses the platform's credential of its provider tier.

Pattern: ^[A-Za-z0-9_-]{1,128}$
usage
object

Quota currently consumed by the pool's machines. Present only on responses of the list and get operations.