try {
Map<String, String> props = new HashMap<>();
props.put(SERVICENAME, aRRPO.getCommonName());
props.put(NAME, aRRPO.getName());
AzureClient azureClient = aRRPO.getAzureClient();
HttpResponseDecorator deleteCloudServiceResult = (HttpResponseDecorator) azureClient.deleteCloudService(props);
String requestId = (String) azureClient.getRequestId(deleteCloudServiceResult);
waitForFinishing(azureClient, requestId);
} catch (HttpResponseException ex) {
if (ex.getStatusCode() != NOT_FOUND) {
return false;