IComputeProviderDetachServerVolume Method |
Namespace: net.openstack.Core.Providers
bool DetachServerVolume( string serverId, string volumeId, string region = null, CloudIdentity identity = null )
Exception | Condition |
---|---|
ArgumentNullException |
If serverId is .
-or- If volumeId is . |
ArgumentException |
If serverId is empty.
-or- If volumeId is empty. |
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. |