| IObjectStorageProviderEnableCDNOnContainer Method (String, Int64, String, CloudIdentity) |
Namespace: net.openstack.Core.Providers
Dictionary<string, string> EnableCDNOnContainer( string container, long timeToLive, string region = null, CloudIdentity identity = null )
| Exception | Condition |
|---|---|
| ArgumentNullException | If container is . |
| ArgumentException | If container is empty. |
| ArgumentOutOfRangeException | If timeToLive is less than 0. |
| ContainerNameException | If container is not a valid container name. |
| TTLLengthException | If the provider does not support the specified timeToLive. |
| 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. |
| ResponseException | If the REST API request failed. |
| This method is a Rackspace-specific extension to the OpenStack Object Storage Service. |
| The resulting Dictionary<string, string> should use the OrdinalIgnoreCase equality comparer to ensure lookups are not case sensitive. |