import (\"fmt\"\"github.com/aliyun/alibaba-cloud-sdk-go/services/ecs\"\"time\")client, _ := ecs.NewClientWithAccessKey(\"cn-beijing\", \"11111111111111\", \"222222222222222222222\")request := ecs.CreateDescribeInstancesRequest()response, _ := client.DescribeInstances(request)r := response.Instancesfmt.Println(i.InstanceId)
阿里云 go sdk 获取 ecs 资产信息
未经允许不得转载:爱站程序员基地 » 阿里云 go sdk 获取 ecs 资产信息