-
Notifications
You must be signed in to change notification settings - Fork 50
REST API Region Zone Information Guide
ByoungSeob Kim edited this page Oct 12, 2023
·
11 revisions
curl -sX GET http://localhost:1024/spider/connectionconfig -H 'Content-Type: application/json' |json_pp;
curl -sX GET http://localhost:1024/spider/regionzone -H 'Content-Type: application/json' -d '{"ConnectionName": "aws-config01"}' | json_pp
-
output:
{ "regionzone" : [ { "DisplayName" : "ap-northeast-2", "KeyValueList" : null, "Name" : "ap-northeast-2", "ZoneList" : [ { "DisplayName" : "ap-northeast-2a", "KeyValueList" : null, "Name" : "ap-northeast-2a", "Status" : "Available" }, { "DisplayName" : "ap-northeast-2b", "KeyValueList" : null, "Name" : "ap-northeast-2b", "Status" : "Available" }, { "DisplayName" : "ap-northeast-2c", "KeyValueList" : null, "Name" : "ap-northeast-2c", "Status" : "Available" }, { "DisplayName" : "ap-northeast-2d", "KeyValueList" : null, "Name" : "ap-northeast-2d", "Status" : "Available" }, { "DisplayName" : "ap-northeast-2-wl1-cjj-wlz-1", "KeyValueList" : null, "Name" : "ap-northeast-2-wl1-cjj-wlz-1", "Status" : "Available" }, { "DisplayName" : "ap-northeast-2-wl1-sel-wlz-1", "KeyValueList" : null, "Name" : "ap-northeast-2-wl1-sel-wlz-1", "Status" : "Available" } ] }, { "DisplayName" : "ap-northeast-3", "KeyValueList" : null, "Name" : "ap-northeast-3", "ZoneList" : [ { "DisplayName" : "ap-northeast-3a", "KeyValueList" : null, "Name" : "ap-northeast-3a", "Status" : "Available" }, { "DisplayName" : "ap-northeast-3b", "KeyValueList" : null, "Name" : "ap-northeast-3b", "Status" : "Available" }, { "DisplayName" : "ap-northeast-3c", "KeyValueList" : null, "Name" : "ap-northeast-3c", "Status" : "Available" } ] }, ...
curl -sX GET http://localhost:1024/spider/regionzone/ap-northeast-3 -H 'Content-Type: application/json' -d '{"ConnectionName": "aws-config01"}' | json_pp
-
output:
{ "DisplayName" : "ap-northeast-3", "KeyValueList" : null, "Name" : "ap-northeast-3", "ZoneList" : [ { "DisplayName" : "ap-northeast-3a", "KeyValueList" : null, "Name" : "ap-northeast-3a", "Status" : "Available" }, { "DisplayName" : "ap-northeast-3b", "KeyValueList" : null, "Name" : "ap-northeast-3b", "Status" : "Available" }, { "DisplayName" : "ap-northeast-3c", "KeyValueList" : null, "Name" : "ap-northeast-3c", "Status" : "Available" } ] }
curl -sX GET http://localhost:1024/spider/orgregion -H 'Content-Type: application/json' -d '{"ConnectionName": "aws-config01"}' | json_pp
-
output:
{ "Regions" : [ { "Endpoint" : "ec2.ap-south-2.amazonaws.com", "OptInStatus" : "not-opted-in", "RegionName" : "ap-south-2" }, { "Endpoint" : "ec2.ap-south-1.amazonaws.com", "OptInStatus" : "opt-in-not-required", "RegionName" : "ap-south-1" }, { "Endpoint" : "ec2.eu-south-1.amazonaws.com", "OptInStatus" : "opted-in", "RegionName" : "eu-south-1" }, { "Endpoint" : "ec2.eu-south-2.amazonaws.com", "OptInStatus" : "not-opted-in", "RegionName" : "eu-south-2" }, ...
curl -sX GET http://localhost:1024/spider/orgzone -H 'Content-Type: application/json' -d '{"ConnectionName": "aws-config01"}' | json_pp
-
output:
[ { "AvailabilityZones" : [ { "GroupName" : "ap-south-1", "Messages" : null, "NetworkBorderGroup" : "ap-south-1", "OptInStatus" : "opt-in-not-required", "ParentZoneId" : null, "ParentZoneName" : null, "RegionName" : "ap-south-1", "State" : "available", "ZoneId" : "aps1-az1", "ZoneName" : "ap-south-1a", "ZoneType" : "availability-zone" }, { "GroupName" : "ap-south-1", "Messages" : null, "NetworkBorderGroup" : "ap-south-1", "OptInStatus" : "opt-in-not-required", "ParentZoneId" : null, "ParentZoneName" : null, "RegionName" : "ap-south-1", "State" : "available", "ZoneId" : "aps1-az3", "ZoneName" : "ap-south-1b", "ZoneType" : "availability-zone" }, { "GroupName" : "ap-south-1", "Messages" : null, "NetworkBorderGroup" : "ap-south-1", "OptInStatus" : "opt-in-not-required", "ParentZoneId" : null, "ParentZoneName" : null, "RegionName" : "ap-south-1", "State" : "available", "ZoneId" : "aps1-az2", "ZoneName" : "ap-south-1c", "ZoneType" : "availability-zone" }, { "GroupName" : "ap-south-1-ccu-1", "Messages" : null, "NetworkBorderGroup" : "ap-south-1-ccu-1", "OptInStatus" : "not-opted-in", "ParentZoneId" : "aps1-az1", "ParentZoneName" : "ap-south-1a", "RegionName" : "ap-south-1", "State" : "available", "ZoneId" : "aps1-ccu1-az1", "ZoneName" : "ap-south-1-ccu-1a", "ZoneType" : "local-zone" }, { "GroupName" : "ap-south-1-del-1", "Messages" : null, "NetworkBorderGroup" : "ap-south-1-del-1", "OptInStatus" : "not-opted-in", "ParentZoneId" : "aps1-az3", "ParentZoneName" : "ap-south-1b", "RegionName" : "ap-south-1", "State" : "available", "ZoneId" : "aps1-del1-az1", "ZoneName" : "ap-south-1-del-1a", "ZoneType" : "local-zone" } ] }, ...
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
- NLI Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- 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
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- 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 install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]