Parameter |
Choices/Defaults |
Comments |
api_key
|
|
Rackspace API key, overrides credentials.
aliases: password
|
auth_endpoint
(added in 1.5) |
Default:
"https://identity.api.rackspacecloud.com/v2.0/"
|
The URI of the authentication service.
|
clear_meta
bool |
|
Optionally clear existing metadata when applying metadata to existing objects. Selecting this option is only appropriate when setting type=meta
|
container
required |
|
The container to use for file object operations.
|
credentials
|
|
File to find the Rackspace credentials in. Ignored if api_key and username are provided.
aliases: creds_file
|
dest
|
|
The destination of a "get" operation; i.e. a local directory, "/home/user/myfolder". Used to specify the destination of an operation on a remote object; i.e. a file name, "file1", or a comma-separated list of remote objects, "file1,file2,file17"
|
env
(added in 1.5) |
|
|
expires
|
|
Used to set an expiration on a file or folder uploaded to Cloud Files. Requires an integer, specifying expiration in seconds
|
identity_type
(added in 1.5) |
Default:
"rackspace"
|
Authentication mechanism to use, such as rackspace or keystone.
|
meta
|
|
A hash of items to set as metadata values on an uploaded file or folder
|
method
|
Choices:
get ←
- put
- delete
|
The method of operation to be performed. For example, put to upload files to Cloud Files, get to download files from Cloud Files or delete to delete remote objects in Cloud Files
|
region
|
Default:
"DFW"
|
Region to create an instance in.
|
src
|
|
Source from which to upload files. Used to specify a remote object as a source for an operation, i.e. a file name, "file1", or a comma-separated list of remote objects, "file1,file2,file17". src and dest are mutually exclusive on remote-only object operations
|
state
|
Choices:
present ←
- absent
|
Indicate desired state of the resource
|
structure
bool |
|
Used to specify whether to maintain nested directory structure when downloading objects from Cloud Files. Setting to false downloads the contents of a container to a single, flat directory
|
tenant_id
(added in 1.5) |
|
The tenant ID used for authentication.
|
tenant_name
(added in 1.5) |
|
The tenant name used for authentication.
|
type
|
|
Type of object to do work on
Metadata object or a file object
|
username
|
|
Rackspace username, overrides credentials.
|
verify_ssl
(added in 1.5) |
|
Whether or not to require SSL validation of API endpoints.
|