diff --git a/.gitignore b/.gitignore index 4577d9d9..93f468dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +build/ +dist/ +rpm-build/ +rpms/ *~ .DS_Store *.swp diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..2508d553 --- /dev/null +++ b/Makefile @@ -0,0 +1,44 @@ +PACKAGE := $(shell basename *.spec .spec) +ARCH = noarch +RPMBUILD = rpmbuild --define "_topdir %(pwd)/rpm-build" \ + --define "_builddir %{_topdir}" \ + --define "_rpmdir %(pwd)/rpms" \ + --define "_srcrpmdir %{_rpmdir}" \ + --define "_sourcedir %{_topdir}" +PYTHON = $(which python) + +all: rpms + +clean: + rm -rf dist/ build/ rpm-build/ rpms/ + rm -rf docs/*.gz MANIFEST *~ + find . -name '*.pyc' -exec rm -f {} \; + +build: clean + python setup.py build -f + +install: build + python setup.py install -f + +reinstall: uninstall install + +uninstall: clean + rm -f /usr/bin/${PACKAGE} + rm -rf /usr/lib/python2.*/site-packages/${PACKAGE} + +uninstall_rpms: clean + rpm -e ${PACKAGE} + +sdist: + python setup.py sdist + +prep_rpmbuild: build sdist + mkdir -p rpm-build + mkdir -p rpms + cp dist/*.gz rpm-build/ + +rpms: prep_rpmbuild + ${RPMBUILD} -ba ${PACKAGE}.spec + +srpm: prep_rpmbuild + ${RPMBUILD} -bs ${PACKAGE}.spec diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 983880f5..55ba10d5 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,5 +1,45 @@ # Release Notes for pyrax +###2013.10.04 - Version 1.5.1 + - Pyrax in general: + - Moved the `get_limits()` behavior to the base client (Nate House) + - Added ability to call a full URL from the client. + - Added HEAD methods to base client and manager classes. + - Removed unused imports. GitHub #189 + - Improved handling of 400 errors in `identity.create_user()` + - Fixed issue with password auth failing with Rackspace identity. + GitHub #190 + - Added utility method for RFC 2822-compliant dates. + - Refactored the `_create_body()` method into the BaseManager class. + - Improved handling of default regions in the service catalog. + - Added support for different auth endpoints for Rackspace auth. + - Added files to allow creating RPMs. (Greg Swift) + - Cloud Files: + - Added the `bulk_delete()` method. + - Added support for "bare" metadata keys. GitHub #164 + - Added cache override capability. GitHub #191 + - Added copy/move methods to Container and StorageObject classes. + GitHub #192 + - Added listing of pseudo-subdirectories. GitHub #174 + - Added the `list()` method to generate a list of container objects. + GitHub #186 + - Autoscale improvements, thanks to Christopher Armstrong: + - Added additional arguments for launch configurations. + GitHub #207, #209, #212 + - Added support for group metadata. GitHub #202 + - Added suppport for desired_capacity in policies. GitHub #208 + - Added `args` to expand capabilities in webhook policy updates. + GitHub #204, #205 + - Monitoring: + - Workaround the odd requirement to use millisecond timestamps in + `get_metric_data_points()` GitHub #176 + - Unix timestamps are now supported in addition to Python date/datetimes. + - Load Balancers: + - Fixed VirtualIP `to_dict()` method to use the ID if available. (Vaibhav) + - Add node type to the dict passed to the API (Troy C) + - DNS: + - Domains can now be specified by name, not just ID. GitHub #180 + ###2013.09.04 - Version 1.5.0 - Added support for the Rackspace Cloud Monitoring service - Added support for the Rackspace Autoscale service diff --git a/docs/autoscaling.md b/docs/autoscaling.md index 568c3420..e87c471f 100644 --- a/docs/autoscaling.md +++ b/docs/autoscaling.md @@ -24,9 +24,9 @@ It is important to remember that Autoscale does not configure anything within a ## Using Autoscaling in pyrax -Once you have authenticated, you can reference the Autoscaling service via `pyrax.autoscaling`. That is a lot to type over and over in your code, so it is easier if you include the following line at the beginning of your code: +Once you have authenticated, you can reference the Autoscaling service via `pyrax.autoscale`. That is a lot to type over and over in your code, so it is easier if you include the following line at the beginning of your code: - au = pyrax.autoscaling + au = pyrax.autoscale Then you can simply use the alias `au` to reference the service. All of the code samples in this document assume that `au` has been defined this way. diff --git a/docs/cloud_files.md b/docs/cloud_files.md index 541e579c..1b2ae7dd 100644 --- a/docs/cloud_files.md +++ b/docs/cloud_files.md @@ -379,6 +379,21 @@ The following example illustrates object deletion: print "It took %4.2f seconds to appear as deleted." % (time.time() - start) +### Bulk Deletion +The methods above describe how to delete a single object, or every object in a container. But what about the case where you want to delete several objects at once? Sure, you could call `delete()` for each object, but if you had more than a few that would be very inefficient, as each deletion would require a separate API call and response. + +For this situation, Cloud Files offers the `bulk_delete()` method. You pass the name of the container along with a list containing the names of all the objects you wish to delete, and they are all deleted with a single API call. The `bulk_delete()` method returns a dictionary (described below) with the results of the process. Please note that while this is faster than many individual calls, it does take some time to complete, depending on how many objects are to be deleted. If you want your program to continue execution without waiting for the bulk deletion to complete, `bulk_delete()` takes an optional third parameter: including `async=True` in the call results in the method returning immediately. Instead of the dictionary that is returned by the synchronous call, it returns an object that can be used to query the status of the bulk deletion by checking its `completed` attribute. When `completed` is True, its `results` attribute contains the same dictionary that is returned from the synchronous call. + +The returned dictionary contains the following keys: + +Key | Value +---- | ---- +**deleted** | the number of objects deleted +**not_found** | the number of objects not found +**status** | the HTTP return status code. '200 OK' indicates success +**errors** | a list of any errors returned by the bulk delete call + + ### Setting an Object's Expiration You can mark a storage object for deletion in the future by calling its `delete_in_seconds()` method. This method accepts an integer number of seconds after which you wish the object to be deleted from Cloud Files. diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 70c7a1ca..600d96d8 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -97,20 +97,24 @@ BaseClientThe base class for all pyrax clients BaseManagerManagers interact with a particular type of API (servers, databases, dns, etc.) and provide CRUD operations for them BaseResourceA resource represents a particular instance of an object (server, flavor, etc) + BulkDeleterThreading class to allow for bulk deletion of objects from a container CDNFailed CFClientWraps the calls to swiftclient with objects representing Containers and StorageObjects ClientExceptionThe base exception class for all exceptions this library raises CloudBlockStorageClientThis is the primary class for interacting with Cloud Block Storage + CloudBlockStorageManagerManager class for Cloud Block Storage CloudBlockStorageSnapshotThis class represents a Snapshot (copy) of a Block Storage Volume + CloudBlockStorageSnapshotManagerManager class for Cloud Block Storage CloudBlockStorageVolumeThis class represents a Block Storage volume CloudBlockStorageVolumeTypeThis class represents a Block Storage Volume Type CloudDatabaseClientThis is the primary class for interacting with Cloud Databases CloudDatabaseDatabaseThis class represents a database on a CloudDatabaseInstance + CloudDatabaseDatabaseManagerThis class manages communication with databases on Cloud Database instances CloudDatabaseFlavorThis class represents the available instance configurations, or 'flavors', which you use to define the memory and CPU size of your instance CloudDatabaseInstanceThis class represents a MySQL instance in the cloud - CloudDatabaseManagerThis class manages communication with Cloud Database resources + CloudDatabaseManagerThis class manages communication with Cloud Database instances CloudDatabaseUserThis class represents a user on a CloudDatabaseInstance - CloudDatabaseUserManagerThis class handles operations on the users in a Cloud Database + CloudDatabaseUserManagerThis class handles operations on the users in a database on a Cloud Database instance CloudDatabaseVolume CloudDNSClientThis is the primary class for interacting with Cloud DNS CloudDNSDomainThis class represents a DNS domain @@ -164,6 +168,7 @@ InvalidCredentialFile InvalidDateTimeString InvalidDeviceType + InvalidEmail InvalidLoadBalancer InvalidLoadBalancerParameters InvalidMonitoringCheckDetails @@ -266,7 +271,7 @@ diff --git a/docs/html/cf__wrapper_2client_8py.html b/docs/html/cf__wrapper_2client_8py.html index 63b20a25..a32c225d 100644 --- a/docs/html/cf__wrapper_2client_8py.html +++ b/docs/html/cf__wrapper_2client_8py.html @@ -93,6 +93,8 @@  This class wraps the swiftclient connection, adding support for CDN. More...
class  FolderUploader  Threading class to allow for uploading multiple files in the background. More...
+class  BulkDeleter + Threading class to allow for bulk deletion of objects from a container. More...

Packages

namespace  pyrax::cf_wrapper::client @@ -131,7 +133,7 @@ diff --git a/docs/html/classes.html b/docs/html/classes.html index e1052b47..eb05cd19 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -85,66 +85,67 @@
A | B | C | D | E | F | H | I | K | M | N | O | P | R | S | T | U | V | _
- - + + - - - - - - - + + + + + + + - - - - + + + + - - + + + - - - - - - - - - - + + + + + + + + - - - - + + + + + + - - - - - - - - - + + + + + + - +
  A  
-
CloudLoadBalancerManager (pyrax.cloudloadbalancers)   FolderNotFound (pyrax.exceptions)   MissingHealthMonitorSettings (pyrax.exceptions)   RecordResultsIterator (pyrax.clouddns)   
CloudMonitorAlarm (pyrax.cloudmonitoring)   FolderUploader (pyrax.cf_wrapper.client)   MissingLoadBalancerParameters (pyrax.exceptions)   ResultsIterator (pyrax.clouddns)   
AccessListIDNotFound (pyrax.exceptions)   CloudMonitorCheck (pyrax.cloudmonitoring)   Forbidden (pyrax.exceptions)   MissingMonitoringCheckDetails (pyrax.exceptions)   
  S  
+
CloudDNSRecord (pyrax.clouddns)   FileNotFound (pyrax.exceptions)   MissingDNSSettings (pyrax.exceptions)   RecordResultsIterator (pyrax.clouddns)   
CloudLoadBalancer (pyrax.cloudloadbalancers)   FlavorNotFound (pyrax.exceptions)   MissingHealthMonitorSettings (pyrax.exceptions)   ResultsIterator (pyrax.clouddns)   
AccessListIDNotFound (pyrax.exceptions)   CloudLoadBalancerClient (pyrax.cloudloadbalancers)   FolderNotFound (pyrax.exceptions)   MissingLoadBalancerParameters (pyrax.exceptions)   
  S  
AmbiguousEndpoints (pyrax.exceptions)   CloudMonitorCheckType (pyrax.cloudmonitoring)   
  H  
-
MissingMonitoringCheckGranularity (pyrax.exceptions)   
AuthenticationFailed (pyrax.exceptions)   CloudMonitorClient (pyrax.cloudmonitoring)   MissingName (pyrax.exceptions)   ScalingGroup (pyrax.autoscale)   
AuthorizationFailure (pyrax.exceptions)   CloudMonitorEntity (pyrax.cloudmonitoring)   HTTPNotImplemented (pyrax.exceptions)   MissingTemporaryURLKey (pyrax.exceptions)   ScalingGroupManager (pyrax.autoscale)   
AuthSystemNotFound (pyrax.exceptions)   CloudMonitorEntityManager (pyrax.cloudmonitoring)   
  I  
-
MonitoringCheckTargetNotSpecified (pyrax.exceptions)   SelfDeletingTempDirectory (pyrax.utils)   
AutoScaleClient (pyrax.autoscale)   CloudMonitorNotification (pyrax.cloudmonitoring)   MonitoringZonesPollMissing (pyrax.exceptions)   SelfDeletingTempfile (pyrax.utils)   
AutoScalePolicy (pyrax.autoscale)   CloudMonitorNotificationManager (pyrax.cloudmonitoring)   IdentityClassNotDefined (pyrax.exceptions)   
  N  
-
ServiceCatalog (pyrax.service_catalog)   
AutoScaleWebhook (pyrax.autoscale)   CloudMonitorNotificationPlan (pyrax.cloudmonitoring)   InvalidCDNMetadata (pyrax.exceptions)   ServiceNotAvailable (pyrax.exceptions)   
AmbiguousEndpoints (pyrax.exceptions)   CloudLoadBalancerManager (pyrax.cloudloadbalancers)   FolderUploader (pyrax.cf_wrapper.client)   MissingMonitoringCheckDetails (pyrax.exceptions)   
AuthenticationFailed (pyrax.exceptions)   CloudMonitorAlarm (pyrax.cloudmonitoring)   Forbidden (pyrax.exceptions)   MissingMonitoringCheckGranularity (pyrax.exceptions)   ScalingGroup (pyrax.autoscale)   
AuthorizationFailure (pyrax.exceptions)   CloudMonitorCheck (pyrax.cloudmonitoring)   
  H  
+
MissingName (pyrax.exceptions)   ScalingGroupManager (pyrax.autoscale)   
AuthSystemNotFound (pyrax.exceptions)   CloudMonitorCheckType (pyrax.cloudmonitoring)   MissingTemporaryURLKey (pyrax.exceptions)   SelfDeletingTempDirectory (pyrax.utils)   
AutoScaleClient (pyrax.autoscale)   CloudMonitorClient (pyrax.cloudmonitoring)   HTTPNotImplemented (pyrax.exceptions)   MonitoringCheckTargetNotSpecified (pyrax.exceptions)   SelfDeletingTempfile (pyrax.utils)   
AutoScalePolicy (pyrax.autoscale)   CloudMonitorEntity (pyrax.cloudmonitoring)   
  I  
+
MonitoringZonesPollMissing (pyrax.exceptions)   ServiceCatalog (pyrax.service_catalog)   
AutoScaleWebhook (pyrax.autoscale)   CloudMonitorEntityManager (pyrax.cloudmonitoring)   
  N  
+
ServiceNotAvailable (pyrax.exceptions)   
  B  
-
CloudMonitorNotificationPlanManager (pyrax.cloudmonitoring)   InvalidConfigurationFile (pyrax.exceptions)   NetworkCIDRInvalid (pyrax.exceptions)   Settings (pyrax)   
CloudMonitorNotificationType (pyrax.cloudmonitoring)   InvalidCredentialFile (pyrax.exceptions)   NetworkCIDRMalformed (pyrax.exceptions)   SnapshotNotAvailable (pyrax.exceptions)   
BadRequest (pyrax.exceptions)   CloudMonitorZone (pyrax.cloudmonitoring)   InvalidDateTimeString (pyrax.exceptions)   NetworkCountExceeded (pyrax.exceptions)   StorageObject (pyrax::cf_wrapper::storage_object)   
BaseAuth (pyrax.base_identity)   CloudNetwork (pyrax.cloudnetworks)   InvalidDeviceType (pyrax.exceptions)   NetworkInUse (pyrax.exceptions)   SubdomainResultsIterator (pyrax.clouddns)   
BaseClient (pyrax.client)   CloudNetworkClient (pyrax.cloudnetworks)   InvalidLoadBalancer (pyrax.exceptions)   NetworkLabelNotUnique (pyrax.exceptions)   
  T  
+
CloudMonitorNotification (pyrax.cloudmonitoring)   IdentityClassNotDefined (pyrax.exceptions)   Settings (pyrax)   
CloudMonitorNotificationManager (pyrax.cloudmonitoring)   InvalidCDNMetadata (pyrax.exceptions)   NetworkCIDRInvalid (pyrax.exceptions)   SnapshotNotAvailable (pyrax.exceptions)   
BadRequest (pyrax.exceptions)   CloudMonitorNotificationPlan (pyrax.cloudmonitoring)   InvalidConfigurationFile (pyrax.exceptions)   NetworkCIDRMalformed (pyrax.exceptions)   StorageObject (pyrax::cf_wrapper::storage_object)   
BaseAuth (pyrax.base_identity)   CloudMonitorNotificationPlanManager (pyrax.cloudmonitoring)   InvalidCredentialFile (pyrax.exceptions)   NetworkCountExceeded (pyrax.exceptions)   SubdomainResultsIterator (pyrax.clouddns)   
BaseClient (pyrax.client)   CloudMonitorNotificationType (pyrax.cloudmonitoring)   InvalidDateTimeString (pyrax.exceptions)   NetworkInUse (pyrax.exceptions)   
  T  
BaseManager (pyrax.manager)   CloudNetworkManager (pyrax.cloudnetworks)   InvalidLoadBalancerParameters (pyrax.exceptions)   NetworkNotFound (pyrax.exceptions)   
BaseResource (pyrax.resource)   Connection (pyrax.cf_wrapper.client)   InvalidMonitoringCheckDetails (pyrax.exceptions)   Node (pyrax.cloudloadbalancers)   Tenant (pyrax.base_identity)   
BaseManager (pyrax.manager)   CloudMonitorZone (pyrax.cloudmonitoring)   InvalidDeviceType (pyrax.exceptions)   NetworkLabelNotUnique (pyrax.exceptions)   
BaseResource (pyrax.resource)   CloudNetwork (pyrax.cloudnetworks)   InvalidEmail (pyrax.exceptions)   NetworkNotFound (pyrax.exceptions)   Tenant (pyrax.base_identity)   
BulkDeleter (pyrax.cf_wrapper.client)   CloudNetworkClient (pyrax.cloudnetworks)   InvalidLoadBalancer (pyrax.exceptions)   Node (pyrax.cloudloadbalancers)   TenantNotFound (pyrax.exceptions)   
  C  
-
Container (pyrax.cf_wrapper.container)   InvalidMonitoringCheckUpdate (pyrax.exceptions)   NoMoreResults (pyrax.exceptions)   TenantNotFound (pyrax.exceptions)   
  D  
-
InvalidMonitoringMetricsRequest (pyrax.exceptions)   NoReloadError (pyrax.exceptions)   
  U  
+
CloudNetworkManager (pyrax.cloudnetworks)   InvalidLoadBalancerParameters (pyrax.exceptions)   NoMoreResults (pyrax.exceptions)   
  U  
CDNFailed (pyrax.exceptions)   InvalidMonitoringMetricsResolution (pyrax.exceptions)   NoSSLTerminationConfiguration (pyrax.exceptions)   
CFClient (pyrax.cf_wrapper.client)   DNSCallTimedOut (pyrax.exceptions)   InvalidNodeCondition (pyrax.exceptions)   NoSuchContainer (pyrax.exceptions)   UnattachedNode (pyrax.exceptions)   
ClientException (pyrax.exceptions)   DomainCreationFailed (pyrax.exceptions)   InvalidNodeParameters (pyrax.exceptions)   NoSuchDatabase (pyrax.exceptions)   UnattachedVirtualIP (pyrax.exceptions)   
CloudBlockStorageClient (pyrax.cloudblockstorage)   DomainDeletionFailed (pyrax.exceptions)   InvalidPTRRecord (pyrax.exceptions)   NoSuchDatabaseUser (pyrax.exceptions)   Unauthorized (pyrax.exceptions)   
CloudBlockStorageSnapshot (pyrax.cloudblockstorage)   DomainRecordAdditionFailed (pyrax.exceptions)   InvalidSessionPersistenceType (pyrax.exceptions)   NoSuchObject (pyrax.exceptions)   UnicodePathError (pyrax.exceptions)   
CloudBlockStorageVolume (pyrax.cloudblockstorage)   DomainRecordDeletionFailed (pyrax.exceptions)   InvalidSetting (pyrax.exceptions)   NotAuthenticated (pyrax.exceptions)   UploadFailed (pyrax.exceptions)   
CloudBlockStorageVolumeType (pyrax.cloudblockstorage)   DomainRecordNotFound (pyrax.exceptions)   InvalidSize (pyrax.exceptions)   NotCDNEnabled (pyrax.exceptions)   User (pyrax.base_identity)   
CloudDatabaseClient (pyrax.clouddatabases)   DomainRecordNotUnique (pyrax.exceptions)   InvalidTemporaryURLMethod (pyrax.exceptions)   NotFound (pyrax.exceptions)   UserNotFound (pyrax.exceptions)   
CloudDatabaseDatabase (pyrax.clouddatabases)   DomainRecordUpdateFailed (pyrax.exceptions)   InvalidUploadID (pyrax.exceptions)   NoTokenLookupException (pyrax.exceptions)   
  V  
+
Connection (pyrax.cf_wrapper.client)   InvalidMonitoringCheckDetails (pyrax.exceptions)   NoReloadError (pyrax.exceptions)   
CDNFailed (pyrax.exceptions)   Container (pyrax.cf_wrapper.container)   InvalidMonitoringCheckUpdate (pyrax.exceptions)   NoSSLTerminationConfiguration (pyrax.exceptions)   UnattachedNode (pyrax.exceptions)   
CFClient (pyrax.cf_wrapper.client)   
  D  
+
InvalidMonitoringMetricsRequest (pyrax.exceptions)   NoSuchContainer (pyrax.exceptions)   UnattachedVirtualIP (pyrax.exceptions)   
ClientException (pyrax.exceptions)   InvalidMonitoringMetricsResolution (pyrax.exceptions)   NoSuchDatabase (pyrax.exceptions)   Unauthorized (pyrax.exceptions)   
CloudBlockStorageClient (pyrax.cloudblockstorage)   DNSCallTimedOut (pyrax.exceptions)   InvalidNodeCondition (pyrax.exceptions)   NoSuchDatabaseUser (pyrax.exceptions)   UnicodePathError (pyrax.exceptions)   
CloudBlockStorageManager (pyrax.cloudblockstorage)   DomainCreationFailed (pyrax.exceptions)   InvalidNodeParameters (pyrax.exceptions)   NoSuchObject (pyrax.exceptions)   UploadFailed (pyrax.exceptions)   
CloudBlockStorageSnapshot (pyrax.cloudblockstorage)   DomainDeletionFailed (pyrax.exceptions)   InvalidPTRRecord (pyrax.exceptions)   NotAuthenticated (pyrax.exceptions)   User (pyrax.base_identity)   
CloudBlockStorageSnapshotManager (pyrax.cloudblockstorage)   DomainRecordAdditionFailed (pyrax.exceptions)   InvalidSessionPersistenceType (pyrax.exceptions)   NotCDNEnabled (pyrax.exceptions)   UserNotFound (pyrax.exceptions)   
CloudBlockStorageVolume (pyrax.cloudblockstorage)   DomainRecordDeletionFailed (pyrax.exceptions)   InvalidSetting (pyrax.exceptions)   NotFound (pyrax.exceptions)   
  V  
CloudDatabaseFlavor (pyrax.clouddatabases)   DomainResultsIterator (pyrax.clouddns)   InvalidVirtualIPType (pyrax.exceptions)   NoUniqueMatch (pyrax.exceptions)   
CloudDatabaseInstance (pyrax.clouddatabases)   DomainUpdateFailed (pyrax.exceptions)   InvalidVirtualIPVersion (pyrax.exceptions)   
  O  
-
VirtualIP (pyrax.cloudloadbalancers)   
CloudDatabaseManager (pyrax.clouddatabases)   DuplicateUser (pyrax.exceptions)   InvalidVolumeResize (pyrax.exceptions)   VolumeAttachmentFailed (pyrax.exceptions)   
CloudDatabaseUser (pyrax.clouddatabases)   
  E  
+
CloudBlockStorageVolumeType (pyrax.cloudblockstorage)   DomainRecordNotFound (pyrax.exceptions)   InvalidSize (pyrax.exceptions)   NoTokenLookupException (pyrax.exceptions)   
CloudDatabaseClient (pyrax.clouddatabases)   DomainRecordNotUnique (pyrax.exceptions)   InvalidTemporaryURLMethod (pyrax.exceptions)   NoUniqueMatch (pyrax.exceptions)   VirtualIP (pyrax.cloudloadbalancers)   
CloudDatabaseDatabase (pyrax.clouddatabases)   DomainRecordUpdateFailed (pyrax.exceptions)   InvalidUploadID (pyrax.exceptions)   
  O  
+
VolumeAttachmentFailed (pyrax.exceptions)   
CloudDatabaseDatabaseManager (pyrax.clouddatabases)   DomainResultsIterator (pyrax.clouddns)   InvalidVirtualIPType (pyrax.exceptions)   VolumeDetachmentFailed (pyrax.exceptions)   
CloudDatabaseFlavor (pyrax.clouddatabases)   DomainUpdateFailed (pyrax.exceptions)   InvalidVirtualIPVersion (pyrax.exceptions)   OverLimit (pyrax.exceptions)   VolumeNotAvailable (pyrax.exceptions)   
CloudDatabaseInstance (pyrax.clouddatabases)   DuplicateUser (pyrax.exceptions)   InvalidVolumeResize (pyrax.exceptions)   
  P  
+
  _  
+
CloudDatabaseManager (pyrax.clouddatabases)   
  E  
  K  
-
OverLimit (pyrax.exceptions)   VolumeDetachmentFailed (pyrax.exceptions)   
CloudDatabaseUserManager (pyrax.clouddatabases)   
  P  
-
VolumeNotAvailable (pyrax.exceptions)   
CloudDatabaseVolume (pyrax.clouddatabases)   EndpointNotDefined (pyrax.exceptions)   KeyringModuleNotInstalled (pyrax.exceptions)   
  _  
CloudDNSClient (pyrax.clouddns)   EndpointNotFound (pyrax.exceptions)   KeyringPasswordNotFound (pyrax.exceptions)   PasswordChangeFailed (pyrax.exceptions)   
CloudDNSDomain (pyrax.clouddns)   EnvironmentNotFound (pyrax.exceptions)   KeyringUsernameMissing (pyrax.exceptions)   ProtocolMismatch (pyrax.exceptions)   _WaitThread (pyrax.utils)   
CloudDNSManager (pyrax.clouddns)   
  F  
-
KeystoneIdentity (pyrax.identity.keystone_identity)   PTRRecordCreationFailed (pyrax.exceptions)   
CloudDNSPTRRecord (pyrax.clouddns)   
  M  
-
PTRRecordDeletionFailed (pyrax.exceptions)   
CloudDNSRecord (pyrax.clouddns)   Fault (pyrax.cf_wrapper.container)   PTRRecordUpdateFailed (pyrax.exceptions)   
CloudLoadBalancer (pyrax.cloudloadbalancers)   FileNotFound (pyrax.exceptions)   MissingAuthSettings (pyrax.exceptions)   PyraxException (pyrax.exceptions)   
CloudLoadBalancerClient (pyrax.cloudloadbalancers)   FlavorNotFound (pyrax.exceptions)   MissingDNSSettings (pyrax.exceptions)   
  R  
+
CloudDatabaseUser (pyrax.clouddatabases)   PasswordChangeFailed (pyrax.exceptions)   _WaitThread (pyrax.utils)   
CloudDatabaseUserManager (pyrax.clouddatabases)   EndpointNotDefined (pyrax.exceptions)   KeyringModuleNotInstalled (pyrax.exceptions)   ProtocolMismatch (pyrax.exceptions)   
CloudDatabaseVolume (pyrax.clouddatabases)   EndpointNotFound (pyrax.exceptions)   KeyringPasswordNotFound (pyrax.exceptions)   PTRRecordCreationFailed (pyrax.exceptions)   
CloudDNSClient (pyrax.clouddns)   EnvironmentNotFound (pyrax.exceptions)   KeyringUsernameMissing (pyrax.exceptions)   PTRRecordDeletionFailed (pyrax.exceptions)   
CloudDNSDomain (pyrax.clouddns)   
  F  
+
KeystoneIdentity (pyrax.identity.keystone_identity)   PTRRecordUpdateFailed (pyrax.exceptions)   
CloudDNSManager (pyrax.clouddns)   
  M  
+
PyraxException (pyrax.exceptions)   
CloudDNSPTRRecord (pyrax.clouddns)   Fault (pyrax.cf_wrapper.container)   
  R  
MissingAuthSettings (pyrax.exceptions)   
RaxIdentity (pyrax.identity.rax_identity)   
@@ -167,7 +168,7 @@ diff --git a/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient-members.html b/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient-members.html index c4cb887e..bb1026e4 100644 --- a/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient-members.html +++ b/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient-members.html @@ -107,6 +107,7 @@ getBaseClient get_configurationAutoScaleClient get_launch_configAutoScaleClient + get_limitsBaseClient get_policyAutoScaleClient get_stateAutoScaleClient get_timingsBaseClient @@ -120,6 +121,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameAutoScaleClient [static] @@ -162,7 +164,7 @@ diff --git a/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient.html b/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient.html index 68ad13a3..7a84f1b9 100644 --- a/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient.html +++ b/docs/html/classpyrax_1_1autoscale_1_1AutoScaleClient.html @@ -210,13 +210,25 @@   - change, + change = None,   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -798,7 +810,13 @@   - load_balancers = None  + load_balancers = None, + + + + +   + key_name = None  @@ -935,7 +953,19 @@   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -1089,7 +1119,7 @@ diff --git a/docs/html/classpyrax_1_1autoscale_1_1AutoScalePolicy.html b/docs/html/classpyrax_1_1autoscale_1_1AutoScalePolicy.html index 5a07fcf9..595fdc75 100644 --- a/docs/html/classpyrax_1_1autoscale_1_1AutoScalePolicy.html +++ b/docs/html/classpyrax_1_1autoscale_1_1AutoScalePolicy.html @@ -413,7 +413,19 @@   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -556,7 +568,7 @@ diff --git a/docs/html/classpyrax_1_1autoscale_1_1ScalingGroup.html b/docs/html/classpyrax_1_1autoscale_1_1ScalingGroup.html index b918ab2b..56d1427e 100644 --- a/docs/html/classpyrax_1_1autoscale_1_1ScalingGroup.html +++ b/docs/html/classpyrax_1_1autoscale_1_1ScalingGroup.html @@ -244,13 +244,25 @@   - change, + change = None,   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -922,7 +934,13 @@   - load_balancers = None  + load_balancers = None, + + + + +   + key_name = None  @@ -1041,7 +1059,19 @@   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -1181,7 +1211,7 @@ diff --git a/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager-members.html b/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager-members.html index e6f1f8aa..42fdfc88 100644 --- a/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager-members.html +++ b/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager-members.html @@ -109,6 +109,7 @@ get_policyScalingGroupManager get_stateScalingGroupManager get_webhookScalingGroupManager + headBaseManager listBaseManager list_policiesScalingGroupManager list_webhooksScalingGroupManager @@ -144,7 +145,7 @@ diff --git a/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager.html b/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager.html index 2d1f7202..6cf3b6cf 100644 --- a/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager.html +++ b/docs/html/classpyrax_1_1autoscale_1_1ScalingGroupManager.html @@ -256,13 +256,25 @@   - change, + change = None,   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -844,7 +856,13 @@   - load_balancers = None  + load_balancers = None, + + + + +   + key_name = None  @@ -981,7 +999,19 @@   - is_percent = False  + is_percent = False, + + + + +   + desired_capacity = None, + + + + +   + args = None  @@ -1119,7 +1149,7 @@ diff --git a/docs/html/classpyrax_1_1base__identity_1_1BaseAuth-members.html b/docs/html/classpyrax_1_1base__identity_1_1BaseAuth-members.html index d53d798e..65a259f8 100644 --- a/docs/html/classpyrax_1_1base__identity_1_1BaseAuth-members.html +++ b/docs/html/classpyrax_1_1base__identity_1_1BaseAuth-members.html @@ -92,6 +92,7 @@ This is the complete list of members for BaseAuth, including all inherited members. + @@ -157,7 +158,7 @@ diff --git a/docs/html/classpyrax_1_1base__identity_1_1BaseAuth.html b/docs/html/classpyrax_1_1base__identity_1_1BaseAuth.html index f789a598..95684f04 100644 --- a/docs/html/classpyrax_1_1base__identity_1_1BaseAuth.html +++ b/docs/html/classpyrax_1_1base__identity_1_1BaseAuth.html @@ -130,6 +130,7 @@ + @@ -286,6 +287,33 @@

Abstracts out the logic for connecting to different auth endpoints.

+ + + +
+
+
__init__BaseAuth
auth_endpointBaseAuth
auth_endpointBaseAuth
auth_tokenBaseAuth
auth_with_tokenBaseAuth
authenticateBaseAuth
 Simple alias to self.token.
def auth_endpoint
 Abstracts out the logic for connecting to different auth endpoints.
def auth_endpoint
def get_default_region
 In cases where the region has not been specified, return the value to use.
def set_credentials
+ + + + + + + + + + + + + + + + + +
def auth_endpoint ( self,
 val 
)
+ +
+
@@ -368,6 +396,8 @@

Using the supplied credentials, connects to the specified authentication endpoint and attempts to log in.

If successful, records the token information.

+

Reimplemented in RaxIdentity.

+ @@ -1519,7 +1549,7 @@ diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1BulkDeleter-members.html b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1BulkDeleter-members.html new file mode 100644 index 00000000..ccb9eba6 --- /dev/null +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1BulkDeleter-members.html @@ -0,0 +1,125 @@ + + + + + +pyrax: Member List + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+
+
+
BulkDeleter Member List
+
+
+This is the complete list of members for BulkDeleter, including all inherited members. + + + + + + + +
__init__BulkDeleter
clientBulkDeleter
completedBulkDeleter [static]
containerBulkDeleter
object_namesBulkDeleter
resultsBulkDeleter [static]
runBulkDeleter
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1BulkDeleter.html b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1BulkDeleter.html new file mode 100644 index 00000000..479199f9 --- /dev/null +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1BulkDeleter.html @@ -0,0 +1,284 @@ + + + + + +pyrax: BulkDeleter Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + +
+
+
+Public Member Functions | +Public Attributes | +Static Public Attributes
+
+
BulkDeleter Class Reference
+
+
+ +

Threading class to allow for bulk deletion of objects from a container. + More...

+ +

List of all members.

+ + + + + + + + + + + +

+Public Member Functions

def __init__
def run

+Public Attributes

 client
 container
 object_names

+Static Public Attributes

 completed = False
 results = None
+

Detailed Description

+

Threading class to allow for bulk deletion of objects from a container.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def __init__ ( self,
 client,
 container,
 object_names 
)
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
def run ( self)
+
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + +
client
+
+
+ +
+
+ +
+
+ + + + +
completed = False [static]
+
+
+ +
+
+ +
+
+ + + + +
container
+
+
+ +
+
+ +
+
+ + + + +
object_names
+
+
+ +
+
+ +
+
+ + + + +
results = None [static]
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient-members.html b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient-members.html index a94df197..71220bf5 100644 --- a/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient-members.html +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient-members.html @@ -93,6 +93,8 @@ This is the complete list of members for CFClient, including all inherited members. + + @@ -125,6 +127,8 @@ + + @@ -134,6 +138,7 @@ + @@ -167,7 +172,7 @@ diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html index 5465ec67..0f811ba4 100644 --- a/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1client_1_1CFClient.html @@ -149,8 +149,12 @@ + + + + @@ -177,11 +181,16 @@ + + + + + @@ -217,6 +226,7 @@ + @@ -314,6 +324,51 @@

Member Function Documentation

+ +
+
+
__init__CFClient
account_meta_prefixCFClient [static]
bulk_deleteCFClient
bulk_delete_intervalCFClient [static]
cancel_folder_uploadCFClient
cdn_connectionCFClient
cdn_enabledCFClient [static]
get_temp_url_keyCFClient
get_uploadedCFClient
http_log_debugCFClient [static]
listCFClient
list_container_subdirsCFClient
list_containersCFClient
list_containers_infoCFClient
list_public_containersCFClient
move_objectCFClient
object_meta_prefixCFClient [static]
purge_cdn_objectCFClient
remove_container_from_cacheCFClient
remove_container_metadata_keyCFClient
remove_object_metadata_keyCFClient
set_account_metadataCFClient
 Creates a container with the specified name.
def delete_container
 Deletes the specified container.
def remove_container_from_cache
 Removes the container from the cache.
def delete_object
 Deletes the specified object from the container.
def bulk_delete
 Deletes multiple objects from a container in a single call.
def get_object
 Returns a StorageObject instance for the object in the container.
def store_object
 Fetches the object from storage, and writes it to the specified directory.
def get_all_containers
def get_container
 Returns a reference to the specified container.
def get_container_objects
 Return a list of StorageObjects representing the objects in the container.
def get_container_object_names
def list_container_subdirs
 Return a list of StorageObjects representing the pseudo-subdirectories in the specified container.
def get_info
 Returns a tuple for the number of containers and total bytes in the account.
def list
 Returns a list of all container objects.
def list_containers
 Returns a list of all container names as strings.
def list_containers_info
int default_cdn_ttl = 86400
int max_file_size = 5368709119
dictionary folder_upload_status = {}
int bulk_delete_interval = 1

Properties

 user_agent = property(_get_user_agent, _set_user_agent)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def bulk_delete ( self,
 container,
 object_names,
 async = False 
)
+ +
+ +

Deletes multiple objects from a container in a single call.

+

The bulk deletion call does not return until all of the specified objects have been processed. For large numbers of objects, this can take quite a while, so there is an 'async' parameter to give you the option to have this call return immediately. If 'async' is True, an object is returned with a 'completed' attribute that will be set to True as soon as the bulk deletion is complete, and a 'results' attribute that will contain a dictionary (described below) with the results of the bulk deletion.

+

When deletion is complete the bulk deletion object's 'results' attribute will be populated with the information returned from the API call. In synchronous mode this is the value that is returned when the call completes. It is a dictionary with the following keys:

+

deleted - the number of objects deleted not_found - the number of objects not found status - the HTTP return status code. '200 OK' indicates success errors - a list of any errors returned by the bulk delete call

+

This isn't available in swiftclient yet, so it's using code patterned after the client code in that library.

+ +
+
@@ -484,7 +539,7 @@

Creates a container with the specified name.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

@@ -527,7 +582,7 @@

Deletes the specified container.

This will fail if the container still has objects stored in it; if that's the case and you want to delete the container anyway, set del_objects to True, and the container's objects will be deleted before the container is deleted.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

@@ -569,7 +624,7 @@

Deletes the specified object from the container.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

@@ -722,7 +777,7 @@

If 'include_meta' is False, only the bytes representing the file is returned.

Note: if 'chunk_size' is defined, you must fully read the object's contents before making another request.

When 'include_meta' is True, what is returned from this method is a 2-tuple: Element 0: a dictionary containing metadata about the file. Element 1: a stream of bytes representing the object's contents.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

@@ -796,7 +851,13 @@   - container  + container, + + + + +   + cached = True  @@ -807,6 +868,9 @@
+

Returns a reference to the specified container.

+

By default, if a reference to that container has already been retrieved, a cached reference will be returned. If you need to get an updated version of the container, pass `cached=False` to the method call.

+
@@ -881,7 +945,13 @@   - container  + container, + + + + +   + prefix = None  @@ -1226,6 +1296,107 @@

Returns the number of bytes uploaded for the specified process.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def list ( self,
 limit = None,
 marker = None,
 parms 
)
+
+
+ +

Returns a list of all container objects.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def list_container_subdirs ( self,
 container,
 marker = None,
 limit = None,
 prefix = None,
 delimiter = None,
 full_listing = False 
)
+
+
+ +

Return a list of StorageObjects representing the pseudo-subdirectories in the specified container.

+

You can use the marker and limit params to handle pagination, and the prefix and delimiter params to filter the objects returned.

+
@@ -1430,7 +1601,13 @@   - new_obj_name = None  + new_obj_name = None, + + + + +   + extra_info = None  @@ -1482,6 +1659,35 @@
+
+ + +
+
+ + + + + + + + + + + + + + + + + + +
def remove_container_from_cache ( self,
 container 
)
+
+
+ +

Removes the container from the cache.

+
@@ -1594,7 +1800,13 @@   - extra_info = None  + extra_info = None, + + + + +   + prefix = None  @@ -1607,7 +1819,8 @@

Accepts a dictionary of metadata key/value pairs and updates the specified account metadata with them.

If 'clear' is True, any existing metadata is deleted and only the passed metadata is retained. Otherwise, the values passed here update the account's metadata.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

By default, the standard account metadata prefix ('X-Account-Meta-') is prepended to the header name if it isn't present. For non-standard headers, you must include a non-None prefix, such as an empty string.

@@ -1715,7 +1928,13 @@   - extra_info = None  + extra_info = None, + + + + +   + prefix = None  @@ -1728,7 +1947,8 @@

Accepts a dictionary of metadata key/value pairs and updates the specified container metadata with them.

If 'clear' is True, any existing metadata is deleted and only the passed metadata is retained. Otherwise, the values passed here update the container's metadata.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

By default, the standard container metadata prefix ('X-Container-Meta-') is prepended to the header name if it isn't present. For non-standard headers, you must include a non-None prefix, such as an empty string.

@@ -1842,7 +2062,13 @@   - extra_info = None  + extra_info = None, + + + + +   + prefix = None  @@ -1855,7 +2081,8 @@

Accepts a dictionary of metadata key/value pairs and updates the specified object metadata with them.

If 'clear' is True, any existing metadata is deleted and only the passed metadata is retained. Otherwise, the values passed here update the object's metadata.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info; is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

By default, the standard object metadata prefix ('X-Object-Meta-') is prepended to the header name if it isn't present. For non-standard headers, you must include a non-None prefix, such as an empty string.

@@ -1965,7 +2192,7 @@

Creates a new object in the specified container, and populates it with the given data.

A StorageObject reference to the uploaded file will be returned, unless 'return_none' is set to True.

-

extra_info is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

@@ -2183,6 +2410,19 @@
+
+ + +
+
+ + + + +
int bulk_delete_interval = 1 [static]
+
+
+
@@ -2353,7 +2593,7 @@ diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container-members.html b/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container-members.html index d0835d8a..ae861b33 100644 --- a/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container-members.html +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container-members.html @@ -102,6 +102,7 @@ cdn_uriContainer [static] change_object_content_typeContainer clientContainer + copy_objectContainer deleteContainer delete_all_objectsContainer delete_objectContainer @@ -113,8 +114,10 @@ get_object_namesContainer get_objectsContainer get_temp_urlContainer + list_subdirsContainer make_privateContainer make_publicContainer + move_objectContainer nameContainer object_countContainer remove_from_cacheContainer @@ -143,7 +146,7 @@ diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container.html b/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container.html index 689333b1..87de81fb 100644 --- a/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container.html +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1container_1_1Container.html @@ -123,6 +123,8 @@  Return the StorageObject in this container with the specified name.
def get_object_names  Returns a list of the names of all the objects in this container.
+def list_subdirs + Return a list of StorageObjects representing the pseudo-subdirectories in this container.
def store_object  Creates a new object in this container, and populates it with the given data.
def upload_file @@ -140,7 +142,9 @@ def download_object  Fetches the object from storage, and writes it to the specified directory.
def get_metadata + Returns a dictionary containing the metadata for the container.
def set_metadata + Accepts a dictionary of metadata key/value pairs and updates the specified container metadata with them.
def remove_metadata_key  Removes the specified key from the container's metadata.
def set_web_index_page @@ -151,6 +155,10 @@  Enables CDN access for the specified container.
def make_private  Disables CDN access to this container.
+def copy_object + Copies the object to the new container, optionally giving it a new name.
+def move_object + Works just like copy_object, except that the source object is deleted after a successful copy.
def change_object_content_type  Copies object to itself, but applies a new content-type.
def get_temp_url @@ -300,6 +308,54 @@

Copies object to itself, but applies a new content-type.

The guess feature requires the container to be CDN-enabled. If not then the content-type must be supplied. If using guess with a CDN-enabled container, new_ctype can be set to None. Failure during the put will result in a swift exception.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def copy_object ( self,
 obj,
 new_container,
 new_obj_name = None,
 extra_info = None 
)
+
+
+ +

Copies the object to the new container, optionally giving it a new name.

+

If you copy to the same container, you must supply a different name.

+
@@ -340,14 +396,26 @@ def delete_all_objects (   - self) + self, + + + +   + async = False  + + + + ) +

Deletes all objects from this container.

+

By default the call will block until all objects have been deleted. By passing True for the 'async' parameter, this method will not block, and instead return an object that can be used to follow the progress of the deletion. When deletion is complete the bulk deletion object's 'results' attribute will be populated with the information returned from the API call. In synchronous mode this is the value that is returned when the call completes. It is a dictionary with the following keys:

+

deleted - the number of objects deleted not_found - the number of objects not found status - the HTTP return status code. '200 OK' indicates success errors - a list of any errors returned by the bulk delete call

@@ -517,6 +585,8 @@
+

Returns a dictionary containing the metadata for the container.

+
@@ -533,7 +603,13 @@   - name  + name, + + + + +   + cached = True  @@ -545,6 +621,7 @@

Return the StorageObject in this container with the specified name.

+

By default, if a reference to that object has already been retrieved, a cached reference will be returned. If you need to get an updated version of the object, pass `cached=False` to the method call.

@@ -697,6 +774,60 @@

The URL will expire after `seconds` seconds.

The only methods supported are GET and PUT. Anything else will raise an InvalidTemporaryURLMethod exception.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def list_subdirs ( self,
 marker = None,
 limit = None,
 prefix = None,
 delimiter = None,
 full_listing = False 
)
+
+
+ +

Return a list of StorageObjects representing the pseudo-subdirectories in this container.

+

You can use the marker and limit params to handle pagination, and the prefix and delimiter params to filter the objects returned.

+
@@ -746,6 +877,53 @@

Enables CDN access for the specified container.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def move_object ( self,
 obj,
 new_container,
 new_obj_name = None,
 extra_info = None 
)
+
+
+ +

Works just like copy_object, except that the source object is deleted after a successful copy.

+
@@ -827,7 +1005,13 @@   - clear = False  + clear = False, + + + + +   + prefix = None  @@ -838,6 +1022,11 @@
+

Accepts a dictionary of metadata key/value pairs and updates the specified container metadata with them.

+

If 'clear' is True, any existing metadata is deleted and only the passed metadata is retained. Otherwise, the values passed here update the container's metadata.

+

'extra_info' is an optional dictionary which will be populated with 'status', 'reason', and 'headers' keys from the underlying swiftclient call.

+

By default, the standard container metadata prefix ('X-Container-Meta-') is prepended to the header name if it isn't present. For non-standard headers, you must include a non-None prefix, such as an empty string.

+
@@ -944,7 +1133,19 @@   - ttl = None  + ttl = None, + + + + +   + return_none = False, + + + + +   + extra_info = None  @@ -1184,7 +1385,7 @@ diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject-members.html b/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject-members.html index d2e9e192..81399a94 100644 --- a/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject-members.html +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject-members.html @@ -97,6 +97,7 @@ clientStorageObject containerStorageObject content_typeStorageObject + copyStorageObject deleteStorageObject delete_in_secondsStorageObject downloadStorageObject @@ -106,6 +107,7 @@ get_metadataStorageObject get_temp_urlStorageObject last_modifiedStorageObject + moveStorageObject nameStorageObject purgeStorageObject remove_metadata_keyStorageObject @@ -129,7 +131,7 @@ diff --git a/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject.html b/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject.html index 5d8bcb18..47940e2c 100644 --- a/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject.html +++ b/docs/html/classpyrax_1_1cf__wrapper_1_1storage__object_1_1StorageObject.html @@ -132,6 +132,10 @@  Sets this object's metadata, optionally clearing existing metadata.
def remove_metadata_key  Removes the specified key from the storage object's metadata.
+def copy + Copies this object to the new container, optionally giving it a new name.
+def move + Works just like copy_object, except that this object is deleted after a successful copy.
def change_content_type  Copies object to itself, but applies a new content-type.
def get_temp_url @@ -278,6 +282,48 @@

Copies object to itself, but applies a new content-type.

The guess feature requires the container to be CDN-enabled. If not then the content-type must be supplied. If using guess with a CDN-enabled container, new_ctype can be set to None. Failure during the put will result in a swift exception.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def copy ( self,
 new_container,
 new_obj_name = None,
 extra_info = None 
)
+
+
+ +

Copies this object to the new container, optionally giving it a new name.

+

If you copy to the same container, you must supply a different name.

+
@@ -457,6 +503,48 @@

The URL will expire after `seconds` seconds.

The only methods supported are GET and PUT. Anything else will raise an InvalidTemporaryURLMethod exception.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def move ( self,
 new_container,
 new_obj_name = None,
 extra_info = None 
)
+
+
+ +

Works just like copy_object, except that this object is deleted after a successful copy.

+

This means that this storage_object reference will no longer be valid.

+
@@ -538,7 +626,13 @@   - clear = False  + clear = False, + + + + +   + prefix = None  @@ -679,7 +773,7 @@ diff --git a/docs/html/classpyrax_1_1client_1_1BaseClient-members.html b/docs/html/classpyrax_1_1client_1_1BaseClient-members.html index 080040e1..b0ee8abb 100644 --- a/docs/html/classpyrax_1_1client_1_1BaseClient-members.html +++ b/docs/html/classpyrax_1_1client_1_1BaseClient-members.html @@ -100,6 +100,7 @@ findallBaseClient force_exception_to_status_codeBaseClient getBaseClient + get_limitsBaseClient get_timingsBaseClient http_log_debugBaseClient http_log_reqBaseClient @@ -108,6 +109,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameBaseClient [static] @@ -141,7 +143,7 @@ diff --git a/docs/html/classpyrax_1_1client_1_1BaseClient.html b/docs/html/classpyrax_1_1client_1_1BaseClient.html index a6d808ad..e4059a67 100644 --- a/docs/html/classpyrax_1_1client_1_1BaseClient.html +++ b/docs/html/classpyrax_1_1client_1_1BaseClient.html @@ -149,12 +149,16 @@  Returns a list of all execution timings.
def reset_timings  Clears the timing history.
+def get_limits + Returns a dict with the resource and rate limits for the account.
def http_log_req  When self.http_log_debug is True, outputs the equivalent `curl` command for the API request being made.
def http_log_resp  When self.http_log_debug is True, outputs the response received from the API request.
def request  Formats the request into a dict representing the headers and body that will be used to make the API call.
+def method_head + Method used to make HEAD requests.
def method_get  Method used to make GET requests.
def method_post @@ -446,6 +450,27 @@

Reimplemented in CloudMonitorClient.

+ + + +
+
+ + + + + + + + +
def get_limits ( self)
+
+
+ +

Returns a dict with the resource and rate limits for the account.

+ +

Reimplemented in CloudDatabaseClient.

+
@@ -642,6 +667,41 @@

Method used to make GET requests.

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
def method_head ( self,
 uri,
 kwargs 
)
+
+
+ +

Method used to make HEAD requests.

+
@@ -883,7 +943,7 @@
-

Reimplemented in CloudLoadBalancerClient, CloudDNSClient, CloudMonitorClient, AutoScaleClient, CloudDatabaseClient, CloudBlockStorageClient, and CloudNetworkClient.

+

Reimplemented in CloudLoadBalancerClient, CloudDNSClient, AutoScaleClient, CloudMonitorClient, CloudDatabaseClient, CloudBlockStorageClient, and CloudNetworkClient.

@@ -1012,7 +1072,7 @@ diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageClient-members.html b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageClient-members.html index 70e10760..616ccd51 100644 --- a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageClient-members.html +++ b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageClient-members.html @@ -106,6 +106,7 @@ findallBaseClient force_exception_to_status_codeBaseClient getBaseClient + get_limitsBaseClient get_timingsBaseClient http_log_debugBaseClient http_log_reqBaseClient @@ -116,6 +117,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameCloudBlockStorageClient [static] @@ -149,7 +151,7 @@ diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager-members.html b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager-members.html new file mode 100644 index 00000000..35e63bf9 --- /dev/null +++ b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager-members.html @@ -0,0 +1,135 @@ + + + + + +pyrax: Member List + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+
+
+
CloudBlockStorageManager Member List
+
+
+This is the complete list of members for CloudBlockStorageManager, including all inherited members. + + + + + + + + + + + + + + + + + + +
__init__BaseManager
actionBaseManager
add_hookBaseManager
apiBaseManager
createBaseManager
create_snapshotCloudBlockStorageManager
deleteBaseManager
findBaseManager
findallBaseManager
getBaseManager
headBaseManager
listBaseManager
list_snapshotsCloudBlockStorageManager
plural_response_keyBaseManager [static]
resource_classBaseManager [static]
response_keyBaseManager [static]
run_hooksBaseManager
uri_baseBaseManager [static]
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager.html b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager.html new file mode 100644 index 00000000..9ff41cbd --- /dev/null +++ b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager.html @@ -0,0 +1,226 @@ + + + + + +pyrax: CloudBlockStorageManager Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + +
+
+
+Public Member Functions
+
+
CloudBlockStorageManager Class Reference
+
+
+ +

Manager class for Cloud Block Storage. + More...

+
+Inheritance diagram for CloudBlockStorageManager:
+
+
+ + +BaseManager + +
+ +

List of all members.

+ + + + + + +

+Public Member Functions

def list_snapshots
 Pass-through method to allow the list_snapshots() call to be made directly on a volume.
def create_snapshot
 Pass-through method to allow the create_snapshot() call to be made directly on a volume.
+

Detailed Description

+

Manager class for Cloud Block Storage.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def create_snapshot ( self,
 volume,
 name,
 description = None,
 force = False 
)
+
+
+ +

Pass-through method to allow the create_snapshot() call to be made directly on a volume.

+ +
+
+ +
+
+ + + + + + + + +
def list_snapshots ( self)
+
+
+ +

Pass-through method to allow the list_snapshots() call to be made directly on a volume.

+ +
+
+
The documentation for this class was generated from the following file: +
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager.png b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager.png new file mode 100644 index 00000000..a14f4f05 Binary files /dev/null and b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageManager.png differ diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager-members.html b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager-members.html new file mode 100644 index 00000000..4b3c8380 --- /dev/null +++ b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager-members.html @@ -0,0 +1,134 @@ + + + + + +pyrax: Member List + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+
+
+
CloudBlockStorageSnapshotManager Member List
+
+
+This is the complete list of members for CloudBlockStorageSnapshotManager, including all inherited members. + + + + + + + + + + + + + + + + + +
__init__BaseManager
actionBaseManager
add_hookBaseManager
apiBaseManager
createCloudBlockStorageSnapshotManager
pyrax::manager::BaseManager.createBaseManager
deleteBaseManager
findBaseManager
findallBaseManager
getBaseManager
headBaseManager
listBaseManager
plural_response_keyBaseManager [static]
resource_classBaseManager [static]
response_keyBaseManager [static]
run_hooksBaseManager
uri_baseBaseManager [static]
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager.html b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager.html new file mode 100644 index 00000000..c99c0c83 --- /dev/null +++ b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager.html @@ -0,0 +1,205 @@ + + + + + +pyrax: CloudBlockStorageSnapshotManager Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + +
+
+
+Public Member Functions
+
+
CloudBlockStorageSnapshotManager Class Reference
+
+
+ +

Manager class for Cloud Block Storage. + More...

+
+Inheritance diagram for CloudBlockStorageSnapshotManager:
+
+
+ + +BaseManager + +
+ +

List of all members.

+ + + + +

+Public Member Functions

def create
 Adds exception handling to the default create() call.
+

Detailed Description

+

Manager class for Cloud Block Storage.

+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
def create ( self,
 name,
 volume,
 description = None,
 force = False 
)
+
+
+ +

Adds exception handling to the default create() call.

+ +
+
+
The documentation for this class was generated from the following file: +
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager.png b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager.png new file mode 100644 index 00000000..e0d6f049 Binary files /dev/null and b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageSnapshotManager.png differ diff --git a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageVolume-members.html b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageVolume-members.html index abd9b1d7..39873734 100644 --- a/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageVolume-members.html +++ b/docs/html/classpyrax_1_1cloudblockstorage_1_1CloudBlockStorageVolume-members.html @@ -106,8 +106,8 @@ display_nameCloudBlockStorageVolume getBaseResource get_detailsBaseResource [static] - human_idBaseResource HUMAN_IDBaseResource [static] + human_idBaseResource idBaseResource list_snapshotsCloudBlockStorageVolume loadedBaseResource [static] @@ -133,7 +133,7 @@ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient-members.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient-members.html index ddf6ea61..c009f22b 100644 --- a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient-members.html +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient-members.html @@ -108,6 +108,7 @@ getBaseClient get_databaseCloudDatabaseClient get_flavorCloudDatabaseClient + get_limitsCloudDatabaseClient get_timingsBaseClient get_userCloudDatabaseClient grant_user_accessCloudDatabaseClient @@ -122,6 +123,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameCloudDatabaseClient [static] @@ -159,7 +161,7 @@ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient.html index d659337e..c58f2e36 100644 --- a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient.html +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseClient.html @@ -155,6 +155,8 @@  Restarts the instance.
def resize  Sets the size of the instance to a different flavor.
+def get_limits + Not implemented in Cloud Databases.
def list_flavors  Returns a list of all available Flavors.
def get_flavor @@ -464,6 +466,27 @@

Returns a specific Flavor object by ID.

+ + + +
+
+ + + + + + + + +
def get_limits ( self)
+
+
+ +

Not implemented in Cloud Databases.

+ +

Reimplemented from BaseClient.

+
@@ -838,7 +861,7 @@ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager-members.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager-members.html new file mode 100644 index 00000000..635538e8 --- /dev/null +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager-members.html @@ -0,0 +1,133 @@ + + + + + +pyrax: Member List + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+
+
+
CloudDatabaseDatabaseManager Member List
+
+
+This is the complete list of members for CloudDatabaseDatabaseManager, including all inherited members. + + + + + + + + + + + + + + + + +
__init__BaseManager
actionBaseManager
add_hookBaseManager
apiBaseManager
createBaseManager
deleteBaseManager
findBaseManager
findallBaseManager
getBaseManager
headBaseManager
listBaseManager
plural_response_keyBaseManager [static]
resource_classBaseManager [static]
response_keyBaseManager [static]
run_hooksBaseManager
uri_baseBaseManager [static]
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager.html new file mode 100644 index 00000000..ef99f67a --- /dev/null +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager.html @@ -0,0 +1,149 @@ + + + + + +pyrax: CloudDatabaseDatabaseManager Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + +
+
+
+
CloudDatabaseDatabaseManager Class Reference
+
+
+ +

This class manages communication with databases on Cloud Database instances. + More...

+
+Inheritance diagram for CloudDatabaseDatabaseManager:
+
+
+ + +BaseManager + +
+ +

List of all members.

+

Detailed Description

+

This class manages communication with databases on Cloud Database instances.

+

The documentation for this class was generated from the following file: +
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager.png b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager.png new file mode 100644 index 00000000..af270c04 Binary files /dev/null and b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseDatabaseManager.png differ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager-members.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager-members.html index 7a00d4a4..4b517cbe 100644 --- a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager-members.html +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager-members.html @@ -99,6 +99,7 @@ findBaseManager findallBaseManager getCloudDatabaseManager + headBaseManager listBaseManager plural_response_keyBaseManager [static] resource_classBaseManager [static] @@ -123,7 +124,7 @@ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager.html index 90e71553..1e285ebe 100644 --- a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager.html +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseManager.html @@ -106,7 +106,7 @@
-

This class manages communication with Cloud Database resources. +

This class manages communication with Cloud Database instances. More...

Inheritance diagram for CloudDatabaseManager:
@@ -126,7 +126,7 @@  This additional code is necessary to properly return the 'volume' attribute of the instance as a CloudDatabaseVolume object instead of a raw dict.

Detailed Description

-

This class manages communication with Cloud Database resources.

+

This class manages communication with Cloud Database instances.


Member Function Documentation

@@ -180,7 +180,7 @@ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager-members.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager-members.html index f3915fa7..f35b6a64 100644 --- a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager-members.html +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager-members.html @@ -101,6 +101,7 @@ findallBaseManager getBaseManager grant_user_accessCloudDatabaseUserManager + headBaseManager listBaseManager list_user_accessCloudDatabaseUserManager plural_response_keyBaseManager [static] @@ -127,7 +128,7 @@ diff --git a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager.html b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager.html index 3abe54a1..a0fd8b9c 100644 --- a/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager.html +++ b/docs/html/classpyrax_1_1clouddatabases_1_1CloudDatabaseUserManager.html @@ -106,7 +106,7 @@
-

This class handles operations on the users in a Cloud Database. +

This class handles operations on the users in a database on a Cloud Database instance. More...

Inheritance diagram for CloudDatabaseUserManager:
@@ -132,7 +132,7 @@  Revokes access to the databases listed in `db_names` for the user.

Detailed Description

-

This class handles operations on the users in a Cloud Database.

+

This class handles operations on the users in a database on a Cloud Database instance.


Member Function Documentation

@@ -305,7 +305,7 @@ diff --git a/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient-members.html b/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient-members.html index 22c597ff..7835db72 100644 --- a/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient-members.html +++ b/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient-members.html @@ -111,7 +111,9 @@ getBaseClient get_absolute_limitsCloudDNSClient get_domain_iteratorCloudDNSClient + get_limitsBaseClient get_rate_limitsCloudDNSClient + get_recordCloudDNSClient get_record_iteratorCloudDNSClient get_subdomain_iteratorCloudDNSClient get_timingsBaseClient @@ -132,6 +134,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameCloudDNSClient [static] @@ -171,7 +174,7 @@ diff --git a/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient.html b/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient.html index 8bd6fa8b..327f312d 100644 --- a/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient.html +++ b/docs/html/classpyrax_1_1clouddns_1_1CloudDNSClient.html @@ -167,6 +167,8 @@  Returns a single record for this domain that matches the supplied search criteria.
def add_records  Adds the records to this domain.
+def get_record + Gets the full information for an existing record or record ID for the specified domain.
def update_record  Modifies an existing record for a domain.
def delete_record @@ -557,6 +559,41 @@

Returns a dict with the current rate limit information for domain and status requests.

+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
def get_record ( self,
 domain,
 record 
)
+
+
+ +

Gets the full information for an existing record or record ID for the specified domain.

+
@@ -1249,7 +1286,7 @@ diff --git a/docs/html/classpyrax_1_1clouddns_1_1CloudDNSManager-members.html b/docs/html/classpyrax_1_1clouddns_1_1CloudDNSManager-members.html index 193dc96b..abd43e78 100644 --- a/docs/html/classpyrax_1_1clouddns_1_1CloudDNSManager-members.html +++ b/docs/html/classpyrax_1_1clouddns_1_1CloudDNSManager-members.html @@ -107,6 +107,7 @@ findallCloudDNSManager getBaseManager get_recordCloudDNSManager + headBaseManager import_domainCloudDNSManager listCloudDNSManager list_next_pageCloudDNSManager @@ -145,7 +146,7 @@ diff --git a/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerClient-members.html b/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerClient-members.html index 15389386..9fe8f513 100644 --- a/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerClient-members.html +++ b/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerClient-members.html @@ -125,6 +125,7 @@ get_content_cachingCloudLoadBalancerClient get_error_pageCloudLoadBalancerClient get_health_monitorCloudLoadBalancerClient + get_limitsBaseClient get_metadataCloudLoadBalancerClient get_metadata_for_nodeCloudLoadBalancerClient get_session_persistenceCloudLoadBalancerClient @@ -138,6 +139,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameCloudLoadBalancerClient [static] @@ -185,7 +187,7 @@ diff --git a/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerManager-members.html b/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerManager-members.html index 0e57008d..756f0390 100644 --- a/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerManager-members.html +++ b/docs/html/classpyrax_1_1cloudloadbalancers_1_1CloudLoadBalancerManager-members.html @@ -126,6 +126,7 @@ get_ssl_terminationCloudLoadBalancerManager get_statsCloudLoadBalancerManager get_usageCloudLoadBalancerManager + headBaseManager listBaseManager plural_response_keyBaseManager [static] resource_classBaseManager [static] @@ -159,7 +160,7 @@ diff --git a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient-members.html b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient-members.html index 8f903b2a..90ef3ad9 100644 --- a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient-members.html +++ b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient-members.html @@ -118,7 +118,7 @@ get_checkCloudMonitorClient get_check_typeCloudMonitorClient get_entityCloudMonitorClient - get_limitsCloudMonitorClient + get_limitsBaseClient get_metric_data_pointsCloudMonitorClient get_monitoring_zoneCloudMonitorClient get_notificationCloudMonitorClient @@ -141,6 +141,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameCloudMonitorClient @@ -179,7 +180,7 @@ diff --git a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient.html b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient.html index d0434aaf..77042d24 100644 --- a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient.html +++ b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorClient.html @@ -126,8 +126,6 @@ def __init__ def get_account  Returns a dict with the following keys: id, webhook_token, and metadata.
-def get_limits - Returns a dict with the resource and rate limits for the account.
def get_audits  Every write operation performed against the API (PUT, POST or DELETE) generates an audit record that is stored for 30 days.
def list_entities @@ -1094,25 +1092,6 @@
-
-
- -
-
- - - - - - - - -
def get_limits ( self)
-
-
- -

Returns a dict with the resource and rate limits for the account.

-
@@ -1856,7 +1835,7 @@ diff --git a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorEntityManager-members.html b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorEntityManager-members.html index 88e3d460..b123a72c 100644 --- a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorEntityManager-members.html +++ b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorEntityManager-members.html @@ -107,6 +107,7 @@ get_alarmCloudMonitorEntityManager get_checkCloudMonitorEntityManager get_metric_data_pointsCloudMonitorEntityManager + headBaseManager listBaseManager list_alarmsCloudMonitorEntityManager list_checksCloudMonitorEntityManager @@ -137,7 +138,7 @@ diff --git a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationManager-members.html b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationManager-members.html index 86e0be71..5045315d 100644 --- a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationManager-members.html +++ b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationManager-members.html @@ -101,6 +101,7 @@ findallBaseManager getBaseManager get_typeCloudMonitorNotificationManager + headBaseManager listBaseManager list_typesCloudMonitorNotificationManager plural_response_keyBaseManager [static] @@ -128,7 +129,7 @@ diff --git a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationPlanManager-members.html b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationPlanManager-members.html index d92f1492..679f141f 100644 --- a/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationPlanManager-members.html +++ b/docs/html/classpyrax_1_1cloudmonitoring_1_1CloudMonitorNotificationPlanManager-members.html @@ -100,6 +100,7 @@ findBaseManager findallBaseManager getBaseManager + headBaseManager listBaseManager plural_response_keyBaseManager [static] resource_classBaseManager [static] @@ -124,7 +125,7 @@ diff --git a/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkClient-members.html b/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkClient-members.html index 8d08e712..3a0003f4 100644 --- a/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkClient-members.html +++ b/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkClient-members.html @@ -104,6 +104,7 @@ findallBaseClient force_exception_to_status_codeBaseClient getBaseClient + get_limitsBaseClient get_server_networksCloudNetworkClient get_timingsBaseClient http_log_debugBaseClient @@ -113,6 +114,7 @@ management_urlBaseClient method_deleteBaseClient method_getBaseClient + method_headBaseClient method_postBaseClient method_putBaseClient nameCloudNetworkClient @@ -149,7 +151,7 @@ diff --git a/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkManager-members.html b/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkManager-members.html index 02fa3e2c..5e101e61 100644 --- a/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkManager-members.html +++ b/docs/html/classpyrax_1_1cloudnetworks_1_1CloudNetworkManager-members.html @@ -99,6 +99,7 @@ findBaseManager findallBaseManager getBaseManager + headBaseManager listBaseManager plural_response_keyBaseManager [static] resource_classBaseManager [static] @@ -123,7 +124,7 @@ diff --git a/docs/html/classpyrax_1_1exceptions_1_1InvalidEmail.html b/docs/html/classpyrax_1_1exceptions_1_1InvalidEmail.html new file mode 100644 index 00000000..467710ca --- /dev/null +++ b/docs/html/classpyrax_1_1exceptions_1_1InvalidEmail.html @@ -0,0 +1,142 @@ + + + + + +pyrax: InvalidEmail Class Reference + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + +
+
pyrax + +
+
Python Bindings for the Rackspace Cloud
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
InvalidEmail Class Reference
+
+
+
+Inheritance diagram for InvalidEmail:
+
+
+ + +PyraxException + +
+
The documentation for this class was generated from the following file: +
+ +
+ All Classes Namespaces Files Functions Variables Properties
+ + +
+ +
+ + + + + + + diff --git a/docs/html/classpyrax_1_1exceptions_1_1InvalidEmail.png b/docs/html/classpyrax_1_1exceptions_1_1InvalidEmail.png new file mode 100644 index 00000000..c2f3f4cb Binary files /dev/null and b/docs/html/classpyrax_1_1exceptions_1_1InvalidEmail.png differ diff --git a/docs/html/classpyrax_1_1exceptions_1_1PyraxException.html b/docs/html/classpyrax_1_1exceptions_1_1PyraxException.html index 6a881696..c2b378d2 100644 --- a/docs/html/classpyrax_1_1exceptions_1_1PyraxException.html +++ b/docs/html/classpyrax_1_1exceptions_1_1PyraxException.html @@ -138,68 +138,69 @@ InvalidCredentialFile InvalidDateTimeString InvalidDeviceType -InvalidLoadBalancer -InvalidLoadBalancerParameters -InvalidMonitoringCheckDetails -InvalidMonitoringCheckUpdate -InvalidMonitoringMetricsRequest -InvalidMonitoringMetricsResolution -InvalidNodeCondition -InvalidNodeParameters -InvalidPTRRecord -InvalidSessionPersistenceType -InvalidSetting -InvalidSize -InvalidTemporaryURLMethod -InvalidUploadID -InvalidVirtualIPType -InvalidVirtualIPVersion -InvalidVolumeResize -KeyringModuleNotInstalled -KeyringPasswordNotFound -KeyringUsernameMissing -MissingAuthSettings -MissingDNSSettings -MissingHealthMonitorSettings -MissingLoadBalancerParameters -MissingMonitoringCheckDetails -MissingMonitoringCheckGranularity -MissingName -MissingTemporaryURLKey -MonitoringCheckTargetNotSpecified -MonitoringZonesPollMissing -NetworkCIDRInvalid -NetworkCIDRMalformed -NetworkCountExceeded -NetworkInUse -NetworkLabelNotUnique -NetworkNotFound -NoMoreResults -NoReloadError -NoSSLTerminationConfiguration -NoSuchContainer -NoSuchDatabase -NoSuchDatabaseUser -NoSuchObject -NotAuthenticated -NotCDNEnabled -NoTokenLookupException -PasswordChangeFailed -ProtocolMismatch -PTRRecordCreationFailed -PTRRecordDeletionFailed -PTRRecordUpdateFailed -ServiceNotAvailable -SnapshotNotAvailable -TenantNotFound -UnattachedNode -UnattachedVirtualIP -UnicodePathError -UploadFailed -UserNotFound -VolumeAttachmentFailed -VolumeDetachmentFailed -VolumeNotAvailable +InvalidEmail +InvalidLoadBalancer +InvalidLoadBalancerParameters +InvalidMonitoringCheckDetails +InvalidMonitoringCheckUpdate +InvalidMonitoringMetricsRequest +InvalidMonitoringMetricsResolution +InvalidNodeCondition +InvalidNodeParameters +InvalidPTRRecord +InvalidSessionPersistenceType +InvalidSetting +InvalidSize +InvalidTemporaryURLMethod +InvalidUploadID +InvalidVirtualIPType +InvalidVirtualIPVersion +InvalidVolumeResize +KeyringModuleNotInstalled +KeyringPasswordNotFound +KeyringUsernameMissing +MissingAuthSettings +MissingDNSSettings +MissingHealthMonitorSettings +MissingLoadBalancerParameters +MissingMonitoringCheckDetails +MissingMonitoringCheckGranularity +MissingName +MissingTemporaryURLKey +MonitoringCheckTargetNotSpecified +MonitoringZonesPollMissing +NetworkCIDRInvalid +NetworkCIDRMalformed +NetworkCountExceeded +NetworkInUse +NetworkLabelNotUnique +NetworkNotFound +NoMoreResults +NoReloadError +NoSSLTerminationConfiguration +NoSuchContainer +NoSuchDatabase +NoSuchDatabaseUser +NoSuchObject +NotAuthenticated +NotCDNEnabled +NoTokenLookupException +PasswordChangeFailed +ProtocolMismatch +PTRRecordCreationFailed +PTRRecordDeletionFailed +PTRRecordUpdateFailed +ServiceNotAvailable +SnapshotNotAvailable +TenantNotFound +UnattachedNode +UnattachedVirtualIP +UnicodePathError +UploadFailed +UserNotFound +VolumeAttachmentFailed +VolumeDetachmentFailed +VolumeNotAvailable

The documentation for this class was generated from the following file: