IObjectStorageProviderUpdateContainerCdnHeaders Method |
Namespace: net.openstack.Core.Providers
void UpdateContainerCdnHeaders( string container, Dictionary<string, string> headers, string region = null, CloudIdentity identity = null )
Exception | Condition |
---|---|
ArgumentException |
If container is empty.
-or- If headers contains two equivalent keys when compared using OrdinalIgnoreCase. |
ContainerNameException | If container is not a valid container name. |
NotSupportedException |
If the provider does not support the given identity type.
-or- The specified region is not supported. |
InvalidOperationException |
If identity is and no default identity is available for the provider.
-or- If region is and no default region is available for the provider. |
ItemNotFoundException | If the specified container does not exist. |
ResponseException | If the REST API request failed. |
Caution |
---|
This method replaces all existing CDN headers for the container with the values found in headers. |
Note |
---|
This method is a Rackspace-specific extension to the OpenStack Object Storage Service. |