Download OpenAPI specification:
KCI API documentation
ユーザのメールアドレスとパスワードを使用してログインします。成功すると、認証トークンが返されます。
| email required | string <email> ユーザのメールアドレス |
| password required | string <password> ユーザのパスワード |
{- "email": "user@example.com",
- "password": "pa$$word"
}{- "refreshToken": "string",
- "token": "string"
}現在の認証トークンを無効化してユーザをログアウトします。
| refreshToken required | string リフレッシュトークン |
{- "refreshToken": "string"
}{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}リフレッシュトークンを使用して新しい認証トークンを取得します。
| refreshToken required | string リフレッシュトークン |
{- "refreshToken": "string"
}{- "refreshToken": "string",
- "token": "string"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "storagePool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
}
]新しい仮想マシンイメージを作成します。
| file required | string <binary> |
required | object (ImageCreateRequest) 仮想マシンイメージ作成リクエストオブジェクト |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "storagePool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
}指定したIDの仮想マシンイメージの詳細情報を取得します。
| imageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンイメージの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "storagePool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
}指定したIDの仮想マシンイメージ情報を更新します。descriptionが空の場合、説明は削除されます。
| imageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンイメージの一意なID |
| name required | string 仮想マシンイメージの名前 |
| description | string 仮想マシンイメージの説明 |
{- "name": "Ubuntu 22.04 LTS",
- "description": "Ubuntu 22.04 LTS イメージ"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "storagePool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
}指定したIDの仮想マシンイメージ情報を部分的に更新します。
| imageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンイメージの一意なID |
| name | string 仮想マシンイメージの名前 |
| description | string 仮想マシンイメージの説明 |
{- "name": "Ubuntu 22.04 LTS",
- "description": "Ubuntu 22.04 LTS イメージ"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "storagePool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
}指定したIDの仮想マシンイメージを削除します。
| imageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンイメージの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}新しいインスタンスタイプを作成します。
| name required | string インスタンスタイプの名前 |
| cpuCore required | integer <int64> [ 1 .. 1099511627776 ] CPUコア数 |
| memorySize required | integer <int64> [ 1 .. 1099511627776 ] メモリサイズ(バイト単位) |
{- "name": "micro",
- "cpuCore": 4,
- "memorySize": 8589934592
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}指定したIDのインスタンスタイプの詳細情報を取得します。
| instanceTypeId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 インスタンスタイプの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}指定したIDのインスタンスタイプ情報を更新します。
| instanceTypeId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 インスタンスタイプの一意なID |
| name required | string インスタンスタイプの名前 |
| cpuCore required | integer CPUコア数 |
| memorySize required | integer メモリサイズ(バイト単位) |
{- "name": "micro",
- "cpuCore": 4,
- "memorySize": 8589934592
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}指定したIDのインスタンスタイプ情報を部分的に更新します。
| instanceTypeId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 インスタンスタイプの一意なID |
| name | string インスタンスタイプの名前 |
| cpuCore | integer CPUコア数 |
| memorySize | integer メモリサイズ(バイト単位) |
{- "name": "micro",
- "cpuCore": 4,
- "memorySize": 8589934592
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}指定したIDのインスタンスタイプを削除します。
| instanceTypeId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 インスタンスタイプの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}[- {
- "id": "ff324fb4-18a0-432f-a2fa-d10d57123967",
- "name": "node-01",
- "ipAddress": "10.0.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.45,
- "memoryUtilization": 0.55,
- "storageUtilization": 0.65
}, - {
- "id": "ab5d2f84-1d9a-4267-af00-4cca72939127",
- "name": "node-02",
- "ipAddress": "10.0.0.2",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.45,
- "memoryUtilization": 0.55,
- "storageUtilization": 0.65
}
]新しい物理ノードを追加します。
| ipAddress required | string <ipv4> 物理ノードのIPアドレス |
| rootPassword required | string 物理ノードのrootパスワード |
| name | string 物理ノードの名前 |
| isAdmin | boolean 物理ノードが管理ノードかどうかを示すフラグ |
{- "ipAddress": "10.0.0.1",
- "rootPassword": "ExamplePassword123!",
- "name": "node-01",
- "isAdmin": true
}{- "id": "ff324fb4-18a0-432f-a2fa-d10d57123967",
- "name": "node-01",
- "ipAddress": "10.0.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.45,
- "memoryUtilization": 0.55,
- "storageUtilization": 0.65
}指定したIDの物理ノードの詳細情報を取得します。
| nodeId required | string <uuid> Example: a2dcd604-49cb-4e1c-826a-2071d50404a3 物理ノードの一意なID |
{- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}指定したIDの物理ノード情報を更新します。
| nodeId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f 物理ノードの一意なID |
| name required | string 物理ノードの名前 |
| isAdmin required | boolean 物理ノードが管理ノードかどうかを示すフラグ |
{- "name": "node-01",
- "isAdmin": true
}{- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}指定したIDの物理ノード情報を更新します。
| nodeId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f 物理ノードの一意なID |
| name | string 物理ノードの名前 |
| isAdmin | boolean 物理ノードが管理ノードかどうかを示すフラグ |
{- "name": "node-01",
- "isAdmin": true
}{- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}指定したIDの物理ノードを削除します。
| nodeId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f 物理ノードの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDの物理ノードに新規接続されたストレージデバイスの一覧を取得します。
| nodeId required | string <uuid> Example: 86c4bfd5-b791-4733-852c-15c8bde42574 物理ノードの一意なID |
[- {
- "devicePath": "/dev/sdb",
- "deviceName": "Hitachi SSD HUS724040ALA640",
- "size": 4000787030016
}
]すべてのセキュリティグループのリストを取得します。
| scope | string Enum: "mine" "all" 表示範囲(mine=自分のもの, all=全て(管理者のみ)、指定のない場合はmine)。 |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
]新しいセキュリティグループを作成します。
| name required | string セキュリティグループの名前 |
| description | string セキュリティグループの説明 |
required | Array of objects (SecurityRuleCreateRequest) |
{- "name": "web-servers",
- "description": "Security group for web servers",
- "rules": [
- {
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}指定したIDのセキュリティグループの詳細情報を取得します。
| groupId required | string <uuid> セキュリティグループの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}指定したIDのセキュリティグループ情報を更新します。
| groupId required | string <uuid> セキュリティグループの一意なID |
| name required | string セキュリティグループの名前 |
| description required | string セキュリティグループの説明 |
{- "name": "web-servers",
- "description": "Security group for web servers"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}指定したIDのセキュリティグループ情報を更新します。
| groupId required | string <uuid> セキュリティグループの一意なID |
| name | string セキュリティグループの名前 |
| description | string セキュリティグループの説明 |
{- "name": "web-servers",
- "description": "Security group for web servers"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}指定したIDのセキュリティグループを削除します。
| groupId required | string <uuid> セキュリティグループの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したセキュリティグループに関連付けられたすべてのルールを取得します。
| groupId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループの一意なID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
]指定したセキュリティグループに新しいルールを追加します。
| groupId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループの一意なID |
| name required | string セキュリティルールの名前 |
| ruleType required | string Enum: "inbound" "outbound" ルールのタイプ(インバウンドまたはアウトバウンド) |
| port required | integer or null 適用されるポート番号。NULLの場合は全ポート対象 |
| protocol required | string Enum: "tcp" "udp" "icmp" "any" 適用されるプロトコル |
| targetIp required | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... ターゲットIPアドレス(CIDR表記) |
| action required | string Enum: "allow" "deny" ルールのアクション(許可または拒否) |
{- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}指定したセキュリティグループ内で複数のルールを一括で追加、更新、または削除します。
| groupId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 セキュリティグループの一意なID |
Array of objects (SecurityRuleCreateRequest) 追加するセキュリティルールのリスト | |
Array of objects 更新するセキュリティルールのリスト | |
| remove | Array of strings <uuid> [ items <uuid > ] 削除するセキュリティルールのIDリスト |
{- "add": [
- {
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow"
}
], - "patch": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data": {
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow"
}
}
], - "remove": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
]指定したセキュリティグループ内の特定のルールの詳細情報を取得します。
| groupId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループの一意なID |
| ruleId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループルールの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}指定したセキュリティグループ内の特定のルールを更新します。
| groupId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループの一意なID |
| ruleId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループルールの一意なID |
| name required | string セキュリティルールの名前 |
| ruleType required | string Enum: "inbound" "outbound" ルールのタイプ(インバウンドまたはアウトバウンド) |
| port required | integer or null 適用されるポート番号。NULLの場合は全ポート対象 |
| protocol required | string Enum: "tcp" "udp" "icmp" "any" 適用されるプロトコル |
| targetIp required | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... ターゲットIPアドレス(CIDR表記) |
| action required | string Enum: "allow" "deny" ルールのアクション(許可または拒否) |
{- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}指定したセキュリティグループ内の特定のルールを部分的に更新します。
| groupId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループの一意なID |
| ruleId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループルールの一意なID |
| name | string セキュリティルールの名前 |
| ruleType | string Enum: "inbound" "outbound" ルールのタイプ(インバウンドまたはアウトバウンド) |
| port | integer or null 適用されるポート番号。NULLの場合は全ポート対象 |
| protocol | string Enum: "tcp" "udp" "icmp" "any" 適用されるプロトコル |
| targetIp | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... ターゲットIPアドレス(CIDR表記) |
| action | string Enum: "allow" "deny" ルールのアクション(許可または拒否) |
| id | string <uuid> セキュリティルールを識別するための一意なID |
{- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}指定したセキュリティグループ内の特定のルールを削除します。
| groupId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループの一意なID |
| ruleId required | string <uuid> Example: bba6cb32-c841-4ace-9bc8-c3c5288b2e5f セキュリティグループルールの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}[- {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
]新しいストレージプールを作成します。
| nodeId required | string <uuid> ストレージプールが属する物理ノードのID |
| devicePath required | string ストレージプールが使用するデバイスのパス |
| name required | string ストレージプールの名前 |
| hasNetworkAccess required | boolean ストレージプールがネットワークアクセス可能かどうかを示すフラグ |
{- "nodeId": "550e8400-e29b-41d4-a716-446655440000",
- "devicePath": "/dev/sdb",
- "name": "Node1 Pool 1",
- "hasNetworkAccess": true
}{- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}指定した物理ノードから利用可能なストレージプールのリストを取得します。
| nodeId required | string <uuid> Example: 123e4567-e89b-12d3-a456-426614174000 物理ノードの一意なID |
[- {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}
]指定したIDのストレージプールの詳細情報を取得します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージプールの一意なID |
{- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}指定したIDのストレージプールの情報を更新します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージプールの一意なID |
| name required | string ストレージプールの名前 |
| hasNetworkAccess required | boolean ストレージプールがネットワークアクセス可能かどうかを示すフラグ |
{- "name": "Node1 Pool 1",
- "hasNetworkAccess": true
}{- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}指定したIDのストレージプールの情報を部分的に更新します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージプールの一意なID |
| name | string ストレージプールの名前 |
| hasNetworkAccess | boolean ストレージプールがネットワークアクセス可能かどうかを示すフラグ |
{- "name": "Node1 Pool 1",
- "hasNetworkAccess": true
}{- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}指定したIDのストレージプールを削除します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージプールの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "isAdmin": true,
- "lastLoginAt": "2019-08-24T14:15:22Z",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "totpInfo": {
- "secret": "string",
- "uri": "string"
}, - "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isNodeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false
}
]新しいユーザを作成します。
| password required | string <password> ユーザのパスワード |
| name required | string ユーザの表示名 |
| email required | string <email> ユーザのメールアドレス |
| maxCpuCore required | integer or null ユーザが使用できる最大CPUコア数 制限がある場合だけ設定されます |
| maxMemorySize required | integer or null ユーザが使用できる最大メモリサイズ(バイト単位) 制限がある場合だけ設定されます |
| maxStorageSize required | integer or null ユーザが使用できる最大ストレージサイズ(バイト単位) 制限がある場合だけ設定されます |
| isAdmin required | boolean ユーザが管理者権限を持つかどうか |
| isImageAdmin | boolean ユーザがイメージ管理者かどうかを示すフラグ |
| isInstanceTypeAdmin | boolean ユーザがインスタンスタイプ管理者かどうかを示すフラグ |
| isVirtualMachineAdmin | boolean ユーザが仮想マシン管理者かどうかを示すフラグ |
| isNetworkAdmin | boolean ユーザがネットワーク管理者かどうかを示すフラグ |
| isSecurityGroupAdmin | boolean ユーザがセキュリティグループ管理者かどうかを示すフラグ |
| isNodeAdmin | boolean ユーザが物理ノード管理者かどうかを示すフラグ |
{- "password": "StrongP@ssw0rd!",
- "name": "string",
- "email": "user@example.com",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "isAdmin": true,
- "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false,
- "isNodeAdmin": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "isAdmin": true,
- "lastLoginAt": "2019-08-24T14:15:22Z",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "totpInfo": {
- "secret": "string",
- "uri": "string"
}, - "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isNodeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "isAdmin": true,
- "lastLoginAt": "2019-08-24T14:15:22Z",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "totpInfo": {
- "secret": "string",
- "uri": "string"
}, - "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isNodeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false
}指定したIDのユーザの詳細情報を取得します。
| userId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ユーザの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "isAdmin": true,
- "lastLoginAt": "2019-08-24T14:15:22Z",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "totpInfo": {
- "secret": "string",
- "uri": "string"
}, - "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isNodeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false
}指定したIDのユーザ情報を更新します。
| userId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ユーザの一意なID |
| name required | string ユーザの表示名 |
| email required | string <email> ユーザのメールアドレス |
| maxCpuCore required | integer or null ユーザが使用できる最大CPUコア数 制限がある場合だけ設定されます |
| maxMemorySize required | integer or null ユーザが使用できる最大メモリサイズ(バイト単位) 制限がある場合だけ設定されます |
| maxStorageSize required | integer or null ユーザが使用できる最大ストレージサイズ(バイト単位) 制限がある場合だけ設定されます |
| isAdmin required | boolean ユーザが管理者権限を持つかどうか |
| isImageAdmin required | boolean ユーザがイメージ管理者かどうかを示すフラグ |
| isInstanceTypeAdmin required | boolean ユーザがインスタンスタイプ管理者かどうかを示すフラグ |
| isVirtualMachineAdmin required | boolean ユーザが仮想マシン管理者かどうかを示すフラグ |
| isNetworkAdmin required | boolean ユーザがネットワーク管理者かどうかを示すフラグ |
| isSecurityGroupAdmin required | boolean ユーザがセキュリティグループ管理者かどうかを示すフラグ |
| isNodeAdmin required | boolean ユーザが物理ノード管理者かどうかを示すフラグ |
{- "name": "string",
- "email": "user@example.com",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "isAdmin": true,
- "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false,
- "isNodeAdmin": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "isAdmin": true,
- "lastLoginAt": "2019-08-24T14:15:22Z",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "totpInfo": {
- "secret": "string",
- "uri": "string"
}, - "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isNodeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false
}指定したIDのユーザ情報を部分的に更新します。
| userId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ユーザの一意なID |
| name | string ユーザの表示名 |
string <email> ユーザのメールアドレス | |
| maxCpuCore | integer or null ユーザが使用できる最大CPUコア数 制限がある場合だけ設定されます |
| maxMemorySize | integer or null ユーザが使用できる最大メモリサイズ(バイト単位) 制限がある場合だけ設定されます |
| maxStorageSize | integer or null ユーザが使用できる最大ストレージサイズ(バイト単位) 制限がある場合だけ設定されます |
| isAdmin | boolean ユーザが管理者権限を持つかどうか |
| isImageAdmin | boolean ユーザがイメージ管理者かどうかを示すフラグ |
| isInstanceTypeAdmin | boolean ユーザがインスタンスタイプ管理者かどうかを示すフラグ |
| isVirtualMachineAdmin | boolean ユーザが仮想マシン管理者かどうかを示すフラグ |
| isNetworkAdmin | boolean ユーザがネットワーク管理者かどうかを示すフラグ |
| isSecurityGroupAdmin | boolean ユーザがセキュリティグループ管理者かどうかを示すフラグ |
| isNodeAdmin | boolean ユーザが物理ノード管理者かどうかを示すフラグ |
{- "name": "string",
- "email": "user@example.com",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "isAdmin": true,
- "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false,
- "isNodeAdmin": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "email": "user@example.com",
- "createdAt": "2019-08-24T14:15:22Z",
- "isAdmin": true,
- "lastLoginAt": "2019-08-24T14:15:22Z",
- "maxCpuCore": 32,
- "maxMemorySize": 17179869184,
- "maxStorageSize": 1099511627776,
- "totpInfo": {
- "secret": "string",
- "uri": "string"
}, - "isImageAdmin": false,
- "isInstanceTypeAdmin": false,
- "isNodeAdmin": false,
- "isVirtualMachineAdmin": false,
- "isNetworkAdmin": false,
- "isSecurityGroupAdmin": false
}指定したIDのユーザを削除します。
| userId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ユーザの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDのユーザのパスワードを変更します。
| userId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ユーザの一意なID |
| currentPassword required | string 現在のパスワード |
| newPassword required | string 新しいパスワード |
{- "currentPassword": "string",
- "newPassword": "string"
}{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}すべての仮想マシンのリストを取得します。
| scope | string Enum: "mine" "all" 表示範囲(mine=自分のもの, all=全て(管理者のみ)、指定のない場合はmine)。 |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
]新しい仮想マシンを作成します。インスタンスタイプとカスタムスペックの両方が指定された場合、カスタムスペックが優先されます。
| publicKey required | string 仮想マシンに設定するSSH公開鍵 |
| nodeId required | string <uuid> 仮想マシンを配置するノードのID |
| imageId required | string <uuid> 仮想マシンにインストールするOSイメージのID |
| middlewareId | string or null <uuid> インストールするミドルウェアのID |
| subnetIds required | Array of strings <uuid> [ items <uuid > ] 仮想マシンを配置するサブネットのIDのリスト |
required | Array of objects 仮想マシンにアタッチするストレージのリスト |
| securityGroupIds required | Array of strings <uuid> [ items <uuid > ] 関連付けるセキュリティグループのIDリスト |
| name required | string 仮想マシンの名前 |
required | VirtualMachineWithInstanceTypeUpdatable (object) or VirtualMachineWithCustomSpecUpdatable (object) 仮想マシンのスペック情報 |
{- "publicKey": "string",
- "nodeId": "959356e3-6168-4a92-b4a5-b9d462be6177",
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "middlewareId": "08656f4b-6023-4125-b23c-1184f0fafc96",
- "subnetIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "storages": [
- {
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5",
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f"
}
], - "securityGroupIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "name": "string",
- "spec": {
- "instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンの詳細情報を取得します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシン情報を更新します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| name required | string 仮想マシンの名前 |
VirtualMachineWithInstanceTypeUpdatable (object) or VirtualMachineWithCustomSpecUpdatable (object) 仮想マシンのスペック情報 |
{- "name": "string",
- "spec": {
- "instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシン情報を部分的に更新します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| name | string 仮想マシンの名前 |
VirtualMachineWithInstanceTypeUpdatable (object) or VirtualMachineWithCustomSpecUpdatable (object) 仮想マシンのスペック情報 |
{- "name": "string",
- "spec": {
- "instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンを削除します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDの仮想マシンに関連付けられたネットワークインターフェースの一覧を取得します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
]指定したIDの仮想マシンにネットワークインターフェースを追加します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| name required | string ネットワークインターフェースの名前 |
| subnetId required | string <uuid> ネットワークインターフェースが属するサブネットのID |
{- "name": "string",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}指定したIDの仮想マシンにネットワークインターフェースを一括で編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
required | Array of objects (NetworkInterfaceCreateRequest) 追加するネットワークインターフェースのリスト |
Array of objects 更新するネットワークインターフェースのリスト | |
| remove | Array of strings <uuid> [ items <uuid > ] 削除するネットワークインターフェースのIDリスト |
{- "add": [
- {
- "name": "string",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "patch": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data": {
- "name": "string",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
}
], - "remove": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
]指定したIDの仮想マシンに関連付けられたネットワークインターフェースの詳細を取得します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| nicId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ネットワークインターフェースの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}指定したIDの仮想マシンに関連付けられたネットワークインターフェースを編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| nicId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ネットワークインターフェースの一意なID |
| name required | string ネットワークインターフェースの名前 |
| subnetId required | string <uuid> ネットワークインターフェースが属するサブネットのID |
{- "name": "string",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}指定したIDの仮想マシンに関連付けられたネットワークインターフェースを部分編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| nicId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ネットワークインターフェースの一意なID |
| name | string ネットワークインターフェースの名前 |
| subnetId | string <uuid> ネットワークインターフェースが属するサブネットのID |
{- "name": "string",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}指定したIDの仮想マシンに関連付けられたネットワークインターフェースを削除します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| nicId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ネットワークインターフェースの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDの仮想マシンを再起動します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンを強制的にリセットします。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンに関連付けられたセキュリティグループの一覧を取得します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
]指定したIDの仮想マシンにセキュリティグループを追加します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| securityGroupId required | string <uuid> 追加するセキュリティグループの一意なID |
{- "securityGroupId": "77479d4d-34cb-49d6-ba13-f9aef28de5c2"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}指定したIDの仮想マシンにセキュリティグループを一括で編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
Array of objects 追加するセキュリティグループのリスト | |
| remove | Array of strings <uuid> [ items <uuid > ] 削除するセキュリティグループのIDリスト |
{- "add": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "remove": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
]指定したIDの仮想マシンに関連付けられたセキュリティグループの関連付けを削除します。セキュリティグループの削除ではありません。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| sgId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 セキュリティグループの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDの仮想マシンをシャットダウンします。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンを起動します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンを強制的に停止します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンに関連付けられたストレージの一覧を取得します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
]指定したIDの仮想マシンにストレージを追加します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| name required | string ストレージの名前 |
| size required | integer アタッチするストレージのサイズ(バイト単位) |
| poolId required | string <uuid> ストレージプールのID |
| backupId | string <uuid> ストレージのバックアップ元ID(オプション) |
{- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5",
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}指定したIDの仮想マシンにストレージを一括で編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
Array of objects (StorageCreateRequest) 追加する仮想ストレージのリスト | |
Array of objects 更新する仮想ストレージのリスト | |
| remove | Array of strings <uuid> [ items <uuid > ] 削除する仮想ストレージのIDリスト |
{- "add": [
- {
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5",
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f"
}
], - "patch": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data": {
- "name": "string"
}
}
], - "remove": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
]指定したIDの仮想マシンに関連付けられたストレージの詳細を取得します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| storageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}指定したIDの仮想マシンに関連付けられたストレージを編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| storageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージの一意なID |
| name required | string ストレージの名前 |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}指定したIDの仮想マシンに関連付けられたストレージを部分編集します。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| storageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージの一意なID |
| name | string ストレージの名前 |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}指定したIDの仮想マシンに関連付けられたストレージを割り当て解除します。実際のストレージ自体は削除されません。
| vmId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想マシンの一意なID |
| storageId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 ストレージの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}すべての仮想ネットワークのリストを取得します。
| scope | string Enum: "mine" "all" 表示範囲(mine=自分のもの, all=全て(管理者のみ)、指定のない場合はmine。) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subnets": [
- {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}
]新しい仮想ネットワークを作成します。
| name required | string 仮想ネットワークの名前 |
| cidr required | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... CIDR形式のネットワークアドレス |
required | Array of objects (SubnetCreateRequest) non-empty 仮想ネットワーク作成時に同時に作成するサブネットのリスト |
{- "name": "string",
- "cidr": "10.0.0.0/16",
- "initialSubnets": [
- {
- "name": "string",
- "cidr": "192.168.1.0/24"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subnets": [
- {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}指定したIDの仮想ネットワークの詳細情報を取得します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subnets": [
- {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}指定したIDの仮想ネットワーク情報を更新します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| name | string 仮想ネットワークの名前 |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subnets": [
- {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}指定したIDの仮想ネットワーク情報を完全に更新します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| name required | string 仮想ネットワークの名前 |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "subnets": [
- {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}指定したIDの仮想ネットワークを削除します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定した仮想ネットワークに新しいサブネットを追加します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| name required | string サブネットの名前 |
| cidr required | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... CIDR形式のサブネットアドレス |
{- "name": "string",
- "cidr": "192.168.1.0/24"
}{- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}指定した仮想ネットワーク内のサブネットを一括で更新します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
Array of objects (SubnetCreateRequest) 作成するサブネットのリスト | |
Array of objects 更新するサブネットのリスト | |
| remove | Array of strings <uuid> [ items <uuid > ] 削除するサブネットのIDリスト |
{- "add": [
- {
- "name": "string",
- "cidr": "192.168.1.0/24"
}
], - "patch": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "data": {
- "name": "string",
- "cidr": "192.168.1.0/24"
}
}
], - "remove": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
]指定した仮想ネットワーク内のサブネットの詳細情報を取得します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| subnetId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 サブネットの一意なID |
{- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}指定した仮想ネットワーク内のサブネット情報を更新します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| subnetId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 サブネットの一意なID |
| name required | string サブネットの名前 |
| cidr required | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... CIDR形式のサブネットアドレス |
{- "name": "string",
- "cidr": "192.168.1.0/24"
}{- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}指定した仮想ネットワーク内のサブネット情報を更新します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| subnetId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 サブネットの一意なID |
| name | string サブネットの名前 |
| cidr | string^(\d{1,3}\.){3}\d{1,3}/([0-9]|[12][0-9]|3[0-2... CIDR形式のサブネットアドレス |
{- "name": "string",
- "cidr": "192.168.1.0/24"
}{- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}指定した仮想ネットワーク内のサブネットを削除します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| subnetId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 サブネットの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定した仮想ネットワーク内のサブネットに接続されている仮想マシンの一覧を取得します。
| networkId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 仮想ネットワークの一意なID |
| subnetId required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 サブネットの一意なID |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
]アップロードされた OS イメージをテンプレートに変換する
| id required | string テンプレート VM の ID(例: 9000) |
| name required | string テンプレート VM 名(例: template-base) |
| image_name required | string アップロード済みイメージファイル名 |
{- "id": "9000",
- "name": "template-base",
- "image_name": "upload.img"
}{- "taskId": "task-abc123",
- "message": "イメージのテンプレート化を開始しました"
}アップロードされた OS イメージを削除する
| storage_id required | string ストレージ ID(例: local) |
| image_name required | string イメージファイル名 |
{- "storage_id": "local",
- "image_name": "upload.img"
}{- "message": "イメージを削除しました"
}新しいノードをクラスタに追加する。ノードの IP アドレスを指定して認識させる
| node_name required | string 新ノード名 |
| ip_address required | string <ipv4> 新ノードのプライベート IP アドレス |
| master_ip required | string <ipv4> マスターノードの IP アドレス |
{- "node_name": "pve-node-03",
- "ip_address": "192.168.3.10",
- "master_ip": "192.168.3.5"
}{- "taskId": "task-def456",
- "nodeId": "node-003",
- "message": "ノードの追加を開始しました"
}LVM または ZFS ストレージプールを新規作成する
| pool_name required | string ZFS プール名(例: poka) |
| device required | string デバイスパス(例: /dev/sdb) |
| storage_name required | string Proxmox での表示名 |
| node_name required | string 対象ノード名(例: test01) |
| content | Array of strings Default: ["images","rootdir"] Items Enum: "images" "rootdir" コンテンツタイプ |
| comment | string プール説明・UUID |
{- "pool_name": "poka",
- "device": "/dev/sdb",
- "storage_name": "poka",
- "node_name": "test01",
- "content": [
- "images",
- "rootdir"
], - "comment": "UUID:550e8400-e29b-41d4-a716-446655440000"
}{- "taskId": "task-ghi789",
- "poolId": "storage-poka",
- "poolName": "poka",
- "message": "ストレージプールの作成を開始しました"
}NFS サーバーの共有設定など、ストレージプールの設定を更新する
| poolId required | string 更新するストレージプール ID |
| pool_name required | string ZFS プール名 |
| network required | string 公開ネットワーク(例: 192.168.3.0/24) |
| read_write | boolean Default: true RW 権限の有無 |
| root_squash | boolean Default: false ルートスクワッシュ設定 |
{- "pool_name": "poka",
- "network": "192.168.3.0/24",
- "read_write": true,
- "root_squash": false
}{- "poolId": "storage-poka",
- "poolName": "poka",
- "message": "ストレージプール設定を更新しました"
}別のノードで公開されている NFS ストレージプールを、現在のノードにマウントする
| poolId required | string マウント対象のリモートストレージプール ID |
| storage_name required | string ストレージ表示名 |
| server_ip required | string <ipv4> NFS サーバーの IP アドレス |
| export_path required | string エクスポートパス(例: /poka) |
| content required | Array of strings Items Enum: "images" "rootdir" コンテンツタイプ |
| node_name required | Array of strings 登録対象ノード名の配列 |
{- "storage_name": "remote-poka",
- "server_ip": "192.168.3.50",
- "export_path": "/poka",
- "content": [
- "images",
- "rootdir"
], - "node_name": [
- "test02"
]
}{- "taskId": "task-jkl012",
- "message": "リモートストレージプールのマウントを開始しました"
}ノード/各VMのメトリクス履歴データを取得
| admin required | boolean 管理者権限フラグ、trueの場合はノードのメトリクス履歴データ、falseの場合はユーザに割り当てられたVMのメトリクス履歴データを返す |
{- "data": [
- {
- "id": "node1/6001",
- "name": "node1/vm6001",
- "totalCpu": 80,
- "totalMemory": 57899069440,
- "cpuHistory": [
- {
- "timestamp": 1722672000000,
- "value": 1.031
}
], - "memHistory": [
- {
- "timestamp": 1722672000000,
- "value": 1.031
}
], - "networkINHistory": [
- {
- "timestamp": 1722672000000,
- "value": 1.031
}
], - "networkOUTHistory": [
- {
- "timestamp": 1722672000000,
- "value": 1.031
}
]
}
]
}ノード/各VMのメトリクスデータを取得
| admin required | boolean 管理者権限フラグ、trueの場合はノードのメトリクスデータ、falseの場合はユーザに割り当てられたVMのメトリクスデータを返す |
{- "clusterSummary": {
- "totalCpu": 80,
- "usedCpu": 0.58,
- "totalMemory": 57899069440,
- "usedMemory": 16743878656,
- "totalStorage": 21395853312,
- "usedStorage": 13995106304
}
}ユーザのバックアップのリストを取得します。
| scope | string Enum: "mine" "all" 表示範囲(mine=自分のもの, all=全て(管理者のみ)、指定のない場合はmine。) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "size": 0,
- "targetStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}
]新しいバックアップを作成します。
| targetVirtualMachineId required | string <uuid> バックアップ対象の仮想マシンのID |
| targetStorageId required | string <uuid> バックアップ対象の仮想ストレージのID |
| name required | string バックアップの名前 |
| description | string バックアップの説明 |
{- "targetVirtualMachineId": "1cb6727e-4150-49df-99e2-fd507e7642bd",
- "targetStorageId": "c13ef496-ac65-4a92-bd47-9ffc94018167",
- "name": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "size": 0,
- "targetStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのバックアップの詳細情報を取得します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 バックアップの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "size": 0,
- "targetStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのバックアップ情報を更新します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 バックアップの一意なID |
| name required | string バックアップの名前 |
| description | string バックアップの説明 |
{- "name": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "size": 0,
- "targetStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのバックアップ情報を部分的に更新します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 バックアップの一意なID |
| name | string バックアップの名前 |
| description | string バックアップの説明 |
{- "name": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "size": 0,
- "targetStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのバックアップを削除します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 バックアップの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDのバックアップを、バックアップ元の仮想マシンに復元します。復元先の仮想マシンが削除されている場合、復元は失敗します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 バックアップの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}すべてのスナップショットのリストを取得します。
| scope | string Enum: "mine" "all" 表示範囲(mine=自分のもの, all=全て(管理者のみ)、指定のない場合はmine。) |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}
]新しいスナップショットを作成します。
| name required | string スナップショットの名前 |
| description | string スナップショットの説明 |
| targetVmId required | string <uuid> スナップショットを取得する仮想マシンのID |
{- "name": "string",
- "description": "string",
- "targetVmId": "ebe8256d-aed9-4915-b339-5dd055480271"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのスナップショットの詳細情報を取得します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 スナップショットの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのスナップショット情報を更新します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 スナップショットの一意なID |
| name required | string スナップショットの名前 |
| description required | string スナップショットの説明 |
{- "name": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのスナップショット情報を部分的に更新します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 スナップショットの一意なID |
| name | string スナップショットの名前 |
| description | string スナップショットの説明 |
{- "name": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}指定したIDのスナップショットを削除します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 スナップショットの一意なID |
{- "title": "Invalid Request",
- "status": 400,
- "detail": "The request parameters are invalid.",
- "instance": "/requests/12345"
}指定したIDのスナップショットを、スナップショット元の仮想マシンに復元します。復元先の仮想マシンが削除されている場合、復元は失敗します。
| id required | string <uuid> Example: 12fbed88-2dc4-4537-af98-f1f796046d16 スナップショットの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": "running",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "owner": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}, - "rules": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "192.0.2.0/24",
- "action": "allow",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}
], - "storages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "pool": {
- "id": "550e8400-e29b-41d4-a716-446655440000",
- "name": "Node1 Pool 1",
- "node": {
- "id": "194d84d4-8811-4ff1-bb68-0e0734990018",
- "name": "node-01",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2024-01-15T10:00:00Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2024-01-01T12:00:00Z",
- "totalSize": 1099511627776,
- "usedSize": 549755813888,
- "availableSize": 549755813888,
- "hasNetworkAccess": true
}, - "createdAt": "2019-08-24T14:15:22Z",
- "devicePath": "/dev/vdb"
}
], - "networkInterfaces": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnet": {
- "parent": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "createdAt": "2019-08-24T14:15:22Z"
}
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}