public class UpdateServerMetadataRequest extends AbstractNovaRequest<Void>
| Constructor and Description |
|---|
UpdateServerMetadataRequest(OpenStackPoolDriverConfig account,
String serverId,
Map<String,String> metadata)
Constructs a
UpdateServerMetadataRequest. |
| Modifier and Type | Method and Description |
|---|---|
Void |
doRequest(org.jclouds.openstack.nova.v2_0.NovaApi api)
Carries out the request and returns the response.
|
call, getAccountpublic UpdateServerMetadataRequest(OpenStackPoolDriverConfig account, String serverId, Map<String,String> metadata)
UpdateServerMetadataRequest.account - Account login credentials for a particular OpenStack Nova
endpoint.serverId - The server whose metadata is to be updated.metadata - Meta data tags to be copied to the server. Any meta data keys
that already exist on the node will be overwritten.public Void doRequest(org.jclouds.openstack.nova.v2_0.NovaApi api) throws NotFoundException
AbstractNovaRequestdoRequest in class AbstractNovaRequest<Void>api - The OpenStack Nova (compute) API.NotFoundExceptionCopyright © 2011–2015 elastisys. All rights reserved.