Nanocl Daemon (v0.18.1)
Nanocl Daemon は HTTP REST API です。
API は Nanocl Client が使うものであり、Nanocl Client でできることはすべて API で実行できます。
多くのコマンドは API エンドポイントに直接対応します。たとえば nanocl ps は GET /processes です。
主な例外は Cargo の実行で、複数の API 呼び出しで構成します。
W3C 仕様に準拠する CORS を実装しています。
ブラウザーからのドメイン間通信を許可します。
すべてのレスポンスでオリジンをワイルドカードにしているため、完全に公開され、任意のサイトのコードを含め、誰でもアクセスできます。
任意のフィルターを使って Cargo を一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "name": { "eq": "test" } } } } 汎用フィルター。 |
| namespace | string 任意の名前空間フィルター。省略または空の場合、すべての名前空間を返します。 |
レスポンス
レスポンスの例
- 200
[- {
- "NamespaceName": "string",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}
]仕様を使って新しい Cargo を作成する。
query Parameters
| namespace | string Cargo を作成する名前空間。デフォルトは 'global'。 |
Request Body schema: application/jsonrequired
required | 配列の要素型 objects (ContainerSpec) Cargo の各レプリカに含まれるアプリケーションコンテナ。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dns | 配列の要素型 strings or null Cargo のネットワーク所有者に割り当てる DNS サーバー。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hostname | string or null Cargo のネットワーク所有者に割り当てる Docker ホスト名。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
配列の要素型 objects (ContainerSpec) アプリケーションコンテナより前に、宣言順で実行する初期化コンテナ。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Cargo のメタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string Cargo の名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoNetworkMode (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoPlacementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or HashMap (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replicas | integer >= 1 既定値: 1 永続的な Cargo レプリカの数。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoResourceRequirementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings すべての通常コンテナと初期化コンテナが継承するシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}レスポンスの例
- 201
- 409
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}Cargo を指定した履歴の記録に戻す。
path Parameters
| cargo_key required | string
|
| history_key required | string Cargo の履歴のキー。 |
レスポンス
レスポンスの例
- 200
- 404
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}新しい仕様で Cargo を更新し、履歴を記録する。
path Parameters
| key required | string
|
Request Body schema: application/jsonrequired
required | 配列の要素型 objects (ContainerSpec) Cargo の各レプリカに含まれるアプリケーションコンテナ。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dns | 配列の要素型 strings or null Cargo のネットワーク所有者に割り当てる DNS サーバー。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hostname | string or null Cargo のネットワーク所有者に割り当てる Docker ホスト名。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
配列の要素型 objects (ContainerSpec) アプリケーションコンテナより前に、宣言順で実行する初期化コンテナ。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Cargo のメタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string Cargo の名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoNetworkMode (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoPlacementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or HashMap (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replicas | integer >= 1 既定値: 1 永続的な Cargo レプリカの数。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoResourceRequirementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings すべての通常コンテナと初期化コンテナが継承するシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}レスポンスの例
- 200
- 404
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}正規キーで Cargo を更新し、履歴を記録する。
path Parameters
| key required | string
|
Request Body schema: application/jsonrequired
配列の要素型 objects or null (ContainerSpec) アプリケーションコンテナ宣言の置き換え。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dns | 配列の要素型 strings or null Cargo のネットワーク所有者の DNS サーバーの置き換え。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hostname | string or null Cargo のネットワーク所有者の新しい Docker ホスト名。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
配列の要素型 objects or null (ContainerSpec) 順序付きの初期化コンテナ宣言の置き換え。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Cargo の新しいメタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | string or null Cargo の新しい名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoNetworkMode (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoPlacementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or HashMap (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replicas | integer or null >= 1 新しいレプリカ数。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoResourceRequirementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings or null Cargo レベルで共有するシークレットの置き換え。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}レスポンスの例
- 200
- 404
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}レスポンスの例
- 200
- 404
[- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
]レスポンスの例
- 200
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}任意のフィルターを使ってイベントを一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "kind": { "eq": "normal" } } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ExpiresAt": "2019-08-24T14:15:22Z",
- "ReportingNode": "string",
- "ReportingController": "string",
- "Kind": "error",
- "Action": "string",
- "Reason": "string",
- "Note": "string",
- "Actor": { },
- "Related": { },
- "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
]すべてのピアノードの新しいイベントを監視する。ストリームを停止する任意の条件を指定できます。
Request Body schema: application/json
required | 配列の要素型 strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or objects (NativeEventAction) |
| ActorKey | string or null |
null or EventActorKind (string) | |
| Kind required | 配列の要素型 strings (EventKind) 許可される要素 列挙値: "error" "normal" "warning" |
| RelatedKey | string or null |
null or EventActorKind (string) |
レスポンス
リクエストの例
- Payload
[- {
- "ActorKey": "string",
- "ActorKind": { },
- "RelatedKey": "string",
- "RelatedKind": { },
- "Kind": [
- "error"
], - "Action": [
- "create"
]
}
]レスポンスの例
- 200
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ExpiresAt": "2019-08-24T14:15:22Z",
- "ReportingNode": "string",
- "ReportingController": "string",
- "Kind": "error",
- "Action": "string",
- "Reason": "string",
- "Note": "string",
- "Actor": { },
- "Related": { },
- "Metadata": {
- "property1": "string",
- "property2": "string"
}
}任意のフィルターを使ってジョブを一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "name": { "eq": "job-example" } } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "InstanceTotal": 0,
- "InstanceSuccess": 0,
- "InstanceRunning": 0,
- "InstanceFailed": 0,
- "Spec": {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}
}
]新しいジョブを作成する。
Request Body schema: application/jsonrequired
required | 配列の要素型 objects (Config) 実行するコンテナの一覧。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or ImagePullPolicy (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ImagePullSecret | string or null イメージ取得時に使うシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
object メタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string ジョブの名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule | string or null 5 フィールドの cron 式、または対応する短縮形。[ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings or null 環境変数として読み込むシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ttl | integer or null >= 0 実行後 x 秒経過してからジョブを削除する。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}レスポンスの例
- 201
- 409
{- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}
}レスポンスの例
- 200
{- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "InstanceTotal": 0,
- "InstanceSuccess": 0,
- "InstanceRunning": 0,
- "InstanceFailed": 0,
- "Spec": {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}任意のフィルターを使ってメトリクスを一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "kind": { "eq": "CPU" } } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ExpiresAt": "2019-08-24T14:15:22Z",
- "NodeName": "string",
- "Kind": "string",
- "Data": null,
- "Note": "string"
}
]新しいメトリクスを作成する。
Request Body schema: application/jsonrequired
| Data required | any メトリクスのデータ。 |
| Kind required | string メトリクスの種類。 |
| Note | string or null メトリクスの任意の注記。 |
レスポンス
リクエストの例
- Payload
{- "Kind": "string",
- "Data": null,
- "Note": "string"
}レスポンスの例
- 201
- 409
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ExpiresAt": "2019-08-24T14:15:22Z",
- "NodeName": "string",
- "Kind": "string",
- "Data": null,
- "Note": "string"
}新しい名前空間を作成する。
Request Body schema: application/jsonrequired
| Metadata | any ユーザー定義のメタデータ。 |
| Name required | string 名前空間の名前。 |
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Metadata": null
}レスポンスの例
- 200
- 409
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Metadata": null
}レスポンスの例
- 200
- 404
[- {
- "Name": "string",
- "Cargoes": [
- {
- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}
]
}
]永続化した、ノード単位の Docker ネットワークスナップショットを一覧表示する。
query Parameters
| filter | string 例: filter={ "where": { "node_name": { "eq": "node-a" } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "NodeName": "string",
- "Data": {
- "Name": "string",
- "Id": "string",
- "Created": { },
- "Scope": "string",
- "Driver": "string",
- "EnableIPv6": true,
- "IPAM": { },
- "Internal": true,
- "Attachable": true,
- "Ingress": true,
- "Containers": {
- "property1": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}, - "property2": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}
}, - "Options": {
- "property1": "string",
- "property2": "string"
}, - "Labels": {
- "property1": "string",
- "property2": "string"
}
}, - "Metadata": null
}
]決定的なキーで、永続化した Docker ネットワークの詳細を取得する。
path Parameters
| key required | string node_name.network_name 形式のネットワークキー。 |
レスポンス
レスポンスの例
- 200
- 404
{- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "NodeName": "string",
- "Data": {
- "Name": "string",
- "Id": "string",
- "Created": { },
- "Scope": "string",
- "Driver": "string",
- "EnableIPv6": true,
- "IPAM": { },
- "Internal": true,
- "Attachable": true,
- "Ingress": true,
- "Containers": {
- "property1": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}, - "property2": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}
}, - "Options": {
- "property1": "string",
- "property2": "string"
}, - "Labels": {
- "property1": "string",
- "property2": "string"
}
}, - "Metadata": null
}ノード間通信に使うノードで Cargo インスタンスを起動する。
Request Body schema: application/jsonrequired
| CargoKey required | string
| ||||
required | 配列の要素型 objects (CargoReplicaTask) このノードに割り当てる正確な永続レプリカ。序数順に並びます。 | ||||
Array
| |||||
レスポンス
リクエストの例
- Payload
{- "CargoKey": "string",
- "Replicas": [
- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Ordinal": 0
}
]
}RFC6455 WebSocket 経由で Docker exec インスタンスを開始し、接続する。
クライアントのバイナリーフレームはそのままの stdin です。テキスト制御には stdin_eof、resize、detach があります。サーバーのバイナリーフレームは stdout の 0x01、stderr の 0x02、console の 0x03 で始まります。テキスト制御は exit、detached、error を報告します。
path Parameters
| id required | string Docker exec インスタンス ID。 |
レスポンス
レスポンスの例
- 404
{- "msg": "string"
}任意のフィルターを使ってプロセスを一覧表示する。
query Parameters
| filter | string 例: filter={ "where": { "name": { "eq": "test" } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]種類と正規リソースキーでプロセスのログを取得する。
path Parameters
| key required | string 例: global.deploy-example
|
| kind required | string 例: cargo プロセスの種類。 |
query Parameters
| follow | boolean ストリームを返すかを指定する真偽値。 |
| since | integer <int64> タイムスタンプ以降のログのみを返す。 |
| tail | string 最後の n 件(整数)またはすべて('all')のログのみを返す。 |
| timestamps | boolean 各ログ行にタイムスタンプを追加する。 |
| until | integer <int64> タイムスタンプまでのログのみを返す。 |
レスポンス
種類と正規リソースキーで、すべてのプロセスの統計情報を取得する。
path Parameters
| key required | string 例: global.deploy-example
|
| kind required | string 例: cargo プロセスの種類。 |
query Parameters
| one_shot | boolean 統計情報を 1 回だけ返す。 |
| stream | boolean 統計情報のストリームを返す。 |
レスポンス
レスポンスの例
- 404
{- "msg": "string"
}具体的なプロセス名または ID の exec インスタンスを作成する。
path Parameters
| name required | string コンテナの名前または ID。 |
Request Body schema: application/jsonrequired
| AttachStderr | boolean or null 標準エラーに接続する。 |
| AttachStdin | boolean or null 標準入力に接続する。 |
| AttachStdout | boolean or null 標準出力に接続する。 |
| Cmd | 配列の要素型 strings or null 実行するコマンドと引数。 |
| DetachKeys | string or null Docker 互換の切断キー操作。 |
| Env | 配列の要素型 strings or null
|
| Privileged | boolean or null 追加の権限でコマンドを実行する。 |
| Tty | boolean or null 疑似 TTY を割り当てる。 |
| User | string or null コマンドのユーザーと任意のグループ。 |
| WorkingDir | string or null プロセス内の作業ディレクトリ。 |
レスポンス
リクエストの例
- Payload
{- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "Tty": true,
- "DetachKeys": "string",
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Privileged": true,
- "User": "string",
- "WorkingDir": "string"
}レスポンスの例
- 201
- 404
{- "Id": "string"
}レスポンスの例
- 200
- 404
{- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}名前または ID で、単一のプロセスインスタンスのログを取得する。
path Parameters
| name required | string 例: deploy-example プロセスの名前。 |
query Parameters
| follow | boolean ストリームを返すかを指定する真偽値。 |
| since | integer <int64> タイムスタンプ以降のログのみを返す。 |
| tail | string 最後の n 件(整数)またはすべて('all')のログのみを返す。 |
| timestamps | boolean 各ログ行にタイムスタンプを追加する。 |
| until | integer <int64> タイムスタンプまでのログのみを返す。 |
レスポンス
リソースの種類を一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "name": { "eq": "test" } } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Name": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Metadata": null,
- "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}
]リソースの種類を作成する。
Request Body schema: application/jsonrequired
required | object (ResourceKindSpec) リソースの種類の仕様。 | ||||
| |||||
object リソースの種類のメタデータ(ユーザー定義)。 | |||||
| |||||
| Name required | string リソースの種類の名前。 | ||||
| Version required | string リソースの種類のバージョン。 | ||||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Version": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}レスポンスの例
- 201
- 409
{- "Name": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Metadata": null,
- "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}リソースの種類の詳細情報を取得する。
path Parameters
| domain required | string リソースの種類のドメイン。 |
| name required | string リソースの種類の名前。 |
レスポンス
レスポンスの例
- 200
- 404
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Versions": [
- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "KindKey": "string",
- "Version": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}
]
}リソースの種類のバージョンの詳細情報を取得する。
path Parameters
| domain required | string リソースの種類のドメイン。 |
| name required | string リソースの種類の名前。 |
| version required | string リソースの種類のバージョン。 |
レスポンス
レスポンスの例
- 200
- 404
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "KindKey": "string",
- "Version": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}任意のフィルターを使ってリソースを一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "kind": { "eq": "ncproxy.io/rule" } } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Kind": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
}
]新しいリソースを作成する。
Request Body schema: application/jsonrequired
required | object リソースのデータ(JSON オブジェクト)。 | ||
| |||
| Kind required | string リソースの種類。 | ||
object リソースのメタデータ(ユーザー定義)。 | |||
| |||
| Name required | string リソースの名前。 | ||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Kind": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}レスポンスの例
- 200
- 409
{- "Kind": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
}新しいリソース仕様を作成し、履歴に記録する。
path Parameters
| name required | string リソースの名前。 |
Request Body schema: application/jsonrequired
required | object JSON オブジェクト形式のリソースの仕様。 | ||
| |||
object JSON オブジェクト形式のリソースのメタデータ。 | |||
| |||
レスポンス
リクエストの例
- Payload
{- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}レスポンスの例
- 200
- 404
{- "Kind": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
}レスポンスの例
- 200
- 404
[- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
]レスポンスの例
- 200
- 404
{- "Kind": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
}レスポンスの例
- 200
- 404
{- "Kind": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
}任意のフィルターを使ってシークレットを一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "kind": { "eq": "Env" } } } } 汎用フィルター。 |
レスポンス
レスポンスの例
- 200
[- {
- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}
]新しいシークレットを作成する。
Request Body schema: application/jsonrequired
required | object シークレットのデータ。 | ||
| |||
| Immutable | boolean シークレットは更新できません。 | ||
| Kind required | string シークレットの種類。 | ||
object リソースのメタデータ(ユーザー定義)。 | |||
| |||
| Name required | string シークレットの名前。 | ||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}レスポンスの例
- 200
- 409
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}シークレットを更新する。
path Parameters
| key required | string シークレットのキー。 |
Request Body schema: application/jsonrequired
required | object JSON オブジェクト形式のシークレットのデータ。 | ||
| |||
object シークレットのメタデータ(ユーザー定義)。 | |||
| |||
レスポンス
リクエストの例
- Payload
{- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}レスポンスの例
- 200
- 404
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}レスポンスの例
- 200
- 404
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}レスポンスの例
- 200
{- "ID": "string",
- "Containers": 0,
- "ContainersRunning": 0,
- "ContainersPaused": 0,
- "ContainersStopped": 0,
- "Images": 0,
- "Driver": "string",
- "DriverStatus": [
- [
- "string"
]
], - "DockerRootDir": "string",
- "Plugins": { },
- "MemoryLimit": true,
- "SwapLimit": true,
- "KernelMemoryTCP": true,
- "CpuCfsPeriod": true,
- "CpuCfsQuota": true,
- "CPUShares": true,
- "CPUSet": true,
- "PidsLimit": true,
- "OomKillDisable": true,
- "IPv4Forwarding": true,
- "BridgeNfIptables": true,
- "BridgeNfIp6tables": true,
- "Debug": true,
- "NFd": 0,
- "NGoroutines": 0,
- "SystemTime": "string",
- "LoggingDriver": "string",
- "CgroupDriver": { },
- "CgroupVersion": { },
- "NEventsListener": 0,
- "KernelVersion": "string",
- "OperatingSystem": "string",
- "OSVersion": "string",
- "OSType": "string",
- "Architecture": "string",
- "NCPU": 0,
- "MemTotal": 0,
- "IndexServerAddress": "string",
- "RegistryConfig": { },
- "GenericResources": { },
- "HttpProxy": "string",
- "HttpsProxy": "string",
- "NoProxy": "string",
- "Name": "string",
- "Labels": [
- "string"
], - "ExperimentalBuild": true,
- "ServerVersion": "string",
- "Runtimes": {
- "property1": {
- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}
}, - "DefaultRuntime": "string",
- "Swarm": { },
- "LiveRestoreEnabled": true,
- "Isolation": { },
- "InitBinary": "string",
- "ContainerdCommit": { },
- "RuncCommit": { },
- "InitCommit": { },
- "SecurityOptions": [
- "string"
], - "ProductLicense": "string",
- "DefaultAddressPools": [
- {
- "Base": "string",
- "Size": 0
}
], - "Warnings": [
- "string"
], - "CDISpecDirs": [
- "string"
], - "HostGateway": "string",
- "Network": {
- "Name": "string",
- "Id": "string",
- "Created": { },
- "Scope": "string",
- "Driver": "string",
- "EnableIPv6": true,
- "IPAM": { },
- "Internal": true,
- "Attachable": true,
- "Ingress": true,
- "Containers": {
- "property1": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}, - "property2": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}
}, - "Options": {
- "property1": "string",
- "property2": "string"
}, - "Labels": {
- "property1": "string",
- "property2": "string"
}
}, - "Config": {
- "hosts": [
- "string"
], - "state_dir": "string",
- "docker_host": "string",
- "store_addr": "string",
- "gateway": "string",
- "hostname": "string",
- "nodes": [
- "string"
], - "advertise_addr": "string",
- "conf_dir": "string",
- "gid": 0,
- "ssl": { }
}
}任意のフィルターを使って仮想マシンを一覧表示する。
query Parameters
| filter | string 例: filter={ "filter": { "where": { "name": { "eq": "my-vm" } } } } 汎用フィルター。 |
| namespace | string 任意の名前空間フィルター。省略または空の場合、すべての名前空間を返します。 |
レスポンス
レスポンスの例
- 200
[- {
- "NamespaceName": "string",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}
}
]仮想マシンを作成する。
query Parameters
| namespace | string 仮想マシンの名前空間。 |
Request Body schema: application/jsonrequired
null or VmHostConfig (object) | |||
One of null | |||
| Hostname | string or null VM のホスト名(デフォルト:名前から生成)。 | ||
| Image required | string VM が使うイメージ。完全なパスである必要があります(例:/var/lib/nanocl/vm/image.qcow2)。 | ||
null or Config (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| MacAddress | string or null VM の MAC アドレス(デフォルト:自動生成)。 | ||
object メタデータ(ユーザー定義)。 | |||
| |||
| Name required | string VM の名前。 | ||
| Password | string or null VM のデフォルトのパスワード(デフォルト:cloud)。 | ||
| SshKey | string or null ユーザーのデフォルトの SSH 公開鍵(推奨)。 | ||
| User | string or null VM のデフォルトのユーザー(デフォルト:cloud)。 | ||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "User": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": { }
}レスポンスの例
- 200
- 409
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}
}現在の設定と新しい設定をマージして仮想マシンの設定を更新し、履歴に記録する。
path Parameters
| key required | string
|
Request Body schema: application/jsonrequired
null or VmHostConfig (object) | |||
One of null | |||
| Hostname | string or null VM のホスト名。 | ||
null or Config (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
object メタデータ(ユーザー定義)。 | |||
| |||
| Name | string or null VM の名前。 | ||
| Password | string or null VM のデフォルトのパスワード(cloud)。 | ||
| SshKey | string or null ユーザーのデフォルトの SSH キー。 | ||
| User | string or null VM のデフォルトのユーザー(cloud)。 | ||
レスポンス
リクエストの例
- Payload
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "User": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": { }
}レスポンスの例
- 200
- 404
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}
}レスポンスの例
- 200
- 404
[- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}
]レスポンスの例
- 200
- 404
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}| Addr | string or null IP アドレス。 |
| PrefixLen | integer or null <int64> IP アドレスのマスク長。 |
{- "Addr": "string",
- "PrefixLen": 0
}ResourceSpec などの動的な JSON オブジェクトに便利な、OpenApi の Any 型を生成するヘルパー。
{- "property1": "string",
- "property2": "string"
}| Arch required | string Arch は現在のバイナリーのアーキテクチャです。 |
| Channel required | string Channel は現在のバイナリーのチャンネルです。 |
| CommitId required | string CommitID は現在のバイナリーのコミット ID です。 |
| Version required | string Version は現在のバイナリーのバージョンです。 |
{- "Arch": "string",
- "Channel": "string",
- "Version": "string",
- "CommitId": "string"
}配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
配列の要素型 objects or null (BlkioStatsEntry) | |||||||||
Array
| |||||||||
{- "io_service_bytes_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_serviced_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_queue_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_service_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_wait_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_merged_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "sectors_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
]
}| major required | integer <int64> >= 0 |
| minor required | integer <int64> >= 0 |
| op required | string |
| value required | integer <int64> >= 0 |
{- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}required | object (CPUUsage) コンテナの CPU 使用量の統計情報。 | ||||||||
| |||||||||
| online_cpus | integer or null <int64> >= 0 | ||||||||
| system_cpu_usage | integer or null <int64> >= 0 | ||||||||
required | object (ThrottlingData) CPU スロットリングの統計情報。 | ||||||||
| |||||||||
{- "cpu_usage": {
- "percpu_usage": [
- 0
], - "usage_in_usermode": 0,
- "total_usage": 0,
- "usage_in_kernelmode": 0
}, - "system_cpu_usage": 0,
- "online_cpus": 0,
- "throttling_data": {
- "periods": 0,
- "throttled_periods": 0,
- "throttled_time": 0
}
}| percpu_usage | 配列の要素型 integers or null <int64> [ items <int64 > >= 0 ] |
| total_usage required | integer <int64> >= 0 |
| usage_in_kernelmode required | integer <int64> >= 0 |
| usage_in_usermode required | integer <int64> >= 0 |
{- "percpu_usage": [
- 0
], - "usage_in_usermode": 0,
- "total_usage": 0,
- "usage_in_kernelmode": 0
}| CreatedAt required | string <date-time> Cargo の作成時刻。 | ||||||||||||||||||||||||||||||||
| NamespaceName required | string 名前空間の名前。 | ||||||||||||||||||||||||||||||||
required | object (CargoSpecRevision) Cargo の仕様。 | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
required | object (ObjPsStatus) Cargo の状態。 | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}| CreatedAt required | string <date-time> Cargo の作成時刻。 | ||||||||||||||||||||||||||||||||
| InstanceRunning required | integer >= 0 実行中のインスタンス数。 | ||||||||||||||||||||||||||||||||
required | 配列の要素型 objects (Process) インスタンスの一覧。 | ||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||
| InstanceTotal required | integer >= 0 インスタンス数。 | ||||||||||||||||||||||||||||||||
| NamespaceName required | string 名前空間の名前。 | ||||||||||||||||||||||||||||||||
required | object (CargoSpecRevision) Cargo の仕様。 | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
required | object (ObjPsStatus) Cargo の状態。 | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}Cargo が使う Docker ネットワークモード。
Docker は組み込みモードに加え、空白でない任意のネットワーク名を受け取ります。ユーザーがコンテナ所有のネットワーク名前空間に直接参加しないよう、Nanocl は container:<id> を予約しています。
"string"| Cargoes | 配列の要素型 strings or null ノードで実行中の Cargo で選ぶ。 | ||||||
配列の要素型 objects or null (NodeConstraint) 任意の高度な制約(キー、演算子、値)。 | |||||||
Array
| |||||||
| Groups | 配列の要素型 strings or null グループで選ぶ。 | ||||||
| Labels | 配列の要素型 strings or null ラベルで選ぶ。 | ||||||
| Regions | 配列の要素型 strings or null リージョンで選ぶ。 | ||||||
| Vms | 配列の要素型 strings or null ノードで実行中の VM で選ぶ。 | ||||||
{- "Labels": [
- "string"
], - "Regions": [
- "string"
], - "Groups": [
- "string"
], - "Cargoes": [
- "string"
], - "Vms": [
- "string"
], - "Constraints": [
- {
- "Key": "string",
- "Operator": "Eq",
- "Value": "string"
}
]
}null or CargoPlacementSelectorSpec (object) | |
One of null | |
| Regions | 配列の要素型 strings or null Cargo をデプロイするリージョン。 |
null or CargoPlacementSelectorSpec (object) | |
One of null | |
null or (CargoPlacementStrategy (CargoPlacementStrategy (string) or CargoPlacementStrategy (string) or CargoPlacementStrategy (string) or CargoPlacementStrategy (object))) | |
One of null | |
{- "Strategy": { },
- "Regions": [
- "string"
], - "Require": { },
- "Prefer": { }
}ノードへの Cargo 配置の戦略を定義する列挙型。
{- "UserDefined": "string"
}| Key required | string <uuid> 永続化した、安定した Cargo レプリカの識別子。 |
| Ordinal required | integer <int32> Cargo 全体で安定した、レプリカの序数。 |
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Ordinal": 0
}| CpuCores | integer or null >= 0 コア数で指定する CPU の要件。 |
| CpuUtilizationCap | number or null <float> 対象ノードに許可する平均 CPU 使用率の上限(0.0~1.0)。 |
| CpuWeight | number or null <float> バランスを考慮した配置で使う、任意の CPU の重み(0.0~1.0)。 |
| MemoryBytes | integer or null >= 0 メモリー要件(バイト)。 |
| MemoryUtilizationCap | number or null <float> 対象ノードに許可する平均メモリー使用率の上限(0.0~1.0)。 |
| MemoryWeight | number or null <float> バランスを考慮した配置で使う、任意のメモリーの重み(0.0~1.0)。 |
| StorageBytes | integer or null >= 0 ストレージ要件(バイト)。 |
{- "CpuCores": 0,
- "CpuUtilizationCap": 0,
- "MemoryBytes": 0,
- "MemoryUtilizationCap": 0,
- "CpuWeight": 0,
- "MemoryWeight": 0,
- "StorageBytes": 0
}required | 配列の要素型 objects (ContainerSpec) Cargo の各レプリカに含まれるアプリケーションコンテナ。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dns | 配列の要素型 strings or null Cargo のネットワーク所有者に割り当てる DNS サーバー。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hostname | string or null Cargo のネットワーク所有者に割り当てる Docker ホスト名。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
配列の要素型 objects (ContainerSpec) アプリケーションコンテナより前に、宣言順で実行する初期化コンテナ。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Cargo のメタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string Cargo の名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoNetworkMode (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoPlacementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or HashMap (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replicas | integer >= 1 既定値: 1 永続的な Cargo レプリカの数。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoResourceRequirementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings すべての通常コンテナと初期化コンテナが継承するシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}配列の要素型 objects or null (ContainerSpec) アプリケーションコンテナ宣言の置き換え。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dns | 配列の要素型 strings or null Cargo のネットワーク所有者の DNS サーバーの置き換え。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hostname | string or null Cargo のネットワーク所有者の新しい Docker ホスト名。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
配列の要素型 objects or null (ContainerSpec) 順序付きの初期化コンテナ宣言の置き換え。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Cargo の新しいメタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | string or null Cargo の新しい名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoNetworkMode (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoPlacementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or HashMap (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replicas | integer or null >= 1 新しいレプリカ数。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoResourceRequirementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings or null Cargo レベルで共有するシークレットの置き換え。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}| CargoKey required | string
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required | 配列の要素型 objects (ContainerSpec) Cargo の各レプリカに含まれるアプリケーションコンテナ。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CreatedAt required | string <date-time> Cargo 仕様の作成日時。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Dns | 配列の要素型 strings or null Cargo のネットワーク所有者に割り当てる DNS サーバー。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hostname | string or null Cargo のネットワーク所有者に割り当てる Docker ホスト名。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
配列の要素型 objects (ContainerSpec) 宣言順で実行する初期化コンテナ。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Key required | string <uuid> Cargo 仕様の一意な識別子。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Cargo のメタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string Cargo の名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoNetworkMode (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoPlacementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or HashMap (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Replicas | integer >= 1 既定値: 1 永続的な Cargo レプリカの数。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or CargoResourceRequirementSpec (object) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings すべての通常コンテナと初期化コンテナが継承するシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Version required | string 仕様のバージョン。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}| CreatedAt required | string <date-time> Cargo の作成時刻。 | ||||||||||||||||||||||||||||||||
| InstanceRunning required | integer >= 0 実行中のインスタンス数。 | ||||||||||||||||||||||||||||||||
| InstanceTotal required | integer >= 0 インスタンス数。 | ||||||||||||||||||||||||||||||||
| NamespaceName required | string 名前空間の名前。 | ||||||||||||||||||||||||||||||||
required | object (CargoSpecRevision) Cargo の仕様。 | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
required | object (ObjPsStatus) Cargo の状態。 | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
{- "NamespaceName": "string",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
}null or String (string) | |
One of null | |
| DataPathPort | integer or null <int32> >= 0 DataPathPort はデータ通信のデータパスポート番号です。許可される範囲は 1024~49151 です。未設定または 0 の場合はデフォルトの 4789 を使います。 |
| DefaultAddrPool | 配列の要素型 strings or null Default Address Pool はグローバルスコープのネットワークのデフォルトサブネットプールを指定します。 |
| ID | string or null swarm の ID。 |
| RootRotationInProgress | boolean or null swarm のルート CA のローテーションが現在進行中か。 |
null or SwarmSpec (object) | |
One of null | |
| SubnetSize | integer or null <int32> >= 0 SubnetSize は、デフォルトのサブネットプールから作成するネットワークのサブネットサイズを指定します。 |
null or TlsInfo (object) | |
One of null | |
null or String (string) | |
One of null | |
null or ObjectVersion (object) | |
One of null | |
{- "ID": "string",
- "Version": { },
- "CreatedAt": { },
- "UpdatedAt": { },
- "Spec": { },
- "TLSInfo": { },
- "RootRotationInProgress": true,
- "DataPathPort": 0,
- "DefaultAddrPool": [
- "string"
], - "SubnetSize": 0
}| Expected | string or null ビルド時に設定した、dockerd が想定する外部ツールのコミット ID。 |
| ID | string or null 外部ツールの実際のコミット ID。 |
{- "ID": "string",
- "Expected": "string"
}| ArgsEscaped | boolean or null コマンドはエスケープ済みです(Windows のみ)。 | ||
| AttachStderr | boolean or null
| ||
| AttachStdin | boolean or null
| ||
| AttachStdout | boolean or null
| ||
| Cmd | 配列の要素型 strings or null 実行するコマンド。文字列または文字列の配列で指定します。 | ||
| Domainname | string or null コンテナで使うドメイン名。 | ||
| Entrypoint | 配列の要素型 strings or null コンテナのエントリーポイント。文字列または文字列の配列です。配列が空文字列 1 つ( | ||
| Env | 配列の要素型 strings or null コンテナ内に設定する環境変数の一覧。 | ||
object or null ポートを空のオブジェクトに対応付けるオブジェクト。形式: | |||
| |||
null or HealthConfig (object) | |||
One of null | |||
null or HostConfig (object) | |||
One of null | |||
| Hostname | string or null コンテナで使う、RFC 1123 に準拠したホスト名。 | ||
| Image | string or null コンテナの作成時に使うイメージ名。 | ||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| MacAddress | string or null コンテナの MAC アドレス。 | ||
| NetworkDisabled | boolean or null コンテナのネットワークを無効にする。 | ||
null or NetworkingConfig_String (object) | |||
One of null | |||
| OnBuild | 配列の要素型 strings or null
| ||
| OpenStdin | boolean or null
| ||
| Shell | 配列の要素型 strings or null
| ||
| StdinOnce | boolean or null 接続したクライアントが切断すると | ||
| StopSignal | string or null コンテナを停止するシグナル。文字列または符号なし整数。 | ||
| StopTimeout | integer or null <int64> コンテナを停止するタイムアウト(秒)。 | ||
| Tty | boolean or null 閉じていない | ||
| User | string or null コンテナ内でコマンドを実行するユーザー。 | ||
object or null コンテナ内のマウントポイントのパスを空のオブジェクトに対応付けるオブジェクト。 | |||
| |||
| WorkingDir | string or null コマンドを実行する作業ディレクトリ。 | ||
{- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}| ArgsEscaped | boolean or null コマンドはエスケープ済みです(Windows のみ)。 | ||
| AttachStderr | boolean or null
| ||
| AttachStdin | boolean or null
| ||
| AttachStdout | boolean or null
| ||
| Cmd | 配列の要素型 strings or null 実行するコマンド。文字列または文字列の配列で指定します。 | ||
| Domainname | string or null コンテナで使うドメイン名。 | ||
| Entrypoint | 配列の要素型 strings or null コンテナのエントリーポイント。文字列または文字列の配列です。配列が空文字列 1 つ( | ||
| Env | 配列の要素型 strings or null コンテナ内に設定する環境変数の一覧。 | ||
object or null ポートを空のオブジェクトに対応付けるオブジェクト。形式: | |||
| |||
null or HealthConfig (object) | |||
One of null | |||
| Hostname | string or null コンテナで使う、RFC 1123 に準拠したホスト名。 | ||
| Image | string or null コンテナの作成時に使う、または使ったイメージの名前(または参照)。 | ||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| MacAddress | string or null コンテナの MAC アドレス。非推奨:API v1.44 以降では非推奨です。代わりに EndpointSettings.MacAddress を使ってください。 | ||
| NetworkDisabled | boolean or null コンテナのネットワークを無効にする。 | ||
| OnBuild | 配列の要素型 strings or null
| ||
| OpenStdin | boolean or null
| ||
| Shell | 配列の要素型 strings or null
| ||
| StdinOnce | boolean or null 接続したクライアントが切断すると | ||
| StopSignal | string or null コンテナを停止するシグナル。文字列または符号なし整数。 | ||
| StopTimeout | integer or null <int64> コンテナを停止するタイムアウト(秒)。 | ||
| Tty | boolean or null 閉じていない | ||
| User | string or null コンテナ内でコマンドを実行するユーザー。 | ||
object or null コンテナ内のマウントポイントのパスを空のオブジェクトに対応付けるオブジェクト。 | |||
| |||
| WorkingDir | string or null コマンドを実行する作業ディレクトリ。 | ||
{- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
]
}| AppArmorProfile | string or null | ||||||||||||||||
| Args | 配列の要素型 strings or null 実行するコマンドの引数。 | ||||||||||||||||
null or ContainerConfig (object) | |||||||||||||||||
One of null | |||||||||||||||||
| Created | string or null コンテナの作成時刻。 | ||||||||||||||||
| Driver | string or null | ||||||||||||||||
| ExecIDs | 配列の要素型 strings or null コンテナ内で実行中の exec インスタンスの ID。 | ||||||||||||||||
null or GraphDriverData (object) | |||||||||||||||||
One of null | |||||||||||||||||
null or HostConfig (object) | |||||||||||||||||
One of null | |||||||||||||||||
| HostnamePath | string or null | ||||||||||||||||
| HostsPath | string or null | ||||||||||||||||
| Id | string or null コンテナの ID。 | ||||||||||||||||
| Image | string or null コンテナのイメージ ID。 | ||||||||||||||||
| LogPath | string or null | ||||||||||||||||
| MountLabel | string or null | ||||||||||||||||
配列の要素型 objects or null (MountPoint) | |||||||||||||||||
Array
| |||||||||||||||||
| Name | string or null | ||||||||||||||||
null or NetworkSettings (object) | |||||||||||||||||
One of null | |||||||||||||||||
| Path | string or null 実行するコマンドのパス。 | ||||||||||||||||
| Platform | string or null | ||||||||||||||||
| ProcessLabel | string or null | ||||||||||||||||
| ResolvConfPath | string or null | ||||||||||||||||
| RestartCount | integer or null <int64> | ||||||||||||||||
| SizeRootFs | integer or null <int64> このコンテナ内のすべてのファイルの合計サイズ。 | ||||||||||||||||
| SizeRw | integer or null <int64> このコンテナが作成または変更したファイルのサイズ。 | ||||||||||||||||
null or ContainerState (object) | |||||||||||||||||
One of null | |||||||||||||||||
{- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}| ArgsEscaped | boolean or null コマンドはエスケープ済みです(Windows のみ)。 | ||
| AttachStderr | boolean or null
| ||
| AttachStdin | boolean or null
| ||
| AttachStdout | boolean or null
| ||
| Cmd | 配列の要素型 strings or null 実行するコマンド。文字列または文字列の配列で指定します。 | ||
| Domainname | string or null コンテナで使うドメイン名。 | ||
| Entrypoint | 配列の要素型 strings or null コンテナのエントリーポイント。文字列または文字列の配列です。配列が空文字列 1 つ( | ||
| Env | 配列の要素型 strings or null コンテナ内に設定する環境変数の一覧。 | ||
| Essential | boolean 既定値: true このコンテナの失敗で Cargo レプリカが異常になるか。 | ||
object or null ポートを空のオブジェクトに対応付けるオブジェクト。形式: | |||
| |||
null or ContainerSpecHealthConfig (object) | |||
One of null | |||
null or ContainerSpecHostConfig (object) | |||
One of null | |||
| Hostname | string or null コンテナで使う、RFC 1123 に準拠したホスト名。 | ||
| Image | string or null コンテナの作成時に使うイメージ名。 | ||
| ImagePullPolicy | string 既定値: "IfNotPresent" 列挙値: "Never" "Always" "IfNotPresent" コンテナのイメージ取得に使うポリシー。 | ||
null or string このコンテナのイメージ取得に使うシークレット。 | |||
One of null このコンテナのイメージ取得に使うシークレット。 | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| MacAddress | string or null コンテナの MAC アドレス。 | ||
| Name required | string Cargo の宣言内で一意の名前。 | ||
| NetworkDisabled | boolean or null コンテナのネットワークを無効にする。 | ||
null or ContainerSpecNetworkingConfig_String (object) | |||
One of null | |||
| OnBuild | 配列の要素型 strings or null
| ||
| OpenStdin | boolean or null
| ||
| Secrets | 配列の要素型 strings 既定値: [] このコンテナだけに注入するシークレット。 | ||
| Shell | 配列の要素型 strings or null
| ||
| StdinOnce | boolean or null 接続したクライアントが切断すると | ||
| StopSignal | string or null コンテナを停止するシグナル。文字列または符号なし整数。 | ||
| StopTimeout | integer or null <int64> コンテナを停止するタイムアウト(秒)。 | ||
| Tty | boolean or null 閉じていない | ||
| User | string or null コンテナ内でコマンドを実行するユーザー。 | ||
object or null コンテナ内のマウントポイントのパスを空のオブジェクトに対応付けるオブジェクト。 | |||
| |||
| WorkingDir | string or null コマンドを実行する作業ディレクトリ。 | ||
{- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}| CgroupPermissions | string or null |
| PathInContainer | string or null |
| PathOnHost | string or null |
{- "PathOnHost": "string",
- "PathInContainer": "string",
- "CgroupPermissions": "string"
}| Capabilities | 配列の要素型 strings or null[ items ] ケーパビリティの一覧。内側の一覧を AND、外側の一覧を OR で評価します。 | ||
| Count | integer or null <int64> | ||
| DeviceIDs | 配列の要素型 strings or null | ||
| Driver | string or null | ||
object or null ドライバー固有のオプション。キーと値の組で指定し、ドライバーに直接渡します。 | |||
| |||
{- "Driver": "string",
- "Count": 0,
- "DeviceIDs": [
- "string"
], - "Capabilities": [
- [
- "string"
]
], - "Options": {
- "property1": "string",
- "property2": "string"
}
}| IPv4Address | string or null |
| IPv6Address | string or null |
| LinkLocalIPs | 配列の要素型 strings or null |
{- "IPv4Address": "string",
- "IPv6Address": "string",
- "LinkLocalIPs": [
- "string"
]
}| Aliases | 配列の要素型 strings or null | ||
| DNSNames | 配列の要素型 strings or null 特定のネットワークでエンドポイントが持つ DNS 名の一覧。コンテナ名、ネットワークの別名、コンテナの短い ID、ホスト名に基づきます。完全修飾名ではありませんが、複数のドットを含められます。 | ||
object or null DriverOpts はドライバーのオプションと値の対応です。ドライバーに直接渡す、ドライバー固有のオプションです。 | |||
| |||
| EndpointID | string or null Sandbox 内のサービスエンドポイントの一意な ID。 | ||
| Gateway | string or null このネットワークのゲートウェイアドレス。 | ||
| GlobalIPv6Address | string or null グローバル IPv6 アドレス。 | ||
| GlobalIPv6PrefixLen | integer or null <int64> グローバル IPv6 アドレスのマスク長。 | ||
| IPAddress | string or null IPv4 アドレス。 | ||
null or ContainerSpecEndpointIpamConfig (object) | |||
One of null | |||
| IPPrefixLen | integer or null <int64> IPv4 アドレスのマスク長。 | ||
| IPv6Gateway | string or null IPv6 ゲートウェイアドレス。 | ||
| Links | 配列の要素型 strings or null | ||
| MacAddress | string or null このネットワークのエンドポイントの MAC アドレス。ネットワークドライバーが無視する場合があります。 | ||
| NetworkID | string or null ネットワークの一意な ID。 | ||
{- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}additional property | null or 配列の要素型 objects |
One of null | |
{- "property1": { },
- "property2": { }
}| Interval | integer or null <int64> チェック間の待ち時間(ナノ秒)。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
| Retries | integer or null <int64> コンテナを異常と見なすまでに必要な連続失敗回数。0 は継承を意味します。 |
| StartInterval | integer or null <int64> 開始期間中のチェック間の待ち時間(ナノ秒)。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
| StartPeriod | integer or null <int64> ヘルスチェックの再試行カウントを始める前に、コンテナの初期化を待つ期間(ナノ秒)。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
| Test | 配列の要素型 strings or null 実行するテスト。 - |
| Timeout | integer or null <int64> チェックが応答停止したと見なすまで待つ時間。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
{- "Test": [
- "string"
], - "Interval": 0,
- "Timeout": 0,
- "Retries": 0,
- "StartPeriod": 0,
- "StartInterval": 0
}object or null コンテナに付ける、識別用ではない任意のメタデータ。起動時にランタイムに渡します。 | |||||||||||||||||
| |||||||||||||||||
| AutoRemove | boolean or null コンテナのプロセスが終了するとコンテナを自動削除します。 | ||||||||||||||||
| Binds | 配列の要素型 strings or null コンテナのボリュームバインドの一覧。各バインドは次のいずれかの形式の文字列です。 - | ||||||||||||||||
配列の要素型 objects or null (ContainerSpecThrottleDevice) デバイスからの読み取り速度(毎秒のバイト数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ContainerSpecThrottleDevice) デバイスからの読み取り速度(毎秒の I/O 回数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ContainerSpecThrottleDevice) デバイスへの書き込み速度(毎秒のバイト数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ContainerSpecThrottleDevice) デバイスへの書き込み速度(毎秒の I/O 回数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
| BlkioWeight | integer or null <int32> >= 0 ブロック I/O の重み(相対的な重み)。 | ||||||||||||||||
配列の要素型 objects or null (ContainerSpecResourcesBlkioWeightDevice) ブロック I/O の重み(相対的なデバイス重み)。形式: | |||||||||||||||||
Array
| |||||||||||||||||
| CapAdd | 配列の要素型 strings or null コンテナに追加するカーネルのケーパビリティの一覧。'Capabilities' オプションと競合します。 | ||||||||||||||||
| CapDrop | 配列の要素型 strings or null コンテナから削除するカーネルのケーパビリティの一覧。'Capabilities' オプションと競合します。 | ||||||||||||||||
| Cgroup | string or null コンテナに使用する cgroup。 | ||||||||||||||||
null or ContainerSpecHostConfigCgroupnsModeEnum (string) | |||||||||||||||||
One of null | |||||||||||||||||
| CgroupParent | string or null
| ||||||||||||||||
| ConsoleSize | 配列の要素型 integers or null <int32> [ items <int32 > ] 初期コンソールサイズ。 | ||||||||||||||||
| ContainerIDFile | string or null コンテナ ID を書き込むファイルのパス。 | ||||||||||||||||
| CpuCount | integer or null <int64> 使用可能な CPU 数(Windows のみ)。Windows Server コンテナでは CPU リソース制御は相互排他的です。優先順は | ||||||||||||||||
| CpuPercent | integer or null <int64> 利用可能な CPU の使用可能な割合(Windows のみ)。Windows Server コンテナでは CPU リソース制御は相互排他的です。優先順は | ||||||||||||||||
| CpuPeriod | integer or null <int64> CPU の期間の長さ(マイクロ秒)。 | ||||||||||||||||
| CpuQuota | integer or null <int64> コンテナが CPU の期間内に取得できる CPU 時間(マイクロ秒)。 | ||||||||||||||||
| CpuRealtimePeriod | integer or null <int64> CPU のリアルタイム期間の長さ(マイクロ秒)。0 にすると、リアルタイムタスクに時間を割り当てません。 | ||||||||||||||||
| CpuRealtimeRuntime | integer or null <int64> CPU のリアルタイム実行時間の長さ(マイクロ秒)。0 にすると、リアルタイムタスクに時間を割り当てません。 | ||||||||||||||||
| CpusetCpus | string or null 実行を許可する CPU(例: | ||||||||||||||||
| CpusetMems | string or null 実行を許可するメモリーノード(MEMs)(0-3、0,1)。NUMA システムでのみ有効です。 | ||||||||||||||||
| CpuShares | integer or null <int64> ほかのコンテナに対する、このコンテナの相対的な CPU 重みを表す整数値。 | ||||||||||||||||
| DeviceCgroupRules | 配列の要素型 strings or null コンテナに適用する cgroup ルールの一覧。 | ||||||||||||||||
配列の要素型 objects or null (ContainerSpecDeviceRequest) デバイスドライバーに送るデバイス要求の一覧。 | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ContainerSpecDeviceMapping) コンテナに追加するデバイスの一覧。 | |||||||||||||||||
Array
| |||||||||||||||||
| Dns | 配列の要素型 strings or null コンテナで使う DNS サーバーの一覧。 | ||||||||||||||||
| DnsOptions | 配列の要素型 strings or null DNS オプションの一覧。 | ||||||||||||||||
| DnsSearch | 配列の要素型 strings or null DNS 検索ドメインの一覧。 | ||||||||||||||||
| ExtraHosts | 配列の要素型 strings or null コンテナの | ||||||||||||||||
| GroupAdd | 配列の要素型 strings or null コンテナのプロセスに適用する追加グループの一覧。 | ||||||||||||||||
| Init | boolean or null コンテナ内で、シグナルの転送と終了したプロセスの回収を行う init を実行します。空の場合はフィールドを省略し、デーモンに設定したデフォルトを使います。 | ||||||||||||||||
| IOMaximumBandwidth | integer or null <int64> コンテナのシステムドライブの最大 I/O(毎秒のバイト数)。Windows のみ。 | ||||||||||||||||
| IOMaximumIOps | integer or null <int64> コンテナのシステムドライブの最大 IOPS。Windows のみ。 | ||||||||||||||||
| IpcMode | string or null コンテナの IPC 共有モード。指定可能な値: - | ||||||||||||||||
null or ContainerSpecHostConfigIsolationEnum (string) | |||||||||||||||||
One of null | |||||||||||||||||
| KernelMemoryTCP | integer or null <int64> カーネル TCP バッファーメモリーのハードリミット(バイト)。OCI ランタイムによっては無視されます。デフォルトの runc ランタイムではサポートしていません。空の場合はこのフィールドを省略します。 | ||||||||||||||||
| Links | 配列の要素型 strings or null
| ||||||||||||||||
null or ContainerSpecHostConfigLogConfig (object) | |||||||||||||||||
One of null | |||||||||||||||||
| MaskedPaths | 配列の要素型 strings or null コンテナ内で隠すパスの一覧(デフォルトのパス集合を上書きします)。 | ||||||||||||||||
| Memory | integer or null <int64> メモリー制限(バイト)。 | ||||||||||||||||
| MemoryReservation | integer or null <int64> メモリーのソフトリミット(バイト)。 | ||||||||||||||||
| MemorySwap | integer or null <int64> メモリー全体の制限(メモリーとスワップ)。 | ||||||||||||||||
| MemorySwappiness | integer or null <int64> コンテナのメモリー swappiness を調整します。0~100 の整数を受け取ります。 | ||||||||||||||||
配列の要素型 objects or null (ContainerSpecMount) コンテナに追加するマウントの仕様。 | |||||||||||||||||
Array
| |||||||||||||||||
| NanoCpus | integer or null <int64> 10-9 CPU 単位の CPU クォータ。 | ||||||||||||||||
| NetworkMode | string or null コンテナで使うネットワークモード。標準の値は | ||||||||||||||||
| OomKillDisable | boolean or null コンテナの OOM Killer を無効にする。 | ||||||||||||||||
| OomScoreAdj | integer or null <int64> OOM killer の優先度を調整するためにコンテナに与えるスコアを含む整数値。 | ||||||||||||||||
| PidMode | string or null コンテナの PID(プロセス)名前空間モードを設定します。 - | ||||||||||||||||
| PidsLimit | integer or null <int64> コンテナの PID 数の制限を調整します。 | ||||||||||||||||
null or ContainerSpecHashMap (object) | |||||||||||||||||
One of null | |||||||||||||||||
| Privileged | boolean or null コンテナにホストへの完全なアクセスを与えます。 | ||||||||||||||||
| PublishAllPorts | boolean or null コンテナの公開ポートすべてに一時的なホストポートを割り当てます。停止時に解放し、起動時に割り当てます。再起動でポートが変わる場合があります。カーネルに依存する一時ポートの範囲から選びます。Linux では | ||||||||||||||||
| ReadonlyPaths | 配列の要素型 strings or null コンテナ内で読み取り専用にするパスの一覧(デフォルトのパス集合を上書きします)。 | ||||||||||||||||
| ReadonlyRootfs | boolean or null コンテナのルートファイルシステムを読み取り専用でマウントする。 | ||||||||||||||||
null or ContainerSpecRestartPolicy (object) | |||||||||||||||||
One of null | |||||||||||||||||
| Runtime | string or null このコンテナで使うランタイム。 | ||||||||||||||||
| SecurityOpt | 配列の要素型 strings or null SELinux などの MLS システム用のラベルをカスタマイズする文字列の一覧。 | ||||||||||||||||
| ShmSize | integer or null <int64>
| ||||||||||||||||
object or null このコンテナのストレージドライバーのオプション。 | |||||||||||||||||
| |||||||||||||||||
object or null コンテナに設定するカーネルパラメーター(sysctl)の一覧。例: | |||||||||||||||||
| |||||||||||||||||
object or null tmpfs マウントに置き換えるコンテナのディレクトリと、対応するマウントオプションのマップ。例: | |||||||||||||||||
| |||||||||||||||||
配列の要素型 objects or null (ContainerSpecResourcesUlimits) コンテナに設定するリソース制限の一覧。例: | |||||||||||||||||
Array
| |||||||||||||||||
| UsernsMode | string or null ユーザー名前空間の再マッピングが有効な場合に、コンテナのユーザー名前空間モードを設定します。 | ||||||||||||||||
| UTSMode | string or null コンテナで使う UTS 名前空間。 | ||||||||||||||||
| VolumeDriver | string or null このコンテナがボリュームのマウントに使うドライバー。 | ||||||||||||||||
| VolumesFrom | 配列の要素型 strings or null 別のコンテナから継承するボリュームの一覧。 | ||||||||||||||||
{- "CpuShares": 0,
- "Memory": 0,
- "CgroupParent": "string",
- "BlkioWeight": 0,
- "BlkioWeightDevice": [
- {
- "Path": "string",
- "Weight": 0
}
], - "BlkioDeviceReadBps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "BlkioDeviceWriteBps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "BlkioDeviceReadIOps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "BlkioDeviceWriteIOps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "CpuPeriod": 0,
- "CpuQuota": 0,
- "CpuRealtimePeriod": 0,
- "CpuRealtimeRuntime": 0,
- "CpusetCpus": "string",
- "CpusetMems": "string",
- "Devices": [
- {
- "PathOnHost": "string",
- "PathInContainer": "string",
- "CgroupPermissions": "string"
}
], - "DeviceCgroupRules": [
- "string"
], - "DeviceRequests": [
- {
- "Driver": "string",
- "Count": 0,
- "DeviceIDs": [
- "string"
], - "Capabilities": [
- [
- "string"
]
], - "Options": {
- "property1": "string",
- "property2": "string"
}
}
], - "KernelMemoryTCP": 0,
- "MemoryReservation": 0,
- "MemorySwap": 0,
- "MemorySwappiness": 0,
- "NanoCpus": 0,
- "OomKillDisable": true,
- "Init": true,
- "PidsLimit": 0,
- "Ulimits": [
- {
- "Name": "string",
- "Soft": 0,
- "Hard": 0
}
], - "CpuCount": 0,
- "CpuPercent": 0,
- "IOMaximumIOps": 0,
- "IOMaximumBandwidth": 0,
- "Binds": [
- "string"
], - "ContainerIDFile": "string",
- "LogConfig": { },
- "NetworkMode": "string",
- "PortBindings": { },
- "RestartPolicy": { },
- "AutoRemove": true,
- "VolumeDriver": "string",
- "VolumesFrom": [
- "string"
], - "Mounts": [
- {
- "Target": "string",
- "Source": "string",
- "Type": { },
- "ReadOnly": true,
- "Consistency": "string",
- "BindOptions": { },
- "VolumeOptions": { },
- "TmpfsOptions": { }
}
], - "ConsoleSize": [
- 0
], - "Annotations": {
- "property1": "string",
- "property2": "string"
}, - "CapAdd": [
- "string"
], - "CapDrop": [
- "string"
], - "CgroupnsMode": { },
- "Dns": [
- "string"
], - "DnsOptions": [
- "string"
], - "DnsSearch": [
- "string"
], - "ExtraHosts": [
- "string"
], - "GroupAdd": [
- "string"
], - "IpcMode": "string",
- "Cgroup": "string",
- "Links": [
- "string"
], - "OomScoreAdj": 0,
- "PidMode": "string",
- "Privileged": true,
- "PublishAllPorts": true,
- "ReadonlyRootfs": true,
- "SecurityOpt": [
- "string"
], - "StorageOpt": {
- "property1": "string",
- "property2": "string"
}, - "Tmpfs": {
- "property1": "string",
- "property2": "string"
}, - "UTSMode": "string",
- "UsernsMode": "string",
- "ShmSize": 0,
- "Sysctls": {
- "property1": "string",
- "property2": "string"
}, - "Runtime": "string",
- "Isolation": { },
- "MaskedPaths": [
- "string"
], - "ReadonlyPaths": [
- "string"
]
}"EMPTY""EMPTY"object or null | |||
| |||
| Type | string or null | ||
{- "Type": "string",
- "Config": {
- "property1": "string",
- "property2": "string"
}
}null or ContainerSpecMountBindOptions (object) | |
One of null | |
| Consistency | string or null マウントの一貫性要件: |
| ReadOnly | boolean or null マウントを読み取り専用にするか。 |
| Source | string or null マウント元(ボリューム名、ホストのパスなど)。 |
| Target | string or null コンテナのパス。 |
null or ContainerSpecMountTmpfsOptions (object) | |
One of null | |
null or ContainerSpecMountTypeEnum (string) | |
One of null | |
null or ContainerSpecMountVolumeOptions (object) | |
One of null | |
{- "Target": "string",
- "Source": "string",
- "Type": { },
- "ReadOnly": true,
- "Consistency": "string",
- "BindOptions": { },
- "VolumeOptions": { },
- "TmpfsOptions": { }
}| CreateMountpoint | boolean or null ホスト上のマウントポイントがなければ作成する。 |
| NonRecursive | boolean or null 再帰的なバインドマウントを無効にする。 |
null or ContainerSpecMountBindOptionsPropagationEnum (string) | |
One of null | |
| ReadOnlyForceRecursive | boolean or null マウントを再帰的に読み取り専用にできない場合、エラーを発生させる。 |
| ReadOnlyNonRecursive | boolean or null マウントを再帰的でない読み取り専用にします。NonRecursive も同時に |
{- "Propagation": { },
- "NonRecursive": true,
- "CreateMountpoint": true,
- "ReadOnlyNonRecursive": true,
- "ReadOnlyForceRecursive": true
}"EMPTY"| Mode | integer or null <int64> tmpfs マウントのアクセス許可モード。整数で指定します。 |
| SizeBytes | integer or null <int64> tmpfs マウントのサイズ(バイト)。 |
{- "SizeBytes": 0,
- "Mode": 0
}"EMPTY"null or ContainerSpecMountVolumeOptionsDriverConfig (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| NoCopy | boolean or null ターゲットのデータでボリュームを初期化する。 | ||
| Subpath | string or null ボリューム内の元のパス。親ディレクトリへの移動を含まない相対パスである必要があります。 | ||
{- "NoCopy": true,
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "DriverConfig": { },
- "Subpath": "string"
}| Name | string or null ボリュームの作成に使うドライバーの名前。 | ||
object or null ドライバー固有のオプションの、キーと値のマップ。 | |||
| |||
{- "Name": "string",
- "Options": {
- "property1": "string",
- "property2": "string"
}
}required | object | ||
| |||
{- "EndpointsConfig": {
- "property1": {
- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}, - "property2": {
- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}
}
}| Path | string or null |
| Weight | integer or null >= 0 |
{- "Path": "string",
- "Weight": 0
}| Hard | integer or null <int64> ハードリミット。 |
| Name | string or null ulimit の名前。 |
| Soft | integer or null <int64> ソフトリミット。 |
{- "Name": "string",
- "Soft": 0,
- "Hard": 0
}| MaximumRetryCount | integer or null <int64>
|
null or ContainerSpecRestartPolicyNameEnum (string) | |
One of null | |
{- "Name": { },
- "MaximumRetryCount": 0
}"EMPTY"| Path | string or null デバイスのパス。 |
| Rate | integer or null <int64> レート。 |
{- "Path": "string",
- "Rate": 0
}| Dead | boolean or null |
| Error | string or null |
| ExitCode | integer or null <int64> このコンテナの最後の終了コード。 |
| FinishedAt | string or null このコンテナの最後の終了時刻。 |
null or Health (object) | |
One of null | |
| OOMKilled | boolean or null 最後の起動以降に、コンテナ内のプロセスがメモリー不足で終了させられたか。 |
| Paused | boolean or null このコンテナが一時停止中か。 |
| Pid | integer or null <int64> このコンテナのプロセス ID。 |
| Restarting | boolean or null このコンテナが再起動中か。 |
| Running | boolean or null このコンテナが実行中か。実行中のコンテナは_一時停止_の場合もあります。 |
| StartedAt | string or null このコンテナの最後の起動時刻。 |
null or ContainerStateStatusEnum (string) | |
One of null | |
{- "Status": { },
- "Running": true,
- "Paused": true,
- "Restarting": true,
- "OOMKilled": true,
- "Dead": true,
- "Pid": 0,
- "ExitCode": 0,
- "Error": "string",
- "StartedAt": "string",
- "FinishedAt": "string",
- "Health": { }
}"EMPTY"| advertise_addr required | string ほかのノードに通知するアドレス。 |
| conf_dir required | string 設定ディレクトリ。 |
| docker_host | string 使用する Docker ホスト。 |
| gateway required | string ホストのゲートウェイ。未指定の場合はホストのデフォルトゲートウェイを自動検出します。 |
| gid required | integer <int32> >= 0 グループ ID。 |
| hostname required | string ノードのホスト名。未指定の場合は自動検出します。 |
| hosts required | 配列の要素型 strings 待ち受けるホストの一覧。 |
| nodes required | 配列の要素型 strings 参加するノードの一覧。 |
null or SslConfig (object) | |
One of null | |
| state_dir required | string 状態ディレクトリのパス。 |
| store_addr | string or null 接続するストアのアドレス。 |
{- "hosts": [
- "string"
], - "state_dir": "string",
- "docker_host": "string",
- "store_addr": "string",
- "gateway": "string",
- "hostname": "string",
- "nodes": [
- "string"
], - "advertise_addr": "string",
- "conf_dir": "string",
- "gid": 0,
- "ssl": { }
}| CgroupPermissions | string or null |
| PathInContainer | string or null |
| PathOnHost | string or null |
{- "PathOnHost": "string",
- "PathInContainer": "string",
- "CgroupPermissions": "string"
}| Capabilities | 配列の要素型 strings or null[ items ] ケーパビリティの一覧。内側の一覧を AND、外側の一覧を OR で評価します。 | ||
| Count | integer or null <int64> | ||
| DeviceIDs | 配列の要素型 strings or null | ||
| Driver | string or null | ||
object or null ドライバー固有のオプション。キーと値の組で指定し、ドライバーに直接渡します。 | |||
| |||
{- "Driver": "string",
- "Count": 0,
- "DeviceIDs": [
- "string"
], - "Capabilities": [
- [
- "string"
]
], - "Options": {
- "property1": "string",
- "property2": "string"
}
}required | string or object or object (NetworkKind) |
One of string ネットワークのバインドのセレクター。 | |
| Name required | string |
{- "Name": "string",
- "IpAddress": "string"
}| IPv4Address | string or null |
| IPv6Address | string or null |
| LinkLocalIPs | 配列の要素型 strings or null |
{- "IPv4Address": "string",
- "IPv6Address": "string",
- "LinkLocalIPs": [
- "string"
]
}| Aliases | 配列の要素型 strings or null | ||
| DNSNames | 配列の要素型 strings or null 特定のネットワークでエンドポイントが持つ DNS 名の一覧。コンテナ名、ネットワークの別名、コンテナの短い ID、ホスト名に基づきます。完全修飾名ではありませんが、複数のドットを含められます。 | ||
object or null DriverOpts はドライバーのオプションと値の対応です。ドライバーに直接渡す、ドライバー固有のオプションです。 | |||
| |||
| EndpointID | string or null Sandbox 内のサービスエンドポイントの一意な ID。 | ||
| Gateway | string or null このネットワークのゲートウェイアドレス。 | ||
| GlobalIPv6Address | string or null グローバル IPv6 アドレス。 | ||
| GlobalIPv6PrefixLen | integer or null <int64> グローバル IPv6 アドレスのマスク長。 | ||
| IPAddress | string or null IPv4 アドレス。 | ||
null or EndpointIpamConfig (object) | |||
One of null | |||
| IPPrefixLen | integer or null <int64> IPv4 アドレスのマスク長。 | ||
| IPv6Gateway | string or null IPv6 ゲートウェイアドレス。 | ||
| Links | 配列の要素型 strings or null | ||
| MacAddress | string or null このネットワークのエンドポイントの MAC アドレス。ネットワークドライバーが無視する場合があります。 | ||
| NetworkID | string or null ネットワークの一意な ID。 | ||
{- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}| Action required | string Action は対象の actor に対して実行した、または失敗したアクションを表します。機械が読み取れる形式です。新しい Events では空にできず、最大 128 文字です。 | ||
null or EventActor (object) | |||
One of null | |||
| CreatedAt required | string <date-time> イベントの作成時刻。 | ||
| ExpiresAt required | string <date-time> イベントの有効期限。 | ||
| Key required | string <uuid> このイベントの一意な識別子。 | ||
| Kind required | string (EventKind) 列挙値: "error" "normal" "warning" イベントの種類(Error、Normal、Warning)。今後、新しい種類が追加される可能性があります。機械が読み取れる形式です。新しい Events では空にできません。 | ||
object 標準のメタデータ。 | |||
| |||
| Note | string or null この操作の状態の、人が読み取れる説明。 | ||
| Reason required | string Reason はアクションを実行した理由です。人が読み取れる形式です。 新しい Events では空にできず、最大 128 文字です。 | ||
null or EventActor (object) | |||
One of null | |||
| ReportingController required | string Reporting Controller は、この Event を発行したコントローラーの名前です。
例: | ||
| ReportingNode required | string Reporting Node は、Event が生成されたノードの名前です。 | ||
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ExpiresAt": "2019-08-24T14:15:22Z",
- "ReportingNode": "string",
- "ReportingController": "string",
- "Kind": "error",
- "Action": "string",
- "Reason": "string",
- "Note": "string",
- "Actor": { },
- "Related": { },
- "Metadata": {
- "property1": "string",
- "property2": "string"
}
}object | |||
| |||
| Key | string or null | ||
| Kind required | string (EventActorKind) 列挙値: "Namespace" "Cargo" "Vm" "Job" "Resource" "Secret" "Process" "ContainerImage" Kind は actor の種類に関連するイベントの種類です。 | ||
{- "Key": "string",
- "Kind": "Namespace",
- "Attributes": {
- "property1": "string",
- "property2": "string"
}
}Kind は actor の種類に関連するイベントの種類です。
"Namespace"required | 配列の要素型 strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or strings or objects (NativeEventAction) |
Array One of string 値: "create" Action はイベントを引き起こしたアクションです。 | |
| ActorKey | string or null |
null or EventActorKind (string) | |
One of null | |
| Kind required | 配列の要素型 strings (EventKind) 許可される要素 列挙値: "error" "normal" "warning" |
| RelatedKey | string or null |
null or EventActorKind (string) | |
One of null | |
{- "ActorKey": "string",
- "ActorKind": { },
- "RelatedKey": "string",
- "RelatedKind": { },
- "Kind": [
- "error"
], - "Action": [
- "create"
]
}イベントの種類(Error、Normal、Warning)。今後、新しい種類が追加される可能性があります。
"error"null or GenericResourcesInnerDiscreteResourceSpec (object) | |
One of null | |
null or GenericResourcesInnerNamedResourceSpec (object) | |
One of null | |
{- "NamedResourceSpec": { },
- "DiscreteResourceSpec": { }
}| Kind | string or null |
| Value | integer or null <int64> |
{- "Kind": "string",
- "Value": 0
}| Kind | string or null |
| Value | string or null |
{- "Kind": "string",
- "Value": "string"
}required | object 低水準のストレージメタデータ。キーと値の組で提供します。使うストレージドライバーに依存する固有情報であり、参考情報としてのみ使ってください。 | ||
| |||
| Name required | string ストレージドライバーの名前。 | ||
{- "Name": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}
}| FailingStreak | integer or null <int64> FailingStreak は連続した失敗の回数です。 | ||||||||
配列の要素型 objects or null (HealthcheckResult) Log は直近のいくつかの結果を保持します(古い順)。 | |||||||||
Array
| |||||||||
null or HealthStatusEnum (string) | |||||||||
One of null | |||||||||
{- "Status": { },
- "FailingStreak": 0,
- "Log": [
- {
- "Start": { },
- "End": { },
- "ExitCode": 0,
- "Output": "string"
}
]
}| Interval | integer or null <int64> チェック間の待ち時間(ナノ秒)。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
| Retries | integer or null <int64> コンテナを異常と見なすまでに必要な連続失敗回数。0 は継承を意味します。 |
| StartInterval | integer or null <int64> 開始期間中のチェック間の待ち時間(ナノ秒)。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
| StartPeriod | integer or null <int64> ヘルスチェックの再試行カウントを始める前に、コンテナの初期化を待つ期間(ナノ秒)。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
| Test | 配列の要素型 strings or null 実行するテスト。 - |
| Timeout | integer or null <int64> チェックが応答停止したと見なすまで待つ時間。0 または 1000000(1 ms)以上にしてください。0 は継承を意味します。 |
{- "Test": [
- "string"
], - "Interval": 0,
- "Timeout": 0,
- "Retries": 0,
- "StartPeriod": 0,
- "StartInterval": 0
}"EMPTY"null or String (string) | |
One of null | |
| ExitCode | integer or null <int64> ExitCode の意味: - |
| Output | string or null 前回のチェックの出力。 |
null or String (string) | |
One of null | |
{- "Start": { },
- "End": { },
- "ExitCode": 0,
- "Output": "string"
}object or null コンテナに付ける、識別用ではない任意のメタデータ。起動時にランタイムに渡します。 | |||||||||||||||||
| |||||||||||||||||
| AutoRemove | boolean or null コンテナのプロセスが終了するとコンテナを自動削除します。 | ||||||||||||||||
| Binds | 配列の要素型 strings or null コンテナのボリュームバインドの一覧。各バインドは次のいずれかの形式の文字列です。 - | ||||||||||||||||
配列の要素型 objects or null (ThrottleDevice) デバイスからの読み取り速度(毎秒のバイト数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ThrottleDevice) デバイスからの読み取り速度(毎秒の I/O 回数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ThrottleDevice) デバイスへの書き込み速度(毎秒のバイト数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (ThrottleDevice) デバイスへの書き込み速度(毎秒の I/O 回数)を制限します。形式: | |||||||||||||||||
Array
| |||||||||||||||||
| BlkioWeight | integer or null <int32> >= 0 ブロック I/O の重み(相対的な重み)。 | ||||||||||||||||
配列の要素型 objects or null (ResourcesBlkioWeightDevice) ブロック I/O の重み(相対的なデバイス重み)。形式: | |||||||||||||||||
Array
| |||||||||||||||||
| CapAdd | 配列の要素型 strings or null コンテナに追加するカーネルのケーパビリティの一覧。'Capabilities' オプションと競合します。 | ||||||||||||||||
| CapDrop | 配列の要素型 strings or null コンテナから削除するカーネルのケーパビリティの一覧。'Capabilities' オプションと競合します。 | ||||||||||||||||
| Cgroup | string or null コンテナに使用する cgroup。 | ||||||||||||||||
null or HostConfigCgroupnsModeEnum (string) | |||||||||||||||||
One of null | |||||||||||||||||
| CgroupParent | string or null
| ||||||||||||||||
| ConsoleSize | 配列の要素型 integers or null <int32> [ items <int32 > ] 初期コンソールサイズ。 | ||||||||||||||||
| ContainerIDFile | string or null コンテナ ID を書き込むファイルのパス。 | ||||||||||||||||
| CpuCount | integer or null <int64> 使用可能な CPU 数(Windows のみ)。Windows Server コンテナでは CPU リソース制御は相互排他的です。優先順は | ||||||||||||||||
| CpuPercent | integer or null <int64> 利用可能な CPU の使用可能な割合(Windows のみ)。Windows Server コンテナでは CPU リソース制御は相互排他的です。優先順は | ||||||||||||||||
| CpuPeriod | integer or null <int64> CPU の期間の長さ(マイクロ秒)。 | ||||||||||||||||
| CpuQuota | integer or null <int64> コンテナが CPU の期間内に取得できる CPU 時間(マイクロ秒)。 | ||||||||||||||||
| CpuRealtimePeriod | integer or null <int64> CPU のリアルタイム期間の長さ(マイクロ秒)。0 にすると、リアルタイムタスクに時間を割り当てません。 | ||||||||||||||||
| CpuRealtimeRuntime | integer or null <int64> CPU のリアルタイム実行時間の長さ(マイクロ秒)。0 にすると、リアルタイムタスクに時間を割り当てません。 | ||||||||||||||||
| CpusetCpus | string or null 実行を許可する CPU(例: | ||||||||||||||||
| CpusetMems | string or null 実行を許可するメモリーノード(MEMs)(0-3、0,1)。NUMA システムでのみ有効です。 | ||||||||||||||||
| CpuShares | integer or null <int64> ほかのコンテナに対する、このコンテナの相対的な CPU 重みを表す整数値。 | ||||||||||||||||
| DeviceCgroupRules | 配列の要素型 strings or null コンテナに適用する cgroup ルールの一覧。 | ||||||||||||||||
配列の要素型 objects or null (DeviceRequest) デバイスドライバーに送るデバイス要求の一覧。 | |||||||||||||||||
Array
| |||||||||||||||||
配列の要素型 objects or null (DeviceMapping) コンテナに追加するデバイスの一覧。 | |||||||||||||||||
Array
| |||||||||||||||||
| Dns | 配列の要素型 strings or null コンテナで使う DNS サーバーの一覧。 | ||||||||||||||||
| DnsOptions | 配列の要素型 strings or null DNS オプションの一覧。 | ||||||||||||||||
| DnsSearch | 配列の要素型 strings or null DNS 検索ドメインの一覧。 | ||||||||||||||||
| ExtraHosts | 配列の要素型 strings or null コンテナの | ||||||||||||||||
| GroupAdd | 配列の要素型 strings or null コンテナのプロセスに適用する追加グループの一覧。 | ||||||||||||||||
| Init | boolean or null コンテナ内で、シグナルの転送と終了したプロセスの回収を行う init を実行します。空の場合はフィールドを省略し、デーモンに設定したデフォルトを使います。 | ||||||||||||||||
| IOMaximumBandwidth | integer or null <int64> コンテナのシステムドライブの最大 I/O(毎秒のバイト数)。Windows のみ。 | ||||||||||||||||
| IOMaximumIOps | integer or null <int64> コンテナのシステムドライブの最大 IOPS。Windows のみ。 | ||||||||||||||||
| IpcMode | string or null コンテナの IPC 共有モード。指定可能な値: - | ||||||||||||||||
null or HostConfigIsolationEnum (string) | |||||||||||||||||
One of null | |||||||||||||||||
| KernelMemoryTCP | integer or null <int64> カーネル TCP バッファーメモリーのハードリミット(バイト)。OCI ランタイムによっては無視されます。デフォルトの runc ランタイムではサポートしていません。空の場合はこのフィールドを省略します。 | ||||||||||||||||
| Links | 配列の要素型 strings or null
| ||||||||||||||||
null or HostConfigLogConfig (object) | |||||||||||||||||
One of null | |||||||||||||||||
| MaskedPaths | 配列の要素型 strings or null コンテナ内で隠すパスの一覧(デフォルトのパス集合を上書きします)。 | ||||||||||||||||
| Memory | integer or null <int64> メモリー制限(バイト)。 | ||||||||||||||||
| MemoryReservation | integer or null <int64> メモリーのソフトリミット(バイト)。 | ||||||||||||||||
| MemorySwap | integer or null <int64> メモリー全体の制限(メモリーとスワップ)。 | ||||||||||||||||
| MemorySwappiness | integer or null <int64> コンテナのメモリー swappiness を調整します。0~100 の整数を受け取ります。 | ||||||||||||||||
配列の要素型 objects or null (Mount) コンテナに追加するマウントの仕様。 | |||||||||||||||||
Array
| |||||||||||||||||
| NanoCpus | integer or null <int64> 10-9 CPU 単位の CPU クォータ。 | ||||||||||||||||
| NetworkMode | string or null コンテナで使うネットワークモード。標準の値は | ||||||||||||||||
| OomKillDisable | boolean or null コンテナの OOM Killer を無効にする。 | ||||||||||||||||
| OomScoreAdj | integer or null <int64> OOM killer の優先度を調整するためにコンテナに与えるスコアを含む整数値。 | ||||||||||||||||
| PidMode | string or null コンテナの PID(プロセス)名前空間モードを設定します。 - | ||||||||||||||||
| PidsLimit | integer or null <int64> コンテナの PID 数の制限を調整します。 | ||||||||||||||||
null or HashMap (object) | |||||||||||||||||
One of null | |||||||||||||||||
| Privileged | boolean or null コンテナにホストへの完全なアクセスを与えます。 | ||||||||||||||||
| PublishAllPorts | boolean or null コンテナの公開ポートすべてに一時的なホストポートを割り当てます。停止時に解放し、起動時に割り当てます。再起動でポートが変わる場合があります。カーネルに依存する一時ポートの範囲から選びます。Linux では | ||||||||||||||||
| ReadonlyPaths | 配列の要素型 strings or null コンテナ内で読み取り専用にするパスの一覧(デフォルトのパス集合を上書きします)。 | ||||||||||||||||
| ReadonlyRootfs | boolean or null コンテナのルートファイルシステムを読み取り専用でマウントする。 | ||||||||||||||||
null or RestartPolicy (object) | |||||||||||||||||
One of null | |||||||||||||||||
| Runtime | string or null このコンテナで使うランタイム。 | ||||||||||||||||
| SecurityOpt | 配列の要素型 strings or null SELinux などの MLS システム用のラベルをカスタマイズする文字列の一覧。 | ||||||||||||||||
| ShmSize | integer or null <int64>
| ||||||||||||||||
object or null このコンテナのストレージドライバーのオプション。 | |||||||||||||||||
| |||||||||||||||||
object or null コンテナに設定するカーネルパラメーター(sysctl)の一覧。例: | |||||||||||||||||
| |||||||||||||||||
object or null tmpfs マウントに置き換えるコンテナのディレクトリと、対応するマウントオプションのマップ。例: | |||||||||||||||||
| |||||||||||||||||
配列の要素型 objects or null (ResourcesUlimits) コンテナに設定するリソース制限の一覧。例: | |||||||||||||||||
Array
| |||||||||||||||||
| UsernsMode | string or null ユーザー名前空間の再マッピングが有効な場合に、コンテナのユーザー名前空間モードを設定します。 | ||||||||||||||||
| UTSMode | string or null コンテナで使う UTS 名前空間。 | ||||||||||||||||
| VolumeDriver | string or null このコンテナがボリュームのマウントに使うドライバー。 | ||||||||||||||||
| VolumesFrom | 配列の要素型 strings or null 別のコンテナから継承するボリュームの一覧。 | ||||||||||||||||
{- "CpuShares": 0,
- "Memory": 0,
- "CgroupParent": "string",
- "BlkioWeight": 0,
- "BlkioWeightDevice": [
- {
- "Path": "string",
- "Weight": 0
}
], - "BlkioDeviceReadBps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "BlkioDeviceWriteBps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "BlkioDeviceReadIOps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "BlkioDeviceWriteIOps": [
- {
- "Path": "string",
- "Rate": 0
}
], - "CpuPeriod": 0,
- "CpuQuota": 0,
- "CpuRealtimePeriod": 0,
- "CpuRealtimeRuntime": 0,
- "CpusetCpus": "string",
- "CpusetMems": "string",
- "Devices": [
- {
- "PathOnHost": "string",
- "PathInContainer": "string",
- "CgroupPermissions": "string"
}
], - "DeviceCgroupRules": [
- "string"
], - "DeviceRequests": [
- {
- "Driver": "string",
- "Count": 0,
- "DeviceIDs": [
- "string"
], - "Capabilities": [
- [
- "string"
]
], - "Options": {
- "property1": "string",
- "property2": "string"
}
}
], - "KernelMemoryTCP": 0,
- "MemoryReservation": 0,
- "MemorySwap": 0,
- "MemorySwappiness": 0,
- "NanoCpus": 0,
- "OomKillDisable": true,
- "Init": true,
- "PidsLimit": 0,
- "Ulimits": [
- {
- "Name": "string",
- "Soft": 0,
- "Hard": 0
}
], - "CpuCount": 0,
- "CpuPercent": 0,
- "IOMaximumIOps": 0,
- "IOMaximumBandwidth": 0,
- "Binds": [
- "string"
], - "ContainerIDFile": "string",
- "LogConfig": { },
- "NetworkMode": "string",
- "PortBindings": { },
- "RestartPolicy": { },
- "AutoRemove": true,
- "VolumeDriver": "string",
- "VolumesFrom": [
- "string"
], - "Mounts": [
- {
- "Target": "string",
- "Source": "string",
- "Type": { },
- "ReadOnly": true,
- "Consistency": "string",
- "BindOptions": { },
- "VolumeOptions": { },
- "TmpfsOptions": { }
}
], - "ConsoleSize": [
- 0
], - "Annotations": {
- "property1": "string",
- "property2": "string"
}, - "CapAdd": [
- "string"
], - "CapDrop": [
- "string"
], - "CgroupnsMode": { },
- "Dns": [
- "string"
], - "DnsOptions": [
- "string"
], - "DnsSearch": [
- "string"
], - "ExtraHosts": [
- "string"
], - "GroupAdd": [
- "string"
], - "IpcMode": "string",
- "Cgroup": "string",
- "Links": [
- "string"
], - "OomScoreAdj": 0,
- "PidMode": "string",
- "Privileged": true,
- "PublishAllPorts": true,
- "ReadonlyRootfs": true,
- "SecurityOpt": [
- "string"
], - "StorageOpt": {
- "property1": "string",
- "property2": "string"
}, - "Tmpfs": {
- "property1": "string",
- "property2": "string"
}, - "UTSMode": "string",
- "UsernsMode": "string",
- "ShmSize": 0,
- "Sysctls": {
- "property1": "string",
- "property2": "string"
}, - "Runtime": "string",
- "Isolation": { },
- "MaskedPaths": [
- "string"
], - "ReadonlyPaths": [
- "string"
]
}"EMPTY"object or null | |||
| |||
| Type | string or null | ||
{- "Type": "string",
- "Config": {
- "property1": "string",
- "property2": "string"
}
}| Architecture | string or null Go ランタイム( | ||||||||||||||||||||||||||
| BridgeNfIp6tables | boolean or null ホストで | ||||||||||||||||||||||||||
| BridgeNfIptables | boolean or null ホストで | ||||||||||||||||||||||||||
| CDISpecDirs | 配列の要素型 strings or null CDI(Container Device Interface)仕様があるディレクトリの一覧。作成するコンテナの OCI ランタイム仕様に対する、ベンダー固有の変更を定義します。空の一覧は CDI デバイス注入が無効であることを示します。注入にはデーモンの実験的機能を有効にする必要があり、無効なデーモンでは常に空の一覧を返します。 | ||||||||||||||||||||||||||
null or SystemInfoCgroupDriverEnum (string) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
null or SystemInfoCgroupVersionEnum (string) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
required | object (DaemonConfig) デーモンの設定。 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
null or Commit (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
| Containers | integer or null <int64> ホスト上のコンテナ総数。 | ||||||||||||||||||||||||||
| ContainersPaused | integer or null <int64> 状態が | ||||||||||||||||||||||||||
| ContainersRunning | integer or null <int64> 状態が | ||||||||||||||||||||||||||
| ContainersStopped | integer or null <int64> 状態が | ||||||||||||||||||||||||||
| CpuCfsPeriod | boolean or null ホストが CPU CFS(Completely Fair Scheduler)の期間設定に対応するかを示します。 | ||||||||||||||||||||||||||
| CpuCfsQuota | boolean or null ホストが CPU CFS(Completely Fair Scheduler)のクォータに対応するかを示します。 | ||||||||||||||||||||||||||
| CPUSet | boolean or null ホストが CPUset(cpuset.cpus、cpuset.mems)に対応するかを示します。cpuset(7) を参照してください。 | ||||||||||||||||||||||||||
| CPUShares | boolean or null ホストが CPU Shares の制限に対応するかを示します。 | ||||||||||||||||||||||||||
| Debug | boolean or null デーモンがデバッグモード、またはデバッグレベルのログを有効にして動作しているかを示します。 | ||||||||||||||||||||||||||
配列の要素型 objects or null (SystemInfoDefaultAddressPools) ローカルネットワークの独自のデフォルトアドレスプールの一覧。daemon.json または dockerd のオプションで指定できます。例:Base が "10.10.0.0/16"、Size が 24 なら、256 個の 10.10.[0-255].0/24 アドレスプールを定義します。 | |||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||
| DefaultRuntime | string or null コンテナの起動に使うデフォルトの OCI ランタイムの名前。作成時にコンテナごとに上書きできます。 | ||||||||||||||||||||||||||
| DockerRootDir | string or null Docker の永続状態のルートディレクトリ。Linux のデフォルトは | ||||||||||||||||||||||||||
| Driver | string or null 使用中のストレージドライバーの名前。 | ||||||||||||||||||||||||||
| DriverStatus | 配列の要素型 strings or null[ items ] ストレージドライバー固有の情報。"label" と "value" の組で提供します。ドライバーが提供し、コマンドラインの | ||||||||||||||||||||||||||
| ExperimentalBuild | boolean or null デーモンで実験的な機能が有効かを示します。 | ||||||||||||||||||||||||||
null or GenericResourcesInner (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
| HostGateway required | string HostGateway はホストのゲートウェイアドレスです。 | ||||||||||||||||||||||||||
| HttpProxy | string or null デーモンに設定した HTTP プロキシ。 | ||||||||||||||||||||||||||
| HttpsProxy | string or null デーモンに設定した HTTPS プロキシ。 | ||||||||||||||||||||||||||
| ID | string or null デーモンの一意な識別子。 | ||||||||||||||||||||||||||
| Images | integer or null <int64> ホスト上のイメージ総数。_タグ付き_と_タグなし_(dangling)の両方を数えます。 | ||||||||||||||||||||||||||
| IndexServerAddress | string or null イメージ検索と、Docker Hub と Docker Cloud のユーザー認証のデフォルトに使うインデックスサーバーのアドレスまたは URL。 | ||||||||||||||||||||||||||
| InitBinary | string or null
| ||||||||||||||||||||||||||
null or Commit (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
| IPv4Forwarding | boolean or null IPv4 転送が有効かを示します。 | ||||||||||||||||||||||||||
null or SystemInfoIsolationEnum (string) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
| KernelMemoryTCP | boolean or null ホストでカーネルメモリーの TCP 制限が有効かを示します。未対応なら省略します。対応する | ||||||||||||||||||||||||||
| KernelVersion | string or null ホストのカーネルバージョン。Linux では | ||||||||||||||||||||||||||
| Labels | 配列の要素型 strings or null デーモンに設定したユーザー定義のラベル(キーと値のメタデータ)。 /nodes/(id) エンドポイントで取得できます。
| ||||||||||||||||||||||||||
| LiveRestoreEnabled | boolean or null live restore が有効かを示します。有効なら、デーモン停止時や、起動時に実行中のコンテナを検出した場合もコンテナの実行を継続します。 | ||||||||||||||||||||||||||
| LoggingDriver | string or null 新しいコンテナのデフォルトとして使うログドライバー。 | ||||||||||||||||||||||||||
| MemoryLimit | boolean or null ホストでメモリー制限のサポートが有効かを示します。 | ||||||||||||||||||||||||||
| MemTotal | integer or null <int64> ホスト上で利用可能な物理メモリーの総量(バイト)。 | ||||||||||||||||||||||||||
| Name | string or null ホストのホスト名。 | ||||||||||||||||||||||||||
| NCPU | integer or null <int64> デーモンが使える論理 CPU 数。起動時に OS に問い合わせて確認します。起動後の OS の CPU 割り当て変更は反映しません。 | ||||||||||||||||||||||||||
required | object (Network) ネットワークの設定。 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| NEventsListener | integer or null <int64> 購読中のイベントリスナー数。 | ||||||||||||||||||||||||||
| NFd | integer or null <int64> デーモンのプロセスが使用中のファイルディスクリプターの総数。デバッグモードが有効な場合だけ返します。 | ||||||||||||||||||||||||||
| NGoroutines | integer or null <int64> 現在存在する goroutine の数。デバッグモードが有効な場合だけ返します。 | ||||||||||||||||||||||||||
| NoProxy | string or null プロキシを使わないドメイン拡張子のカンマ区切り一覧。 | ||||||||||||||||||||||||||
| OomKillDisable | boolean or null ホストが OOM killer の無効化に対応するかを示します。 | ||||||||||||||||||||||||||
| OperatingSystem | string or null ホストの OS 名。例:"Ubuntu 16.04.2 LTS"、"Windows Server 2016 Datacenter"。 | ||||||||||||||||||||||||||
| OSType | string or null Go ランタイム( | ||||||||||||||||||||||||||
| OSVersion | string or null ホスト OS のバージョン。 | ||||||||||||||||||||||||||
| PidsLimit | boolean or null ホストカーネルで PID 制限のサポートが有効かを示します。 | ||||||||||||||||||||||||||
null or PluginsInfo (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
| ProductLicense | string or null デーモンの製品ライセンスの概要を報告します。商用ライセンスが適用されている場合は、ノード数や有効期限などの情報を含みます。 | ||||||||||||||||||||||||||
null or RegistryServiceConfig (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
null or Commit (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
object or null デーモンに設定した OCI 準拠ランタイムの一覧。キーはランタイムを参照する "name" を保持します。Docker デーモンは、 | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| SecurityOptions | 配列の要素型 strings or null apparmor、seccomp、SELinux、userns、rootless、no-new-privileges など、デーモンで有効なセキュリティ機能の一覧。機能ごとの追加設定がある場合は、キーと値の組をカンマ区切りで含めます。 | ||||||||||||||||||||||||||
| ServerVersion | string or null デーモンのバージョン文字列。 | ||||||||||||||||||||||||||
| SwapLimit | boolean or null ホストでスワップメモリー制限のサポートが有効かを示します。 | ||||||||||||||||||||||||||
null or SwarmInfo (object) | |||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||
| SystemTime | string or null ナノ秒精度の RFC 3339 形式の現在のシステム時刻。 | ||||||||||||||||||||||||||
| Warnings | 配列の要素型 strings or null 機能不足やデーモン設定の問題に関する警告と情報メッセージの一覧。クライアントはユーザー向けの情報として表示できます。 | ||||||||||||||||||||||||||
{- "ID": "string",
- "Containers": 0,
- "ContainersRunning": 0,
- "ContainersPaused": 0,
- "ContainersStopped": 0,
- "Images": 0,
- "Driver": "string",
- "DriverStatus": [
- [
- "string"
]
], - "DockerRootDir": "string",
- "Plugins": { },
- "MemoryLimit": true,
- "SwapLimit": true,
- "KernelMemoryTCP": true,
- "CpuCfsPeriod": true,
- "CpuCfsQuota": true,
- "CPUShares": true,
- "CPUSet": true,
- "PidsLimit": true,
- "OomKillDisable": true,
- "IPv4Forwarding": true,
- "BridgeNfIptables": true,
- "BridgeNfIp6tables": true,
- "Debug": true,
- "NFd": 0,
- "NGoroutines": 0,
- "SystemTime": "string",
- "LoggingDriver": "string",
- "CgroupDriver": { },
- "CgroupVersion": { },
- "NEventsListener": 0,
- "KernelVersion": "string",
- "OperatingSystem": "string",
- "OSVersion": "string",
- "OSType": "string",
- "Architecture": "string",
- "NCPU": 0,
- "MemTotal": 0,
- "IndexServerAddress": "string",
- "RegistryConfig": { },
- "GenericResources": { },
- "HttpProxy": "string",
- "HttpsProxy": "string",
- "NoProxy": "string",
- "Name": "string",
- "Labels": [
- "string"
], - "ExperimentalBuild": true,
- "ServerVersion": "string",
- "Runtimes": {
- "property1": {
- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}
}, - "DefaultRuntime": "string",
- "Swarm": { },
- "LiveRestoreEnabled": true,
- "Isolation": { },
- "InitBinary": "string",
- "ContainerdCommit": { },
- "RuncCommit": { },
- "InitCommit": { },
- "SecurityOptions": [
- "string"
], - "ProductLicense": "string",
- "DefaultAddressPools": [
- {
- "Base": "string",
- "Size": 0
}
], - "Warnings": [
- "string"
], - "CDISpecDirs": [
- "string"
], - "HostGateway": "string",
- "Network": {
- "Name": "string",
- "Id": "string",
- "Created": { },
- "Scope": "string",
- "Driver": "string",
- "EnableIPv6": true,
- "IPAM": { },
- "Internal": true,
- "Attachable": true,
- "Ingress": true,
- "Containers": {
- "property1": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}, - "property2": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}
}, - "Options": {
- "property1": "string",
- "property2": "string"
}, - "Labels": {
- "property1": "string",
- "property2": "string"
}
}, - "Config": {
- "hosts": [
- "string"
], - "state_dir": "string",
- "docker_host": "string",
- "store_addr": "string",
- "gateway": "string",
- "hostname": "string",
- "nodes": [
- "string"
], - "advertise_addr": "string",
- "conf_dir": "string",
- "gid": 0,
- "ssl": { }
}
}{- "Config": {
- "MaxAge": 0,
- "Preload": true,
- "Always": true,
- "IncludeSubDomains": true
}
}| Always required | boolean |
| IncludeSubDomains required | boolean |
| MaxAge required | integer <int64> >= 0 |
| Preload required | boolean |
{- "MaxAge": 0,
- "Preload": true,
- "Always": true,
- "IncludeSubDomains": true
}null or UrlRedirect (string) | |
One of null | |
| Url required | string ターゲットの URL。 |
{- "Url": "string",
- "Redirect": { }
}プロセスオブジェクト(ジョブ、Cargo、VM)に関連するイメージの取得ポリシー。
"Never"| Mirrors | 配列の要素型 strings or null URI で表すミラーの一覧。 |
| Name | string or null レジストリの名前(例:"docker.io")。 |
| Official | boolean or null 公式のレジストリ(Docker Hub / docker.io)かを示します。 |
| Secure | boolean or null レジストリが安全でないレジストリの一覧に含まれるかを示します。 |
{- "Name": "string",
- "Mirrors": [
- "string"
], - "Secure": true,
- "Official": true
}配列の要素型 objects or null (IpamConfig) マップで指定する IPAM 設定オプションの一覧: | |||||||||
Array
| |||||||||
| Driver | string or null 使用する IPAM ドライバーの名前。 | ||||||||
object or null ドライバー固有のオプション。マップで指定します。 | |||||||||
| |||||||||
{- "Driver": "string",
- "Config": [
- {
- "Subnet": "string",
- "IPRange": "string",
- "Gateway": "string",
- "AuxiliaryAddresses": {
- "property1": "string",
- "property2": "string"
}
}
], - "Options": {
- "property1": "string",
- "property2": "string"
}
}object or null | |||
| |||
| Gateway | string or null | ||
| IPRange | string or null | ||
| Subnet | string or null | ||
{- "Subnet": "string",
- "IPRange": "string",
- "Gateway": "string",
- "AuxiliaryAddresses": {
- "property1": "string",
- "property2": "string"
}
}| CreatedAt required | string <date-time> ジョブの作成時刻。 | ||||||||||||||||
required | object (JobSpec) ジョブの仕様。 | ||||||||||||||||
| |||||||||||||||||
required | object (ObjPsStatus) ジョブの状態。 | ||||||||||||||||
| |||||||||||||||||
| UpdatedAt required | string <date-time> ジョブの更新時刻。 | ||||||||||||||||
{- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}
}| CreatedAt required | string <date-time> ジョブの作成時刻。 | ||||||||||||||||||
| InstanceFailed required | integer >= 0 失敗したインスタンス数。 | ||||||||||||||||||
| InstanceRunning required | integer >= 0 実行中のインスタンス数。 | ||||||||||||||||||
required | 配列の要素型 objects (Process) インスタンスの一覧。 | ||||||||||||||||||
Array
| |||||||||||||||||||
| InstanceSuccess required | integer >= 0 成功したインスタンス数。 | ||||||||||||||||||
| InstanceTotal required | integer >= 0 インスタンス数。 | ||||||||||||||||||
required | object (JobSpec) ジョブの仕様。 | ||||||||||||||||||
| |||||||||||||||||||
required | object (ObjPsStatus) ジョブの状態。 | ||||||||||||||||||
| |||||||||||||||||||
| UpdatedAt required | string <date-time> ジョブの更新時刻。 | ||||||||||||||||||
{- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "InstanceTotal": 0,
- "InstanceSuccess": 0,
- "InstanceRunning": 0,
- "InstanceFailed": 0,
- "Spec": {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}required | 配列の要素型 objects (Config) 実行するコンテナの一覧。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or ImagePullPolicy (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ImagePullSecret | string or null イメージ取得時に使うシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
object メタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string ジョブの名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule | string or null 5 フィールドの cron 式、または対応する短縮形。[ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings or null 環境変数として読み込むシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ttl | integer or null >= 0 実行後 x 秒経過してからジョブを削除する。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}required | 配列の要素型 objects (Config) 実行するコンテナ。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
null or ImagePullPolicy (string) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ImagePullSecret | string or null イメージ取得時に使うシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
object メタデータ(ユーザー定義)。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string ジョブの名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule | string or null ジョブのスケジュール(cron)。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Secrets | 配列の要素型 strings or null 環境変数として読み込むシークレット。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ttl | integer or null >= 0 実行後 x 秒経過してからジョブを削除する。 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
{- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}| CreatedAt required | string <date-time> ジョブの作成時刻。 | ||||||||||||||||
| InstanceFailed required | integer >= 0 失敗したインスタンス数。 | ||||||||||||||||
| InstanceRunning required | integer >= 0 実行中のインスタンス数。 | ||||||||||||||||
| InstanceSuccess required | integer >= 0 成功したインスタンス数。 | ||||||||||||||||
| InstanceTotal required | integer >= 0 インスタンス数。 | ||||||||||||||||
required | object (JobSpec) ジョブの仕様。 | ||||||||||||||||
| |||||||||||||||||
required | object (ObjPsStatus) ジョブの状態。 | ||||||||||||||||
| |||||||||||||||||
| UpdatedAt required | string <date-time> ジョブの更新時刻。 | ||||||||||||||||
{- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "InstanceTotal": 0,
- "InstanceSuccess": 0,
- "InstanceRunning": 0,
- "InstanceFailed": 0,
- "Spec": {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}
}| Burst required | integer >= 0 バーストサイズ。 |
| Delay | integer or null >= 0 再試行まで待つ時間。 |
{- "Burst": 0,
- "Delay": 0
}| Rate required | integer >= 0 毎秒の最大リクエスト数。 |
| Size required | integer >= 0 キャッシュの最大サイズ(MB)。 |
{- "Size": 0,
- "Rate": 0
}このノードの現在のローカル状態。
値の列挙型です。
各バリアントがデータを保持しないため、#[repr(C)] として簡単に定義でき、FFI に役立ちます。
"EMPTY"| DisableLogging | boolean or null このターゲットのログを無効にする。 |
| Key required | string ターゲットにする Cargo または VM のキー。 |
| Path | string or null HTTP 利用時にターゲットにする HTTP パス。 |
| Port required | integer <int32> >= 0 ターゲットにする Cargo または VM のポート。 |
null or (ProxySsl (ProxySslConfig (object) or ProxySsl (string))) | |
One of null | |
{- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}| commit | integer or null <int64> >= 0 |
| commit_peak | integer or null <int64> >= 0 |
| commitbytes | integer or null <int64> >= 0 |
| commitpeakbytes | integer or null <int64> >= 0 |
| failcnt | integer or null <int64> >= 0 |
| limit | integer or null <int64> >= 0 |
| max_usage | integer or null <int64> >= 0 |
| privateworkingset | integer or null <int64> >= 0 |
null or (MemoryStatsStats (MemoryStatsStatsV1 (object) or MemoryStatsStatsV2 (object))) | |
One of null | |
| usage | integer or null <int64> >= 0 |
{- "stats": { },
- "max_usage": 0,
- "usage": 0,
- "failcnt": 0,
- "limit": 0,
- "commit": 0,
- "commit_peak": 0,
- "commitbytes": 0,
- "commitpeakbytes": 0,
- "privateworkingset": 0
}| active_anon required | integer <int64> >= 0 |
| active_file required | integer <int64> >= 0 |
| cache required | integer <int64> >= 0 |
| dirty required | integer <int64> >= 0 |
| hierarchical_memory_limit required | integer <int64> >= 0 |
| hierarchical_memsw_limit | integer or null <int64> >= 0 |
| inactive_anon required | integer <int64> >= 0 |
| inactive_file required | integer <int64> >= 0 |
| mapped_file required | integer <int64> >= 0 |
| pgfault required | integer <int64> >= 0 |
| pgmajfault required | integer <int64> >= 0 |
| pgpgin required | integer <int64> >= 0 |
| pgpgout required | integer <int64> >= 0 |
| rss required | integer <int64> >= 0 |
| rss_huge required | integer <int64> >= 0 |
| shmem | integer or null <int64> >= 0 |
| total_active_anon required | integer <int64> >= 0 |
| total_active_file required | integer <int64> >= 0 |
| total_cache required | integer <int64> >= 0 |
| total_dirty required | integer <int64> >= 0 |
| total_inactive_anon required | integer <int64> >= 0 |
| total_inactive_file required | integer <int64> >= 0 |
| total_mapped_file required | integer <int64> >= 0 |
| total_pgfault required | integer <int64> >= 0 |
| total_pgmajfault required | integer <int64> >= 0 |
| total_pgpgin required | integer <int64> >= 0 |
| total_pgpgout required | integer <int64> >= 0 |
| total_rss required | integer <int64> >= 0 |
| total_rss_huge required | integer <int64> >= 0 |
| total_shmem | integer or null <int64> >= 0 |
| total_unevictable required | integer <int64> >= 0 |
| total_writeback required | integer <int64> >= 0 |
| unevictable required | integer <int64> >= 0 |
| writeback required | integer <int64> >= 0 |
{- "cache": 0,
- "dirty": 0,
- "mapped_file": 0,
- "total_inactive_file": 0,
- "pgpgout": 0,
- "rss": 0,
- "total_mapped_file": 0,
- "writeback": 0,
- "unevictable": 0,
- "pgpgin": 0,
- "total_unevictable": 0,
- "pgmajfault": 0,
- "total_rss": 0,
- "total_rss_huge": 0,
- "total_writeback": 0,
- "total_inactive_anon": 0,
- "rss_huge": 0,
- "hierarchical_memory_limit": 0,
- "total_pgfault": 0,
- "total_active_file": 0,
- "active_anon": 0,
- "total_active_anon": 0,
- "total_pgpgout": 0,
- "total_cache": 0,
- "total_dirty": 0,
- "inactive_anon": 0,
- "active_file": 0,
- "pgfault": 0,
- "inactive_file": 0,
- "total_pgmajfault": 0,
- "total_pgpgin": 0,
- "hierarchical_memsw_limit": 0,
- "shmem": 0,
- "total_shmem": 0
}| active_anon required | integer <int64> >= 0 |
| active_file required | integer <int64> >= 0 |
| cache required | integer <int64> >= 0 |
| dirty required | integer <int64> >= 0 |
| hierarchical_memory_limit required | integer <int64> >= 0 |
| hierarchical_memsw_limit | integer or null <int64> >= 0 |
| inactive_anon required | integer <int64> >= 0 |
| inactive_file required | integer <int64> >= 0 |
| mapped_file required | integer <int64> >= 0 |
| pgfault required | integer <int64> >= 0 |
| pgmajfault required | integer <int64> >= 0 |
| pgpgin required | integer <int64> >= 0 |
| pgpgout required | integer <int64> >= 0 |
| rss required | integer <int64> >= 0 |
| rss_huge required | integer <int64> >= 0 |
| shmem | integer or null <int64> >= 0 |
| total_active_anon required | integer <int64> >= 0 |
| total_active_file required | integer <int64> >= 0 |
| total_cache required | integer <int64> >= 0 |
| total_dirty required | integer <int64> >= 0 |
| total_inactive_anon required | integer <int64> >= 0 |
| total_inactive_file required | integer <int64> >= 0 |
| total_mapped_file required | integer <int64> >= 0 |
| total_pgfault required | integer <int64> >= 0 |
| total_pgmajfault required | integer <int64> >= 0 |
| total_pgpgin required | integer <int64> >= 0 |
| total_pgpgout required | integer <int64> >= 0 |
| total_rss required | integer <int64> >= 0 |
| total_rss_huge required | integer <int64> >= 0 |
| total_shmem | integer or null <int64> >= 0 |
| total_unevictable required | integer <int64> >= 0 |
| total_writeback required | integer <int64> >= 0 |
| unevictable required | integer <int64> >= 0 |
| writeback required | integer <int64> >= 0 |
{- "cache": 0,
- "dirty": 0,
- "mapped_file": 0,
- "total_inactive_file": 0,
- "pgpgout": 0,
- "rss": 0,
- "total_mapped_file": 0,
- "writeback": 0,
- "unevictable": 0,
- "pgpgin": 0,
- "total_unevictable": 0,
- "pgmajfault": 0,
- "total_rss": 0,
- "total_rss_huge": 0,
- "total_writeback": 0,
- "total_inactive_anon": 0,
- "rss_huge": 0,
- "hierarchical_memory_limit": 0,
- "total_pgfault": 0,
- "total_active_file": 0,
- "active_anon": 0,
- "total_active_anon": 0,
- "total_pgpgout": 0,
- "total_cache": 0,
- "total_dirty": 0,
- "inactive_anon": 0,
- "active_file": 0,
- "pgfault": 0,
- "inactive_file": 0,
- "total_pgmajfault": 0,
- "total_pgpgin": 0,
- "hierarchical_memsw_limit": 0,
- "shmem": 0,
- "total_shmem": 0
}| active_anon required | integer <int64> >= 0 |
| active_file required | integer <int64> >= 0 |
| anon required | integer <int64> >= 0 |
| anon_thp required | integer <int64> >= 0 |
| file required | integer <int64> >= 0 |
| file_dirty required | integer <int64> >= 0 |
| file_mapped required | integer <int64> >= 0 |
| file_writeback required | integer <int64> >= 0 |
| inactive_anon required | integer <int64> >= 0 |
| inactive_file required | integer <int64> >= 0 |
| kernel_stack required | integer <int64> >= 0 |
| pgactivate required | integer <int64> >= 0 |
| pgdeactivate required | integer <int64> >= 0 |
| pgfault required | integer <int64> >= 0 |
| pglazyfree required | integer <int64> >= 0 |
| pglazyfreed required | integer <int64> >= 0 |
| pgmajfault required | integer <int64> >= 0 |
| pgrefill required | integer <int64> >= 0 |
| pgscan required | integer <int64> >= 0 |
| pgsteal required | integer <int64> >= 0 |
| shmem required | integer <int64> >= 0 |
| slab required | integer <int64> >= 0 |
| slab_reclaimable required | integer <int64> >= 0 |
| slab_unreclaimable required | integer <int64> >= 0 |
| sock required | integer <int64> >= 0 |
| thp_collapse_alloc required | integer <int64> >= 0 |
| thp_fault_alloc required | integer <int64> >= 0 |
| unevictable required | integer <int64> >= 0 |
| workingset_activate required | integer <int64> >= 0 |
| workingset_nodereclaim required | integer <int64> >= 0 |
| workingset_refault required | integer <int64> >= 0 |
{- "anon": 0,
- "file": 0,
- "kernel_stack": 0,
- "slab": 0,
- "sock": 0,
- "shmem": 0,
- "file_mapped": 0,
- "file_dirty": 0,
- "file_writeback": 0,
- "anon_thp": 0,
- "inactive_anon": 0,
- "active_anon": 0,
- "inactive_file": 0,
- "active_file": 0,
- "unevictable": 0,
- "slab_reclaimable": 0,
- "slab_unreclaimable": 0,
- "pgfault": 0,
- "pgmajfault": 0,
- "workingset_refault": 0,
- "workingset_activate": 0,
- "workingset_nodereclaim": 0,
- "pgrefill": 0,
- "pgscan": 0,
- "pgsteal": 0,
- "pgactivate": 0,
- "pgdeactivate": 0,
- "pglazyfree": 0,
- "pglazyfreed": 0,
- "thp_fault_alloc": 0,
- "thp_collapse_alloc": 0
}| CreatedAt required | string <date-time> メトリクスの作成時刻。 |
| Data required | any メトリクスのデータ。 |
| ExpiresAt required | string <date-time> メトリクスの有効期限。 |
| Key required | string <uuid> データベース内のメトリクスのキー( |
| Kind required | string メトリクスの種類。 |
| NodeName required | string メトリクスの取得元のノード。 |
| Note | string or null メトリクスの任意の注記。 |
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ExpiresAt": "2019-08-24T14:15:22Z",
- "NodeName": "string",
- "Kind": "string",
- "Data": null,
- "Note": "string"
}| Data required | any メトリクスのデータ。 |
| Kind required | string メトリクスの種類。 |
| Note | string or null メトリクスの任意の注記。 |
{- "Kind": "string",
- "Data": null,
- "Note": "string"
}null or MountBindOptions (object) | |
One of null | |
| Consistency | string or null マウントの一貫性要件: |
| ReadOnly | boolean or null マウントを読み取り専用にするか。 |
| Source | string or null マウント元(ボリューム名、ホストのパスなど)。 |
| Target | string or null コンテナのパス。 |
null or MountTmpfsOptions (object) | |
One of null | |
null or MountTypeEnum (string) | |
One of null | |
null or MountVolumeOptions (object) | |
One of null | |
{- "Target": "string",
- "Source": "string",
- "Type": { },
- "ReadOnly": true,
- "Consistency": "string",
- "BindOptions": { },
- "VolumeOptions": { },
- "TmpfsOptions": { }
}| CreateMountpoint | boolean or null ホスト上のマウントポイントがなければ作成する。 |
| NonRecursive | boolean or null 再帰的なバインドマウントを無効にする。 |
null or MountBindOptionsPropagationEnum (string) | |
One of null | |
| ReadOnlyForceRecursive | boolean or null マウントを再帰的に読み取り専用にできない場合、エラーを発生させる。 |
| ReadOnlyNonRecursive | boolean or null マウントを再帰的でない読み取り専用にします。NonRecursive も同時に |
{- "Propagation": { },
- "NonRecursive": true,
- "CreateMountpoint": true,
- "ReadOnlyNonRecursive": true,
- "ReadOnlyForceRecursive": true
}"EMPTY"| Destination | string or null Destination はコンテナのルート( |
| Driver | string or null Driver はボリュームの作成に使うボリュームドライバーです(ボリュームの場合)。 |
| Mode | string or null Mode はバインドまたはボリュームのマウント作成時に、ユーザーが指定したオプションのカンマ区切り一覧です。デフォルトはプラットフォーム固有(Linux では |
| Name | string or null Name は、 |
| Propagation | string or null Propagation はホストとマウントポイントの間で、双方向にマウントを伝播する方法を表します。詳細は Linux カーネルのドキュメントを参照してください。Windows では使いません。 |
| RW | boolean or null マウントが書き込み可能(読み書き可能)か。 |
| Source | string or null マウント元の場所。ボリュームでは、 |
null or MountPointTypeEnum (string) | |
One of null | |
{- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}"EMPTY"| Mode | integer or null <int64> tmpfs マウントのアクセス許可モード。整数で指定します。 |
| SizeBytes | integer or null <int64> tmpfs マウントのサイズ(バイト)。 |
{- "SizeBytes": 0,
- "Mode": 0
}null or MountVolumeOptionsDriverConfig (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| NoCopy | boolean or null ターゲットのデータでボリュームを初期化する。 | ||
| Subpath | string or null ボリューム内の元のパス。親ディレクトリへの移動を含まない相対パスである必要があります。 | ||
{- "NoCopy": true,
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "DriverConfig": { },
- "Subpath": "string"
}| Name | string or null ボリュームの作成に使うドライバーの名前。 | ||
object or null ドライバー固有のオプションの、キーと値のマップ。 | |||
| |||
{- "Name": "string",
- "Options": {
- "property1": "string",
- "property2": "string"
}
}| CreatedAt required | string <date-time> 名前空間の作成時刻。 |
| Metadata | any ユーザー定義のメタデータ。 |
| Name required | string 名前空間の主キーとなる名前。 |
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Metadata": null
}required | 配列の要素型 objects (CargoInspect) Cargo の数。 | ||||||||||||||
Array
| |||||||||||||||
| Name required | string 名前空間の名前。 | ||||||||||||||
{- "Name": "string",
- "Cargoes": [
- {
- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CargoKey": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}
]
}| Metadata | any ユーザー定義のメタデータ。 |
| Name required | string 名前空間の名前。 |
{- "Name": "string",
- "Metadata": null
}| Cargoes required | integer >= 0 Cargo の数。 |
| CreatedAt required | string <date-time> 名前空間の作成時刻。 |
| Instances required | integer >= 0 インスタンス数。 |
| Name required | string 名前空間の名前。 |
{- "Name": "string",
- "Cargoes": 0,
- "Instances": 0,
- "CreatedAt": "2019-08-24T14:15:22Z"
}| Attachable | boolean or null | ||
object or null | |||
| |||
null or String (string) | |||
One of null | |||
| Driver | string or null | ||
| EnableIPv6 | boolean or null | ||
| Id | string or null | ||
| Ingress | boolean or null | ||
| Internal | boolean or null | ||
null or Ipam (object) | |||
One of null | |||
object or null | |||
| |||
| Name | string or null | ||
object or null | |||
| |||
| Scope | string or null | ||
{- "Name": "string",
- "Id": "string",
- "Created": { },
- "Scope": "string",
- "Driver": "string",
- "EnableIPv6": true,
- "IPAM": { },
- "Internal": true,
- "Attachable": true,
- "Ingress": true,
- "Containers": {
- "property1": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}, - "property2": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}
}, - "Options": {
- "property1": "string",
- "property2": "string"
}, - "Labels": {
- "property1": "string",
- "property2": "string"
}
}| EndpointID | string or null |
| IPv4Address | string or null |
| IPv6Address | string or null |
| MacAddress | string or null |
| Name | string or null |
{- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}| Bridge | string or null dockerd の --bridge フラグが設定されている場合の、デフォルトのブリッジインターフェース名。 | ||||
| EndpointID | string or null EndpointID は Sandbox 内のサービスエンドポイントを一意に表します。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| Gateway | string or null デフォルトの "bridge" ネットワークのゲートウェイアドレス。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| GlobalIPv6Address | string or null デフォルトの "bridge" ネットワークのグローバル IPv6 アドレス。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| GlobalIPv6PrefixLen | integer or null <int64> グローバル IPv6 アドレスのマスク長。 Networks マップ内の "bridge" 情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| HairpinMode | boolean or null 仮想インターフェースでヘアピン NAT を有効にするかを示します。非推奨:設定されることがなく、今後のリリースで削除します。 | ||||
| IPAddress | string or null デフォルトの "bridge" ネットワークの IPv4 アドレス。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| IPPrefixLen | integer or null <int64> IPv4 アドレスのマスク長。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| IPv6Gateway | string or null このネットワークの IPv6 ゲートウェイアドレス。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
| LinkLocalIPv6Address | string or null リンクローカルのプレフィックスを使う IPv6 ユニキャストアドレス。非推奨:設定されることがなく、今後のリリースで削除します。 | ||||
| LinkLocalIPv6PrefixLen | integer or null <int64> IPv6 ユニキャストアドレスのプレフィックス長。非推奨:設定されることがなく、今後のリリースで削除します。 | ||||
| MacAddress | string or null デフォルトの "bridge" ネットワークでのコンテナの MAC アドレス。 Networks マップ内の "bridge" ネットワーク情報を使ってください。同じ情報を含みます。 > Docker 1.9 で非推奨になり、Docker 17.12.0 で削除する予定です。
| ||||
object or null コンテナが接続するすべてのネットワークの情報。 | |||||
| |||||
null or HashMap (object) | |||||
One of null | |||||
| SandboxID | string or null SandboxID はコンテナのネットワークスタックを一意に表します。 | ||||
| SandboxKey | string or null SandboxKey は netns ハンドルの完全なパスです。 | ||||
配列の要素型 objects or null (Address) 非推奨:このフィールドは設定されることがなく、今後のリリースで削除します。 | |||||
Array
| |||||
配列の要素型 objects or null (Address) 非推奨:このフィールドは設定されることがなく、今後のリリースで削除します。 | |||||
Array
| |||||
{- "Bridge": "string",
- "SandboxID": "string",
- "HairpinMode": true,
- "LinkLocalIPv6Address": "string",
- "LinkLocalIPv6PrefixLen": 0,
- "Ports": { },
- "SandboxKey": "string",
- "SecondaryIPAddresses": [
- {
- "Addr": "string",
- "PrefixLen": 0
}
], - "SecondaryIPv6Addresses": [
- {
- "Addr": "string",
- "PrefixLen": 0
}
], - "EndpointID": "string",
- "Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "MacAddress": "string",
- "Networks": {
- "property1": {
- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}, - "property2": {
- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}
}
}| rx_bytes required | integer <int64> >= 0 |
| rx_dropped required | integer <int64> >= 0 |
| rx_errors required | integer <int64> >= 0 |
| rx_packets required | integer <int64> >= 0 |
| tx_bytes required | integer <int64> >= 0 |
| tx_dropped required | integer <int64> >= 0 |
| tx_errors required | integer <int64> >= 0 |
| tx_packets required | integer <int64> >= 0 |
{- "rx_dropped": 0,
- "rx_bytes": 0,
- "rx_errors": 0,
- "tx_packets": 0,
- "tx_dropped": 0,
- "rx_packets": 0,
- "tx_errors": 0,
- "tx_bytes": 0
}required | object | ||
| |||
{- "EndpointsConfig": {
- "property1": {
- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}, - "property2": {
- "IPAMConfig": { },
- "Links": [
- "string"
], - "MacAddress": "string",
- "Aliases": [
- "string"
], - "NetworkID": "string",
- "EndpointID": "string",
- "Gateway": "string",
- "IPAddress": "string",
- "IPPrefixLen": 0,
- "IPv6Gateway": "string",
- "GlobalIPv6Address": "string",
- "GlobalIPv6PrefixLen": 0,
- "DriverOpts": {
- "property1": "string",
- "property2": "string"
}, - "DNSNames": [
- "string"
]
}
}
}| CreatedAt required | string <date-time> 作成日時。 |
| Endpoint required | string ノードに接続するエンドポイント。 |
| Metadata | any ユーザー定義のメタデータ。 |
| Name required | string ノードの名前。 |
| Version required | string ノードのバージョン。 |
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Endpoint": "string",
- "Version": "string",
- "Metadata": null
}| Key required | string 制約のキー(例:"region"、"label"、"group" など)。 |
| Operator required | string (ConstraintOp) 列挙値: "Eq" "Ne" 制約の演算子(Eq/Ne)。 |
| Value required | string 制約の値。 |
{- "Key": "string",
- "Operator": "Eq",
- "Value": "string"
}| Actual required | string (ObjPsStatusKind) 列挙値: "create" "starting" "start" "updating" "update" "destroying" "destroy" "stopping" "stop" "fail" "finish" "unknown" |
| Health required | string (ObjPsHealthStatusKind) 列挙値: "healthy" "unhealthy" "unknown" |
| PrevActual required | string (ObjPsStatusKind) 列挙値: "create" "starting" "start" "updating" "update" "destroying" "destroy" "stopping" "stop" "fail" "finish" "unknown" |
| PrevWanted required | string (ObjPsStatusKind) 列挙値: "create" "starting" "start" "updating" "update" "destroying" "destroy" "stopping" "stop" "fail" "finish" "unknown" |
| UpdatedAt required | string <date-time> |
| Wanted required | string (ObjPsStatusKind) 列挙値: "create" "starting" "start" "updating" "update" "destroying" "destroy" "stopping" "stop" "fail" "finish" "unknown" |
{- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}"create"| Addr | string or null このノードにアクセスできる IP アドレスとポート。 |
| NodeID | string or null swarm 内のこのノードの一意な識別子。 |
{- "NodeID": "string",
- "Addr": "string"
}| current | integer or null <int64> >= 0 |
| limit | integer or null <int64> >= 0 |
{- "current": 0,
- "limit": 0
}| Authorization | 配列の要素型 strings or null 利用可能な認可プラグインの名前。 |
| Log | 配列の要素型 strings or null 利用可能なログドライバーと、そのプラグインの名前。 |
| Network | 配列の要素型 strings or null 利用可能なネットワークドライバーと、そのプラグインの名前。 |
| Volume | 配列の要素型 strings or null 利用可能なボリュームドライバーと、ネットワークドライバーのプラグインの名前。 |
{- "Volume": [
- "string"
], - "Network": [
- "string"
], - "Authorization": [
- "string"
], - "Log": [
- "string"
]
}| CreatedAt required | string <date-time> 作成日時。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
required | object (ContainerInspectResponse) プロセスのデータ(ContainerInspect)。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| IpAddress | string or null 最後に観測したプロセス状態から解決した、実際の IP アドレス。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Key required | string プロセスのキー。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Kind required | string (ProcessKind) 列挙値: "vm" "job" "cargo" プロセスの種類(Job、Vm、Cargo)。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| KindKey required | string Cargo と VM の正規リソースキー。ジョブは名前を使います。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Name required | string プロセスの名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| NodeName required | string コンテナを実行するノードの名前。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| UpdatedAt required | string <date-time> インスタンスの最終更新時刻。 | ||||||||||||||||||||||||||||||||||||||||||||||||||
{- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}| AttachStderr | boolean or null 標準エラーに接続する。 |
| AttachStdin | boolean or null 標準入力に接続する。 |
| AttachStdout | boolean or null 標準出力に接続する。 |
| Cmd | 配列の要素型 strings or null 実行するコマンドと引数。 |
| DetachKeys | string or null Docker 互換の切断キー操作。 |
| Env | 配列の要素型 strings or null
|
| Privileged | boolean or null 追加の権限でコマンドを実行する。 |
| Tty | boolean or null 疑似 TTY を割り当てる。 |
| User | string or null コマンドのユーザーと任意のグループ。 |
| WorkingDir | string or null プロセス内の作業ディレクトリ。 |
{- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "Tty": true,
- "DetachKeys": "string",
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Privileged": true,
- "User": "string",
- "WorkingDir": "string"
}| Name required | string | ||||||||||||||||||||||||||
required | object (Stats) コンテナの統計情報。 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
{- "Name": "string",
- "Stats": {
- "read": "string",
- "preread": "string",
- "num_procs": 0,
- "pids_stats": {
- "current": 0,
- "limit": 0
}, - "network": { },
- "networks": {
- "property1": {
- "rx_dropped": 0,
- "rx_bytes": 0,
- "rx_errors": 0,
- "tx_packets": 0,
- "tx_dropped": 0,
- "rx_packets": 0,
- "tx_errors": 0,
- "tx_bytes": 0
}, - "property2": {
- "rx_dropped": 0,
- "rx_bytes": 0,
- "rx_errors": 0,
- "tx_packets": 0,
- "tx_dropped": 0,
- "rx_packets": 0,
- "tx_errors": 0,
- "tx_bytes": 0
}
}, - "memory_stats": {
- "stats": { },
- "max_usage": 0,
- "usage": 0,
- "failcnt": 0,
- "limit": 0,
- "commit": 0,
- "commit_peak": 0,
- "commitbytes": 0,
- "commitpeakbytes": 0,
- "privateworkingset": 0
}, - "blkio_stats": {
- "io_service_bytes_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_serviced_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_queue_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_service_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_wait_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_merged_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "sectors_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
]
}, - "cpu_stats": {
- "cpu_usage": {
- "percpu_usage": [
- 0
], - "usage_in_usermode": 0,
- "total_usage": 0,
- "usage_in_kernelmode": 0
}, - "system_cpu_usage": 0,
- "online_cpus": 0,
- "throttling_data": {
- "periods": 0,
- "throttled_periods": 0,
- "throttled_time": 0
}
}, - "precpu_stats": {
- "cpu_usage": {
- "percpu_usage": [
- 0
], - "usage_in_usermode": 0,
- "total_usage": 0,
- "usage_in_kernelmode": 0
}, - "system_cpu_usage": 0,
- "online_cpus": 0,
- "throttling_data": {
- "periods": 0,
- "throttled_periods": 0,
- "throttled_time": 0
}
}, - "storage_stats": {
- "read_count_normalized": 0,
- "read_size_bytes": 0,
- "write_count_normalized": 0,
- "write_size_bytes": 0
}, - "name": "string",
- "id": "string"
}
}| ActiveConnectionIdLimit | integer or null >= 0 QUIC の active_connection_id_limit トランスポートパラメーター。 |
| Bpf | boolean or null eBPF を使った QUIC パケットのルーティングを有効にする(Linux 5.7 以降)。 |
| Gso | boolean or null QUIC の Generic Segmentation Offload を有効にする(UDP_SEGMENT を持つ Linux)。 |
| HostKey | string or null QUIC のホストキーのファイルパス。 |
| Hq | boolean or null QUIC の相互運用テストに使う HTTP/0.9 のプロトコルネゴシエーションを有効にします。 |
| MaxConcurrentStreams | integer or null >= 0 接続ごとの HTTP/3 同時ストリーム数の上限。 |
| Retry | boolean or null QUIC のアドレス検証(retry)を有効にする。 |
| StreamBufferSize | string or null QUIC ストリームのバッファーサイズ(例:"64k"、"8k")。 |
{- "Hq": true,
- "MaxConcurrentStreams": 0,
- "StreamBufferSize": "string",
- "ActiveConnectionIdLimit": 0,
- "Bpf": true,
- "Gso": true,
- "HostKey": "string",
- "Retry": true
}| AllowedIps | 配列の要素型 strings or null 許可する IP アドレス。 | ||||||||||
null or ProxyCache (string) | |||||||||||
One of null | |||||||||||
null or NginxDuration (string) | |||||||||||
One of null | |||||||||||
null or NginxSize (string) | |||||||||||
One of null | |||||||||||
null or NginxDuration (string) | |||||||||||
One of null | |||||||||||
| Headers | 配列の要素型 strings or null 追加するヘッダー。 | ||||||||||
| InterceptErrors | boolean or null 上流のエラーを捕捉する。 | ||||||||||
null or LimitReq (object) | |||||||||||
One of null | |||||||||||
null or ProxyNextUpstream (string) | |||||||||||
One of null | |||||||||||
| Path required | string パス。 | ||||||||||
null or NginxDuration (string) | |||||||||||
One of null | |||||||||||
| RequestBuffering | boolean or null クライアントのリクエスト本文をバッファリングする。 | ||||||||||
| ResponseBuffering | boolean or null 上流のレスポンスをバッファリングする。 | ||||||||||
null or NginxDuration (string) | |||||||||||
One of null | |||||||||||
required | object or object or object (LocationTarget) | ||||||||||
One of
| |||||||||||
| Version | number or null <double> 使用する HTTP バージョン。 | ||||||||||
{- "Path": "string",
- "Target": {
- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}, - "LimitReq": { },
- "AllowedIps": [
- "string"
], - "Headers": [
- "string"
], - "Version": 0,
- "ClientMaxBodySize": { },
- "ClientBodyTimeout": { },
- "RequestBuffering": true,
- "ResponseBuffering": true,
- "Cache": { },
- "ReadTimeout": { },
- "SendTimeout": { },
- "ConnectTimeout": { },
- "NextUpstream": { },
- "InterceptErrors": true
}location レベルで対応する proxy_next_upstream の値。
"off"| Domain | string or null ドメイン。 | ||||||||||||||||||||||||||||||||
null or (Hsts (Hsts (string) or Hsts (string) or Hsts (object))) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
null or (ProxyHttp3 (ProxyHttp3 (boolean) or ProxyHttp3Config (object))) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
| Includes | 配列の要素型 strings or null 組み込む追加設定ファイルのパス。 | ||||||||||||||||||||||||||||||||
null or LimitReqZone (object) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
required | 配列の要素型 objects (ProxyHttpLocation) 複数のパスを処理する location。 | ||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||
required | string or object or object (NetworkKind) | ||||||||||||||||||||||||||||||||
One of string ネットワークのバインドの種類。 | |||||||||||||||||||||||||||||||||
| Port | integer or null <int32> >= 0 待ち受けるポート(デフォルト:80 または 443)。 | ||||||||||||||||||||||||||||||||
null or (ProxySsl (ProxySslConfig (object) or ProxySsl (string))) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
{- "Domain": "string",
- "Port": 0,
- "Hsts": { },
- "Network": "string",
- "LimitReqZone": { },
- "Locations": [
- {
- "Path": "string",
- "Target": {
- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}, - "LimitReq": { },
- "AllowedIps": [
- "string"
], - "Headers": [
- "string"
], - "Version": 0,
- "ClientMaxBodySize": { },
- "ClientBodyTimeout": { },
- "RequestBuffering": true,
- "ResponseBuffering": true,
- "Cache": { },
- "ReadTimeout": { },
- "SendTimeout": { },
- "ConnectTimeout": { },
- "NextUpstream": { },
- "InterceptErrors": true
}
], - "Ssl": { },
- "Http3": { },
- "Includes": [
- "string"
]
}| Domain | string or null ドメイン。 | ||||||||||||||||||||||||||||||||
null or (Hsts (Hsts (string) or Hsts (string) or Hsts (object))) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
null or (ProxyHttp3 (ProxyHttp3 (boolean) or ProxyHttp3Config (object))) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
| Includes | 配列の要素型 strings or null 組み込む追加設定ファイルのパス。 | ||||||||||||||||||||||||||||||||
null or LimitReqZone (object) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
required | 配列の要素型 objects (ProxyHttpLocation) 複数のパスを処理する location。 | ||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||
required | string or object or object (NetworkKind) | ||||||||||||||||||||||||||||||||
One of string ネットワークのバインドの種類。 | |||||||||||||||||||||||||||||||||
| Port | integer or null <int32> >= 0 待ち受けるポート(デフォルト:80 または 443)。 | ||||||||||||||||||||||||||||||||
null or (ProxySsl (ProxySslConfig (object) or ProxySsl (string))) | |||||||||||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||||||||||
{- "Domain": "string",
- "Port": 0,
- "Hsts": { },
- "Network": "string",
- "LimitReqZone": { },
- "Locations": [
- {
- "Path": "string",
- "Target": {
- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}, - "LimitReq": { },
- "AllowedIps": [
- "string"
], - "Headers": [
- "string"
], - "Version": 0,
- "ClientMaxBodySize": { },
- "ClientBodyTimeout": { },
- "RequestBuffering": true,
- "ResponseBuffering": true,
- "Cache": { },
- "ReadTimeout": { },
- "SendTimeout": { },
- "ConnectTimeout": { },
- "NextUpstream": { },
- "InterceptErrors": true
}
], - "Ssl": { },
- "Http3": { },
- "Includes": [
- "string"
]
}required | string or object or object (NetworkKind) | ||||||||||
One of string ネットワークのバインドの種類。 | |||||||||||
| Port required | integer <int32> >= 0 ノードで開くポート。 | ||||||||||
| Protocol required | string (ProxyStreamProtocol) 列挙値: "Tcp" "Udp" 使用するプロトコル:Tcp または Udp。 | ||||||||||
null or (ProxySsl (ProxySslConfig (object) or ProxySsl (string))) | |||||||||||
One of null | |||||||||||
required | object or object or object (StreamTarget) | ||||||||||
One of
| |||||||||||
{- "Network": "string",
- "Protocol": "Tcp",
- "Port": 0,
- "Ssl": { },
- "Target": {
- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}
}| Certificate required | string TLS シークレットに保存する場合の証明書の内容。 |
| CertificateClient | string or null TLS シークレットに保存する場合の認証局証明書の内容。 |
| CertificateKey required | string TLS シークレットに保存する場合の秘密鍵の内容。 |
| Dhparam | string or null TLS シークレットに保存する場合の DH パラメーターの内容。 |
| VerifyClient | boolean or null クライアントの検証を有効または無効にする。 |
{- "Certificate": "string",
- "CertificateKey": "string",
- "CertificateClient": "string",
- "VerifyClient": true,
- "Dhparam": "string"
}| Certificate required | string TLS シークレットに保存する場合の証明書の内容。 |
| CertificateClient | string or null TLS シークレットに保存する場合の認証局証明書の内容。 |
| CertificateKey required | string TLS シークレットに保存する場合の秘密鍵の内容。 |
| Dhparam | string or null TLS シークレットに保存する場合の DH パラメーターの内容。 |
| VerifyClient | boolean or null クライアントの検証を有効または無効にする。 |
{- "Certificate": "string",
- "CertificateKey": "string",
- "CertificateClient": "string",
- "VerifyClient": true,
- "Dhparam": "string"
}| AllowNondistributableArtifactsCIDRs | 配列の要素型 strings or null 再配布できないアーティファクトを push できる IP 範囲一覧。CIDR 形式の RFC 4632 を使います。Windows のベースイメージなどは、ライセンスで配布を制限したアーティファクトを含みます。通常のレジストリへの push ではそれらを含みません。この設定は動作を上書きし、解決した IP が CIDR のサブネット内にあるすべてのレジストリに push できるようにします。閉域ネットワーク内のレジストリに push し、そのネットワークのホストがほかのサーバーに接続せずイメージを取得する際に便利です。 > 警告:通常、配布や共有の方法と場所に制限があります。この機能はプライベートレジストリへの push にだけ使い、再配布に関するすべての規約を順守してください。 | ||
| AllowNondistributableArtifactsHostnames | 配列の要素型 strings or null 再配布できないアーティファクトを push できるレジストリのホスト名一覧。 | ||
object or null | |||
| |||
| InsecureRegistryCIDRs | 配列の要素型 strings or null CIDR 形式(RFC 4632)で指定する、安全でないレジストリの IP 範囲一覧。暗号化しない HTTP や、未知の CA の証明書による信頼しない HTTPS を受け付けます。デフォルトではローカルレジストリ( | ||
| Mirrors | 配列の要素型 strings or null 公式の | ||
{- "AllowNondistributableArtifactsCIDRs": [
- "string"
], - "AllowNondistributableArtifactsHostnames": [
- "string"
], - "InsecureRegistryCIDRs": [
- "string"
], - "IndexConfigs": {
- "property1": {
- "Name": "string",
- "Mirrors": [
- "string"
], - "Secure": true,
- "Official": true
}, - "property2": {
- "Name": "string",
- "Mirrors": [
- "string"
], - "Secure": true,
- "Official": true
}
}, - "Mirrors": [
- "string"
]
}| CreatedAt required | string <date-time> リソースの作成日時。 | ||||||||||||
| Kind required | string リソースの種類。 | ||||||||||||
required | object (ResourceSpec) リソースの仕様。 | ||||||||||||
| |||||||||||||
{- "Kind": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
}required | 配列の要素型 objects (DnsEntry) | ||||
Array
| |||||
required | string or object or object (NetworkKind) | ||||
One of string ネットワークのバインドのセレクター。 | |||||
{- "Network": "string",
- "Entries": [
- {
- "Name": "string",
- "IpAddress": "string"
}
]
}| CreatedAt required | string <date-time> 種類の作成時刻。 | ||||
required | object (ResourceKindSpec) 種類の作成時刻。 | ||||
| |||||
| Metadata | any 種類の作成時刻。 | ||||
| Name required | string 種類の名前。 | ||||
| Version required | string 種類の作成時刻。 | ||||
{- "Name": "string",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Metadata": null,
- "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}| CreatedAt required | string <date-time> 種類の作成時刻。 | ||||||||||||
| Name required | string 種類の名前。 | ||||||||||||
required | 配列の要素型 objects (ResourceKindVersion) 利用可能なバージョンの一覧。 | ||||||||||||
Array
| |||||||||||||
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Versions": [
- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "KindKey": "string",
- "Version": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}
]
}required | object (ResourceKindSpec) リソースの種類の仕様。 | ||||
| |||||
object リソースの種類のメタデータ(ユーザー定義)。 | |||||
| |||||
| Name required | string リソースの種類の名前。 | ||||
| Version required | string リソースの種類のバージョン。 | ||||
{- "Name": "string",
- "Version": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}object この種類とバージョンのリソースの JSONSchema。 | |||
| |||
| Url | string or null この種類とバージョンのリソースを作成、更新、削除するときに呼び出すサービス。 | ||
{- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}| CreatedAt required | string <date-time> バージョンの作成時刻。 | ||||
required | object (ResourceKindSpec) 種類の仕様。 | ||||
| |||||
| Key required | string <uuid> バージョンのキー。 | ||||
| KindKey required | string このバージョンに関連付ける種類。 | ||||
object メタデータ(ユーザー定義)。 | |||||
| |||||
| Version required | string バージョン。 | ||||
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "KindKey": "string",
- "Version": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "Schema": {
- "property1": "string",
- "property2": "string"
}, - "Url": "string"
}
}required | object リソースのデータ(JSON オブジェクト)。 | ||
| |||
| Kind required | string リソースの種類。 | ||
object リソースのメタデータ(ユーザー定義)。 | |||
| |||
| Name required | string リソースの名前。 | ||
{- "Name": "string",
- "Kind": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}required | 配列の要素型 ProxyRuleHttp (object) or ProxyRuleStream (object) (ProxyRule) 適用するルール。 | ||||||||||||||||||
Array One of
| |||||||||||||||||||
{- "Rules": [
- {
- "Domain": "string",
- "Port": 0,
- "Hsts": { },
- "Network": "string",
- "LimitReqZone": { },
- "Locations": [
- {
- "Path": "string",
- "Target": {
- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}, - "LimitReq": { },
- "AllowedIps": [
- "string"
], - "Headers": [
- "string"
], - "Version": 0,
- "ClientMaxBodySize": { },
- "ClientBodyTimeout": { },
- "RequestBuffering": true,
- "ResponseBuffering": true,
- "Cache": { },
- "ReadTimeout": { },
- "SendTimeout": { },
- "ConnectTimeout": { },
- "NextUpstream": { },
- "InterceptErrors": true
}
], - "Ssl": { },
- "Http3": { },
- "Includes": [
- "string"
]
}
]
}| CreatedAt required | string <date-time> リソースの作成日時。 | ||
required | object JSON オブジェクト形式のリソースのデータ。 | ||
| |||
| Key required | string <uuid> リソースのキー。 | ||
object リソースのメタデータ(ユーザー定義)。 | |||
| |||
| ResourceKey required | string データに関連付けるリソースのキー。 | ||
| Version required | string リソースのバージョン。 | ||
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Version": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ResourceKey": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}required | object JSON オブジェクト形式のリソースの仕様。 | ||
| |||
object JSON オブジェクト形式のリソースのメタデータ。 | |||
| |||
{- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}| Path | string or null |
| Weight | integer or null >= 0 |
{- "Path": "string",
- "Weight": 0
}| Hard | integer or null <int64> ハードリミット。 |
| Name | string or null ulimit の名前。 |
| Soft | integer or null <int64> ソフトリミット。 |
{- "Name": "string",
- "Soft": 0,
- "Hard": 0
}| MaximumRetryCount | integer or null <int64>
|
null or RestartPolicyNameEnum (string) | |
One of null | |
{- "Name": { },
- "MaximumRetryCount": 0
}"EMPTY"| path | string or null OCI 実行可能バイナリーの名前と、任意のパス。パスを省略すると、デーモンはホストの | ||
| runtimeArgs | 配列の要素型 strings or null 呼び出し時にランタイムに渡すコマンドライン引数の一覧。 | ||
object or null ランタイム固有の情報。この API 仕様ではランタイムが提供するデータを定義しませんが、既知の | |||
| |||
{- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}| CreatedAt required | string <date-time> 作成日時。 | ||
required | object シークレットのデータ。 | ||
| |||
| Immutable required | boolean シークレットは更新できません。 | ||
| Kind required | string シークレットの種類。 | ||
object | |||
| |||
| Name required | string シークレットの名前。 | ||
| UpdatedAt required | string <date-time> 最終更新日時。 | ||
{- "Name": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}required | object シークレットのデータ。 | ||
| |||
| Immutable | boolean シークレットは更新できません。 | ||
| Kind required | string シークレットの種類。 | ||
object リソースのメタデータ(ユーザー定義)。 | |||
| |||
| Name required | string シークレットの名前。 | ||
{- "Name": "string",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}required | object JSON オブジェクト形式のシークレットのデータ。 | ||
| |||
object シークレットのメタデータ(ユーザー定義)。 | |||
| |||
{- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}| Cert | string or null 証明書の内容。 |
| CertCa | string or null 認証局証明書の内容。 |
| CertKey | string or null 証明書の秘密鍵の内容。 |
| Password | string or null 証明書のパスワード(設定されている場合)。 |
| Verify required | boolean 認証局を検証する。 |
{- "Cert": "string",
- "CertKey": "string",
- "CertCa": "string",
- "Verify": true,
- "Password": "string"
}| CargoKey required | string
| ||||
required | 配列の要素型 objects (CargoReplicaTask) このノードに割り当てる正確な永続レプリカ。序数順に並びます。 | ||||
Array
| |||||
{- "CargoKey": "string",
- "Replicas": [
- {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "Ordinal": 0
}
]
}| ApiVersion required | string 使用する API バージョンまたはリモート URL。 | ||||||||||||||||||||||||
配列の要素型 objects or null (StatefileArg) Statefile に渡す引数。 | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
配列の要素型 objects or null (CargoSpec) 作成して実行する Cargo の一覧。 | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
| Group | string or null 定義したオブジェクトのグループを設定する。デフォルトは | ||||||||||||||||||||||||
配列の要素型 objects or null (JobPartial) 作成して実行するジョブの一覧。 | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
null or StatefileMetadata (object) | |||||||||||||||||||||||||
One of null | |||||||||||||||||||||||||
| Namespace | string or null Cargo と仮想マシンをデプロイする名前空間。 | ||||||||||||||||||||||||
配列の要素型 objects or null (ResourcePartial) 作成するリソースの一覧。 | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
配列の要素型 objects or null (SecretPartial) 作成するシークレットの一覧。 | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
配列の要素型 strings or SubStateDef (object) or null (SubState) 現在の状態より前に適用するサブステートを含める。 | |||||||||||||||||||||||||
Array One of string | |||||||||||||||||||||||||
配列の要素型 objects or null (VmSpecPartial) 作成して実行する仮想マシンの一覧。 | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
{- "ApiVersion": "string",
- "Metadata": { },
- "Args": [
- {
- "Name": "string",
- "Kind": "String",
- "Default": { },
- "Required": true,
- "Multiple": true,
- "Description": "string",
- "Example": "string"
}
], - "SubStates": [
- "string"
], - "Group": "string",
- "Namespace": "string",
- "Secrets": [
- {
- "Name": "string",
- "Kind": "string",
- "Immutable": true,
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Data": {
- "property1": "string",
- "property2": "string"
}
}
], - "Resources": [
- {
- "Name": "string",
- "Kind": "string",
- "Data": {
- "property1": "string",
- "property2": "string"
}, - "Metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "Cargoes": [
- {
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Replicas": 1,
- "NetworkMode": { },
- "PortBindings": { },
- "Hostname": "string",
- "Dns": [
- "string"
], - "Secrets": [
- "string"
], - "Placement": { },
- "ResourceRequirement": { },
- "InitContainers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
], - "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { },
- "Name": "string",
- "Essential": true,
- "Secrets": [ ],
- "ImagePullSecret": { },
- "ImagePullPolicy": "Never"
}
]
}
], - "VirtualMachines": [
- {
- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "User": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": { }
}
], - "Jobs": [
- {
- "Name": "string",
- "Secrets": [
- "string"
], - "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Schedule": "string",
- "Ttl": 0,
- "ImagePullSecret": "string",
- "ImagePullPolicy": { },
- "Containers": [
- {
- "Hostname": "string",
- "Domainname": "string",
- "User": "string",
- "AttachStdin": true,
- "AttachStdout": true,
- "AttachStderr": true,
- "ExposedPorts": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "Tty": true,
- "OpenStdin": true,
- "StdinOnce": true,
- "Env": [
- "string"
], - "Cmd": [
- "string"
], - "Healthcheck": { },
- "ArgsEscaped": true,
- "Image": "string",
- "Volumes": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "WorkingDir": "string",
- "Entrypoint": [
- "string"
], - "NetworkDisabled": true,
- "MacAddress": "string",
- "OnBuild": [
- "string"
], - "Labels": {
- "property1": "string",
- "property2": "string"
}, - "StopSignal": "string",
- "StopTimeout": 0,
- "Shell": [
- "string"
], - "HostConfig": { },
- "NetworkingConfig": { }
}
]
}
]
}null or (StatefileArgsValue (StatefileArgsValue (number) or StatefileArgsValue (string) or StatefileArgsValue (boolean) or 配列の要素型 StatefileArgsValue (numbers) or 配列の要素型 StatefileArgsValue (strings))) | |
One of null | |
| Description | string or null 引数の短い説明。 |
| Example | string or null 引数の値の例。 |
| Kind required | string (StatefileArgKind) 列挙値: "String" "Number" "Boolean" ビルド引数の種類。 |
| Multiple | boolean 引数で複数の値を受け取れる。 |
| Name required | string ビルド引数の名前。 |
| Required | boolean 必須の引数。 |
{- "Name": "string",
- "Kind": "String",
- "Default": { },
- "Required": true,
- "Multiple": true,
- "Description": "string",
- "Example": "string"
}Statefile に渡す引数の定義。
"String"| About | string or null Statefile の概要。名前の節で使います。 |
| LongAbout | string or null Statefile の詳しい説明。説明の節で使います。 |
| ManContent | string or null Statefile のマニュアルページの内容を上書きする。 |
| Name | string or null Statefile のドキュメントの任意のタイトル。 |
| Tags | 配列の要素型 strings or null Statefile に関連付ける任意のタグ。 |
{- "Name": "string",
- "About": "string",
- "LongAbout": "string",
- "Tags": [
- "string"
], - "ManContent": "string"
}required | object (BlkioStats) コンテナの I/O 統計情報。 | ||||||||||||||||||||
| |||||||||||||||||||||
required | object (CPUStats) コンテナの一般的な CPU 統計情報。 | ||||||||||||||||||||
| |||||||||||||||||||||
| id | string | ||||||||||||||||||||
required | object (MemoryStats) コンテナの一般的なメモリー統計情報。 | ||||||||||||||||||||
| |||||||||||||||||||||
| name | string | ||||||||||||||||||||
null or NetworkStats (object) | |||||||||||||||||||||
One of null | |||||||||||||||||||||
object or null | |||||||||||||||||||||
| |||||||||||||||||||||
| num_procs required | integer <int32> >= 0 | ||||||||||||||||||||
required | object (PidsStats) コンテナのプロセス ID の統計情報。 | ||||||||||||||||||||
| |||||||||||||||||||||
required | object (CPUStats) コンテナの一般的な CPU 統計情報。 | ||||||||||||||||||||
| |||||||||||||||||||||
| preread required | string | ||||||||||||||||||||
| read required | string | ||||||||||||||||||||
required | object (StorageStats) コンテナのファイル I/O の統計情報。 | ||||||||||||||||||||
| |||||||||||||||||||||
{- "read": "string",
- "preread": "string",
- "num_procs": 0,
- "pids_stats": {
- "current": 0,
- "limit": 0
}, - "network": { },
- "networks": {
- "property1": {
- "rx_dropped": 0,
- "rx_bytes": 0,
- "rx_errors": 0,
- "tx_packets": 0,
- "tx_dropped": 0,
- "rx_packets": 0,
- "tx_errors": 0,
- "tx_bytes": 0
}, - "property2": {
- "rx_dropped": 0,
- "rx_bytes": 0,
- "rx_errors": 0,
- "tx_packets": 0,
- "tx_dropped": 0,
- "rx_packets": 0,
- "tx_errors": 0,
- "tx_bytes": 0
}
}, - "memory_stats": {
- "stats": { },
- "max_usage": 0,
- "usage": 0,
- "failcnt": 0,
- "limit": 0,
- "commit": 0,
- "commit_peak": 0,
- "commitbytes": 0,
- "commitpeakbytes": 0,
- "privateworkingset": 0
}, - "blkio_stats": {
- "io_service_bytes_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_serviced_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_queue_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_service_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_wait_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_merged_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "io_time_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
], - "sectors_recursive": [
- {
- "major": 0,
- "minor": 0,
- "op": "string",
- "value": 0
}
]
}, - "cpu_stats": {
- "cpu_usage": {
- "percpu_usage": [
- 0
], - "usage_in_usermode": 0,
- "total_usage": 0,
- "usage_in_kernelmode": 0
}, - "system_cpu_usage": 0,
- "online_cpus": 0,
- "throttling_data": {
- "periods": 0,
- "throttled_periods": 0,
- "throttled_time": 0
}
}, - "precpu_stats": {
- "cpu_usage": {
- "percpu_usage": [
- 0
], - "usage_in_usermode": 0,
- "total_usage": 0,
- "usage_in_kernelmode": 0
}, - "system_cpu_usage": 0,
- "online_cpus": 0,
- "throttling_data": {
- "periods": 0,
- "throttled_periods": 0,
- "throttled_time": 0
}
}, - "storage_stats": {
- "read_count_normalized": 0,
- "read_size_bytes": 0,
- "write_count_normalized": 0,
- "write_size_bytes": 0
}, - "name": "string",
- "id": "string"
}| read_count_normalized | integer or null <int64> >= 0 |
| read_size_bytes | integer or null <int64> >= 0 |
| write_count_normalized | integer or null <int64> >= 0 |
| write_size_bytes | integer or null <int64> >= 0 |
{- "read_count_normalized": 0,
- "read_size_bytes": 0,
- "write_count_normalized": 0,
- "write_size_bytes": 0
}| DisableLogging | boolean or null このターゲットのログを無効にする。 |
| Key required | string ターゲットにする Cargo または VM のキー。 |
| Path | string or null HTTP 利用時にターゲットにする HTTP パス。 |
| Port required | integer <int32> >= 0 ターゲットにする Cargo または VM のポート。 |
null or (ProxySsl (ProxySslConfig (object) or ProxySsl (string))) | |
One of null | |
{- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}| Name required | string 引数の名前。 |
required | number or string or boolean or 配列の要素型 numbers or 配列の要素型 strings (StatefileArgsValue) |
One of number <double> 引数の値。 | |
{- "Name": "string",
- "Value": 0.1
}配列の要素型 objects or null (SubStateArg) | |||||
Array
| |||||
| Path required | string | ||||
{- "Path": "string",
- "Args": [
- {
- "Name": "string",
- "Value": 0.1
}
]
}null or ClusterInfo (object) | |||||
One of null | |||||
| ControlAvailable | boolean or null | ||||
| Error | string or null | ||||
null or LocalNodeState (string) | |||||
One of null | |||||
| Managers | integer or null <int64> swarm 内のマネージャー総数。 | ||||
| NodeAddr | string or null swarm 内のほかのノードから、このノードにアクセスできる IP アドレス。 | ||||
| NodeID | string or null swarm 内のこのノードの一意な識別子。 | ||||
| Nodes | integer or null <int64> swarm 内のノード総数。 | ||||
配列の要素型 objects or null (PeerNode) swarm 内のほかのマネージャーの ID とアドレスの一覧。 | |||||
Array
| |||||
{- "NodeID": "string",
- "NodeAddr": "string",
- "LocalNodeState": { },
- "ControlAvailable": true,
- "Error": "string",
- "RemoteManagers": [
- {
- "NodeID": "string",
- "Addr": "string"
}
], - "Nodes": 0,
- "Managers": 0,
- "Cluster": { }
}null or SwarmSpecCaConfig (object) | |||
One of null | |||
null or SwarmSpecDispatcher (object) | |||
One of null | |||
null or SwarmSpecEncryptionConfig (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| Name | string or null swarm の名前。 | ||
null or SwarmSpecOrchestration (object) | |||
One of null | |||
null or SwarmSpecRaft (object) | |||
One of null | |||
null or SwarmSpecTaskDefaults (object) | |||
One of null | |||
{- "Name": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "Orchestration": { },
- "Raft": { },
- "Dispatcher": { },
- "CAConfig": { },
- "EncryptionConfig": { },
- "TaskDefaults": { }
}配列の要素型 objects or null (SwarmSpecCaConfigExternalCas) 署名要求を外部の認証局に転送する設定。 | |||||||||
Array
| |||||||||
| ForceRotate | integer or null <int64> >= 0
| ||||||||
| NodeCertExpiry | integer or null <int64> ノード証明書の有効期間。 | ||||||||
| SigningCACert | string or null swarm のすべてのノードの末端 TLS 証明書に使う、希望する署名用 CA 証明書。PEM 形式。 | ||||||||
| SigningCAKey | string or null swarm のすべてのノードの末端 TLS 証明書に使う、希望する署名用 CA キー。PEM 形式。 | ||||||||
{- "NodeCertExpiry": 0,
- "ExternalCAs": [
- {
- "Protocol": { },
- "URL": "string",
- "Options": {
- "property1": "string",
- "property2": "string"
}, - "CACert": "string"
}
], - "SigningCACert": "string",
- "SigningCAKey": "string",
- "ForceRotate": 0
}| CACert | string or null 外部 CA が TLS 証明書の発行に使うルート CA 証明書(PEM 形式)。未指定なら現在の swarm のルート CA 証明書と見なします。 | ||
object or null 外部 CA ドライバーがプロトコル固有のオプションとして解釈する、キーと値の組を持つオブジェクト。 | |||
| |||
null or SwarmSpecCaConfigExternalCasProtocolEnum (string) | |||
One of null | |||
| URL | string or null 証明書の署名要求の送信先 URL。 | ||
{- "Protocol": { },
- "URL": "string",
- "Options": {
- "property1": "string",
- "property2": "string"
}, - "CACert": "string"
}"EMPTY"| HeartbeatPeriod | integer or null <int64> エージェントがディスパッチャーにハートビートを送る間隔。 |
{- "HeartbeatPeriod": 0
}| AutoLockManagers | boolean or null 設定するとキーを生成し、マネージャーに保存するデータのロックに使います。 |
{- "AutoLockManagers": true
}| TaskHistoryRetentionLimit | integer or null <int64> インスタンスまたはノードごとに保持する過去のタスク数。負の場合、完了または失敗したタスクを削除しません。 |
{- "TaskHistoryRetentionLimit": 0
}| ElectionTick | integer or null <int64> フォロワーが候補になり選挙を始めるまで、リーダーのメッセージを待つ tick 数。 |
| HeartbeatTick | integer or null <int64> ハートビート間の tick 数。リーダーは HeartbeatTick ごとにフォロワーに送信します。現在の tick のデフォルトは 1 秒なので秒数に直接対応しますが、保証はありません。 |
| KeepOldSnapshots | integer or null <int64> >= 0 現在のスナップショットに加えて保持するスナップショット数。 |
| LogEntriesForSlowFollowers | integer or null <int64> >= 0 スナップショット作成後に遅いフォロワーを同期させるため、保持するログ項目数。 |
| SnapshotInterval | integer or null <int64> >= 0 スナップショット間のログ項目数。 |
{- "SnapshotInterval": 0,
- "KeepOldSnapshots": 0,
- "LogEntriesForSlowFollowers": 0,
- "ElectionTick": 0,
- "HeartbeatTick": 0
}| Name | string or null 新しいタスクのデフォルトとして使うログドライバー。 | ||
object or null 選択したログドライバー固有のオプション。キーと値の組で指定します。 | |||
| |||
{- "Name": "string",
- "Options": {
- "property1": "string",
- "property2": "string"
}
}| Architecture | string or null Go ランタイム( | ||||
| BridgeNfIp6tables | boolean or null ホストで | ||||
| BridgeNfIptables | boolean or null ホストで | ||||
| CDISpecDirs | 配列の要素型 strings or null CDI(Container Device Interface)仕様があるディレクトリの一覧。作成するコンテナの OCI ランタイム仕様に対する、ベンダー固有の変更を定義します。空の一覧は CDI デバイス注入が無効であることを示します。注入にはデーモンの実験的機能を有効にする必要があり、無効なデーモンでは常に空の一覧を返します。 | ||||
null or SystemInfoCgroupDriverEnum (string) | |||||
One of null | |||||
null or SystemInfoCgroupVersionEnum (string) | |||||
One of null | |||||
null or Commit (object) | |||||
One of null | |||||
| Containers | integer or null <int64> ホスト上のコンテナ総数。 | ||||
| ContainersPaused | integer or null <int64> 状態が | ||||
| ContainersRunning | integer or null <int64> 状態が | ||||
| ContainersStopped | integer or null <int64> 状態が | ||||
| CpuCfsPeriod | boolean or null ホストが CPU CFS(Completely Fair Scheduler)の期間設定に対応するかを示します。 | ||||
| CpuCfsQuota | boolean or null ホストが CPU CFS(Completely Fair Scheduler)のクォータに対応するかを示します。 | ||||
| CPUSet | boolean or null ホストが CPUset(cpuset.cpus、cpuset.mems)に対応するかを示します。cpuset(7) を参照してください。 | ||||
| CPUShares | boolean or null ホストが CPU Shares の制限に対応するかを示します。 | ||||
| Debug | boolean or null デーモンがデバッグモード、またはデバッグレベルのログを有効にして動作しているかを示します。 | ||||
配列の要素型 objects or null (SystemInfoDefaultAddressPools) ローカルネットワークの独自のデフォルトアドレスプールの一覧。daemon.json または dockerd のオプションで指定できます。例:Base が "10.10.0.0/16"、Size が 24 なら、256 個の 10.10.[0-255].0/24 アドレスプールを定義します。 | |||||
Array
| |||||
| DefaultRuntime | string or null コンテナの起動に使うデフォルトの OCI ランタイムの名前。作成時にコンテナごとに上書きできます。 | ||||
| DockerRootDir | string or null Docker の永続状態のルートディレクトリ。Linux のデフォルトは | ||||
| Driver | string or null 使用中のストレージドライバーの名前。 | ||||
| DriverStatus | 配列の要素型 strings or null[ items ] ストレージドライバー固有の情報。"label" と "value" の組で提供します。ドライバーが提供し、コマンドラインの | ||||
| ExperimentalBuild | boolean or null デーモンで実験的な機能が有効かを示します。 | ||||
null or GenericResourcesInner (object) | |||||
One of null | |||||
| HttpProxy | string or null デーモンに設定した HTTP プロキシ。 | ||||
| HttpsProxy | string or null デーモンに設定した HTTPS プロキシ。 | ||||
| ID | string or null デーモンの一意な識別子。 | ||||
| Images | integer or null <int64> ホスト上のイメージ総数。_タグ付き_と_タグなし_(dangling)の両方を数えます。 | ||||
| IndexServerAddress | string or null イメージ検索と、Docker Hub と Docker Cloud のユーザー認証のデフォルトに使うインデックスサーバーのアドレスまたは URL。 | ||||
| InitBinary | string or null
| ||||
null or Commit (object) | |||||
One of null | |||||
| IPv4Forwarding | boolean or null IPv4 転送が有効かを示します。 | ||||
null or SystemInfoIsolationEnum (string) | |||||
One of null | |||||
| KernelMemoryTCP | boolean or null ホストでカーネルメモリーの TCP 制限が有効かを示します。未対応なら省略します。対応する | ||||
| KernelVersion | string or null ホストのカーネルバージョン。Linux では | ||||
| Labels | 配列の要素型 strings or null デーモンに設定したユーザー定義のラベル(キーと値のメタデータ)。 /nodes/(id) エンドポイントで取得できます。
| ||||
| LiveRestoreEnabled | boolean or null live restore が有効かを示します。有効なら、デーモン停止時や、起動時に実行中のコンテナを検出した場合もコンテナの実行を継続します。 | ||||
| LoggingDriver | string or null 新しいコンテナのデフォルトとして使うログドライバー。 | ||||
| MemoryLimit | boolean or null ホストでメモリー制限のサポートが有効かを示します。 | ||||
| MemTotal | integer or null <int64> ホスト上で利用可能な物理メモリーの総量(バイト)。 | ||||
| Name | string or null ホストのホスト名。 | ||||
| NCPU | integer or null <int64> デーモンが使える論理 CPU 数。起動時に OS に問い合わせて確認します。起動後の OS の CPU 割り当て変更は反映しません。 | ||||
| NEventsListener | integer or null <int64> 購読中のイベントリスナー数。 | ||||
| NFd | integer or null <int64> デーモンのプロセスが使用中のファイルディスクリプターの総数。デバッグモードが有効な場合だけ返します。 | ||||
| NGoroutines | integer or null <int64> 現在存在する goroutine の数。デバッグモードが有効な場合だけ返します。 | ||||
| NoProxy | string or null プロキシを使わないドメイン拡張子のカンマ区切り一覧。 | ||||
| OomKillDisable | boolean or null ホストが OOM killer の無効化に対応するかを示します。 | ||||
| OperatingSystem | string or null ホストの OS 名。例:"Ubuntu 16.04.2 LTS"、"Windows Server 2016 Datacenter"。 | ||||
| OSType | string or null Go ランタイム( | ||||
| OSVersion | string or null ホスト OS のバージョン。 | ||||
| PidsLimit | boolean or null ホストカーネルで PID 制限のサポートが有効かを示します。 | ||||
null or PluginsInfo (object) | |||||
One of null | |||||
| ProductLicense | string or null デーモンの製品ライセンスの概要を報告します。商用ライセンスが適用されている場合は、ノード数や有効期限などの情報を含みます。 | ||||
null or RegistryServiceConfig (object) | |||||
One of null | |||||
null or Commit (object) | |||||
One of null | |||||
object or null デーモンに設定した OCI 準拠ランタイムの一覧。キーはランタイムを参照する "name" を保持します。Docker デーモンは、 | |||||
| |||||
| SecurityOptions | 配列の要素型 strings or null apparmor、seccomp、SELinux、userns、rootless、no-new-privileges など、デーモンで有効なセキュリティ機能の一覧。機能ごとの追加設定がある場合は、キーと値の組をカンマ区切りで含めます。 | ||||
| ServerVersion | string or null デーモンのバージョン文字列。 | ||||
| SwapLimit | boolean or null ホストでスワップメモリー制限のサポートが有効かを示します。 | ||||
null or SwarmInfo (object) | |||||
One of null | |||||
| SystemTime | string or null ナノ秒精度の RFC 3339 形式の現在のシステム時刻。 | ||||
| Warnings | 配列の要素型 strings or null 機能不足やデーモン設定の問題に関する警告と情報メッセージの一覧。クライアントはユーザー向けの情報として表示できます。 | ||||
{- "ID": "string",
- "Containers": 0,
- "ContainersRunning": 0,
- "ContainersPaused": 0,
- "ContainersStopped": 0,
- "Images": 0,
- "Driver": "string",
- "DriverStatus": [
- [
- "string"
]
], - "DockerRootDir": "string",
- "Plugins": { },
- "MemoryLimit": true,
- "SwapLimit": true,
- "KernelMemoryTCP": true,
- "CpuCfsPeriod": true,
- "CpuCfsQuota": true,
- "CPUShares": true,
- "CPUSet": true,
- "PidsLimit": true,
- "OomKillDisable": true,
- "IPv4Forwarding": true,
- "BridgeNfIptables": true,
- "BridgeNfIp6tables": true,
- "Debug": true,
- "NFd": 0,
- "NGoroutines": 0,
- "SystemTime": "string",
- "LoggingDriver": "string",
- "CgroupDriver": { },
- "CgroupVersion": { },
- "NEventsListener": 0,
- "KernelVersion": "string",
- "OperatingSystem": "string",
- "OSVersion": "string",
- "OSType": "string",
- "Architecture": "string",
- "NCPU": 0,
- "MemTotal": 0,
- "IndexServerAddress": "string",
- "RegistryConfig": { },
- "GenericResources": { },
- "HttpProxy": "string",
- "HttpsProxy": "string",
- "NoProxy": "string",
- "Name": "string",
- "Labels": [
- "string"
], - "ExperimentalBuild": true,
- "ServerVersion": "string",
- "Runtimes": {
- "property1": {
- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "path": "string",
- "runtimeArgs": [
- "string"
], - "status": {
- "property1": "string",
- "property2": "string"
}
}
}, - "DefaultRuntime": "string",
- "Swarm": { },
- "LiveRestoreEnabled": true,
- "Isolation": { },
- "InitBinary": "string",
- "ContainerdCommit": { },
- "RuncCommit": { },
- "InitCommit": { },
- "SecurityOptions": [
- "string"
], - "ProductLicense": "string",
- "DefaultAddressPools": [
- {
- "Base": "string",
- "Size": 0
}
], - "Warnings": [
- "string"
], - "CDISpecDirs": [
- "string"
]
}"EMPTY"| Base | string or null CIDR 形式のネットワークアドレス。 |
| Size | integer or null <int64> ネットワークプールのサイズ。 |
{- "Base": "string",
- "Size": 0
}"EMPTY"| Path | string or null デバイスのパス。 |
| Rate | integer or null <int64> レート。 |
{- "Path": "string",
- "Rate": 0
}| periods required | integer <int64> >= 0 |
| throttled_periods required | integer <int64> >= 0 |
| throttled_time required | integer <int64> >= 0 |
{- "periods": 0,
- "throttled_periods": 0,
- "throttled_time": 0
}| CertIssuerPublicKey | string or null Base64 の URL セーフ形式でエンコードした、発行者の生の公開鍵バイト。 |
| CertIssuerSubject | string or null Base64 の URL セーフ形式でエンコードした、発行者の生の subject バイト。 |
| TrustRoot | string or null 末端の TLS 証明書の検証に使うルート CA 証明書。 |
{- "TrustRoot": "string",
- "CertIssuerSubject": "string",
- "CertIssuerPublicKey": "string"
}| DisableLogging | boolean or null このターゲットのログを無効にする。 |
| Key required | string ターゲットにする Cargo または VM のキー。 |
| Path | string or null HTTP 利用時にターゲットにする HTTP パス。 |
| Port required | integer <int32> >= 0 ターゲットにする Cargo または VM のポート。 |
null or (ProxySsl (ProxySslConfig (object) or ProxySsl (string))) | |
One of null | |
{- "Key": "string",
- "Port": 0,
- "Path": "string",
- "DisableLogging": true,
- "Ssl": { }
}| CreatedAt required | string <date-time> VM の作成時刻。 | ||||||||||||||||||||||||||||||
| NamespaceName required | string 名前空間の名前。 | ||||||||||||||||||||||||||||||
required | object (VmSpec) VM の仕様。 | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
required | object (ObjPsStatus) VM の状態。 | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}
}| Cpu required | integer <int64> >= 0 VM の CPU 数(デフォルト:1)。 |
| Dns | 配列の要素型 strings or null VM で使う DNS サーバーの一覧。 |
| HostTun | boolean or null ホストの tun デバイスを使う。 |
| Kvm | boolean or null KVM アクセラレーションを有効にする(デフォルト:false)。 |
| LinkNetIface | string or null VM に接続するネットワークインターフェース(デフォルト:eth0)。 |
| Memory required | integer <int64> >= 0 VM のメモリー容量(MB、デフォルト:512)。 |
| NetIface | string or null VM に設定するネットワークインターフェース(デフォルト:ens3)。 |
| NetworkMode | string or null VM ランタイムが使うコンテナネットワーク。 |
| Runtime | string or null VM に使うコンテナイメージ名(デフォルト:nanocl-qemu)。 |
{- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}| CreatedAt required | string <date-time> VM の作成日時。 | ||||||||||||||||||||||||||||||
| InstanceRunning required | integer >= 0 実行中のインスタンス数。 | ||||||||||||||||||||||||||||||
required | 配列の要素型 objects (Process) インスタンスの一覧。 | ||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||
| InstanceTotal required | integer >= 0 インスタンス数。 | ||||||||||||||||||||||||||||||
| NamespaceName required | string 名前空間の名前。 | ||||||||||||||||||||||||||||||
required | object (VmSpec) VM の仕様。 | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
required | object (ObjPsStatus) VM の状態。 | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
{- "NamespaceName": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}, - "Instances": [
- {
- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Kind": "vm",
- "NodeName": "string",
- "KindKey": "string",
- "IpAddress": "string",
- "Data": {
- "Id": "string",
- "Created": "string",
- "Path": "string",
- "Args": [
- "string"
], - "State": { },
- "Image": "string",
- "ResolvConfPath": "string",
- "HostnamePath": "string",
- "HostsPath": "string",
- "LogPath": "string",
- "Name": "string",
- "RestartCount": 0,
- "Driver": "string",
- "Platform": "string",
- "MountLabel": "string",
- "ProcessLabel": "string",
- "AppArmorProfile": "string",
- "ExecIDs": [
- "string"
], - "HostConfig": { },
- "GraphDriver": { },
- "SizeRw": 0,
- "SizeRootFs": 0,
- "Mounts": [
- {
- "Type": { },
- "Name": "string",
- "Source": "string",
- "Destination": "string",
- "Driver": "string",
- "Mode": "string",
- "RW": true,
- "Propagation": "string"
}
], - "Config": { },
- "NetworkSettings": { }
}
}
]
}| CreatedAt required | string <date-time> VM 仕様の作成日時。 | ||||||||||||||||||
required | object (VmHostConfig) VM のリソース(CPU、メモリー、ネットワーク)。 | ||||||||||||||||||
| |||||||||||||||||||
| Hostname | string or null VM のホスト名。 | ||||||||||||||||||
| Image required | string VM が使うイメージ。完全なパスである必要があります(例:/var/lib/nanocl/vm/image.qcow2)。 | ||||||||||||||||||
null or Config (object) | |||||||||||||||||||
One of null | |||||||||||||||||||
| Key required | string <uuid> VM 仕様の一意な識別子。 | ||||||||||||||||||
object or null ユーザー定義の、キーと値のメタデータ。 | |||||||||||||||||||
| |||||||||||||||||||
| MacAddress | string or null VM の MAC アドレス。 | ||||||||||||||||||
object メタデータ(ユーザー定義)。 | |||||||||||||||||||
| |||||||||||||||||||
| Name required | string VM の名前。 | ||||||||||||||||||
| Password | string or null VM のデフォルトのパスワード(cloud)。 | ||||||||||||||||||
| SshKey | string or null ユーザーのデフォルトの SSH キー。 | ||||||||||||||||||
| User | string or null VM のデフォルトのユーザー(cloud)。 | ||||||||||||||||||
| Version required | string 仕様のバージョン。 | ||||||||||||||||||
| VmKey required | string
| ||||||||||||||||||
{- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}null or VmHostConfig (object) | |||
One of null | |||
| Hostname | string or null VM のホスト名(デフォルト:名前から生成)。 | ||
| Image required | string VM が使うイメージ。完全なパスである必要があります(例:/var/lib/nanocl/vm/image.qcow2)。 | ||
null or Config (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
| MacAddress | string or null VM の MAC アドレス(デフォルト:自動生成)。 | ||
object メタデータ(ユーザー定義)。 | |||
| |||
| Name required | string VM の名前。 | ||
| Password | string or null VM のデフォルトのパスワード(デフォルト:cloud)。 | ||
| SshKey | string or null ユーザーのデフォルトの SSH 公開鍵(推奨)。 | ||
| User | string or null VM のデフォルトのユーザー(デフォルト:cloud)。 | ||
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "User": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": { }
}null or VmHostConfig (object) | |||
One of null | |||
| Hostname | string or null VM のホスト名。 | ||
null or Config (object) | |||
One of null | |||
object or null ユーザー定義の、キーと値のメタデータ。 | |||
| |||
object メタデータ(ユーザー定義)。 | |||
| |||
| Name | string or null VM の名前。 | ||
| Password | string or null VM のデフォルトのパスワード(cloud)。 | ||
| SshKey | string or null ユーザーのデフォルトの SSH キー。 | ||
| User | string or null VM のデフォルトのユーザー(cloud)。 | ||
{- "Name": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "User": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": { }
}| CreatedAt required | string <date-time> VM の作成日時。 | ||||||||||||||||||||||||||||||
| InstanceRunning required | integer >= 0 実行中のインスタンス数。 | ||||||||||||||||||||||||||||||
| InstanceTotal required | integer >= 0 インスタンス数。 | ||||||||||||||||||||||||||||||
| NamespaceName required | string 名前空間の名前。 | ||||||||||||||||||||||||||||||
required | object (VmSpec) VM の仕様。 | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
required | object (ObjPsStatus) VM の状態。 | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
{- "NamespaceName": "string",
- "Status": {
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Wanted": "create",
- "PrevWanted": "create",
- "Actual": "create",
- "PrevActual": "create",
- "Health": "healthy"
}, - "CreatedAt": "2019-08-24T14:15:22Z",
- "InstanceTotal": 0,
- "InstanceRunning": 0,
- "Spec": {
- "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "Version": "string",
- "VmKey": "string",
- "Metadata": {
- "property1": "string",
- "property2": "string"
}, - "Hostname": "string",
- "Password": "string",
- "SshKey": "string",
- "InitContainer": { },
- "User": "string",
- "Image": "string",
- "MacAddress": "string",
- "Labels": {
- "property1": "string",
- "property2": "string"
}, - "HostConfig": {
- "Cpu": 0,
- "Memory": 0,
- "NetIface": "string",
- "LinkNetIface": "string",
- "Kvm": true,
- "Dns": [
- "string"
], - "Runtime": "string",
- "NetworkMode": "string",
- "HostTun": true
}
}
}| CreatedAt required | string <date-time> このネットワークを最初に記録した時刻。 | ||||||||||||||||||||||||||
required | object (Network) Docker ネットワークの完全な詳細取得レスポンス。 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| Key required | string
| ||||||||||||||||||||||||||
| Metadata | any スナップショットの更新をまたいで保持するユーザー定義のメタデータ。 | ||||||||||||||||||||||||||
| Name required | string Docker ネットワークの名前。 | ||||||||||||||||||||||||||
| NodeName required | string このネットワークを所有する Docker デーモンがあるノード。 | ||||||||||||||||||||||||||
| UpdatedAt required | string <date-time> Docker の詳細取得スナップショットの最終更新時刻。 | ||||||||||||||||||||||||||
{- "Key": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "UpdatedAt": "2019-08-24T14:15:22Z",
- "Name": "string",
- "NodeName": "string",
- "Data": {
- "Name": "string",
- "Id": "string",
- "Created": { },
- "Scope": "string",
- "Driver": "string",
- "EnableIPv6": true,
- "IPAM": { },
- "Internal": true,
- "Attachable": true,
- "Ingress": true,
- "Containers": {
- "property1": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}, - "property2": {
- "Name": "string",
- "EndpointID": "string",
- "MacAddress": "string",
- "IPv4Address": "string",
- "IPv6Address": "string"
}
}, - "Options": {
- "property1": "string",
- "property2": "string"
}, - "Labels": {
- "property1": "string",
- "property2": "string"
}
}, - "Metadata": null
}