Rackspace CloudFiles API
|
CF_Container object that provides Container level functionality and information More...
Public Member Functions | |
CF_Container (Connection conn, Client client, string container_name) | |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Container class. | |
CF_Container (Connection conn, string container_name) | |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Container class. | |
void | ReloadMetadata () |
Reload all metadata for the Container. | |
StorageObject | CreateObject (string object_name) |
Creates the object. | |
StorageObject | GetObject (string object_name) |
Creates the Object. | |
List< StorageObject > | GetObjects () |
Gets a list of StorageObject objects. | |
List< StorageObject > | GetObjects (bool full_listing) |
Gets a list of StorageObject objects. | |
List< StorageObject > | GetObjects (Dictionary< ObjectQuery, string > query) |
Gets a list of StorageObject objects. | |
List< StorageObject > | GetObjects (bool full_listing, Dictionary< ObjectQuery, string > query) |
Gets a list of StorageObject objects. | |
List< Dictionary< string, string > > | GetObjectList () |
Gets a list of Dictionaries that contain storage object info. | |
List< Dictionary< string, string > > | GetObjectList (bool full_listing) |
Gets a list of Dictionaries that contain storage object info. | |
List< Dictionary< string, string > > | GetObjectList (Dictionary< ObjectQuery, string > query) |
Gets a list of Dictionaries that contain storage object info. | |
List< Dictionary< string, string > > | GetObjectList (bool full_listing, Dictionary< ObjectQuery, string > query) |
Gets a list of Dictionaries that contain storage object info. | |
void | DeleteObject (string object_name) |
Deletes an Object. | |
void | AddMetadata (Dictionary< string, string > metadata) |
Adds the metadata. | |
void | AddHeaders (Dictionary< string, string > headers) |
Adds Headers. | |
void | EnableStaticWeb (string index, string error, string css, bool listing) |
Add Static web headers. | |
void | EnableStaticWeb (string index, string error, bool listing) |
Add Static web headers. | |
void | EnableStaticWeb (string css, bool listing) |
Add Static web headers. | |
void | EnableStaticWeb (string index, string error) |
Add Static web headers. | |
void | DisableStaticWeb () |
Turn off static web functionality. | |
void | EnableObjectVersioning (string container) |
Enable object versioning. | |
void | DisableObjectVersioning () |
Turn off object versioning. | |
Properties | |
string | Name [get] |
Gets the Container Name. | |
string | ObjectVersionLocation [get] |
Gets the destination container for object versioning. | |
string | WebIndex [get] |
The Web Index for the container. | |
string | WebError [get] |
Gets the Web Error Prefix for the container. | |
string | WebCSS [get] |
Gets the Web CSS for the container. | |
Dictionary< string, string > | Headers [get] |
Gets Raw headers. | |
Dictionary< string, string > | Metadata [get] |
Gets the metadata. | |
long | ObjectCount [get] |
Gets the object count. | |
long | BytesUsed [get] |
Gets the bytes used. | |
int | Retries [get, set] |
Gets or sets the retries. | |
Uri | StorageUrl [get] |
Gets the storage URL. | |
bool | WebListingEnabled [get] |
Get a the Web Listing status on this container. | |
![]() | |
string | Name [get] |
string | ObjectVersionLocation [get] |
string | WebIndex [get] |
string | WebError [get] |
string | WebCSS [get] |
Dictionary< string, string > | Headers [get] |
Dictionary< string, string > | Metadata [get] |
int | Retries [get, set] |
long | ObjectCount [get] |
long | BytesUsed [get] |
Uri | StorageUrl [get] |
bool | WebListingEnabled [get] |
CF_Container object that provides Container level functionality and information
Rackspace.Cloudfiles.CF_Container.CF_Container | ( | Connection | conn, |
Client | client, | ||
string | container_name | ||
) |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Container class.
conn | Conn. |
client | Client. |
container_name | Container_name. |
Rackspace.Cloudfiles.CF_Container.CF_Container | ( | Connection | conn, |
string | container_name | ||
) |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Container class.
conn | Conn. |
container_name | Container_name. |
void Rackspace.Cloudfiles.CF_Container.AddHeaders | ( | Dictionary< string, string > | headers | ) |
Adds Headers.
headers | A Dictionary<System.String, System.String> |
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.AddMetadata | ( | Dictionary< string, string > | metadata | ) |
Adds the metadata.
metadata | Metadata. |
ArgumentNullException | Is thrown when an argument passed to a method is invalid because it is . |
Implements Rackspace.Cloudfiles.Container.
StorageObject Rackspace.Cloudfiles.CF_Container.CreateObject | ( | string | object_name | ) |
Creates the object.
object_name | Object_name. |
ArgumentNullException | Is thrown when an argument passed to a method is invalid because it is . |
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.DeleteObject | ( | string | object_name | ) |
void Rackspace.Cloudfiles.CF_Container.DisableObjectVersioning | ( | ) |
Turn off object versioning.
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.DisableStaticWeb | ( | ) |
Turn off static web functionality.
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.EnableObjectVersioning | ( | string | container | ) |
Enable object versioning.
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.EnableStaticWeb | ( | string | index, |
string | error, | ||
string | css, | ||
bool | listing | ||
) |
Add Static web headers.
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.EnableStaticWeb | ( | string | index, |
string | error, | ||
bool | listing | ||
) |
Add Static web headers.
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.EnableStaticWeb | ( | string | css, |
bool | listing | ||
) |
Add Static web headers.
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.EnableStaticWeb | ( | string | index, |
string | error | ||
) |
Add Static web headers.
Implements Rackspace.Cloudfiles.Container.
StorageObject Rackspace.Cloudfiles.CF_Container.GetObject | ( | string | object_name | ) |
Creates the Object.
object_name | A System.String |
Implements Rackspace.Cloudfiles.Container.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Container.GetObjectList | ( | ) |
Gets a list of Dictionaries that contain storage object info.
Implements Rackspace.Cloudfiles.Container.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Container.GetObjectList | ( | bool | full_listing | ) |
Gets a list of Dictionaries that contain storage object info.
full_listing | A System.Boolean |
Implements Rackspace.Cloudfiles.Container.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Container.GetObjectList | ( | Dictionary< ObjectQuery, string > | query | ) |
Gets a list of Dictionaries that contain storage object info.
query | A Dictionary<ObjectQuery, System.String> |
Implements Rackspace.Cloudfiles.Container.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Container.GetObjectList | ( | bool | full_listing, |
Dictionary< ObjectQuery, string > | query | ||
) |
Gets a list of Dictionaries that contain storage object info.
full_listing | A System.Boolean |
query | A Dictionary<ObjectQuery, System.String> |
Implements Rackspace.Cloudfiles.Container.
List<StorageObject> Rackspace.Cloudfiles.CF_Container.GetObjects | ( | ) |
Gets a list of StorageObject objects.
Implements Rackspace.Cloudfiles.Container.
List<StorageObject> Rackspace.Cloudfiles.CF_Container.GetObjects | ( | bool | full_listing | ) |
Gets a list of StorageObject objects.
full_listing | A System.Boolean |
Implements Rackspace.Cloudfiles.Container.
List<StorageObject> Rackspace.Cloudfiles.CF_Container.GetObjects | ( | Dictionary< ObjectQuery, string > | query | ) |
Gets a list of StorageObject objects.
query | A Dictionary<ObjectQuery, System.String> |
Implements Rackspace.Cloudfiles.Container.
List<StorageObject> Rackspace.Cloudfiles.CF_Container.GetObjects | ( | bool | full_listing, |
Dictionary< ObjectQuery, string > | query | ||
) |
Gets a list of StorageObject objects.
full_listing | A System.Boolean |
query | A Dictionary<ObjectQuery, System.String> |
Implements Rackspace.Cloudfiles.Container.
void Rackspace.Cloudfiles.CF_Container.ReloadMetadata | ( | ) |
Reload all metadata for the Container.
|
get |
Gets the bytes used.
The bytes used.
|
get |
Gets Raw headers.
The headers.
|
get |
Gets the metadata.
The metadata.
|
get |
Gets the Container Name.
The name.
|
get |
Gets the object count.
The object count.
|
get |
Gets the destination container for object versioning.
The destination container for object versioning.
|
getset |
Gets or sets the retries.
The retries.
|
get |
Gets the storage URL.
The storage URL.
|
get |
Gets the Web CSS for the container.
The name.
|
get |
Gets the Web Error Prefix for the container.
The name.
|
get |
The Web Index for the container.
The web Index for the container..
|
get |
Get a the Web Listing status on this container.