| IComputeProviderSetImageMetadata Method |
Namespace: net.openstack.Core.Providers
bool SetImageMetadata( string imageId, Metadata metadata, string region = null, CloudIdentity identity = null )
| Exception | Condition |
|---|---|
| ArgumentNullException |
If imageId is .
-or- If metadata is . |
| ArgumentException |
If imageId is empty.
-or- If metadata contains any values with empty keys. |
| 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. |