public class DeleteServerMetadataRequest extends AbstractOpenstackRequest<Void>
Server's metadata.| Constructor and Description |
|---|
DeleteServerMetadataRequest(OpenStackPoolDriverConfig accessConfig,
String serverId,
List<String> metadataKeysToDelete)
Constructs a
DeleteServerMetadataRequest. |
| Modifier and Type | Method and Description |
|---|---|
Void |
doRequest(org.openstack4j.api.OSClient api)
Carries out the request and returns the response.
|
call, getAccessConfigpublic DeleteServerMetadataRequest(OpenStackPoolDriverConfig accessConfig, String serverId, List<String> metadataKeysToDelete)
DeleteServerMetadataRequest.accessConfig - Account login credentials for a particular OpenStack Nova
endpoint.serverId - The server whose metadata is to be updated.metadataKeysToDelete - Meta data tags to be removed from the server.public Void doRequest(org.openstack4j.api.OSClient api) throws NotFoundException
AbstractOpenstackRequestdoRequest in class AbstractOpenstackRequest<Void>api - An authenticated OpenStack API client that is instructed to
operate against the configured region.NotFoundExceptionCopyright © 2011–2015 elastisys. All rights reserved.