Method: ServerHelper#deleteServer
- Defined in:
- lib/cloudmunch_Ruby_sdk_v2/ServerHelper.rb
#deleteServer(serverID) ⇒ Object
### ### This method is to delete server from cloudmunch. ### @param $serverName Name of server. ###
208 209 210 211 |
# File 'lib/cloudmunch_Ruby_sdk_v2/ServerHelper.rb', line 208 def deleteServer(serverID) serverUrl = @appContext.getMasterURL() + "/applications/" + @appContext.getProject() + "/assets/" + serverID return @cloudmunchDataService.deleteDataForContext(serverUrl, @appContext.getAPIKey() ) end |