All Projects → aliyun → Alibaba Cloud Sdk Go

aliyun / Alibaba Cloud Sdk Go

Licence: apache-2.0
Alibaba Cloud SDK for Go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Alibaba Cloud Sdk Go

Aliyungo
Go SDK for Aliyun (Alibaba Cloud) - Golang API for ECS, OSS, DNS, SLB, RDS, RAM, MNS, STS, SLS, MQ, Push, OpenSearch, DM, Container Service etc.
Stars: ✭ 756 (-13.7%)
Mutual labels:  ecs, aliyun, rds, alibaba, sdk, dns
Openapi Sdk Php
Alibaba Cloud SDK for PHP
Stars: ✭ 423 (-51.71%)
Mutual labels:  ecs, aliyun, alibaba, sdk
Aliyun Sdk Js
阿里云 SDK for Javascript,支持在浏览器和 Nodejs 环境使用,支持大部分阿里云服务。
Stars: ✭ 727 (-17.01%)
Mutual labels:  ecs, aliyun, rds, sdk
Waliyun
阿里云Node.js Open API SDK(完整版)
Stars: ✭ 40 (-95.43%)
Mutual labels:  ecs, aliyun, rds, sdk
Openapi Sdk Php Client
Official repository of the Alibaba Cloud Client for PHP
Stars: ✭ 206 (-76.48%)
Mutual labels:  aliyun, alibaba, sdk
Aliyun Ons
☁️ SDK of Node.js for Aliyun ONS. 🚀
Stars: ✭ 151 (-82.76%)
Mutual labels:  aliyun, sdk
Awesome Aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Stars: ✭ 9,895 (+1029.57%)
Mutual labels:  ecs, rds
herman
Herman is a tool to simplify deployment of AWS Services using ECS and Lambda, and the provisioning of various AWS services.
Stars: ✭ 33 (-96.23%)
Mutual labels:  ecs, rds
Nacos
an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
Stars: ✭ 20,691 (+2261.99%)
Mutual labels:  alibaba, dns
Ali Oss
Aliyun OSS(open storage service) JavaScript SDK for the browser and Node.js
Stars: ✭ 1,579 (+80.25%)
Mutual labels:  aliyun, sdk
Serverless Vscode
Aliyun Function Compute extension. Lets you develop your serverless application of Aliyun within VSCode.
Stars: ✭ 272 (-68.95%)
Mutual labels:  aliyun, alibaba
Spring Cloud Alibaba
Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.
Stars: ✭ 20,934 (+2289.73%)
Mutual labels:  aliyun, alibaba
Aliyun Ddns
阿里云动态域名工具,支持docker和ipv6。
Stars: ✭ 131 (-85.05%)
Mutual labels:  aliyun, dns
Hybrid multicloud overlay
MutiCloud_Overlay demonstrates a use case of overlay over one or more clouds such as AWS, Azure, GCP, OCI, Alibaba and a vSphere private infrastructure in Hub and spoke topology, point to point topology and in a Single cloud. Overlay protocols IPv6 and IPv4 are independent of underlying infrastructure. This solution can be integrated with encryption and additional security features.
Stars: ✭ 127 (-85.5%)
Mutual labels:  aliyun, alibaba
Aliyun Openapi Net Sdk
Alibaba Cloud SDK for .NET
Stars: ✭ 467 (-46.69%)
Mutual labels:  alibaba, sdk
Cloud Kernel
Cloud Kernel - an open-source Linux kernel originated by Alibaba Operating System Team
Stars: ✭ 295 (-66.32%)
Mutual labels:  ecs, aliyun
Ali Mns
The nodejs sdk for aliyun mqs service
Stars: ✭ 107 (-87.79%)
Mutual labels:  aliyun, sdk
Iot remote access
阿里云IoT远程运维套装之远程访问设备侧源码
Stars: ✭ 108 (-87.67%)
Mutual labels:  aliyun, alibaba
Iotkit Embedded
高速镜像: https://code.aliyun.com/linkkit/c-sdk
Stars: ✭ 461 (-47.37%)
Mutual labels:  aliyun, sdk
Aliyun Cli
Alibaba Cloud CLI
Stars: ✭ 561 (-35.96%)
Mutual labels:  alibaba, sdk

