Click or drag to resize
CloudFilesProvider Class
Provides an implementation of IObjectStorageProvider for operating with Rackspace's Cloud Files product.
Inheritance Hierarchy
SystemObject
  net.openstack.Providers.RackspaceProviderBaseIObjectStorageProvider
    net.openstack.Providers.RackspaceCloudFilesProvider

Namespace: net.openstack.Providers.Rackspace
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.6+Branch.master.Sha.7f1053052f37045d5234de2f018b4ef770d543ca
Syntax
public class CloudFilesProvider : ProviderBase<IObjectStorageProvider>, 
	IObjectStorageProvider

The CloudFilesProvider type exposes the following members.

Constructors
  NameDescription
Public methodCloudFilesProvider
Initializes a new instance of the CloudFilesProvider class with no default identity or region, and the default identity provider and REST service implementation.
Public methodCloudFilesProvider(IRestService)
Initializes a new instance of the CloudFilesProvider class with no default identity or region, the default identity provider, and the specified REST service implementation.
Public methodCloudFilesProvider(CloudIdentity)
Initializes a new instance of the CloudFilesProvider class with the specified default identity, no default region, and the default identity provider and REST service implementation.
Public methodCloudFilesProvider(IIdentityProvider)
Initializes a new instance of the CloudFilesProvider class with no default identity or region, the specified identity provider, and the default REST service implementation.
Public methodCloudFilesProvider(CloudIdentity, IRestService)
Initializes a new instance of the CloudFilesProvider class with the specified default identity and REST service implementation, no default region, and the default identity provider.
Public methodCloudFilesProvider(CloudIdentity, IIdentityProvider)
Initializes a new instance of the CloudFilesProvider class with the specified default identity and identity provider, no default region, and the default REST service implementation.
Public methodCloudFilesProvider(CloudIdentity, IIdentityProvider, IRestService)
Initializes a new instance of the CloudFilesProvider class with the specified default identity, no default region, the specified identity provider and REST service implementation, and the default Rackspace-Cloud-Files-specific implementations of the object storage validator, metadata processor, encoder, status parser, and bulk delete results mapper.
Public methodCloudFilesProvider(CloudIdentity, String, IIdentityProvider, IRestService)
Initializes a new instance of the CloudFilesProvider class with the specified default identity, default region, identity provider, and REST service implementation, and the default Rackspace-Cloud-Files-specific implementations of the object storage validator, metadata processor, encoder, status parser, and bulk delete results mapper.
Top
Methods
  NameDescription
