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 details)

Uploaded Source

File details

Details for the file ucloudbiz-0.1.0.tar.gz.

File metadata

  • Download URL: ucloudbiz-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ucloudbiz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e315bff42ab2aaf42661e95d9481017e783995783312608b532acee08b5ffcb9
MD5 bff3561ada6bd2ac1ffd4fef14a44109
BLAKE2b-256 60a47c0ce318a8a32150a37421ce35886437ef7dbd3595bdcd56732f9cd6dd7d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page