This class provides bare bones support for older versions of the SmartDataCenter API.
A smartdc.datacenter.DataCenter object may be instantiated without any parameters, but practically speaking, the key_id and secret parameters are necessary before any meaningful requests may be made.
Parameters: |
|
---|
The location is notionally a hostname, but it may be expressed as an FQDN, one of the keys to the known_locations dict, or, as a fallback, a bare hostname as prefix to the API_HOST_SUFFIX. The default location is ‘us-west-1’, because that is where ‘api.joyentcloud.com’ redirects to at the time of writing.
The known_locations dict allows for custom access to a private cloud.
Attributes:
Variables: |
|
---|