Public methodBulkDelete
Deletes a collection of objects stored in object storage.
Public methodCopyObject
Copies an object to a new location within the Object Storage provider.
Public methodStatic memberCopyStream
Copy data from an input stream to an output stream.
Public methodCreateContainer
Creates a container if it does not already exist.
Public methodCreateFormPostUri
Construct a Uri and field information supporting the public upload of objects to a Cloud Files container via an HTTP form submission.
Public methodCode exampleCreateObject
Creates an object using data from a Stream. If the destination file already exists, the contents are overwritten.
Public methodCode exampleCreateObjectFromFile
Creates an object using data from a file. If the destination file already exists, the contents are overwritten.
Public methodCreateTemporaryPublicUri
Construct a Uri which allows public access to an object hosted in Cloud Files.
Public methodDeleteContainer
Deletes a container, and optionally all objects stored in the container.
Public methodDeleteContainerMetadata(String, IEnumerableString, String, Boolean, CloudIdentity)
Deletes multiple metadata items from the container.
Public methodDeleteContainerMetadata(String, String, String, Boolean, CloudIdentity)
Deletes the specified metadata item from the container.
Public methodDeleteObject
Deletes an object from a container.
Public methodDeleteObjectMetadata(String, String, IEnumerableString, String, Boolean, CloudIdentity)
Deletes multiple metadata items from the object.
Public methodDeleteObjectMetadata(String, String, String, String, Boolean, CloudIdentity)
Deletes the specified metadata item from the object.
Public methodDeleteObjects
Deletes a collection of objects from a container.
Public methodDisableCDNOnContainer
Disables CDN on the container.
Public methodDisableStaticWebOnContainer
Disables anonymous web access to the static content of the specified container.
Public methodEnableCDNOnContainer(String, Boolean, String, CloudIdentity)
Enables CDN on the container using the specified log retention and a provider-specific default TTL.
Public methodEnableCDNOnContainer(String, Int64, String, CloudIdentity)
Enables CDN on the container using the specified TTL and without log retention.
Public methodEnableCDNOnContainer(String, Int64, Boolean, String, CloudIdentity)
Enables CDN on the container using the specified TTL and log retention values.
Public methodEnableStaticWebOnContainer(String, String, Boolean, String, Boolean, CloudIdentity)
Enables anonymous web access to the static content of the specified container.
Public methodEnableStaticWebOnContainer(String, String, String, String, Boolean, CloudIdentity)
Enables anonymous web access to the static content of the specified container.
Public methodEnableStaticWebOnContainer(String, String, String, Boolean, String, Boolean, CloudIdentity)
Enables anonymous web access to the static content of the specified container.
Public methodEnableStaticWebOnContainer(String, String, String, String, Boolean, String, Boolean, CloudIdentity)
Enables anonymous web access to the static content of the specified container.
Public methodExtractArchive
Upload and automatically extract an archive of files.
Public methodExtractArchiveFromFile
Upload and automatically extract an archive of files.
Public methodGetAccountHeaders
Gets the non-metadata headers associated with the specified account.
Public methodGetAccountMetaData
Gets the account metadata.
Public methodGetContainerCDNHeader
Gets the container CDN header.
Public methodGetContainerHeader
Gets the non-metadata headers associated with the container.
Public methodGetContainerMetaData
Gets the container metadata.
Public methodGetObject
Gets an object, writing the data to the specified Stream.
Public methodGetObjectHeaders
Gets the non-metadata headers for the specified object.
Public methodGetObjectMetaData
Gets the object data.
Public methodGetObjectSaveToFile
Gets an object, saving the data to the specified file.
Public methodListCDNContainers
Gets a list of CDN properties for a group of containers.
Public methodListContainers
Gets a list of containers stored in the account.
Public methodCode exampleListObjects
Lists the objects in a container.
Public methodMoveObject
Moves an object to a new location within the Object Storage provider.
Public methodPurgeObjectFromCDN
Purges an object from the CDN, sending an email notification to the specified addresses when the object has been purged.
Public methodUpdateAccountMetadata
Updates the metadata associated with the account. This method is used to add, update, and remove metadata items associated with a storage account.
Public methodUpdateContainerCdnHeaders
Sets the CDN headers for the specified container, replacing any existing headers.
Public methodUpdateContainerMetadata
Updates the metadata associated with the container. This method is used to add, update, and remove metadata items associated with a storage container.
Public methodUpdateObjectContentType
Public methodUpdateObjectHeaders
Public methodUpdateObjectMetadata
Sets the object metadata, replacing any existing metadata values.
Top
Fields
  NameDescription
