.register(200, new TypeToken<PageImpl<GenericResourceInner>>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
public boolean checkExistence(String resourceGroupName) {
<BUG>return checkExistenceWithServiceResponseAsync(resourceGroupName).toBlocking().single().body();

}</BUG>
public ServiceFuture<Boolean> checkExistenceAsync(String resourceGroupName, final ServiceCallback<Boolean> serviceCallback) {
return ServiceFuture.fromResponse(checkExistenceWithServiceResponseAsync(resourceGroupName), serviceCallback);

.register(200, new TypeToken<PageImpl<GenericResourceInner>>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
public boolean checkExistence(String resourceGroupName) {
Boolean result = checkExistenceWithServiceResponseAsync(resourceGroupName).toBlocking().single().body();
return (result != null) ? result.booleanValue() : false;
}
public ServiceFuture<Boolean> checkExistenceAsync(String resourceGroupName, final ServiceCallback<Boolean> serviceCallback) {
return ServiceFuture.fromResponse(checkExistenceWithServiceResponseAsync(resourceGroupName), serviceCallback);
