-
Notifications
You must be signed in to change notification settings - Fork 51
How to get Image List with REST API
ByoungSeob Kim edited this page Sep 5, 2024
·
4 revisions
curl -sX GET http://localhost:1024/spider/connectionconfig -H 'Content-Type: application/json' |json_pp;
export CONN_CONFIG=alibaba-tokyo-config;
curl -sX GET http://localhost:1024/spider/vmimage -H 'Content-Type: application/json' -d '{ "ConnectionName": "'${CONN_CONFIG}'"}' |json_pp;
export CONN_CONFIG=alibaba-tokyo-config;
curl -sX GET http://localhost:1024/spider/vmimage/ubuntu_20_04_x64_20G_alibase_20240819.vhd -H 'Content-Type: application/json' -d '{ "ConnectionName":
"'${CONN_CONFIG}'"}' |json_pp
-
output 예시:
{ "GuestOS" : "Ubuntu 20.04 64 bit", "IId" : { "NameId" : "ubuntu_20_04_x64_20G_alibase_20240819.vhd", "SystemId" : "ubuntu_20_04_x64_20G_alibase_20240819.vhd" }, "KeyValueList" : [ { "Key" : "CreationTime", "Value" : "2024-08-21T08:02:47Z" }, { "Key" : "Architecture", "Value" : "x86_64" }, ... 중략 ...
export CONN_CONFIG=alibaba-tokyo-config;
curl -sX GET http://localhost:1024/spider/vmimage -H 'Content-Type: application/json' -d '{ "ConnectionName":
"'${CONN_CONFIG}'"}' |json_pp |grep NameId |grep ubuntu;
-
output 예시:
"NameId" : "ubuntu_20_04_x64_20G_alibase_20210420.vhd" "NameId" : "ubuntu_18_04_x64_20G_alibase_20210420.vhd" "NameId" : "ubuntu_16_04_x64_20G_alibase_20210420.vhd", "NameId" : "ubuntu_16_0402_32_20G_alibase_20180409.vhd" "NameId" : "ubuntu_14_0405_64_20G_alibase_20170824.vhd",
-
Install & Start Guide
-
Usage Guide
- Usage Overview
- Connection Management
- Region/Zone Info
- Quota Info
- VM Price Info
- VM Image Info
- VM Spec Info
- VPC/Subnet Management
- Security Group Management
- KeyPair Management
- VM Management
- Disk Management
- Network Load Balancer(NLB) Management
- Kubernetes Cluster Management
- Object Storage(S3) Management
- Tag Management
- Cloud Driver Capability Info
- Function Menu
- MetaDB Auto Backup
- How to get CSP Credentials
- Tutorials
- Developer Guide
- Cloud Driver Developer Guide
- CB‐Spider Multi‐Cloud Driver Developer Team Skill
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
- How to ...
- How to Use AWS S3 with Credentials
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to get Azure available Regions
- How to profile memory usage in Golang
- [For Cloud-Migrator]