Skip to main content

ucloudbiz openapi python library.

Project description

===========
ucloudbiz openapi
===========

ucloudbiz openapi provides python library for managing ucloudbiz server.
It is useful to automate ucloud server management. Typical usage
often looks like this::

#!/usr/bin/env python
import base64
import time
import sys
from ucloudbiz.server.vm.deployvirtualmachine import deployVirtualMachine

inst = deployVirtualMachine()
inst.setAPIKEY("INSERT_MY_API_KEY")
inst.setSECRET("INSERT_MY_SECRET_KEY")
inst.setURL("https://api.ucloudbiz.olleh.com/server/v1/client/api?")

params = {'serviceofferingid':'insert_propper_service_offering_id',
'templateid': 'insert_proper_template_id',
'zoneid' : 'insert_proper_zone_id',
'networkids' : 'insert_proper_network_id',
'diskofferingid': 'insert_proper_diskoffering_id',
'name' : 'openapi-test',
}
print inst.execute(params)



A Section
=========

The supported service look like this:

* ucloudbiz server

A ucloudbiz server
-------------

The supported server API lists look like :

* Virtual Machine
* deployVirtualMachine (A)
* destroyVirtualMachine (A)
* listAvailableProductTypes
* listVirtualMachines
* rebootVirtualMachine(A)
* resetPasswordForVirtualMachine (A)
* startVirtualMachine (A)
* stopVirtualMachine (A)

* Volume
* attachVolume (A)
* createVolume (A)
* deleteVolumedetachVolume (A)
* listVolumes

* LoadBalancer
* assignToLoadBalancerRule (A)
* createLoadBalancerRule (A)
* deleteLoadBalancerRule (A)
* listLoadBalancerRuleInstances
* listLoadBalancerRules
* removeFromLoadBalancerRule (A)
* updateLoadBalancerRule (A)

* Template
* createTemplate(A)
* deleteTemplate(A)
* listTemplates
* updateTemplate

* Snapshot
* createSnapshot (A)
* deleteSnapshot (A)
* listSnapshots

* PortFowarding
* createFirewallRule (A)
* createPortForwardingRule (A)
* deleteFirewallRule (A)
* deletePortForwardingRule (A)
* listFirewallRules
* listPortForwardingRules

* Address
* associateIpAddress (A)
* disassociateIpAddress (A) listPublicIpAddresses

* Account
* listAccounts

* etc
* listEvents
* listNetworks
* listZones
* queryAsyncJobResult

http://ucloud.googlecode.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ucloudbiz-0.1.0.tar.gz (4.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page