Public fieldStatic memberAccountBytesUsed
The X-Account-Bytes-Used header, which specifies the total number of bytes that are stored in Object Storage for the account.
Public fieldStatic memberAccountContainerCount
The X-Account-Container-Count header, which specifies the number of containers associated with an account.
Public fieldStatic memberAccountMetaDataPrefix
The X-Account-Meta- header prefix, which specifies the HTTP header prefix for metadata keys associated with an account.
Public fieldStatic memberAccountObjectCount
The X-Account-Object-Count header, which specifies the number of objects in an account.
Public fieldStatic memberAuthToken
The X-Auth-Token header, which specifies the token to use for authenticated requests.
Public fieldStatic memberCdnEnabled
The X-Cdn-Enabled header, which specifies whether or not a container is CDN-enabled.
Public fieldStatic memberCdnIosUri
The X-Cdn-Ios-Uri header, which specifies the publicly-available URL for iOS streaming access to a CDN-enabled container (using Apple HTTP Live Streaming).
Public fieldStatic memberCdnLogRetention
The X-Log-Retention header, which specifies whether or not log retention is enabled for a CDN-enabled container.
Public fieldStatic memberCdnManagementUrl
The X-Cdn-Management-Url header.
Caution note Caution
The value of this header is not defined. Do not use.
Public fieldStatic memberCdnPurgeEmail
The X-Purge-Email header, which specifies the comma-separated list of email addresses to notify when a CDN purge request completes.
Public fieldStatic memberCdnSslUri
The X-Cdn-Ssl-Uri header, which specifies the publicly-available URL for SSL access to a CDN-enabled container.
Public fieldStatic memberCdnStreamingUri
The X-Cdn-Streaming-Uri header, which specifies the publicly-available URL for streaming access to a CDN-enabled container (using Adobe HTTP Dynamic Streaming).
Public fieldStatic memberCdnTTL
The X-Ttl header, which specifies the Time To Live (TTL) in seconds for a CDN-enabled container.
Public fieldStatic memberCdnUri
The X-Cdn-Uri header, which specifies the publicly-available URL for a CDN-enabled container.
Public fieldStatic memberContainerBytesUsed
The X-Container-Bytes-Used header, which specifies the total size of all objects stored in a container.
Public fieldStatic memberContainerMetaDataPrefix
The X-Container-Meta- header prefix, which specifies the HTTP header prefix for metadata keys associated with a container.
Public fieldStatic memberContainerObjectCount
The X-Container-Object-Count header, which specifies the total number of objects stored in a container.
Public fieldStatic memberContainerRemoveMetaDataPrefix Obsolete.
The X-Remove-Container-Meta- header prefix, which specifies the HTTP header prefix for removing metadata keys from a container.
Public fieldStatic memberDestination
The Destination header, which specifies the destination container and object name for a Copy Object operation.
Public fieldStatic memberDetectContentType
The X-Detect-Content-Type header, which specifies that the Object Storage service should automatically assign the content type for the object.
Public fieldStatic memberEtag
The ETag header, which specifies the MD5 checksum of the data in an object stored in Object Storage.
Public fieldStatic memberIfNoneMatch
The If-None-Match header, which allows calls to create or update objects to query whether the server already has a copy of the object before any data is sent.
Public fieldStatic memberMaxLargeFileBatchThreshold
The maximum value of LargeFileBatchThreshold supported by this provider. This value is set to the minimum value for which creation of a single object larger than the value may result in the server closing the TCP/IP connection and purging the object's data.
Public fieldStatic memberNewest
The X-Newest header, which indicates that Cloud Files should locate the most recent version of an object or container listing rather than return the first response provided by an underlying storage node.
Public fieldStatic memberObjectDeleteAfter
The X-Delete-After header, which specifies the relative time (in seconds from "now") after which an object should expire, not be served, and be deleted completely from the storage system.
Public fieldStatic memberObjectDeleteAt
The X-Delete-At header, which specifies the absolute time (in Unix Epoch format) after which an object should expire, not be served, and be deleted completely from the storage system.
Public fieldStatic memberObjectManifest
The X-Object-Manifest header, which specifies the container and prefix for the segments of a dynamic large object.
Public fieldStatic memberObjectMetaDataPrefix
The X-Object-Meta- header prefix, which specifies the HTTP header prefix for metadata keys associated with an object.
Public fieldStatic memberProcessedHeadersHeaderKey
Public fieldStatic memberProcessedHeadersMetadataKey
Public fieldStatic memberStaticLargeObject
The X-Static-Large-Object header, which specifies whether an object is a manifest for a static large object.
Public fieldStatic memberStorageUrl
The X-Storage-Url header, which specifies the base URI for all object storage requests.
Public fieldStatic memberTempUrlKey
Public fieldStatic memberVersionsLocation
The X-Versions-Location header, which specifies the name of the container where previous versions of objects are stored for a container.
Public fieldStatic memberWebError
The Web-Error metadata key, which specifies the suffix for error pages displayed for a website.
Public fieldStatic memberWebIndex
The Web-Index metadata key, which specifies the index page for every pseudo-directory in a website.
Public fieldStatic memberWebListings
The Web-Listings metadata key, which specifies whether or not pseudo-directories should display a list of files instead of returning a 404 error when the pseudo-directory does not contain an index file.
Public fieldStatic memberWebListingsCSS
The Web-Listings-CSS metadata key, which specifies the stylesheet to use for file listings when WebListings is and a pseudo-directory does not contain an index file.
Top
Properties
  NameDescription
Public propertyApplicationUserAgent
Gets or sets the application-specific user agent for the provider instance.
(Inherited from ProviderBaseTProvider.)
Public propertyBackoffPolicy
Gets or sets the back-off policy to use for polling operations.
(Inherited from ProviderBaseTProvider.)
Public propertyConnectionLimit
Gets or sets the maximum number of connections allowed on the ServicePoint objects used for requests. If the value is , the connection limit value for the ServicePoint object is not altered.
(Inherited from ProviderBaseTProvider.)
Public propertyDefaultRegion
Gets the default region for this provider instance, if one was specified.
(Inherited from ProviderBaseTProvider.)
Public propertyLargeFileBatchThreshold
Gets or sets the maximum allowable size of a single object stored in this provider.
Top
Events
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also