Download OpenAPI specification:
KCI API documentation
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "targetVirtualStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}
}
]新しいバックアップを作成します。
| name required | string バックアップの名前 |
| targetStorageId required | string <uuid> バックアップ対象の仮想ストレージのID |
{- "name": "string",
- "targetStorageId": "c13ef496-ac65-4a92-bd47-9ffc94018167"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0,
- "targetVirtualStorage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "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",
- "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
]新しい仮想マシンを作成します。
| name required | string 仮想マシンの名前 |
| instanceTypeId | string <uuid> 使用するインスタンスタイプのID |
| cpuCore | integer 仮想マシンに割り当てるCPUコア数(instanceTypeIdが指定されていない場合に必須) |
| memorySize | integer 仮想マシンに割り当てるメモリサイズ(バイト単位、instanceTypeIdが指定されていない場合に必須) |
| subnetId required | string <uuid> 仮想マシンを配置するサブネットのID |
| publicKey | string 仮想マシンに設定するSSH公開鍵 |
| imageId required | string <uuid> 使用する仮想マシンイメージのID |
| middleWareId | string <uuid> インストールするミドルウェアのID |
| nodeId required | string <uuid> 仮想マシンを配置する物理ノードのID |
required | Array of objects 仮想マシンにアタッチするストレージのリスト |
| securityGroupIds required | Array of strings <uuid> [ items <uuid > ] 関連付けるセキュリティグループのIDリスト |
{- "name": "string",
- "instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98",
- "cpuCore": 0,
- "memorySize": 0,
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a",
- "publicKey": "string",
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "middleWareId": "a9b6b690-7937-4a32-a039-3b3c209e0345",
- "nodeId": "959356e3-6168-4a92-b4a5-b9d462be6177",
- "storages": [
- {
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5",
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f"
}
], - "securityGroupIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシンの詳細情報を取得します。
| vmId required | string <uuid> 仮想マシンの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}指定したIDの仮想マシン情報を更新します。
| vmId required | string <uuid> 仮想マシンの一意なID |
| name | string 仮想マシンの名前 |
| instanceTypeId | string <uuid> 使用するインスタンスタイプのID |
| cpuCore | integer 仮想マシンに割り当てるCPUコア数 |
| memorySize | integer 仮想マシンに割り当てるメモリサイズ(バイト単位) |
| securityGroupIds | Array of strings <uuid> [ items <uuid > ] 仮想マシンに関連付けられたセキュリティグループのIDリスト |
Array of objects (AttachedStorage) アタッチされたストレージのリスト | |
Array of objects (NetworkInterface) アタッチされたネットワークインターフェースのリスト |
{- "name": "string",
- "instanceTypeId": "41e36058-8403-4086-a9b8-39cb5bc9cb98",
- "cpuCore": 0,
- "memorySize": 0,
- "securityGroupIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}[- {
- "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",
- "TotpInfo": {
- "secret": "string",
- "uri": "string"
}
}
]新しいユーザを作成します。
| name required | string ユーザの名前 |
| email required | string <email> ユーザのメールアドレス |
| password required | string <password> ユーザのパスワード |
| useTOTP required | boolean TOTPを使用するかどうかを示すフラグ |
| isAdmin required | boolean ユーザが管理者かどうかを示すフラグ |
| maxCpuCore | integer ユーザが使用できる最大CPUコア数 |
| maxMemorySize | integer ユーザが使用できる最大メモリサイズ(バイト単位) |
| maxStorageSize | integer ユーザが使用できる最大ストレージサイズ(バイト単位) |
{- "name": "string",
- "email": "user@example.com",
- "password": "pa$$word",
- "useTOTP": true,
- "isAdmin": true,
- "maxCpuCore": 0,
- "maxMemorySize": 0,
- "maxStorageSize": 0
}{- "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",
- "TotpInfo": {
- "secret": "string",
- "uri": "string"
}
}指定したIDのユーザの詳細情報を取得します。
| userId required | string <uuid> ユーザの一意な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",
- "TotpInfo": {
- "secret": "string",
- "uri": "string"
}
}指定したIDのユーザ情報を更新します。
| userId required | string <uuid> ユーザの一意なID |
| name | string ユーザの名前 |
string <email> ユーザのメールアドレス | |
| maxCpuCore | integer ユーザが使用できる最大CPUコア数 |
| maxMemorySize | integer ユーザが使用できる最大メモリサイズ(バイト単位) |
| maxStorageSize | integer ユーザが使用できる最大ストレージサイズ(バイト単位) |
| isAdmin | boolean ユーザが管理者かどうかを示すフラグ |
{- "name": "string",
- "email": "user@example.com",
- "maxCpuCore": 0,
- "maxMemorySize": 0,
- "maxStorageSize": 0,
- "isAdmin": true
}{- "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",
- "TotpInfo": {
- "secret": "string",
- "uri": "string"
}
}{- "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",
- "TotpInfo": {
- "secret": "string",
- "uri": "string"
}
}新しい仮想マシンイメージを作成します。
| name required | string 仮想マシンイメージの名前 |
| description | string 仮想マシンイメージの説明 |
| file required | string <binary> アップロードする仮想マシンイメージファイル(base64エンコードされたバイナリデータ) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0
}指定したIDの仮想マシンイメージの詳細情報を取得します。
| imageId required | string <uuid> 仮想マシンイメージの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "size": 0
}指定したIDの仮想マシンイメージ情報を更新します。
| imageId required | string <uuid> 仮想マシンイメージの一意な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",
- "size": 0
}新しいインスタンスタイプを作成します。
| name required | string インスタンスタイプの名前 |
| cpuCore required | integer CPUコア数 |
| memorySize required | integer メモリサイズ(バイト単位) |
{- "name": "string",
- "cpuCore": 0,
- "memorySize": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}指定したIDのインスタンスタイプの詳細情報を取得します。
| instanceTypeId required | string <uuid> インスタンスタイプの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}指定したIDのインスタンスタイプ情報を更新します。
| instanceTypeId required | string <uuid> インスタンスタイプの一意なID |
| name | string インスタンスタイプの名前 |
| cpuCore | integer CPUコア数 |
| memorySize | integer メモリサイズ(バイト単位) |
{- "name": "string",
- "cpuCore": 0,
- "memorySize": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}ユーザのメールアドレスとパスワードを使用してログインします。成功すると、認証トークンが返されます。
| email required | string <email> ユーザのメールアドレス |
| password required | string <password> ユーザのパスワード |
{- "email": "user@example.com",
- "password": "pa$$word"
}{- "refreshToken": "string",
- "token": "string"
}ユーザのメールアドレスとパスワードを使用してログインします。トークンはCookieに保存されます。
| email required | string <email> ユーザのメールアドレス |
| password required | string <password> ユーザのパスワード |
{- "email": "user@example.com",
- "password": "pa$$word"
}{- "message": "string"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}
]新しい物理ノードを追加します。
| name required | string 物理ノードの名前 |
| ipAddress required | string <ipv4> 物理ノードのIPアドレス |
| isAdmin required | boolean 物理ノードが管理ノードかどうかを示すフラグ |
{- "name": "string",
- "ipAddress": "192.168.0.1",
- "isAdmin": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}指定したIDの物理ノードの詳細情報を取得します。
| nodeId required | string <uuid> 物理ノードの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}指定したIDの物理ノード情報を更新します。
| nodeId required | string <uuid> 物理ノードの一意なID |
| isAdmin | boolean 物理ノードが管理ノードかどうかを示すフラグ |
{- "isAdmin": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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 セキュリティグループの説明 |
Array of objects (SecurityRuleCreateRequest) |
{- "name": "string",
- "description": "string",
- "rules": [
- {
- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "10.0.0.0/16",
- "action": "allow"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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",
- "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 セキュリティグループの説明 |
Array of objects (SecurityRule) |
{- "name": "string",
- "description": "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"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}指定したセキュリティグループに新しいルールを追加します。
| groupId required | string <uuid> セキュリティグループの一意なID |
| name required | string セキュリティルールの名前 |
| ruleType required | string Enum: "inbound" "outbound" ルールのタイプ(インバウンドまたはアウトバウンド) |
| port required | integer 適用されるポート番号 |
| protocol required | string Enum: "tcp" "udp" "icmp" 適用されるプロトコル |
| targetIp required | string <ipv4> ターゲットIPアドレス |
| action required | string Enum: "allow" "deny" ルールのアクション(許可または拒否) |
{- "name": "string",
- "ruleType": "inbound",
- "port": 22,
- "protocol": "tcp",
- "targetIp": "10.0.0.0/16",
- "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"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "totalSize": 0,
- "usedSize": 0,
- "nodeId": "959356e3-6168-4a92-b4a5-b9d462be6177",
- "devFile": "/dev/sdb"
}
]新しいストレージプールを作成します。
| name required | string ストレージプールの名前 |
| nodeId required | string <uuid> ストレージプールを作成する物理ノードのID |
| size required | integer ストレージプールのサイズ(バイト単位) |
| devFile required | string ストレージデバイスのパス |
{- "name": "string",
- "nodeId": "959356e3-6168-4a92-b4a5-b9d462be6177",
- "size": 0,
- "devFile": "/dev/sdb"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "totalSize": 0,
- "usedSize": 0,
- "nodeId": "959356e3-6168-4a92-b4a5-b9d462be6177",
- "devFile": "/dev/sdb"
}指定したIDのストレージプールの詳細情報を取得します。
| poolId required | string <uuid> ストレージプールの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "totalSize": 0,
- "usedSize": 0,
- "nodeId": "959356e3-6168-4a92-b4a5-b9d462be6177",
- "devFile": "/dev/sdb"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "totalSize": 0,
- "usedSize": 0,
- "localStoragePoolId": "1d61d065-78ed-4187-9836-48e31d916b77"
}
]新しいストレージプールを作成します。
| name required | string ストレージプールの名前 |
| size required | integer ストレージプールのサイズ(バイト単位) |
| localStorageId required | string <uuid> 使用するローカルストレージプールのID |
{- "name": "string",
- "size": 0,
- "localStorageId": "a21cd120-32ac-4c56-8bcc-38ac7d942692"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "totalSize": 0,
- "usedSize": 0,
- "localStoragePoolId": "1d61d065-78ed-4187-9836-48e31d916b77"
}指定したIDのストレージプールの詳細情報を取得します。
| poolId required | string <uuid> ストレージプールの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "totalSize": 0,
- "usedSize": 0,
- "localStoragePoolId": "1d61d065-78ed-4187-9836-48e31d916b77"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "subnets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "possibleExternalConnection": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "inboundTraffic": 125000,
- "outboundTraffic": 98000
}
]新しい仮想ネットワークを作成します。
| name required | string 仮想ネットワークの名前 |
| cidr required | string CIDR形式のネットワークアドレス |
{- "name": "string",
- "cidr": "10.0.0.0/16"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "subnets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "possibleExternalConnection": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "inboundTraffic": 125000,
- "outboundTraffic": 98000
}指定したIDの仮想ネットワークの詳細情報を取得します。
| networkId required | string <uuid> 仮想ネットワークの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/16",
- "createdAt": "2019-08-24T14:15:22Z",
- "subnets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "possibleExternalConnection": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "inboundTraffic": 125000,
- "outboundTraffic": 98000
}指定したIDの仮想ネットワーク情報を更新します。
| networkId required | string <uuid> 仮想ネットワークの一意な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",
- "subnets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "possibleExternalConnection": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "inboundTraffic": 125000,
- "outboundTraffic": 98000
}指定した仮想ネットワークに新しいサブネットを追加します。
| networkId required | string <uuid> 仮想ネットワークの一意なID |
| name required | string サブネットの名前 |
| cidr required | string CIDR形式のサブネットアドレス |
| possibleExternalConnection required | boolean 外部接続が可能かどうかを示すフラグ |
{- "name": "string",
- "cidr": "10.0.0.0/16",
- "possibleExternalConnection": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "possibleExternalConnection": true,
- "createdAt": "2019-08-24T14:15:22Z"
}指定した仮想ネットワーク内のサブネット情報を更新します。
| networkId required | string <uuid> 仮想ネットワークの一意なID |
| subnetId required | string <uuid> サブネットの一意なID |
| name | string サブネットの名前 |
| cidr | string CIDR形式のサブネットアドレス |
| possibleExternalConnection | boolean 外部接続が可能かどうかを示すフラグ |
{- "name": "string",
- "cidr": "10.0.0.0/16",
- "possibleExternalConnection": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cidr": "10.0.0.0/24",
- "possibleExternalConnection": true,
- "createdAt": "2019-08-24T14:15:22Z"
}新しいポートフォリオを作成します。
| title required | string ポートフォリオのタイトル |
{- "title": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "viewCount24Hour": 0,
- "viewCount7Day": 0
}指定したIDのスナップショットの詳細情報を取得します。
| id required | string <uuid> スナップショットの一意なID |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "targetVirtualMachine": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "instanceType": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuCore": 0,
- "memorySize": 0
}, - "status": "running",
- "node": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "ipAddress": "192.168.0.1",
- "status": "active",
- "isAdmin": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUtilization": 0.75,
- "memoryUtilization": 0.6,
- "storageUtilization": 0.8
}, - "createdAt": "2019-08-24T14:15:22Z",
- "securityGroups": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "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"
}
], - "attachedStorages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "storage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "size": 0,
- "poolId": "d038cb61-929c-440e-b3d3-abb22c5538f5"
}, - "path": "/dev/sda"
}
], - "attachedNics": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "macAddress": "02:42:ac:11:00:02",
- "ipAddress": "10.0.0.0/32",
- "subnetId": "1f232bf0-7b90-456e-b9b0-38d9fea4171a"
}
], - "cpuUtilization": 0.55,
- "memoryUtilization": 0.7,
- "storageUtilization": 0.4,
- "cpuCore": 0,
- "memorySize": 0
}
}