Rackspace CloudFiles API
|
CF_Account Object that makes account requests and provides Account information and status. More...
Public Member Functions | |
CF_Account (Connection conn) | |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Account class. | |
CF_Account (Connection conn, Client client) | |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Account class. | |
Container | CreateContainer (string container_name) |
Creates the container. | |
Container | CreateContainer (string container_name, Dictionary< string, string > headers) |
Creates a container. | |
Container | GetContainer (string container_name) |
Gets a Container. | |
List< Container > | GetContainers () |
Gets a list of container objects | |
List< Container > | GetContainers (bool full_listing) |
Gets a list of container objects | |
List< Container > | GetContainers (Dictionary< ContainerQuery, string > query) |
Gets a list of container objects | |
List< Container > | GetContainers (bool full_listing, Dictionary< ContainerQuery, string > query) |
Gets a list of container objects | |
List< Dictionary< string, string > > | GetContainerList () |
Gets a list of containers and associated information | |
List< Dictionary< string, string > > | GetContainerList (bool full_listing) |
Gets a list of containers and associated information | |
List< Dictionary< string, string > > | GetContainerList (Dictionary< ContainerQuery, string > query) |
Gets a list of containers and associated information | |
List< Dictionary< string, string > > | GetContainerList (bool full_listing, Dictionary< ContainerQuery, string > query) |
Gets a list of containers and associated information | |
void | DeleteContainer (string container_name) |
Deletes a Container | |
void | UpdateMetadata (Dictionary< string, string > metadata) |
Updates Account Metadata. | |
void | UpdateHeaders (Dictionary< string, string > headers) |
Updates Account Headers | |
Properties | |
Connection | Conn [get] |
Gets a Connection object. | |
Uri | StorageUrl [get] |
Gets the storage URL. | |
Dictionary< string, string > | Metadata [get] |
Gets the metadata. | |
Dictionary< string, string > | Headers [get] |
Gets the headers. | |
long | BytesUsed [get] |
Gets the bytes used. | |
long | ContainerCount [get] |
Gets the container count. | |
long | ObjectCount [get] |
Gets the object count. | |
int | Retries [get, set] |
Gets or sets the retries. | |
![]() | |
Connection | Conn [get] |
Uri | StorageUrl [get] |
Dictionary< string, string > | Metadata [get] |
Dictionary< string, string > | Headers [get] |
int | Retries [get, set] |
long | BytesUsed [get] |
long | ContainerCount [get] |
long | ObjectCount [get] |
CF_Account Object that makes account requests and provides Account information and status.
Rackspace.Cloudfiles.CF_Account.CF_Account | ( | Connection | conn | ) |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Account class.
conn | Pass a valid Connection object |
Rackspace.Cloudfiles.CF_Account.CF_Account | ( | Connection | conn, |
Client | client | ||
) |
Initializes a new instance of the Rackspace.Cloudfiles.CF_Account class.
conn | Pass a valid Connection object |
client | Pass a valid HTTP Client object |
Container Rackspace.Cloudfiles.CF_Account.CreateContainer | ( | string | container_name | ) |
Creates the container.
container_name | Container_name. |
Implements Rackspace.Cloudfiles.Account.
Container Rackspace.Cloudfiles.CF_Account.CreateContainer | ( | string | container_name, |
Dictionary< string, string > | headers | ||
) |
Creates a container.
container_name | A System.String |
headers | A Dictionary{System.String, System.String} |
Implements Rackspace.Cloudfiles.Account.
void Rackspace.Cloudfiles.CF_Account.DeleteContainer | ( | string | container_name | ) |
Deletes a Container
container_name | A System.String |
Implements Rackspace.Cloudfiles.Account.
Container Rackspace.Cloudfiles.CF_Account.GetContainer | ( | string | container_name | ) |
Gets a Container.
container_name | A System.String |
Implements Rackspace.Cloudfiles.Account.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Account.GetContainerList | ( | ) |
Gets a list of containers and associated information
Implements Rackspace.Cloudfiles.Account.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Account.GetContainerList | ( | bool | full_listing | ) |
Gets a list of containers and associated information
full_listing | A System.Boolean |
Implements Rackspace.Cloudfiles.Account.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Account.GetContainerList | ( | Dictionary< ContainerQuery, string > | query | ) |
Gets a list of containers and associated information
query | A Dictionary<ContainerQuery, System.String> |
Implements Rackspace.Cloudfiles.Account.
List<Dictionary<string, string> > Rackspace.Cloudfiles.CF_Account.GetContainerList | ( | bool | full_listing, |
Dictionary< ContainerQuery, string > | query | ||
) |
Gets a list of containers and associated information
full_listing | A System.Boolean |
query | A Dictionary<ContainerQuery, System.String> |
Implements Rackspace.Cloudfiles.Account.
List<Container> Rackspace.Cloudfiles.CF_Account.GetContainers | ( | ) |
List<Container> Rackspace.Cloudfiles.CF_Account.GetContainers | ( | bool | full_listing | ) |
Gets a list of container objects
full_listing | A System.Boolean |
Implements Rackspace.Cloudfiles.Account.
List<Container> Rackspace.Cloudfiles.CF_Account.GetContainers | ( | Dictionary< ContainerQuery, string > | query | ) |
Gets a list of container objects
query | A Dictionary<ContainerQuery, System.String> |
Implements Rackspace.Cloudfiles.Account.
List<Container> Rackspace.Cloudfiles.CF_Account.GetContainers | ( | bool | full_listing, |
Dictionary< ContainerQuery, string > | query | ||
) |
Gets a list of container objects
full_listing | A System.Boolean |
query | A Dictionary<ContainerQuery, System.String> |
Implements Rackspace.Cloudfiles.Account.
void Rackspace.Cloudfiles.CF_Account.UpdateHeaders | ( | Dictionary< string, string > | headers | ) |
Updates Account Headers
headers | A Dictionary<System.String, System.String> |
Implements Rackspace.Cloudfiles.Account.
void Rackspace.Cloudfiles.CF_Account.UpdateMetadata | ( | Dictionary< string, string > | metadata | ) |
Updates Account Metadata.
metadata | Metadata. |
ArgumentNullException | Is thrown when an argument passed to a method is invalid because it is . |
Implements Rackspace.Cloudfiles.Account.
|
get |
Gets the bytes used.
The bytes used.
|
get |
Gets a Connection object.
A Connection Object
|
get |
Gets the container count.
The container count.
|
get |
Gets the headers.
The headers.
|
get |
Gets the metadata.
The metadata.
|
get |
Gets the object count.
The object count.
|
getset |
Gets or sets the retries.
The retries.
|
get |
Gets the storage URL.
The storage URL.