import (
"aliyun-openapi-go-sdk/ecs/2014-05-26"
"fmt"
)
func main() {
var req ecs.DescribeRegionsRequest
req.Init()
req.SetFormat("JSON")
req.SetRegionId("cn-shenzhen")
var accessId = "Ie65kUInu5GeAsma"
var accessSecret = "8cCqoxdYU9zKUihwXFXiN1HEACBDwB"
resp, err := ecs.DescribeRegions(&req, accessId, accessSecret)
if err != nil {
fmt.Printf("Error: %s", err.Error())
return
}
fmt.Printf("Success: %v\n", resp)
}
-
Notifications
You must be signed in to change notification settings - Fork 0
aliyun-openapi-go-sdk
License
cklxmu/aliyun-openapi-go-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
aliyun-openapi-go-sdk
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published