===========
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


