Project

aliyun

0.03
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper of Aliyun API for system administrator. Current for aliyun API version 2014-05-26
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Aliyun

Fury Code Climate Test Coverage Travis CircleCI security Dependency Status FOSSA Status

Ruby wrapper of Aliyun API for system adminstrator.

Installation

Add gem 'aliyun' to your application's Gemfile:

gem 'aliyun'

And then run:

$ bundle install

Or install it with gem command:

$ gem install aliyun

Usage

Example:

require 'rubygems'
require 'aliyun'

options = {
  :access_key_id => "_YOUR_API_KEY_",
  :access_key_secret => "_YOUR_API_SECRET_",
  :service => :ecs
}

service = Aliyun::Service.new options
parameters = {}

puts service.DescribeRegions parameters

You can create/fetch access key and secret at https://i.aliyun.com/access_key

Current support these services:

  • :cdn => CDN (Content Delivery Network)
  • :cms => CMS (Cloud Monitor Service)
  • :dns => DNS (Domain Name Service)
  • :ecs => ECS (Elastic Compute Service)
  • :ram => RAM (Resource Access Management)
  • :rds => RDS (Relational Database Service)
  • :slb => SLB (Server Load Balancer)
  • :sts => STS (Security Token Service)
  • :vpc => VPC (Virtual Private Cloud)
  • :business => Business (Aliyun Account Management)

Contributing

  1. Fork it ( https://github.com/Lax/aliyun/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Author

License

FOSSA Status