English | 简体中文

Alibaba Cloud SDK for Go

Latest Stable Version License
codecov Travis Build Status Appveyor Build Status Codacy Badge Go Report Card

Alibaba Cloud SDK for Go allows you to access Alibaba Cloud services such as Elastic Compute Service (ECS), Server Load Balancer (SLB), and CloudMonitor. You can access Alibaba Cloud services without the need to handle API related tasks, such as signing and constructing your requests.

This document introduces how to obtain and call Alibaba Cloud SDK for Go.

Troubleshoot

Troubleshoot Provide OpenAPI diagnosis service to help developers locate quickly and provide solutions for developers through RequestID or error message.

Online Demo

Alibaba Cloud OpenAPI Developer Portal provides the ability to call the cloud product OpenAPI online, and dynamically generate SDK Example code and quick retrieval interface, which can significantly reduce the difficulty of using the cloud API.

Requirements

  • It's necessary for you to make sure your system meet the Requirements, such as installing a Go environment which is new than 1.10.x.

Installation

Use go get to install SDK:

$ go get -u github.com/aliyun/alibaba-cloud-sdk-go/sdk

If you have used glide to manage dependence,you can also use glide to install Alibaba Cloud SDK for Go:

$ glide get github.com/aliyun/alibaba-cloud-sdk-go

Quick Examples

Before you begin, you need to sign up for an Alibaba Cloud account and retrieve your Credentials.

Create Client

package main

import "github.com/aliyun/alibaba-cloud-sdk-go/sdk"

func main() {

	client, err := sdk.NewClientWithAccessKey("REGION_ID", "ACCESS_KEY_ID", "ACCESS_KEY_SECRET")
	if err != nil {
		// Handle exceptions
		panic(err)
	}
}

ROA Request

package main

import "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"

func main() {
	request := requests.NewCommonRequest()        // Make a common request
	request.Method = "GET"                        // Set request method
	request.Product = "CS"                        // Specify product
	request.Domain = "cs.aliyuncs.com"            // Location Service will not be enabled if the host is specified. For example, service with a Certification type-Bearer Token should be specified
	request.Version = "2015-12-15"                // Specify product version
	request.PathPattern = "/clusters/[ClusterId]" // Specify path rule with ROA-style
	request.Scheme = "https"                      // Set request scheme. Default: http
	request.ApiName = "DescribeCluster"           // Specify product interface
	request.QueryParams["ClusterId"] = "123456"   // Assign values to parameters in the path
	request.QueryParams["RegionId"] = "region_id" // Specify the requested regionId, if not specified, use the client regionId, then default regionId
	request.TransToAcsRequest()                   // Trans commonrequest to acsRequest, which is used by client.
}

RPC Request

package main

import "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"

func main() {
	request := requests.NewCommonRequest()                // Make a common request
	request.Method = "POST"                               // Set request method
	request.Product = "Ecs"                               // Specify product
	request.Domain = "ecs.aliyuncs.com"                   // Location Service will not be enabled if the host is specified. For example, service with a Certification type-Bearer Token should be specified
	request.Version = "2014-05-26"                        // Specify product version
	request.Scheme = "https"                              // Set request scheme. Default: http
	request.ApiName = "CreateInstance"                    // Specify product interface
	request.QueryParams["InstanceType"] = "ecs.g5.large"  // Assign values to parameters in the path
	request.QueryParams["RegionId"] = "region_id"         // Specify the requested regionId, if not specified, use the client regionId, then default regionId
	request.TransToAcsRequest()                           // Trans commonrequest to acsRequest, which is used by client.
}

Documentation

Issues

Opening an Issue, Issues not conforming to the guidelines may be closed immediately.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

References

License

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].